kern/91408: ata(4) failure: SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !!

Eugene Grosbein eugen at grosbein.pp.ru
Fri Jan 6 10:00:21 PST 2006


>Number:         91408
>Category:       kern
>Synopsis:       ata(4) failure: SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !!
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 06 18:00:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
Svyaz-Service JSC
>Environment:
System: FreeBSD 6.0-RELEASE with GENERIC kernel, ACPI enabled,
	Iwill BD100+ motherboard, Promise Ultra100 TX2 EIDE controller.
	ad6 is a boot device holding installation of 6.0-RELEASE.
	ad4 is additional hard drive.

>Description:
	Under heavy load (linking GENERIC kernel.debug and running
	/usr/libexec/locate.updatedb in parallel)
	a kernel starts to fill console with messages:

ad4: req=0xc25d77d0 SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !!
ad4: req=0xc25d77d0 SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !!
ad4: req=0xc25d77d0 SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !!

	New line is added after every 4 seconds. All disk activity
	is stopped since this moment; correct system reset is impossible,
	power cycle is required to revive system.

	ad4 is connected to Promise Ultra100 TX2 and runs at UDMA100.
	Here is output of "pciconv -lv":

atapci1 at pci0:18:0:      class=0x018085 card=0x4d68105a chip=0x4d68105a
rev=0x02
hdr=0x00
    vendor   = 'Promise Technology Inc'
    device   = 'PDC20268 Ultra100 TX2 EIDE Controller'
    class    = mass storage

	This is reproduceable when system is booted with ACPI enabled.
	This is NOT reproduceable when any of next contidions are met:

- ACPI is disabled or
- ad4 is attached to onboard Intel PIIX4 IDE controller:

atapci0 at pci0:7:1:       class=0x010180 card=0x00000000 chip=0x71118086
rev=0x01
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82371AB/EB/MB PIIX4/4E/4M IDE Controller'
    class    = mass storage
    subclass = ATA

	When ad4 is attached to onboard controller, it runs at UDMA33.

	Note that ad4 hold an installation of 4.11-STABLE and runs
	without a problem at UDMA100 when attached to Promise Ultra100 TX2.
	ad4 also holds installations of Windows 98SE and Windows XP SP2,
	they run without a problem with Promise Ultra at UDMA100.

	5.4-STABLE does have problems with this hardware configuration, see
	http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/80815

	Please note that I'm no longer interested to migrate from
	4.11 to 5.x, I rather migrate to 6.x, so kern/80815 may be closed.

	Here comes dmesg.boot when ad4 is at Promise Ultra and
	ACPI is enabled.

Copyright (c) 1992-2005 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 6.0-RELEASE #1: Fri Jan  6 20:35:37 KRAT 2006
    root at grosbein.pp.ru:/mnt/usr/local/obj6/usr/src/sys/DADV
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Celeron (902.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 603914240 (575 MB)
avail memory = 581697536 (554 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AWARD AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 9 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 9 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x4041,0x5000-0x500f on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xa000-0xa01f irq 9 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
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
pci0: <bridge> at device 7.3 (no driver attached)
fxp0: <Intel 82557 Pro/100 Ethernet> port 0xa400-0xa41f mem 0xf0104000-0xf0104fff,0xf0000000-0xf00fffff irq 9 at device 16.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:a0:c9:89:95:1f
fxp0: [GIANT-LOCKED]
atapci1: <Promise PDC20268 UDMA100 controller> port 0xa800-0xa807,0xac00-0xac03,0xb000-0xb007,0xb400-0xb403,0xb800-0xb80f mem 0xf0100000-0xf0103fff irq 10 at device 18.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
uhci1: <VIA 83C572 USB controller> port 0xbc00-0xbc1f irq 9 at device 19.0 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 11 at device 19.1 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
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
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xf0105000-0xf01050ff irq 9 at device 19.2 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb1 usb2
usb3: <VIA VT6202 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 4 ports with 4 removable, self powered
fwohci0: <VIA Fire II (VT6306)> port 0xc400-0xc47f mem 0xf0106000-0xf01067ff irq 9 at device 19.3 on pci0
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:06:66:00:00:0d:c9
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:11:06:00:0d:c9
fwe0: Ethernet address: 02:11:06:00:0d:c9
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model NetMouse/NetScroll Optical, device ID 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xd0000-0xd27ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
uscanner0: Hewlett-Packard HP ScanJet 2200C, rev 1.10/1.00, addr 2
uhid0: American Power Conversion Back-UPS 500 FW: 6.5.I USB FW: c1, rev 1.10/1.00, addr 3, iclass 3/0
Timecounter "TSC" frequency 902050315 Hz quality 800
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to deny, logging disabled
acd0: DVDR <NEC DVD RW ND-3500AG/2.18> at ata0-master UDMA33
ad4: 76319MB <WDC WD800JB-00FMA0 13.03G13> at ata2-master UDMA100
ad6: 2441MB <WDC AC22500L 32.41N37> at ata3-master UDMA33
Trying to mount root from ufs:/dev/ad6s1a

>How-To-Repeat:

	Take Iwill BD100+ motherboard, attach HDD to 
	Promise Ultra100 TX2 EIDE controller, boot 6.0-RELEASE/GENERIC
	with ACPI enabled and make disk load (f.e., run make buildworld).
	
>Fix:

	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list