Messages in this thread | | | Date | Tue, 4 May 2004 16:11:28 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH] tulip driver deadlocks on device removal |
| |
Hi!
> If I remove the card, my machine freezes instantly. This is due to a > stupid dev->poll function of the tulip driver. > > drivers/net/tulip/interrupt.c:tulip_poll() gets stuck in an endless loop > in interrupt context if the hardware returns 0xffffffff on certain reads. > But this is exactly what happens if you remove a pci device. > > My patch replaces the deadlock with something resembling a livelock. At > least SysRq-S works now because we leave the poll function after some time.
Could you explicitely check for read returning 0xffffffff?
Pavel -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |