Panic on SCSI card insertion

From: Cliff L. Biffle <cbiffle_at_safety.net>
Date: Wed, 7 May 2003 19:59:05 -0700
Wow, I'm really getting good at panicking my laptop. :-)

Here's the scenario.
If I insert my SCSI card (Adaptec APA-1460 PCMCIA), it works.
If I insert my Orinoco card, -it- works.
If I boot with both in, both work.
If I insert the SCSI card -after- the Orinoco, I get the panic shown below.

I'm on sources updated yesterday.

Devinfo for the card:
aic1 pnpinfo manufacturer=0x012f product=0x0002 cisvendor="Adaptec, Inc." 
cisproduct="APA-1460 SCSI Host Adapter" function_type=-1 at function=0

Trace follows.

-Cliff L. Biffle

panic: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xce5b9000
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc01e549d
stack pointer	        = 0x10:0xc97fd9fc
frame pointer	        = 0x10:0xc97fdbf8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 8 (cbb0)
panic: from debugger


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer	= 0x8:0xc03b5edd
stack pointer	        = 0x10:0xc97fd7e8
frame pointer	        = 0x10:0xc97fd7ec
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= IOPL = 0
current process		= 8 (cbb0)
panic: from debugger
Uptime: 40m22s
Dumping 159 MB
ata0: resetting devices ..
ata0: pre reset mask=03 ostat0=50 ostat2=00
ad0: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: after reset mask=03 stat0=50 stat1=00
ad0: ATA 01 a5
ata0: devices=01
ad0: success setting BIOSPIO on AcerLabs Aladdin chip
done
 16 32 48 64 80 96 112 128 144
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
238		dumping++;
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
#1  0xc027513d in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:370
#2  0xc0275421 in panic () at /usr/src/sys/kern/kern_shutdown.c:543
#3  0xc0151c2d in db_panic () at /usr/src/sys/ddb/db_command.c:448
#4  0xc0151bd0 in db_command (last_cmdp=0xc0432c80, cmd_table=0x0, 
    aux_cmd_tablep=0xc042a098, aux_cmd_tablep_end=0xc042a0b0)
    at /usr/src/sys/ddb/db_command.c:346
#5  0xc0151c9b in db_command_loop () at /usr/src/sys/ddb/db_command.c:470
#6  0xc0154212 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:72
#7  0xc03b5c74 in kdb_trap (type=12, code=0, regs=0xc97fd9bc)
    at /usr/src/sys/i386/i386/db_interface.c:170
#8  0xc03c5538 in trap_fatal (frame=0xc97fd9bc, eva=3462107136)
    at /usr/src/sys/i386/i386/trap.c:829
#9  0xc03c52ab in trap_pfault (frame=0xc97fd9bc, usermode=0, eva=3462107136)
    at /usr/src/sys/i386/i386/trap.c:748
#10 0xc03c4ecd in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 4, tf_esi = -914367476, 
tf_ebp = -914367496, tf_isp = -914368024, tf_ebx = -1046208000, tf_edx = 
-832864256, tf_ecx = 2054, tf_eax = 4096, tf_trapno = 12, tf_err = 0, tf_eip 
= -1071754083, tf_cs = 8, tf_eflags = 66050, tf_esp = 3, tf_ss = 1702064136})
    at /usr/src/sys/i386/i386/trap.c:433
#11 0xc03b7198 in calltrap () at {standard input}:96
#12 0xc01e5351 in pccard_read_cis (sc=0xc1a42200)
    at /usr/src/sys/dev/pccard/pccard_cis.c:98
#13 0xc01e37de in pccard_attach_card (dev=0xc1a57c00)
    at /usr/src/sys/dev/pccard/pccard.c:185
#14 0xc01eb00f in CARD_ATTACH_CARD (dev=0xc1a57c00) at card_if.h:67
#15 0xc01e9501 in cbb_insert (sc=0xc1a42000)
    at /usr/src/sys/dev/pccbb/pccbb.c:925
#16 0xc01e9353 in cbb_event_thread (arg=0xc1a42000)
    at /usr/src/sys/dev/pccbb/pccbb.c:883
#17 0xc0254efd in fork_exit (callout=0xc01e92d4 <cbb_event_thread>, 
    arg=0xc1a42000, frame=0xc97fdd48) at /usr/src/sys/kern/kern_fork.c:792
Received on Wed May 07 2003 - 17:58:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC