[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
system/3630: -current crashes with ahc
- To: gnats@openbsd.org
- Subject: system/3630: -current crashes with ahc
- From: Olivier Cherrier <oc@cediti.be>
- Date: Tue, 6 Jan 2004 15:15:48 +0100 (CET)
- Resent-Date: Tue, 6 Jan 2004 07:45:02 -0700 (MST)
- Resent-From: gnats@cvs.openbsd.org (GNATS Filer)
- Resent-Message-Id: <200401061445.i06Ej2j8009586@cvs.openbsd.org>
- Resent-Reply-To: gnats@cvs.openbsd.org,Olivier Cherrier <oc@cediti.be>
- Resent-To: bugs@cvs.openbsd.org
>Number: 3630
>Category: system
>Synopsis: It seems that the new ahc driver is failling on probing the board or hardware problem
>Confidential: yes
>Severity: critical
>Priority: medium
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 06 14:40:01 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Olivier Cherrier
>Release: HEAD
>Organization:
net
>Environment:
System : OpenBSD 3.4 -current
Architecture: OpenBSD.i386
Machine : i386
>Description:
OpenBSD is crashing during boot. The ahc card is not responding (hardware
problem ??) or the driver seems to fail in probing it.
Here is the log:
booting hd0a:/bsd: 4566420+835644 [58+208096+185894]=0x5872b0
entry point at 0x100120
[ using 394464 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2004 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 3.4-current (GENERIC) #0: Tue Jan 6 14:19:40 CET 2004
oc@ney:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 166 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
cpu0: F00F bug workaround installed
real mem = 66695168 (65132K)
avail mem = 55861248 (54552K)
using 839 buffers containing 3436544 bytes (3356K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(45) BIOS, date 04/15/97, BIOS32 rev. 0 @ 0xfb560
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xba1c
pcibios0: PCI BIOS has 6 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82439TX System" rev 0x01
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x01
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST33232A>
wd0: 16-sector PIO, LBA, 3077MB, 6253 cyl, 16 head, 63 sec, 6303024 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x01 at pci0 dev 7 function 3 not configured
ahc1 at pci0 dev 10 function 0 "Adaptec AHA-2940U" rev 0x00: irq 10
scsibus0 at ahc1: 16 targets
ahc1: board is not responding
cmd fail
probe(ahc1:3:0): SCB 0xf - timed out
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahc1: Dumping Card State in Data-in phase, at SEQADDR 0x7c
Card was paused
ACCUM = 0x0, SINDEX = 0xb8, DINDEX = 0xa8, ARG_2 = 0x3
HCNT = 0x20 SCBPTR = 0x0
SCSISIGI[0x44] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x40]
SCSISEQ[0x12] SBLKCTL[0x2] SCSIRATE[0x0] SEQCTL[0x10]
SEQ_FLAGS[0x20] SSTAT0[0x0] SSTAT1[0x3] SSTAT2[0x0]
SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0x80]
DFCNTRL[0x38] DFSTATUS[0x0]
STACK: 0x0 0x0 0x19c 0x6f
SCB count = 16
Kernel NEXTQSCB = 14
Card NEXTQSCB = 14
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Sequencer SCB Info:
0 SCB_CONTROL[0x0] SCB_SCSIID[0x37]
SCB_LUN[0x0] SCB_TAG[0xf]
1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]
SCB_LUN[0xff] SCB_TAG[0xff]
Pending list:
15 SCB_CONTROL[0x0] SCB_SCSIID[0x37]
SCB_LUN[0x0]
Kernel Free SCB list: 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Untagged Q(3): 15
FEATURES = 0x5, FLAGS = 0x481500, CHIP = 0x407 BUGS =0x25
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
sg[0] - Addr 0x571c0 : Length 32
probe(ahc1:3:0): BDR message in message buffer
panic: scsi_execute_xs: NOSLEEP and POLL
Stopped at Debugger+0x4: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(d07ff000,d07ff000,d07e9880,d02f6d5c,7) at Debugger+0x4
panic(d04941e0,d068aa50,d07e9880,d02f6dee,d07ff059) at panic+0x87
scsi_execute_xs(d07ff000,d07ff059,6,d02f736e,803) at scsi_execute_xs+0x77
scsi_scsi_cmd(d07e9880,d068aa50,6,d0575700,3a) at scsi_scsi_cmd+0xa7
scsi_inquire(d07e9880,d0575700,3,0) at scsi_inquire+0x44
scsi_probedev(d07e99c0,3,0,d07e99a0,10) at scsi_probedev+0xa7
scsi_probe_bus(0,ffffffff,ffffffff,d02f8436,1e8480) at scsi_probe_bus+0xbc
scsibusattach(d07f5800,d07e99c0,d07f5830,d0543884,d02f8310,d07f5830,d07f5800,d0
7f5830,0,d0550a90,d068ab88,d01cc88b,d07f5800,d0541658,d07f5830,d02f8310,d07f580
0,d068adf0,d07e9b40,0,d07f5800,d068adf0,d068acc8,d0115082,d07f5800,d07f5830,d02
f8310,0,d07f5800,d068adf0,d07e9b40,d068ac5c,1,1,1,d07f5830,0,1,1,d01c37aa,1,1,1
,1,1,1,1,d010ee30,c0007,15000f,1640154,1b401b1,1ba01b4,1be01bc,1c001be,d010ead0
,8f,d07f5800,6300,0,d057d3c0) at scsibusattach+0x105
config_attach(d07f5800,d0541658,d07f5830,d02f8310,d07f5800) at config_attach+0x
146
config_found_sm(d07f5800,d07f5830,d02f8310,0,d07f5800) at config_found_sm+0x2f
ahc_attach(d07f5800,d068ad1c,1,2800007,d0543884) at ahc_attach+0x132
ahc_pci_attach(d07e9f40,d07f5800,d068adf0,d0543884,d0309f10,d068adf0,d07e9f40,d
068adf0,0,d0551390,d068ad98,d01cc88b,d07e9f40,d054182c,d068adf0,d0309f10,817890
04,80005000,d057ce28,d0309e47,d057ce28,80005000,d068ae28,d0309eca,d07e9f40,d068
adf0,d0309f10,d0309fd4,d0543884,d07e9f40,d0550e84,d01d13b2,d049f979,5,b,1000000
,1,0,20,a,0,1,0,d068aeb8,0,1,d0553ac0,d057ce28,3,a,0,0,80005000,81789004,100000
0,0,80005000,d0550a01,d068ae58,d01cca42,d07e9fc0) at ahc_pci_attach+0x7a3
config_attach(d07e9f40,d054182c,d068adf0,d0309f10,81789004) at config_attach+0x
146
config_found_sm(d07e9f40,d068adf0,d0309f10,d0309fd4) at config_found_sm+0x2f
pciattach(d07e9fc0,d07e9f40,d068aeb8,d0543884,d0309c44,d068aeb8,d07e9fc0,d068ae
b8,0,d0550e6c,d068ae88,d01cc88b,d07e9fc0,d05417e4,d068aeb8,d0309c44,d068aeb8,d0
7e9fc0,d0550e58,d0309b7a,d07e9fc0,d068aeb8,d068aed8,d0309bb7,d07e9fc0,d068aeb8,
d0309c44,0,d0543884,d07e9fc0,0,0,d068aee4,d048e180,d049f95e,0,1,d0553ac0,d057ce
28,0,d07e4fd0,d0550e58,d068af08,d01cca42,0,d07e9fc0,0,18,0,d048e180,d057ce28,0,
0,d0550e40,d068af38,d01cc8f2,0,d05417c0,0,0,9) at pciattach+0x1de
config_attach(d07e9fc0,d05417e4,d068aeb8,d0309c44,d068aeb8) at config_attach+0x
146
config_found_sm(d07e9fc0,d068aeb8,d0309c44,0) at config_found_sm+0x2f
mainbus_attach(0,d07e9fc0,0,18,0,d048e180,d057ce28,0,0,d0550e40,d068af38,d01cc8
f2,0,d05417c0,0,0,9,d057ccc0,58,d03d0638,9,e,d068af58,d02e2ccf,d048e180,0,d068a
f58,d02e2cc0,9,d057ccc0,d068afa8,d01bb59d,0,1,3,0,d0688010,688000,68f000,0,0,0,
0,10,d068afa0,d068af98,2,70e007ff,d059,0,0,d01004bf,0,0,0,0,0,0,0,0,0) at mainb
us_attach+0x7b
config_attach(0,d05417c0,0,0,9) at config_attach+0x146
config_rootfound(d048e180,0,d068af58,d02e2cc0) at config_rootfound+0x3e
cpu_configure(0,1,3,0,d0688010,688000,68f000,0,0,0,0,10,d068afa0,d068af98,2,70e
007ff,d059,0,0,d01004bf,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
,0,0,0,0,0,0,0,0,0,0,0,0,0) at cpu_configure+0x1f
main(0,0,0,0,0) at main+0x2ed
ddb>
Debugger(d07ff000,d07ff000,d07e9880,d02f6d5c,7) at Debugger+0x4
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
* 0 -1 0 0 2 0x80204 swapper
ddb> show registers
es 0x10
ds 0x10
edi 0xd04941e0 mii_media_table+0xe40
esi 0xd068a994 end+0x63aa4
ebp 0xd068a968 end+0x63a78
ebx 0x100
edx 0xd047080f addrmask+0x2a0f
ecx 0x3f8
eax 0x1
eip 0xd02e42ec Debugger+0x4
cs 0x8
eflags 0x202
esp 0xd068a968 end+0x63a78
ss 0xd0680010 end+0x59120
Debugger+0x4: leave
ddb> ~