| To: | davies@xxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | Bug in de4x5 driver |
| From: | Nikita Schmidt <cetus@xxxxxxxxxxxxxxx> |
| Date: | Sun, 4 Feb 2001 17:32:00 +0000 |
| Cc: | netdev@xxxxxxxxxxx |
| Sender: | owner-netdev@xxxxxxxxxxx |
| User-agent: | Mutt/1.0.1i |
Hello, I came across a bug in the de4x5 driver for Linux 2.4.1, which causes segfault during initialisation. In srom_search(), the driver walks the device list attached to a PCI bus and eventually finds the list head, which is contained in struct pci_bus, not pci_dev. Then, pci_dev_b() obviously returns nonsense, which eventually results in illegal memory reference. This bug only manifests itself when the network adapter is not on the PCI bus 0. I attach a patch that works for me. Thank you, Nikita
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Fwd: Re: vaio doesn't boot with 2.4.1-ac1, stops at PCI: Probing PCI hardware, Ookhoi |
|---|---|
| Next by Date: | Re: Still not sexy! (Re: sendfile+zerocopy: fairly sexy (nothing todowith ECN), jamal |
| Previous by Thread: | Fwd: Re: vaio doesn't boot with 2.4.1-ac1, stops at PCI: Probing PCI hardware, Ookhoi |
| Next by Thread: | Re: Still not sexy! (Re: sendfile+zerocopy: fairly sexy (nothing todowith ECN), jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |