Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jul 2000 05:44:25 +0200
From:      Palle Girgensohn <girgen@partitur.se>
To:        freebsd-scsi@freebsd.org
Cc:        kudo@partitur.se
Subject:   ahc0 times out? system panics...
Message-ID:  <39640099.8230F10F@partitur.se>

next in thread | raw e-mail | index | archive | help

Hi!

I have problems getting a dual motherboard with built in
adaptec aic780

The board is a SuperMicro PIIIDM3, built in SCSI (aic7892) and
ethernet. It failed with panics when trying to restore a dump
to it. I boot from an IDE drive for the moment, to try to find
the source of this problem. It seems that the scsi somehow
times out. I've tried both the Ultra2 wide and the LVD
connector - seems to be about the reactions. I tried with one
or two disks, same result. Here's something I jotted down while
it was failing at one time:

(probe0:ahc0:0:1:2): SCB 0xe - timed out while idle SEQ ADDR =
0x9
(probe0:ahc0:0:1:2): No longer in timetout, status = 34b
ahc0: Issued Channel A bus reset. 1 SBCs aborted
ahc0:A:0: ahc_intr - referenced scb not valid during seqint
0x71 sbc(14)
ahc WARNING no command for scb 14 (cmdsplit)
OUTPOS = 0
...

The above was repeating at a rather slow pace. After a reboot,
I got a panic. After next reboot, the system gets up. Stressing
the scsi gets the system back to instability very soon. :(

From one of the after-reboot panics, I registrered these few
lines from a screenful panic message:

Fatal trap 12: page fault
...
interrupt mask: ... cam
...

Huh? I can't make anything out of this, but there probably
someone out there who can, right? Is it the motherboard giving
me problems? SMP? Donät think so, since I've tried without SMP
with exactly the same result. 

It DOES work fine with BIOS settings set to the template
"failsafe" and with on ly ONE SCSI drive. With two it still
still fails. They have numbers 0 and one, and the onboard scsi
bios has no problem seeing both as the correct numbers...

The system is from Fresh 4.0-STABLE sources (from yesterday).
I'm attaching the kernel config.

Here's some dmesg:

real memory  = 536739840 (524160K bytes)
avail memory = 518340608 (506192K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 24 pins in IOAPIC #1
IOAPIC #1 intpin 8 -> irq 2
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170020, at 0xfec00000
 io1 (APIC): apic id:  3, version: 0x00178020, at 0xf68fe000
Preloaded elf kernel "kernel" at 0xc0301000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=8086 device=1a23)> at device
1.0 on pci0
pci4: <PCI bus> on pcib1
pci4: <S3 Trio3D/2X graphics accelerator> at 0.0
pcib2: <PCI to PCI bridge (vendor=8086 device=1a24)> at device
2.0 on pci0
pci2: <PCI bus> on pcib2
pcib3: <PCI to PCI bridge (vendor=8086 device=1360)> at device
31.0 on pci2
pci3: <PCI bus> on pcib3
pci3: <unknown card> (vendor=0x8086, dev=0x1161) at 0.0
ahc0: <Adaptec aic7892 Ultra160 SCSI adapter> port
0xb800-0xb8ff mem 0xf68ff000-0xf68fffff irq 2 at device 4.0 on
pci3
ahc0: aic7892 Wide Channel A, SCSI Id=7, 16/255 SCBs
pcib4: <Intel 82801AA (ICH) Hub to PCI bridge> at device 30.0
on pci0
pci1: <PCI bus> on pcib4
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xaf00-0xaf3f mem
0xf6600000-0xf66fffff,0xf67ff000-0xf67fffff irq 16 at device
8.0 on pci1
fxp0: Ethernet address 00:30:48:00:3b:65
isab0: <Intel 82801AA (ICH) PCI to LPC bridge> at device 31.0
on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH ATA66 controller> port 0xffa0-0xffaf at
device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <Intel 82801AA (ICH) USB controller> at 31.2 irq 19
pci0: <unknown card> (vendor=0x8086, dev=0x2413) at 31.3 irq 17
chip1: <Intel 82801AA (ICH) AC'97 Audio Controller> port
0xef00-0xef3f,0xe800-0xe8ff irq 17 at device 31.5 on pci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq
2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on
isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: 8063MB <IBM-DHEA-38451> [16383/16/63] at ata0-master using
UDMA33
Mounting root from ufs:/dev/ad0s2a
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST39204LW 0002> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 63, 16bit), Tagged
Queueing Enabled
da0: 8750MB (17921835 512 byte sectors: 255H 63S/T 1115C)


If anyone can help me with this, I'll be very happy. Thanks!

Palle Girgensohn
Partitur


PS. I'll be on vacation, but feel free mail any responses to my
colleauge, kudo@partitur.se (I've set reply-to). DS.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39640099.8230F10F>