* Re: Kernel panic when re-inserting Adaptec PCMCIA card
@ 2006-06-25 22:55 Alex Davis
0 siblings, 0 replies; 8+ messages in thread
From: Alex Davis @ 2006-06-25 22:55 UTC (permalink / raw)
To: Chuck Ebbert; +Cc: linux-kernel, linux-scsi
--- Alex Davis <alex14641@yahoo.com> wrote:
> --- Alex Davis <alex14641@yahoo.com> wrote:
>
> > --- Chuck Ebbert <76306.1226@compuserve.com> wrote:
> >
> > > In-Reply-To: <20060614022139.21737.qmail@web50208.mail.yahoo.com>
> > >
> > > On Tue, 13 Jun 2006 19:21:39 -0700, Alex Davis wrote:
> > >
> > > Same panic occurs in 2.6.17rc6:
> > >
> > > > Jun 13 17:50:36 siafu kernel: [4295220.230000] pccard: PCMCIA card inserted into slot 0
> > > > Jun 13 17:50:36 siafu kernel: [4295220.230000] pcmcia: registering new device pcmcia0.0
> > > > Jun 13 17:50:37 siafu kernel: [4295220.281000] aha152x: resetting bus...
> > > > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: vital data: rev=1, io=0xd340
> > > > (0xd340/0xd340), irq=3, scsiid=7, reconnect=enabled,
> > > > parity=enabled, synchronous=enabled, delay=100, extended translation=disabled
> > > > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: trying software interrupt, ok.
> > > > Jun 13 17:50:37 siafu kernel: [4295221.638000] scsi13 : Adaptec 152x SCSI driver;
> $Revision:
> > > 2.7 $
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] aha152x22856: bottom-half already running!?
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] queue status:
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] issue_SC:
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] current_SC:
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] BUG: unable to handle kernel paging request
> > at
> > > > virtual address 00020016
> > >
> > > Something is going very wrong here. At time .637 it says it is
> > > adapter number 13 (aha152x13.) Then at .650 it thinks it's
> > > adapter nr. 22856 (!) Looks like some kind of pointer to the
> > > hostdata is corrupted.
> > >
> > > Can you rmmod the driver after removing the card and see if that
> > > helps?
> > >
> > It turns out I was trying to remove the driver before doing 'pccardctl eject'.
> >
> > It seems that removing the driver after ejecting make the problem go away:
> > I ejected and re-inserted the card six times with no crash.
> >
> > I'll continue testing just to make sure.
I now know what the problem is.
In drivers/scsi/aha152x.c, there is an array of two scsi hosts:
static struct Scsi_Host *aha152x_host[2];
There is also the aha152x_probe_one method.
The problem is that each re-insert of the card creates a new 'host' via aha152x_probe_one,
which increments the registered_count variable. This variable is used as an index into the afore-
mentioned 2-element host array. When registered_count is 2 or greater we're in no-man's land,
hence the crashes. I'm currently testing a fix for this, which I hope to post soon.
-Alex
I code, therefore I am
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Kernel panic when re-inserting Adaptec PCMCIA card
2006-06-19 23:30 Alex Davis
@ 2006-06-20 0:10 ` Randy.Dunlap
0 siblings, 0 replies; 8+ messages in thread
From: Randy.Dunlap @ 2006-06-20 0:10 UTC (permalink / raw)
To: Alex Davis; +Cc: 76306.1226, linux-kernel, linux-scsi
On Mon, 19 Jun 2006 16:30:49 -0700 (PDT) Alex Davis wrote:
> --- Alex Davis <alex14641@yahoo.com> wrote:
>
> > --- Chuck Ebbert <76306.1226@compuserve.com> wrote:
> >
> > > In-Reply-To: <20060614022139.21737.qmail@web50208.mail.yahoo.com>
> > >
> > > On Tue, 13 Jun 2006 19:21:39 -0700, Alex Davis wrote:
> > >
> > > Same panic occurs in 2.6.17rc6:
> > >
> > > > Jun 13 17:50:36 siafu kernel: [4295220.230000] pccard: PCMCIA card inserted into slot 0
> > > > Jun 13 17:50:36 siafu kernel: [4295220.230000] pcmcia: registering new device pcmcia0.0
> > > > Jun 13 17:50:37 siafu kernel: [4295220.281000] aha152x: resetting bus...
> > > > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: vital data: rev=1, io=0xd340
> > > > (0xd340/0xd340), irq=3, scsiid=7, reconnect=enabled,
> > > > parity=enabled, synchronous=enabled, delay=100, extended translation=disabled
> > > > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: trying software interrupt, ok.
> > > > Jun 13 17:50:37 siafu kernel: [4295221.638000] scsi13 : Adaptec 152x SCSI driver; $Revision:
> > > 2.7 $
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] aha152x22856: bottom-half already running!?
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] queue status:
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] issue_SC:
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] current_SC:
> > > > Jun 13 17:50:37 siafu kernel: [4295221.650000] BUG: unable to handle kernel paging request
> > at
> > > > virtual address 00020016
> > >
> > > Something is going very wrong here. At time .637 it says it is
> > > adapter number 13 (aha152x13.) Then at .650 it thinks it's
> > > adapter nr. 22856 (!) Looks like some kind of pointer to the
> > > hostdata is corrupted.
> > >
> > > Can you rmmod the driver after removing the card and see if that
> > > helps?
> > >
> > It turns out I was trying to remove the driver before doing 'pccardctl eject'.
> >
> > It seems that removing the driver after ejecting make the problem go away:
> > I ejected and re-inserted the card six times with no crash.
> >
> > I'll continue testing just to make sure.
> >
> Will removing the module after ejecting be considered the fix
> for this problem??
That's a workaround IMO, not the proper fix.
---
~Randy
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Kernel panic when re-inserting Adaptec PCMCIA card
@ 2006-06-19 23:30 Alex Davis
2006-06-20 0:10 ` Randy.Dunlap
0 siblings, 1 reply; 8+ messages in thread
From: Alex Davis @ 2006-06-19 23:30 UTC (permalink / raw)
To: Chuck Ebbert; +Cc: linux-kernel, linux-scsi
--- Alex Davis <alex14641@yahoo.com> wrote:
> --- Chuck Ebbert <76306.1226@compuserve.com> wrote:
>
> > In-Reply-To: <20060614022139.21737.qmail@web50208.mail.yahoo.com>
> >
> > On Tue, 13 Jun 2006 19:21:39 -0700, Alex Davis wrote:
> >
> > Same panic occurs in 2.6.17rc6:
> >
> > > Jun 13 17:50:36 siafu kernel: [4295220.230000] pccard: PCMCIA card inserted into slot 0
> > > Jun 13 17:50:36 siafu kernel: [4295220.230000] pcmcia: registering new device pcmcia0.0
> > > Jun 13 17:50:37 siafu kernel: [4295220.281000] aha152x: resetting bus...
> > > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: vital data: rev=1, io=0xd340
> > > (0xd340/0xd340), irq=3, scsiid=7, reconnect=enabled,
> > > parity=enabled, synchronous=enabled, delay=100, extended translation=disabled
> > > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: trying software interrupt, ok.
> > > Jun 13 17:50:37 siafu kernel: [4295221.638000] scsi13 : Adaptec 152x SCSI driver; $Revision:
> > 2.7 $
> > > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > > Jun 13 17:50:37 siafu kernel: [4295221.650000] aha152x22856: bottom-half already running!?
> > > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > > Jun 13 17:50:37 siafu kernel: [4295221.650000] queue status:
> > > Jun 13 17:50:37 siafu kernel: [4295221.650000] issue_SC:
> > > Jun 13 17:50:37 siafu kernel: [4295221.650000] current_SC:
> > > Jun 13 17:50:37 siafu kernel: [4295221.650000] BUG: unable to handle kernel paging request
> at
> > > virtual address 00020016
> >
> > Something is going very wrong here. At time .637 it says it is
> > adapter number 13 (aha152x13.) Then at .650 it thinks it's
> > adapter nr. 22856 (!) Looks like some kind of pointer to the
> > hostdata is corrupted.
> >
> > Can you rmmod the driver after removing the card and see if that
> > helps?
> >
> It turns out I was trying to remove the driver before doing 'pccardctl eject'.
>
> It seems that removing the driver after ejecting make the problem go away:
> I ejected and re-inserted the card six times with no crash.
>
> I'll continue testing just to make sure.
>
Will removing the module after ejecting be considered the fix
for this problem??
I code, therefore I am
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Kernel panic when re-inserting Adaptec PCMCIA card
2006-06-19 9:57 Chuck Ebbert
2006-06-19 13:19 ` Alex Davis
@ 2006-06-19 21:47 ` Alex Davis
1 sibling, 0 replies; 8+ messages in thread
From: Alex Davis @ 2006-06-19 21:47 UTC (permalink / raw)
To: Chuck Ebbert; +Cc: linux-kernel, linux-scsi
--- Chuck Ebbert <76306.1226@compuserve.com> wrote:
> In-Reply-To: <20060614022139.21737.qmail@web50208.mail.yahoo.com>
>
> On Tue, 13 Jun 2006 19:21:39 -0700, Alex Davis wrote:
>
> Same panic occurs in 2.6.17rc6:
>
> > Jun 13 17:50:36 siafu kernel: [4295220.230000] pccard: PCMCIA card inserted into slot 0
> > Jun 13 17:50:36 siafu kernel: [4295220.230000] pcmcia: registering new device pcmcia0.0
> > Jun 13 17:50:37 siafu kernel: [4295220.281000] aha152x: resetting bus...
> > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: vital data: rev=1, io=0xd340
> > (0xd340/0xd340), irq=3, scsiid=7, reconnect=enabled,
> > parity=enabled, synchronous=enabled, delay=100, extended translation=disabled
> > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: trying software interrupt, ok.
> > Jun 13 17:50:37 siafu kernel: [4295221.638000] scsi13 : Adaptec 152x SCSI driver; $Revision:
> 2.7 $
> > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] aha152x22856: bottom-half already running!?
> > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] queue status:
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] issue_SC:
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] current_SC:
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] BUG: unable to handle kernel paging request at
> > virtual address 00020016
>
> Something is going very wrong here. At time .637 it says it is
> adapter number 13 (aha152x13.) Then at .650 it thinks it's
> adapter nr. 22856 (!) Looks like some kind of pointer to the
> hostdata is corrupted.
>
> Can you rmmod the driver after removing the card and see if that
> helps?
>
It turns out I was trying to remove the driver before doing 'pccardctl eject'.
It seems that removing the driver after ejecting make the problem go away:
I ejected and re-inserted the card six times with no crash.
I'll continue testing just to make sure.
I code, therefore I am
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Kernel panic when re-inserting Adaptec PCMCIA card
2006-06-19 9:57 Chuck Ebbert
@ 2006-06-19 13:19 ` Alex Davis
2006-06-19 21:47 ` Alex Davis
1 sibling, 0 replies; 8+ messages in thread
From: Alex Davis @ 2006-06-19 13:19 UTC (permalink / raw)
To: Chuck Ebbert; +Cc: linux-kernel, linux-scsi
--- Chuck Ebbert <76306.1226@compuserve.com> wrote:
> In-Reply-To: <20060614022139.21737.qmail@web50208.mail.yahoo.com>
>
> On Tue, 13 Jun 2006 19:21:39 -0700, Alex Davis wrote:
>
> Same panic occurs in 2.6.17rc6:
>
> > Jun 13 17:50:36 siafu kernel: [4295220.230000] pccard: PCMCIA card inserted into slot 0
> > Jun 13 17:50:36 siafu kernel: [4295220.230000] pcmcia: registering new device pcmcia0.0
> > Jun 13 17:50:37 siafu kernel: [4295220.281000] aha152x: resetting bus...
> > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: vital data: rev=1, io=0xd340
> > (0xd340/0xd340), irq=3, scsiid=7, reconnect=enabled,
> > parity=enabled, synchronous=enabled, delay=100, extended translation=disabled
> > Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: trying software interrupt, ok.
> > Jun 13 17:50:37 siafu kernel: [4295221.638000] scsi13 : Adaptec 152x SCSI driver; $Revision:
> 2.7 $
> > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] aha152x22856: bottom-half already running!?
> > Jun 13 17:50:37 siafu kernel: [4295221.650000]
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] queue status:
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] issue_SC:
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] current_SC:
> > Jun 13 17:50:37 siafu kernel: [4295221.650000] BUG: unable to handle kernel paging request at
> > virtual address 00020016
>
> Something is going very wrong here. At time .637 it says it is
> adapter number 13 (aha152x13.) Then at .650 it thinks it's
> adapter nr. 22856 (!) Looks like some kind of pointer to the
> hostdata is corrupted.
>
> Can you rmmod the driver after removing the card and see if that
> helps?
>
> --
> Chuck
> "You can't read a newspaper if you can't read." --George W. Bush
I can't rmmod the driver. The error message says it's in use.
I code, therefore I am
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Kernel panic when re-inserting Adaptec PCMCIA card
@ 2006-06-19 9:57 Chuck Ebbert
2006-06-19 13:19 ` Alex Davis
2006-06-19 21:47 ` Alex Davis
0 siblings, 2 replies; 8+ messages in thread
From: Chuck Ebbert @ 2006-06-19 9:57 UTC (permalink / raw)
To: Alex Davis; +Cc: linux-kernel, linux-scsi
In-Reply-To: <20060614022139.21737.qmail@web50208.mail.yahoo.com>
On Tue, 13 Jun 2006 19:21:39 -0700, Alex Davis wrote:
Same panic occurs in 2.6.17rc6:
> Jun 13 17:50:36 siafu kernel: [4295220.230000] pccard: PCMCIA card inserted into slot 0
> Jun 13 17:50:36 siafu kernel: [4295220.230000] pcmcia: registering new device pcmcia0.0
> Jun 13 17:50:37 siafu kernel: [4295220.281000] aha152x: resetting bus...
> Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: vital data: rev=1, io=0xd340
> (0xd340/0xd340), irq=3, scsiid=7, reconnect=enabled,
> parity=enabled, synchronous=enabled, delay=100, extended translation=disabled
> Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: trying software interrupt, ok.
> Jun 13 17:50:37 siafu kernel: [4295221.638000] scsi13 : Adaptec 152x SCSI driver; $Revision: 2.7 $
> Jun 13 17:50:37 siafu kernel: [4295221.650000]
> Jun 13 17:50:37 siafu kernel: [4295221.650000] aha152x22856: bottom-half already running!?
> Jun 13 17:50:37 siafu kernel: [4295221.650000]
> Jun 13 17:50:37 siafu kernel: [4295221.650000] queue status:
> Jun 13 17:50:37 siafu kernel: [4295221.650000] issue_SC:
> Jun 13 17:50:37 siafu kernel: [4295221.650000] current_SC:
> Jun 13 17:50:37 siafu kernel: [4295221.650000] BUG: unable to handle kernel paging request at
> virtual address 00020016
Something is going very wrong here. At time .637 it says it is
adapter number 13 (aha152x13.) Then at .650 it thinks it's
adapter nr. 22856 (!) Looks like some kind of pointer to the
hostdata is corrupted.
Can you rmmod the driver after removing the card and see if that
helps?
--
Chuck
"You can't read a newspaper if you can't read." --George W. Bush
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Kernel panic when re-inserting Adaptec PCMCIA card
@ 2006-06-14 2:21 Alex Davis
0 siblings, 0 replies; 8+ messages in thread
From: Alex Davis @ 2006-06-14 2:21 UTC (permalink / raw)
To: linux-scsi, linux-kernel
--- Alex Davis <alex14641@yahoo.com> wrote:
>
> The card is an Adaptec SlimSCSI 1460D Fast SCSI card.
> I frequently get this panic when re-inserting the card:
>
> Jun 13 17:53:29 siafu kernel: [4364313.475000] pccard: PCMCIA card inserted into slot 0
> Jun 13 17:53:29 siafu kernel: [4364313.475000] pcmcia: registering new device pcmcia0.0
> Jun 13 17:53:30 siafu kernel: [4364313.526000] aha152x: resetting bus...
> Jun 13 17:53:30 siafu kernel: [4364313.882000] aha152x2: vital data: rev=1, io=0xd340
> (0xd340/0xd340), irq=3, scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled,
> delay=100, extended translation=disabled
> Jun 13 17:53:30 siafu kernel: [4364313.882000] aha152x2: trying software interrupt, ok.
> Jun 13 17:53:30 siafu kernel: [4364314.883000] scsi2 : Adaptec 152x SCSI driver; $Revision: 2.7
> $
> Jun 13 17:53:30 siafu kernel: [4364314.895000]
> Jun 13 17:53:30 siafu kernel: [4364314.895000] aha152x0: bottom-half already running!?
> Jun 13 17:53:30 siafu kernel: [4364314.895000]
> Jun 13 17:53:30 siafu kernel: [4364314.895000] queue status:
> Jun 13 17:53:30 siafu kernel: [4364314.895000] issue_SC:
> Jun 13 17:53:30 siafu kernel: [4364314.895000] BUG: unable to handle kernel NULL pointer
> dereference at virtual address 00000066
> Jun 13 17:53:30 siafu kernel: [4364314.895000] printing eip:
> Jun 13 17:53:30 siafu kernel: [4364314.895000] e0a71e0c
> Jun 13 17:53:30 siafu kernel: [4364314.895000] *pde = 00000000
> Jun 13 17:53:30 siafu kernel: [4364314.895000] Oops: 0000 [#1]
> Jun 13 17:53:30 siafu kernel: [4364314.895000] Modules linked in: ide_cd cdrom radeon drm
[snip]
Same panic occurs in 2.6.17rc6:
Jun 13 17:50:36 siafu kernel: [4295220.230000] pccard: PCMCIA card inserted into slot 0
Jun 13 17:50:36 siafu kernel: [4295220.230000] pcmcia: registering new device pcmcia0.0
Jun 13 17:50:37 siafu kernel: [4295220.281000] aha152x: resetting bus...
Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: vital data: rev=1, io=0xd340
(0xd340/0xd340), irq=3, scsiid=7, reconnect=enabled,
parity=enabled, synchronous=enabled, delay=100, extended translation=disabled
Jun 13 17:50:37 siafu kernel: [4295220.637000] aha152x13: trying software interrupt, ok.
Jun 13 17:50:37 siafu kernel: [4295221.638000] scsi13 : Adaptec 152x SCSI driver; $Revision: 2.7 $
Jun 13 17:50:37 siafu kernel: [4295221.650000]
Jun 13 17:50:37 siafu kernel: [4295221.650000] aha152x22856: bottom-half already running!?
Jun 13 17:50:37 siafu kernel: [4295221.650000]
Jun 13 17:50:37 siafu kernel: [4295221.650000] queue status:
Jun 13 17:50:37 siafu kernel: [4295221.650000] issue_SC:
Jun 13 17:50:37 siafu kernel: [4295221.650000] current_SC:
Jun 13 17:50:37 siafu kernel: [4295221.650000] BUG: unable to handle kernel paging request at
virtual address 00020016
Jun 13 17:50:37 siafu kernel: [4295221.650000] printing eip:
Jun 13 17:50:37 siafu kernel: [4295221.650000] e0a64e0c
Jun 13 17:50:37 siafu kernel: [4295221.650000] *pde = 00000000
Jun 13 17:50:37 siafu kernel: [4295221.650000] Oops: 0000 [#1]
Jun 13 17:50:37 siafu kernel: [4295221.650000] Modules linked in: aha152x_cs ide_cd cdrom radeon
drm scsi_transport_spi snd_pcm_oss snd_mix
er_oss ohci_hcd usbhid intel_agp uhci_hcd generic snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm
snd_timer snd soundcore snd_page_alloc 8
250_pci 8250 serial_core tg3 yenta_socket rsrc_nonstatic pcmcia firmware_class crc32 pcmcia_core
nls_iso8859_1 ntfs usbkbd usbmouse agpgart
usb_storage sd_mod scsi_mod ehci_hcd
Jun 13 17:50:37 siafu kernel: [4295221.650000] CPU: 0
Jun 13 17:50:37 siafu kernel: [4295221.650000] EIP: 0060:[<e0a64e0c>] Not tainted VLI
Jun 13 17:50:37 siafu kernel: [4295221.650000] EFLAGS: 00010286 (2.6.17-rc6debug #1)
Jun 13 17:50:37 siafu kernel: [4295221.650000] EIP is at show_command+0xc/0x1a0 [aha152x_cs]
Jun 13 17:50:37 siafu kernel: [4295221.650000] eax: 00020012 ebx: 00020012 ecx: 00000000
edx: 00000000
Jun 13 17:50:37 siafu kernel: [4295221.650000] esi: d77aa800 edi: 00000296 ebp: 00000000
esp: dff07eb4
Jun 13 17:50:37 siafu kernel: [4295221.650000] ds: 007b es: 007b ss: 0068
Jun 13 17:50:37 siafu kernel: [4295221.650000] Process events/0 (pid: 4, threadinfo=dff06000
task=dff63a50)
Jun 13 17:50:37 siafu kernel: [4295221.650000] Stack: 00000296 00000000 c011a947 00020012 00000000
e0a65004 00020012 d77aa800
Jun 13 17:50:37 siafu kernel: [4295221.650000] d77aa800 dffa2700 e0a64c4f d77aa800 00005948
e0a66aa7 00000286 e0a64c10
Jun 13 17:50:37 siafu kernel: [4295221.650000] d77aa800 e0a66aa7 c0294667 dff07f4c dff63a50
00000001 00000296 dffa2700
Jun 13 17:50:37 siafu kernel: [4295221.650000] Call Trace:
Jun 13 17:50:37 siafu kernel: [4295221.650000] <c011a947> printk+0x17/0x20 <e0a65004>
show_queues+0x64/0xc0 [aha152x_cs]
Jun 13 17:50:37 siafu kernel: [4295221.650000] <e0a64c4f> aha152x_error+0x2f/0x40 [aha152x_cs]
<e0a64c10> is_complete+0x280/0x290 [aha152x_cs]
Jun 13 17:50:37 siafu kernel: [4295221.650000] <c0294667> schedule+0x317/0x5d0 <e0a62619>
run+0x19/0x30 [aha152x_cs]
Jun 13 17:50:37 siafu kernel: [4295221.650000] <c012926f> run_workqueue+0x6f/0xe0 <e0a62600>
run+0x0/0x30 [aha152x_cs]
Jun 13 17:50:37 siafu kernel: [4295221.650000] <c012942b> worker_thread+0x14b/0x170 <c0116b60>
default_wake_function+0x0/0x20
Jun 13 17:50:37 siafu kernel: [4295221.650000] <c0116b60> default_wake_function+0x0/0x20
<c01292e0> worker_thread+0x0/0x170
Jun 13 17:50:37 siafu kernel: [4295221.650000] <c012c7ea> kthread+0xba/0xc0 <c012c730>
kthread+0x0/0xc0
Jun 13 17:50:37 siafu kernel: [4295221.650000] <c01013bd> kernel_thread_helper+0x5/0x18
Jun 13 17:50:37 siafu kernel: [4295221.650000] Code: 6b df e9 bc fe ff ff c7 04 24 8f 6b a6 e0 e8
3c 5b 6b df e9 a2 fe ff ff 8d b4 26 00 00
00 00 53 83 ec 10 8b 5c 24 18 89 5c 24 0c <8b> 53 04 8d 82 34 01 00 00 89 44 24 08 8b 82 70 01 00
00 ba 09
Jun 13 17:50:37 siafu kernel: [4295221.650000] EIP: [<e0a64e0c>] show_command+0xc/0x1a0
[aha152x_cs] SS:ESP 0068:dff07eb4
Jun 13 17:50:53 siafu kernel: [4295221.650000] <3>(scsi13:0:0) cannot reuse command
I code, therefore I am
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Kernel panic when re-inserting Adaptec PCMCIA card
@ 2006-06-13 23:36 Alex Davis
0 siblings, 0 replies; 8+ messages in thread
From: Alex Davis @ 2006-06-13 23:36 UTC (permalink / raw)
To: linux-scsi, linux-kernel
The card is an Adaptec SlimSCSI 1460D Fast SCSI card.
I frequently get this panic when re-inserting the card:
Jun 13 17:53:29 siafu kernel: [4364313.475000] pccard: PCMCIA card inserted into slot 0
Jun 13 17:53:29 siafu kernel: [4364313.475000] pcmcia: registering new device pcmcia0.0
Jun 13 17:53:30 siafu kernel: [4364313.526000] aha152x: resetting bus...
Jun 13 17:53:30 siafu kernel: [4364313.882000] aha152x2: vital data: rev=1, io=0xd340
(0xd340/0xd340), irq=3, scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled,
delay=100, extended translation=disabled
Jun 13 17:53:30 siafu kernel: [4364313.882000] aha152x2: trying software interrupt, ok.
Jun 13 17:53:30 siafu kernel: [4364314.883000] scsi2 : Adaptec 152x SCSI driver; $Revision: 2.7 $
Jun 13 17:53:30 siafu kernel: [4364314.895000]
Jun 13 17:53:30 siafu kernel: [4364314.895000] aha152x0: bottom-half already running!?
Jun 13 17:53:30 siafu kernel: [4364314.895000]
Jun 13 17:53:30 siafu kernel: [4364314.895000] queue status:
Jun 13 17:53:30 siafu kernel: [4364314.895000] issue_SC:
Jun 13 17:53:30 siafu kernel: [4364314.895000] BUG: unable to handle kernel NULL pointer
dereference at virtual address 00000066
Jun 13 17:53:30 siafu kernel: [4364314.895000] printing eip:
Jun 13 17:53:30 siafu kernel: [4364314.895000] e0a71e0c
Jun 13 17:53:30 siafu kernel: [4364314.895000] *pde = 00000000
Jun 13 17:53:30 siafu kernel: [4364314.895000] Oops: 0000 [#1]
Jun 13 17:53:30 siafu kernel: [4364314.895000] Modules linked in: ide_cd cdrom radeon drm
rate_control bcm43xx_d80211 80211 aha152x_cs scsi_transport_spi snd_pcm_oss snd_mixer_oss ohci_hcd
intel_agp usbhid uhci_hcd generic snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd
soundcore snd_page_alloc 8250_pci 8250 serial_core tg3 yenta_socket rsrc_nonstatic pcmcia
firmware_class crc32 pcmcia_core nls_iso8859_1 ntfs usbkbd usbmouse agpgart usb_storage sd_mod
scsi_mod ehci_hcd
Jun 13 17:53:30 siafu kernel: [4364314.895000] CPU: 0
Jun 13 17:53:30 siafu kernel: [4364314.895000] EIP: 0060:[<e0a71e0c>] Not tainted VLI
Jun 13 17:53:30 siafu kernel: [4364314.895000] EFLAGS: 00010086 (2.6.17-rc5debug-g3cdcc4d0-dirty
#1)
Jun 13 17:53:30 siafu kernel: [4364314.895000] EIP is at show_command+0xc/0x1a0 [aha152x_cs]
Jun 13 17:53:30 siafu kernel: [4364314.895000] eax: 00000055 ebx: 00000062 ecx: 00000000
edx: 00000000
Jun 13 17:53:30 siafu kernel: [4364314.895000] esi: dc412000 edi: 00000296 ebp: 00000000
esp: dff07eb4
Jun 13 17:53:30 siafu kernel: [4364314.895000] ds: 007b es: 007b ss: 0068
Jun 13 17:53:30 siafu kernel: [4364314.895000] Process events/0 (pid: 4, threadinfo=dff06000
task=dff63a50)
Jun 13 17:53:30 siafu kernel: [4364314.895000] Stack: 00000296 00000000 c011a947 00000062 00000062
e0a71fd8 00000062 dc412000
Jun 13 17:53:30 siafu kernel: [4364314.895000] dc412000 dffa2700 e0a71c4f dc412000 00000000
e0a73aa7 00000286 e0a71c10
Jun 13 17:53:30 siafu kernel: [4364314.895000] dc412000 e0a73aa7 c0294667 dff07f4c dff63560
00000001 00000296 dffa2700
Jun 13 17:53:30 siafu kernel: [4364314.895000] Call Trace:
Jun 13 17:53:30 siafu kernel: [4364314.895000] <c011a947> printk+0x17/0x20 <e0a71fd8>
show_queues+0x38/0xc0 [aha152x_cs]
Jun 13 17:53:30 siafu kernel: [4364314.895000] <e0a71c4f> aha152x_error+0x2f/0x40 [aha152x_cs]
<e0a71c10> is_complete+0x280/0x290 [aha152x_cs]
Jun 13 17:53:30 siafu kernel: [4364314.895000] <c0294667> schedule+0x317/0x5d0 <e0a6f619>
run+0x19/0x30 [aha152x_cs]
Jun 13 17:53:30 siafu kernel: [4364314.895000] <c012926f> run_workqueue+0x6f/0xe0 <e0a6f600>
run+0x0/0x30 [aha152x_cs]
Jun 13 17:53:30 siafu kernel: [4364314.895000] <c012942b> worker_thread+0x14b/0x170 <c0116b60>
default_wake_function+0x0/0x20
Jun 13 17:53:30 siafu kernel: [4364314.895000] <c0116b60> default_wake_function+0x0/0x20
<c01292e0> worker_thread+0x0/0x170
Jun 13 17:53:30 siafu kernel: [4364314.895000] <c012c7ea> kthread+0xba/0xc0 <c012c730>
kthread+0x0/0xc0
Jun 13 17:53:30 siafu kernel: [4364314.895000] <c01013bd> kernel_thread_helper+0x5/0x18
Jun 13 17:53:30 siafu kernel: [4364314.895000] Code: 6a df e9 bc fe ff ff c7 04 24 8f 3b a7 e0 e8
3c 8b 6a df e9 a2 fe ff ff 8d b4 26 00 00 00 00 53 83 ec 10 8b 5c 24 18 89 5c 24 0c <8b> 53 04 8d
82 34 01 00 00 89 44 24 08 8b 82 70 01 00 00 ba 09
Jun 13 17:53:30 siafu kernel: [4364314.895000] EIP: [<e0a71e0c>] show_command+0xc/0x1a0
[aha152x_cs] SS:ESP 0068:dff07eb4
Jun 13 17:53:46 siafu kernel: [4364314.895000] <3>(scsi2:0:0) cannot reuse command
I always typed "pccardctl eject" before removing the card.
Can test patches if necessary.
Machine is a Dell Latitude D600 running 2.6.17-rc5
#lspci
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller
#1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller
#2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller
#3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97
Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev
01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf [FireGL 9000] (rev 02)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 01)
02:01.0 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20)
02:01.1 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20)
02:03.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g (rev 03)
-Alex
I code, therefore I am
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-06-25 22:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-25 22:55 Kernel panic when re-inserting Adaptec PCMCIA card Alex Davis
-- strict thread matches above, loose matches on Subject: below --
2006-06-19 23:30 Alex Davis
2006-06-20 0:10 ` Randy.Dunlap
2006-06-19 9:57 Chuck Ebbert
2006-06-19 13:19 ` Alex Davis
2006-06-19 21:47 ` Alex Davis
2006-06-14 2:21 Alex Davis
2006-06-13 23:36 Alex Davis
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®