Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes after rmmod aic7xxx
Hello,
I'm using Linux-2.4.2-ac27 SMP compiled with gcc version 2.95.2 20000220 (Debian GNU/Linux).
After an "insmod aic7xxx" "cat /proc/bus/pci/devices" works just fine. After an "rmmod aic7xxx" "cat /proc/bus/pci/devices" fails to produce any output and never finishes. Top show the process in R state taking as much CPU as it can get.
Killing the process doesn't do anything, rebooting is the only way to get rid of it. This problem does not happen with aic7xxx_old.
Strace shows a "read" on the fd of /proc/bus/pci/devices that never finishes.
My aic7xxx devices as reported by "lspci -vvv":
00:12.0 SCSI storage controller: Adaptec AIC-7881U (rev 01)
Subsystem: Adaptec: Unknown device 7881
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 8 min, 8 max, 64 set, cache line size 08
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at e800 [size=256]
Region 1: Memory at febff000 (32-bit, non-prefetchable)
[size=4K]
Expansion ROM at febe0000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
--
jeffrey hundstad
minnesota state university, mankato
mankato, mn
usa
Quoted 4 lines
Hello,
I'm using Linux-2.4.2-ac27 SMP compiled with gcc version 2.95.2 20000220 (Debian GNU/Linux).
What version of the aic7xxx driver is embedded in 2.4.2-ac27? This particular issue was fixed just after 6.1.5 was released.
--
Justin
aic7xxx_osm.h:#define AIC7XXX_DRIVER_VERSION "6.1.5"
Quoted 10 lines · Justin T. Gibbs
Quoted 4 lines
Hello,
I'm using Linux-2.4.2-ac27 SMP compiled with gcc version 2.95.2 20000220 (Debian GNU/Linux).
What version of the aic7xxx driver is embedded in 2.4.2-ac27? This particular issue was fixed just after 6.1.5 was released.
--
Justin
Quoted 1 line
aic7xxx_osm.h:#define
AIC7XXX_DRIVER_VERSION"6.1.5"
Pick up the latest from here:
http://people.FreeBSD.org/~gibbs/linux/
--
Justin
Quoted 2 lines
What version of the aic7xxx driver is embedded in 2.4.2-ac27? This particular issue was fixed just after 6.1.5 was released.
The last patch you sent to me + small other fixups for aicdb.h. I dont have time to chase after peoples drivers. If you want a newer aic7xxx in -ac just mail me a diff to update to it
Quoted 6 lines
Quoted 2 lines
What version of the aic7xxx driver is embedded in 2.4.2-ac27? This particular issue was fixed just after 6.1.5 was released.
The last patch you sent to me + small other fixups for
aicdb.h. I dont have time to chase after peoples drivers. If you want a newer aic7xxx in -ac just mail me a diff to update to it
I don't recall ever sending you diffs for the driver. My guess is that 6.1.5 got integrated into -ac from Linus' tree.
Up to now, I haven't been tracking -ac kernels. I started sending diffs to Linus based on the pre series kernels. No-one has requested patch sets against -ac kernels, but if I need to support this branch, I'll start generating them and passing them your way.
Chasing after all of the kernel versions can be time consuming for driver developers too. ;-)
--
Justin
I don't mean to walk on folks but I did make a patch that brings the ac27 version from aic7xxx-6.1.5 to aic7xxx-6.1.8. I've compiled it and inserted it and removed it without any of the hanging problems I encountered before. But the tests stopped there, no guarantees from me, I wish I could ;-) Please ignore this if you get something better. I included Mr. Gibbs changelog (for the changes from 6.1.5 to 6.1.8 his log is QUITE detailed.)
Thanks to everyone!
--
Jeffrey Hundstad
Quoted 6 lines · Alan Cox
Quoted 2 lines
What version of the aic7xxx driver is embedded in 2.4.2-ac27? This particular issue was fixed just after 6.1.5 was released.
The last patch you sent to me + small other fixups for
aicdb.h. I dont have time to chase after peoples drivers. If you want a newer aic7xxx in -ac just mail me a diff to update to it