Opened 18 months ago
Last modified 3 days ago
#879 new defect
NE2K not working in Qemu
| Reported by: | Jiri Svoboda | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | helenos/unspecified | Version: | mainline |
| Keywords: | Cc: | ||
| Blocker for: | Depends on: | ||
| See also: |
Description
While testing quiesce in NE2k driver I found out that the driver is not working properly. I added ne2k_isa device to Qemu, the driver probed successfully and the device appears in nic output. DHCP times out trying to get an address.
Note:
See TracTickets
for help on using tickets.

The problem is that in HelenOS isa.dev specifies ne2k IRQ vector as 5. In Qemu the default IRQ for ne2k_isa is 9. It can be overriden using -netdev ne2k_isa,irq=5.
Should we change our isa.dev to match the Qemu default?
It is unfortunate that the driver cannot detect when interrupts don't work. Instead it simply doesn't receive any frames and stops to send frames after the first one. It would be nice if it would be able to detect non-functional interrupts