From owner-freebsd-scsi Wed Jul 5 20:44:32 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from elbas.partitur.se (elbas.partitur.se [193.219.246.222]) by hub.freebsd.org (Postfix) with ESMTP id 6529437B6D9 for ; Wed, 5 Jul 2000 20:44:24 -0700 (PDT) (envelope-from girgen@partitur.se) Received: from partitur.se (localhost.partitur.se [127.0.0.1]) by elbas.partitur.se (8.9.3/8.9.3) with ESMTP id FAA38159; Thu, 6 Jul 2000 05:44:25 +0200 (CEST) (envelope-from girgen@partitur.se) Message-ID: <39640099.8230F10F@partitur.se> Date: Thu, 06 Jul 2000 05:44:25 +0200 From: Palle Girgensohn Reply-To: kudo@partitur.se, girgen@partitur.se Organization: Partitur X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Cc: kudo@partitur.se Subject: ahc0 times out? system panics... Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 =3D 0x9 (probe0:ahc0:0:1:2): No longer in timetout, status =3D 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 =3D 0 =2E.. 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. :( =46rom one of the after-reboot panics, I registrered these few lines from a screenful panic message: Fatal trap 12: page fault =2E.. interrupt mask: ... cam =2E.. 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=E4t 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 =3D 536739840 (524160K bytes) avail memory =3D 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci4: on pcib1 pci4: at 0.0 pcib2: at device 2.0 on pci0 pci2: on pcib2 pcib3: at device 31.0 on pci2 pci3: on pcib3 pci3: (vendor=3D0x8086, dev=3D0x1161) at 0.0 ahc0: port 0xb800-0xb8ff mem 0xf68ff000-0xf68fffff irq 2 at device 4.0 on pci3 ahc0: aic7892 Wide Channel A, SCSI Id=3D7, 16/255 SCBs pcib4: at device 30.0 on pci0 pci1: on pcib4 fxp0: 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: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: at 31.2 irq 19 pci0: (vendor=3D0x8086, dev=3D0x2413) at 31.3 irq 17 chip1: port 0xef00-0xef3f,0xe800-0xe8ff irq 17 at device 31.5 on pci0 fdc0: 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: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=3D0x200> 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: 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: 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 [16383/16/63] at ata0-master using UDMA33 Mounting root from ufs:/dev/ad0s2a da0 at ahc0 bus 0 target 0 lun 0 da0: 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