Skip to contentSkip to conversation

Kernel panic when re-inserting Adaptec PCMCIA card

DISCUSSION Chuck Ebbert 2 participants 3 messages Jun 19, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

In-Reply-To: <[email protected]>

On Tue, 13 Jun 2006 19:21:39 -0700, Alex Davis wrote:

Same panic occurs in 2.6.17rc6:

Quoted 15 lines
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
Quoted 1 line

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?

Signature · 2 lines
Chuck
 "You can't read a newspaper if you can't read."  --George W. Bush
#1 lore raw
Quoted 24 lines · --- Chuck Ebbert

In-Reply-To: <[email protected]>

On Tue, 13 Jun 2006 19:21:39 -0700, Alex Davis wrote:

Same panic occurs in 2.6.17rc6:

Quoted 8 lines
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 $

Quoted 8 lines
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

Quoted 11 lines

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?

Signature · 2 lines
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

#2 lore raw
In reply to Chuck Ebbert
Quoted 24 lines · --- Chuck Ebbert

In-Reply-To: <[email protected]>

On Tue, 13 Jun 2006 19:21:39 -0700, Alex Davis wrote:

Same panic occurs in 2.6.17rc6:

Quoted 8 lines
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 $

Quoted 8 lines
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

Quoted 8 lines

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