Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2003 00:28:06 -0700
From:      John Mechalas <seagull@aracnet.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/56973: SCSI errors from on-board Adaptec (AIC7xxx) controller
Message-ID:  <200309180728.h8I7S6Bg010676@onyx.spiritone.com>
Resent-Message-ID: <200309180740.h8I7e5eC052537@freefall.freebsd.org>

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

>Number:         56973
>Category:       kern
>Synopsis:       SCSI errors from on-board Adaptec (AIC7xxx) controller
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 18 00:40:05 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     John Mechalas
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD medley 5.1-RELEASE FreeBSD 5.1-RELEASE #3: Mon Sep 15 22:02:22 PDT 2003 root@ivory:/usr/src/sys/i386/compile/MEDLEY i386

This is a dual PIII system on an Intel L440GX+ motherboard.  The 
configuration at the time of this issue was two SCSI HDs, boot
device an LDV on channel A and second disk on channel B, along with
two IDE drives attached to the onboard controller.

I could not keep the system running well enough to run send-pr
directly, so I have attached the boot log that shows the configuration
during boot without the SCSI disks attached (attaching the boot disk
under 5.1 causes the problem, since it sits on the A channel).  This 
is the best I can do...


    kernel boot file is /boot/kernel/kernel
    Copyright (c) 1992-2003 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
    FreeBSD 5.1-RELEASE #3: Mon Sep 15 22:02:22 PDT 2003
    root@ivory:/usr/src/sys/i386/compile/MEDLEY
    Preloaded elf kernel "/boot/kernel/kernel" at 0xc0456000.
    Timecounter "i8254"  frequency 1193182 Hz
    Timecounter "TSC"  frequency 696410466 Hz
    CPU: Intel Pentium III (696.41-MHz 686-class CPU)
    Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
    Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
    real memory  = 268369920 (255 MB)
    avail memory = 255913984 (244 MB)
    Programming 24 pins in IOAPIC #0
    IOAPIC #0 intpin 2 -> irq 0
    FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
    cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
    cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
    io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
    Pentium Pro MTRR support enabled
    npx0: <math processor> on motherboard
    npx0: INT 16 interface
    pcibios: BIOS version 2.10
    Using $PIR table, 12 entries at 0xc00fdf00
    pcib0: <Intel 82443GX host to PCI bridge> at pcibus 0 on motherboard
    pci0: <PCI bus> on pcib0
    agp0: <Intel 82443GX host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
    pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
    pci1: <PCI bus> on pcib1
    pcib2: <PCI-PCI bridge> at device 15.0 on pci1
    pci2: <PCI bus> on pcib2
    pcib3: <PCI-PCI bridge> at device 11.0 on pci0
    pci3: <PCI bus> on pcib3
    de0: <Digital 21140A Fast Ethernet> port 0x3000-0x307f mem 0xf4300000-0xf430007f irq 10 at device 4.0 on pci3
    de0: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2
    de0: address 00:c0:95:e0:79:2c
    de1: <Digital 21140A Fast Ethernet> port 0x3080-0x30ff mem 0xf4300400-0xf430047f irq 11 at device 5.0 on pci3
    de1: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2
    de1: address 00:c0:95:e0:79:2d
    de2: <Digital 21140A Fast Ethernet> port 0x3400-0x347f mem 0xf4300800-0xf430087f irq 11 at device 6.0 on pci3
    de2: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2
    de2: address 00:c0:95:e0:79:2e
    de3: <Digital 21140A Fast Ethernet> port 0x3480-0x34ff mem 0xf4300c00-0xf4300c7f irq 11 at device 7.0 on pci3
    de3: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2
    de3: address 00:c0:95:e0:79:2f
    ahc0: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x1400-0x14ff mem 0xf4100000-0xf4100fff irq 5 at device 12.0 on pci0
    aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
    ahc1: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x1800-0x18ff mem 0xf4101000-0xf4101fff irq 5 at device 12.1 on pci0
    aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs
    puc0: <US Robotics (3Com) 3CP5609 PCI 16550 Modem> port 0x10c0-0x10c7 irq 4 at device 13.0 on pci0
    sio0: type 16550A
    sio0: unable to activate interrupt in fast mode - using normal mode
    pci0: <network, ethernet> at device 14.0 (no driver attached)
    isab0: <PCI-ISA bridge> at device 18.0 on pci0
    isa0: <ISA bus> on isab0
    atapci1: <Intel PIIX4 UDMA33 controller> port 0x1050-0x105f at device 18.1 on pci0
    ata0: at 0x1f0 irq 14 on atapci1
    ata1: at 0x170 irq 15 on atapci1
    uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 11 at device 18.2 on pci0
    usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
    usb0: USB revision 1.0
    uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub0: 2 ports with 2 removable, self powered
    piix0 port 0x1040-0x104f at device 18.3 on pci0
    Timecounter "PIIX"  frequency 3579545 Hz
    pci0: <display, VGA> at device 20.0 (no driver attached)
    orm0: <Option ROMs> at iomem 0xc8800-0xcafff,0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
    pmtimer0 on isa0
    atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
    atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
    kbd0 at atkbd0
    psm0: <PS/2 Mouse> irq 12 on atkbdc0
    psm0: model Generic PS/2 mouse, device ID 0
    ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
    ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
    ppc0: FIFO with 16/16/8 bytes threshold
    ppbus0: <Parallel port bus> on ppc0
    lpt0: <Printer> on ppbus0
    lpt0: Interrupt-driven port
    ppi0: <Parallel I/O> on ppbus0
    sc0: <System console> at flags 0x100 on isa0
    sc0: VGA <16 virtual consoles, flags=0x300>
    sio1 at port 0x2f8-0x2ff irq 3 on isa0
    sio1: type 16550A
    vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    unknown: <PNP0303> can't assign resources (port)
    unknown: <PNP0c02> can't assign resources (port)
    unknown: <PNP0f13> can't assign resources (irq)
    unknown: <PNP0501> can't assign resources (port)
    unknown: <PNP0401> can't assign resources (port)
    APIC_IO: Testing 8254 interrupt delivery
    APIC_IO: routing 8254 via IOAPIC #0 intpin 2
    Timecounters tick every 10.000 msec
    ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
    de0: enabling 100baseTX port
    ata1-slave: timeout waiting for interrupt
    ata1-slave: ATAPI identify failed
    ad0: 38166MB <WDC WD400EB-75CPF0> [77545/16/63] at ata0-master UDMA100
    ad1: 78167MB <Maxtor 98196H8> [158816/16/63] at ata0-slave UDMA100
    acd0: CDROM <FX810T> at ata1-master PIO3
    Waiting 3 seconds for SCSI devices to settle
    de1: autosense failed: cable problem?
    de2: autosense failed: cable problem?
    de3: autosense failed: cable problem?
    SMP: AP CPU #1 Launched!


>Description:

When I attached an LVD device to the A channel of the onboard SCSI
controller (Adaptec AIC7896/97), the system generated a large number of
these errors, particularly when under a heavy I/O load.  Each error
message was accompanied by a kernel hang ranging from a few seconds 
to several minutes.

   da0: Timedout SCB already complete. Interrupts may not be functioning.

This also occurred on da1, which is attached to the B channel, but only
if a device was also connected to the A channel.


>How-To-Repeat:

Attach SCSI device to the A channel and boot, then run an I/O intensive
process.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



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