mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes after  rmmod aic7xxx
@ 2001-03-29  2:16 Jeffrey Hundstad
  2001-03-29  3:20 ` Justin T. Gibbs
  0 siblings, 1 reply; 7+ messages in thread
From: Jeffrey Hundstad @ 2001-03-29  2:16 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Alan Cox

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes after rmmod aic7xxx
  2001-03-29  2:16 Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes after rmmod aic7xxx Jeffrey Hundstad
@ 2001-03-29  3:20 ` Justin T. Gibbs
  2001-03-29  3:39   ` Jeffrey Hundstad
  2001-03-29  4:21   ` Alan Cox
  0 siblings, 2 replies; 7+ messages in thread
From: Justin T. Gibbs @ 2001-03-29  3:20 UTC (permalink / raw)
  To: Jeffrey Hundstad; +Cc: Linux Kernel Mailing List, Alan Cox

>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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes  after rmmod aic7xxx
  2001-03-29  3:20 ` Justin T. Gibbs
@ 2001-03-29  3:39   ` Jeffrey Hundstad
  2001-03-29  3:59     ` Justin T. Gibbs
  2001-03-29  4:21   ` Alan Cox
  1 sibling, 1 reply; 7+ messages in thread
From: Jeffrey Hundstad @ 2001-03-29  3:39 UTC (permalink / raw)
  To: Justin T. Gibbs; +Cc: Linux Kernel Mailing List, Alan Cox

aic7xxx_osm.h:#define AIC7XXX_DRIVER_VERSION  "6.1.5"


"Justin T. Gibbs" wrote:

> >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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes after rmmod aic7xxx
  2001-03-29  3:39   ` Jeffrey Hundstad
@ 2001-03-29  3:59     ` Justin T. Gibbs
  0 siblings, 0 replies; 7+ messages in thread
From: Justin T. Gibbs @ 2001-03-29  3:59 UTC (permalink / raw)
  To: Jeffrey Hundstad; +Cc: Linux Kernel Mailing List, Alan Cox

>aic7xxx_osm.h:#define AIC7XXX_DRIVER_VERSION  "6.1.5"

Pick up the latest from here:

http://people.FreeBSD.org/~gibbs/linux/

--
Justin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes after rmmod aic7xxx
  2001-03-29  3:20 ` Justin T. Gibbs
  2001-03-29  3:39   ` Jeffrey Hundstad
@ 2001-03-29  4:21   ` Alan Cox
  2001-03-29  5:13     ` Justin T. Gibbs
  2001-03-29  5:31     ` Jeffrey Hundstad
  1 sibling, 2 replies; 7+ messages in thread
From: Alan Cox @ 2001-03-29  4:21 UTC (permalink / raw)
  To: Justin T. Gibbs; +Cc: Jeffrey Hundstad, Linux Kernel Mailing List, Alan Cox

> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes after rmmod aic7xxx
  2001-03-29  4:21   ` Alan Cox
@ 2001-03-29  5:13     ` Justin T. Gibbs
  2001-03-29  5:31     ` Jeffrey Hundstad
  1 sibling, 0 replies; 7+ messages in thread
From: Justin T. Gibbs @ 2001-03-29  5:13 UTC (permalink / raw)
  To: Alan Cox; +Cc: Jeffrey Hundstad, Linux Kernel Mailing List

>> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes  after rmmod aic7xxx
  2001-03-29  4:21   ` Alan Cox
  2001-03-29  5:13     ` Justin T. Gibbs
@ 2001-03-29  5:31     ` Jeffrey Hundstad
  1 sibling, 0 replies; 7+ messages in thread
From: Jeffrey Hundstad @ 2001-03-29  5:31 UTC (permalink / raw)
  To: Alan Cox; +Cc: Justin T. Gibbs, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

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


Alan Cox wrote:

> > 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

[-- Attachment #2: CHANGELOG-6.1.5-6.1.8.gz --]
[-- Type: application/x-gzip, Size: 4457 bytes --]

[-- Attachment #3: linux-2.4.2-ac27-aic7xxx-6.1.5-6.1.8.patch.gz --]
[-- Type: application/x-gzip, Size: 34702 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-03-29  5:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-29  2:16 Linux-2.4.2-ac27 - read on /proc/bus/pci/devices never finishes after rmmod aic7xxx Jeffrey Hundstad
2001-03-29  3:20 ` Justin T. Gibbs
2001-03-29  3:39   ` Jeffrey Hundstad
2001-03-29  3:59     ` Justin T. Gibbs
2001-03-29  4:21   ` Alan Cox
2001-03-29  5:13     ` Justin T. Gibbs
2001-03-29  5:31     ` Jeffrey Hundstad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®