Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2003 14:58:43 -0800 (PST)
From:      George Mitchell <george@m5p.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/60641: Sporadic SCSI bus resets with 53C810 under load
Message-ID:  <200312272258.hBRMwhmi004656@m5p.com>
Resent-Message-ID: <200312272300.hBRN0T9w088473@freefall.freebsd.org>

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

>Number:         60641
>Category:       i386
>Synopsis:       Sporadic SCSI bus resets with 53C810 under load
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 27 15:00:29 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     George Mitchell
>Release:        FreeBSD 5.2-RC2 i386
>Organization:
Mitchell Voting Products, Inc.
>Environment:
System: FreeBSD parkstreet.m5p.com 5.2-RC2 FreeBSD 5.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003 root@wv1u.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
(dmesg output follows)

Under load, the NCR 53C810 SCSI card with the sym driver sporadically
generates SCSI bus resets.  Same hardware works fine with 4.9-RELEASE.
Everything hangs up for fifteen seconds or so, then resumes without
apparent difficulty.  Problem was also observed with 5.1-RELEASE.

One way to reproduce problem: install system, then do a
pkg_add kde-lite-3.1.4.tbz
and try to do anything on another virtual console.

Other notes: 5.2-RC2 is the first FreeBSD 5.x which can boot up on my
laptop, a Fujitsu Lifebook C340!  Yay!  However, an upgrade installa-
tion still doesn't work.  It doesn't panic while installing the base
distribution any more, but about the time it tries installing the
perl package, it thinks it has run out of disk space.  In the pty4
shell, df core dumps and mount reports a few lines of " on  ()".
Also, acpi interferes with fdc0 and psm0.

In all other respects, 5.2-RC2 is a giant step forward, and my sincere
thanks to the whole FreeBSD team!  dmesg output, including SCSI bus
reset error message, is below.                   -- George Mitchell



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.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003
    root@wv1u.freebsd.org:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a06000.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0a0626c.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a06318.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 1500+ (1344.29-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (255 MB)
avail memory = 251047936 (239 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00f78c0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci_cfgintr: 0:2 INTD BIOS irq 10
pci_cfgintr: 0:2 INTA BIOS irq 10
pci_cfgintr: 0:2 INTC BIOS irq 5
pci_cfgintr: 0:3 INTA BIOS irq 5
pci_cfgintr: 0:13 INTA BIOS irq 5
pci_cfgintr: 0:15 INTA BIOS irq 10
pci_cfgintr: 0:17 INTA BIOS irq 11
pci_cfgintr: 0:19 INTA BIOS irq 11
pci_cfgintr: 0:19 INTB BIOS irq 11
pci_cfgintr: 0:19 INTC BIOS irq 5
agp0: <SIS Generic host to PCI bridge> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xcffed000-0xcffedfff irq 10 at device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xcffee000-0xcffeefff irq 10 at device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: <SiS 735 UDMA100 controller> port 0xff00-0xff0f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pcm0: <SiS 7012> port 0xd400-0xd43f,0xdc00-0xdcff irq 5 at device 2.7 on pci0
pcm0: <C-Media Electronics CMI9738 AC97 Codec>
sis0: <SiS 900 10/100BaseTX> port 0xd000-0xd0ff mem 0xcffdd000-0xcffddfff irq 5 at device 3.0 on pci0
sis0: Ethernet address: 00:0a:e6:c8:48:e1
miibus0: <MII bus> on sis0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sym0: <810> port 0xd800-0xd8ff mem 0xcffeff00-0xcffeffff irq 5 at device 13.0 on pci0
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
dc0: <Davicom DM9102A 10/100BaseTX> port 0xcc00-0xccff mem 0xcffefe00-0xcffefeff irq 10 at device 15.0 on pci0
dc0: Ethernet address: 00:80:ad:0c:61:ed
miibus1: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <display, VGA> at device 17.0 (no driver attached)
uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 11 at device 19.0 on pci0
usb2: <VIA 83C572 USB controller> on uhci0
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 11 at device 19.1 on pci0
usb3: <VIA 83C572 USB controller> on uhci1
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 19.2 (no driver attached)
orm0: <Option ROMs> at iomem 0xcb800-0xd37ff,0xc8000-0xcb7ff,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 IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 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/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <OKI DATA CORP OKIPAGE 10ex> PJL,PCLXL,PCL,EPSONFX,IBMPPR
plip0: <PLIP network interface> on ppbus0
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>
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
Timecounter "TSC" frequency 1344287544 Hz quality 800
Timecounters tick every 10.000 msec
ata0-master: DMA limited to UDMA33, non-ATA66 cable or device
GEOM: create disk ad0 dp=0xc2e39460
ad0: 19595MB <MAXTOR 6L020J1> [39813/16/63] at ata0-master UDMA33
acd0: DVDR <SONY DVD RW DRU-510A> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
(probe5:sym0:0:5:0): phase change 6-7 6@0f52538c resid=4.
GEOM: create disk cd0 dp=0xc2da0e00
GEOM: create disk da0 dp=0xc2e42450
GEOM: create disk da1 dp=0xc2e3d850
da0 at sym0 bus 0 target 0 lun 0
da0: <MICROP 1991-27   1128RV 28RV> Fixed Direct Access SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da0: 8669MB (17755792 512 byte sectors: 255H 63S/T 1105C)
cd0 at sym0 bus 0 target 4 lun 0
cd0: <TOSHIBA CD-ROM XM-3601TA 0265> Removable CD-ROM SCSI-2 device 
cd0: 4.237MB/s transfers (4.237MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da1 at sym0 bus 0 target 5 lun 0
da1: <IOMEGA ZIP 100 E.08> Removable Direct Access SCSI-2 device 
da1: 3.300MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
(da1:sym0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da1:sym0:0:5:0): CAM Status: SCSI Status Error
(da1:sym0:0:5:0): SCSI Status: Check Condition
(da1:sym0:0:5:0): NOT READY asc:3a,0
(da1:sym0:0:5:0): Medium not present
(da1:sym0:0:5:0): Unretryable error
Opened disk da1 -> 6
(da1:sym0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da1:sym0:0:5:0): CAM Status: SCSI Status Error
(da1:sym0:0:5:0): SCSI Status: Check Condition
(da1:sym0:0:5:0): NOT READY asc:3a,0
(da1:sym0:0:5:0): Medium not present
(da1:sym0:0:5:0): Unretryable error
Opened disk da1 -> 6
Mounting root from ufs:/dev/da0s1a
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled
IPv6 packet filtering initialized, logging disabled
cd9660: RockRidge Extension
sym0:0: ERROR (a0:0) (0-a7-80) (8/13) @ (scripta 444:80000000).
sym0: script cmd = 740a8f00
sym0: regdump: da 10 80 13 47 08 00 1f 00 00 80 a7 80 00 07 02 ff 60 63 0f 08 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (0-a7-80) (8/13) @ (scripta 444:80000000).
sym0: script cmd = 740a8f00
sym0: regdump: da 10 80 13 47 08 00 1f 04 00 80 a7 80 00 0f 02 ff 60 63 0f 08 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (0-a7-80) (8/13) @ (scripta 444:80000000).
sym0: script cmd = 740a8f00
sym0: regdump: da 10 80 13 47 08 00 1f 04 00 80 a7 80 00 0f 02 ff 60 63 0f 08 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (0-a7-80) (8/13) @ (scripta 444:80000000).
sym0: script cmd = 740a8f00
sym0: regdump: da 10 80 13 47 08 00 1f 00 00 80 a7 80 00 07 02 ff 60 63 0f 08 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (0-a7-80) (8/13) @ (scripta 444:80000000).
sym0: script cmd = 740a8f00
sym0: regdump: da 10 80 13 47 08 00 1f 04 00 80 a7 80 00 0f 02 ff 60 63 0f 08 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (0-a7-80) (8/13) @ (scripta 444:80000000).
sym0: script cmd = 740a8f00
sym0: regdump: da 10 80 13 47 08 00 1f 00 00 80 a7 80 00 07 02 ff 60 63 0f 08 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (0-a7-80) (8/13) @ (scripta 444:80000000).
sym0: script cmd = 740a8f00
sym0: regdump: da 10 80 13 47 08 00 1f 00 00 80 a7 80 00 07 02 ff 60 63 0f 08 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (0-a7-80) (8/13) @ (scripta 444:80000000).
sym0: script cmd = 740a8f00
sym0: regdump: da 10 80 13 47 08 00 1f 00 00 80 a7 80 00 07 02 ff 60 63 0f 08 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



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