network driver interrupt not firing (ne2000)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
omin0us
Member
Member
Posts: 49
Joined: Tue Oct 17, 2006 6:53 pm
Location: Los Angeles, CA
Contact:

network driver interrupt not firing (ne2000)

Post by omin0us »

I'm working on an ne2000 driver for my kernel.
And i setup the interrupt handler. And i was under the assumption that
when the card received a packet, the interrupt would fire, and at the
very least, it should at least be getting ARP Requests, right?
I am testing with bochs, to use the ne2000 emulation. I have the irq
configured as irq number 9.
but i dont see it ever firing. The irq is unmasked, so i know that
isn't the problem.
kinda stumped. I would appreciate any help on the matter.
http://ominos.sourceforge.net - my kernel
#ominos @ irc.freenode.net
http://dtors.ath.cx - my blog
User avatar
mystran
Member
Member
Posts: 670
Joined: Thu Mar 08, 2007 11:08 am

Post by mystran »

Have you tried booting something like Linux inside Bochs, and tried running tcpdump to see how much data is there on the line, and to see if it's working correctly..
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
Post Reply