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

Eugene Grosbein eugen at kuzbass.ru
Wed May 3 16:30:19 UTC 2006


The following reply was made to PR kern/91408; it has been noted by GNATS.

From: Eugene Grosbein <eugen at kuzbass.ru>
To: John Baldwin <jhb at freebsd.org>
Cc: bug-followup at freebsd.org
Subject: Re: kern/91408 : [irq] ata(4) failure: SETFEATURES SET TRANSFER MODE  semaphore timeout !! DANGER Will Robinson !!
Date: Thu, 4 May 2006 00:28:32 +0800

 On Tue, May 02, 2006 at 02:59:16PM -0400, John Baldwin wrote:
 
 > > And if it's not interrupt routing problem, what else pci_link affects to?
 > 
 > That's all pci_link effects. :(
 
 I'm afraid I did not understand you and an idea of your patch :-(
  
 > One thing you can try is to turn
 > off the code to disable each of the links during boot.  Something like
 > this:
 > 
 > Index: acpi_pci_link.c
 
 Anyway, I've tried this and found it does not change anything:
 there are still the same ATA timeouts and for completeness,
 there is a diff between dmesg.acpi I've sent earlier and
 dmesg.hack. The later is for a kernel with this patch applied
 (plus options USB_DEBUG for some reason), this kernel booted
 with ACPI fully enabled:
 
 --- dmesg.acpi	Sun Apr 30 15:58:41 2006
 +++ dmesg.hack	Thu May  4 00:07:21 2006
 @@ -1,20 +1,20 @@
  Copyright (c) 1992-2006 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.1-RC #13: Sun Apr 30 15:39:40 KRAST 2006
 -    root at grosbein.pp.ru:/mnt/usr/local/obj6/usr/src/sys/DADV
 +FreeBSD 6.1-RC #26: Wed May  3 23:53:17 KRAST 2006
 +    eu 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.
  MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
  	MEMGUARD map base: 0xc36c9000
  	MEMGUARD map limit: 0xc495b000
  	MEMGUARD map size: 19472384 (Bytes)
 -Preloaded elf kernel "/boot/kernel/kernel" at 0xc0925000.
 -Preloaded elf module "/boot/modules/acpi.ko" at 0xc092516c.
 +Preloaded elf kernel "/boot/kernel/kernel" at 0xc0934000.
 +Preloaded elf module "/boot/modules/acpi.ko" at 0xc093416c.
  Calibrating clock(s) ... i8254 clock: 1193165 Hz
  CLK_USE_I8254_CALIBRATION not specified - using default frequency
  Timecounter "i8254" frequency 1193182 Hz quality 0
 -Calibrating TSC clock ... TSC clock: 902050480 Hz
 +Calibrating TSC clock ... TSC clock: 902050309 Hz
  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>
 @@ -119,7 +119,7 @@
  pci_link3: Links after disable:
  Index  IRQ  Rtd  Ref  IRQs
      0  255   N     0  3 4 5 6 7 10 11 12 14 15
 -ACPI timer: 0/3 0/3 0/3 0/3 0/3 0/3 0/3 0/3 0/3 0/3 -> 0
 +ACPI timer: 0/3 0/3 0/3 0/3 0/3 0/16777200 0/3 0/16777185 0/3 0/3 -> 0
  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
 @@ -305,6 +305,7 @@
  uhci0: [GIANT-LOCKED]
  usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
  usb0: USB revision 1.0
 +usbd_get_string: getting lang failed, using 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)
 @@ -343,6 +344,7 @@
  uhci1: [GIANT-LOCKED]
  usb1: <VIA 83C572 USB controller> on uhci1
  usb1: USB revision 1.0
 +usbd_get_string: getting lang failed, using 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
 @@ -350,6 +352,7 @@
  uhci2: [GIANT-LOCKED]
  usb2: <VIA 83C572 USB controller> on uhci2
  usb2: USB revision 1.0
 +usbd_get_string: getting lang failed, using 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
 @@ -494,7 +497,7 @@
  Device configuration finished.
  linprocfs registered
  procfs registered
 -Timecounter "TSC" frequency 902050480 Hz quality 800
 +Timecounter "TSC" frequency 902050309 Hz quality 800
  Timecounters tick every 1.000 msec
  Linux ELF exec handler installed
  IPsec: Initialized Security Association Processing.
 @@ -523,20 +526,20 @@
  ad6: 80418240 sectors [79780C/16H/63S] 16 sectors/interrupt 1 depth queue
  GEOM: new disk ad4
  GEOM: new disk ad6
 -(probe0:sbp0:0:0:0): error 22
 -(probe0:sbp0:0:0:0): Unretryable Error
  (probe1:sbp0:0:1:0): error 22
  (probe1:sbp0:0:1:0): Unretryable Error
  (probe2:sbp0:0:2:0): error 22
  (probe2:sbp0:0:2:0): Unretryable Error
 -(probe3:sbp0:0:3:0): error 22
 -(probe3:sbp0:0:3:0): Unretryable Error
 -(probe4:sbp0:0:4:0): error 22
 -(probe4:sbp0:0:4:0): Unretryable Error
  (probe5:sbp0:0:5:0): error 22
  (probe5:sbp0:0:5:0): Unretryable Error
  (probe6:sbp0:0:6:0): error 22
  (probe6:sbp0:0:6:0): Unretryable Error
 +(probe0:sbp0:0:0:0): error 22
 +(probe0:sbp0:0:0:0): Unretryable Error
 +(probe3:sbp0:0:3:0): error 22
 +(probe3:sbp0:0:3:0): Unretryable Error
 +(probe4:sbp0:0:4:0): error 22
 +(probe4:sbp0:0:4:0): Unretryable Error
  Trying to mount root from ufs:/dev/ad6s2a
  start_init: trying /sbin/init
  gif0: bpf attached
 @@ -554,7 +557,7 @@
  ad4: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request directly
  ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly
  ata2: reinit done ..
 -ad4: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=100861733
 +ad4: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=100862789
  ata3: reiniting channel ..
  ata3: reset tp1 mask=03 ostat0=50 ostat1=00
  ata3: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 @@ -563,7 +566,7 @@
  ad6: setting PIO4 on PDC20268 chip
  ad6: setting UDMA100 on PDC20268 chip
  ata3: reinit done ..
 -ad6: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=62118768
 +ad6: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=63035536
  fxp0: promiscuous mode enabled
  link_elf: symbol cd9660_wchar2char undefined
  link_elf: symbol lminor undefined
 
 
 Eugene Grosbein


More information about the freebsd-bugs mailing list