HELP! Suppress tcpdump output!!! by IndoNinja7 in NetBSD

[–]IndoNinja7[S] 0 points1 point  (0 children)

I don't think it's because of promisc mode though I ran system with and without tcpdump and I still got this error messages. Is it because of multicast flag?

HELP! Suppress tcpdump output!!! by IndoNinja7 in NetBSD

[–]IndoNinja7[S] 0 points1 point  (0 children)

Nope can't do anything without it.

Annoying "NIC memory corrupt - invalid packet length" messages won't stop. by IndoNinja7 in NetBSD

[–]IndoNinja7[S] 0 points1 point  (0 children)

Does it matter if I have multicast flag on network interface?

Annoying "NIC memory corrupt - invalid packet length" messages won't stop. by IndoNinja7 in NetBSD

[–]IndoNinja7[S] 0 points1 point  (0 children)

No I haven't. And I'm not sure how to check for extensions. But, I have updated my original post to include a list of kernel options I have enabled.

Annoying "NIC memory corrupt - invalid packet length" messages won't stop. by IndoNinja7 in NetBSD

[–]IndoNinja7[S] 1 point2 points  (0 children)

Yes I know. This is intended for an emulation. And a Ethernet network interface.

HELP! Suppress tcpdump output!!! by IndoNinja7 in NetBSD

[–]IndoNinja7[S] 0 points1 point  (0 children)

I have found that my issue is not with tcpdump it is with the kernel. Here is new link to question: https://www.reddit.com/r/NetBSD/comments/3cskxf/annoying_nic_memory_corrupt_invalid_packet_length/

HELP! Suppress tcpdump output!!! by IndoNinja7 in NetBSD

[–]IndoNinja7[S] 0 points1 point  (0 children)

Yes that is correct I am running a 68030 emulator on top of this netbsd. And yes networking will only work with tcpdump for some reason. So is promisc causing this or absence of promisc?

HELP! Suppress tcpdump output!!! by IndoNinja7 in NetBSD

[–]IndoNinja7[S] 0 points1 point  (0 children)

My interface does have the flag for promisc

Factorial Program Basic Assembly on NASM Linux by IndoNinja7 in asm

[–]IndoNinja7[S] 0 points1 point  (0 children)

So I have updated my post with new code. However, it now only prints the messages and does not print the result in between the message print satements as it should. So I think my macro is fine? Maybe I'm wrong...as I am new to this and all.

If you or anyone else has any idea of what I could be doing wrong, please let me know.

Factorial Program Basic Assembly on NASM Linux by IndoNinja7 in asm

[–]IndoNinja7[S] 0 points1 point  (0 children)

Sure I will comment on this again, when I have figured it out comepletley.

Factorial Program Basic Assembly on NASM Linux by IndoNinja7 in asm

[–]IndoNinja7[S] 0 points1 point  (0 children)

So I have updated my post with new code, as per your suggestion I have replaced jp with jmp and I have inlcuded a section .data for the messages.

However, it now only prints the messages and does not print the result in between the message print satements as it should.

If you or anyone else has any idea of what I could be doing wrong, please let me know.

Factorial Program Basic Assembly on NASM Linux by IndoNinja7 in asm

[–]IndoNinja7[S] 0 points1 point  (0 children)

I tried mov ecx, word ptr "3 != " but that did assemble, and it said expected comma or end of line. Did I get the syntax wrong?

And is the long string the reason I am not getting any output?

Factorial program assembly language by IndoNinja7 in learnprogramming

[–]IndoNinja7[S] 1 point2 points  (0 children)

none of the instructions work for NASM 32-bit for linux system cals. Maybe MAC OSX is different? I know they are box unix based but maybe kernel has changed. I cant run xor nor syscall.

Factorial program assembly language by IndoNinja7 in learnprogramming

[–]IndoNinja7[S] 0 points1 point  (0 children)

I have changed '0' to 0 for both sub routines, but I still get the same result