[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    ahci timeout
From:       Laurence Tratt <laurie () tratt ! net>
Date:       2011-11-29 19:25:27
Message-ID: 20111129192527.GC20031 () overdrive ! tratt ! net
[Download RAW message or body]

> Synopsis:	ahci timesout
> Category:	kernel
> Environment:
	System      : OpenBSD 5.0
	Details     : OpenBSD 5.0-current (GENERIC.MP) #141: Fri Nov 25 00:16:26 MST 2011
			 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

	Architecture: OpenBSD.amd64
	Machine     : amd64
> Description:
    On occasions (roughly once a day), my machine effectively locks up, with
    none of the disks being available (often the machine appears to totally
    freeze; sometimes I get "input/output error" messagss if I e.g. do "ls").
    All I can do is hard shutdown the machine, and wait for fsck to finish
    after switching the machine back on. On the few occasions I have been
    able to see console output I see this message:
    
      ahci0: stopping the port, softreset slot 31 was still active.
      ahci0: failed to reset port during timeout handling, disabling it

    I can't be 100% certain this happens every time (since I often can't switch
    from X to the console), but I've now seen this happen 6 or 7 times, so I'm
    semi-confident it's directly related to the freeze.
> How-To-Repeat:
    There appears to be no obvious trigger for these timeouts - they have
    occurred both under high and negligible load.
> Fix:
	
dmesg:
OpenBSD 5.0-current (GENERIC.MP) #141: Fri Nov 25 00:16:26 MST 2011
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8492216320 (8098MB)
avail mem = 8252018688 (7869MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb170 (52 entries)
bios0: vendor Intel Corp. version "BLH6710H.86A.0132.2011.1007.1505" date 10/07/2011
bios0: TranquilPC IXL
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC SSDT MCFG HPET
acpi0: wakeup devices PS2K(S3) PS2M(S3) UAR1(S3) P0P1(S4) P0P2(S4) P0P3(S4) P0P4(S4) \
GBE_(S4) BR20(S3) EUSB(S3) USBE(S3) PEX0(S4) BR21(S4) PEX1(S4) PEX2(S4) PEX3(S4) \
PEX4(S4) PEX5(S4) PEX6(S4) PEX7(S4) SLPB(S0) PWRB(S3) acpitimer0 at acpi0: 3579545 \
Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz, 2794.04 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,D \
S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG
                
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz, 2793.66 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,D \
S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG
                
cpu1: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus -1 (P0P2)
acpiprt3 at acpi0: bus -1 (P0P3)
acpiprt4 at acpi0: bus -1 (P0P4)
acpiprt5 at acpi0: bus 1 (PEX0)
acpiprt6 at acpi0: bus -1 (BR21)
acpiprt7 at acpi0: bus 2 (PEX1)
acpiprt8 at acpi0: bus -1 (PEX2)
acpiprt9 at acpi0: bus -1 (PEX3)
acpiprt10 at acpi0: bus -1 (PEX4)
acpiprt11 at acpi0: bus -1 (PEX5)
acpiprt12 at acpi0: bus -1 (PEX6)
acpiprt13 at acpi0: bus -1 (PEX7)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
cpu0: Enhanced SpeedStep 2793 MHz: speeds: 2801, 2800, 2700, 2600, 2500, 2400, 2300, \
2200, 2100, 2000, 1900, 1800, 1700, 1600 MHz pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel GT1 Video" rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1: apic 0 int 16
drm0 at inteldrm0
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel 82579V" rev 0x05: msi, address e0:69:95:2e:42:6d
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
azalia0: codecs: Realtek/0x0892, Intel/0x2805, using Realtek/0x0892
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi
pci2 at ppb1 bus 2
"NEC xHCI" rev 0x03 at pci2 dev 0 function 0 not configured
ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel H67 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, SAMSUNG HD154UI, 1AG0> SCSI3 0/direct fixed \
                naa.50000f000b0c4037
sd0: 1430799MB, 512 bytes/sector, 2930277168 sectors
sd1 at scsibus0 targ 1 lun 0: <ATA, OCZ-VERTEX3, 2.13> SCSI3 0/direct fixed \
                naa.5e83a97ea3ae65a3
sd1: 114473MB, 512 bytes/sector, 234441648 sectors, thin
cd0 at scsibus0 targ 2 lun 0: <Optiarc, DVD RW AD-7690H, 1.00> ATAPI 5/cdrom \
removable ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic 0 \
int 18 iic0 at ichiic0
iic0: addr 0x2d 00=05 01=01 02=42 03=0a 04=0a 05=01 06=01 07=3c 08=00 09=4d 0b=01 \
20=02 21=01 22=41 23=41 24=4a 25=4d 26=50 27=4d 28=4d 29=4d 2a=7b 2b=a6 31=00 33=4d \
34=02 35=56 36=00 38=00 39=c1 3a=02 3b=01 3c=24 3d=46 3f=00 40=4d 42=4d 43=4d 44=27 \
45=00 46=00 47=00 48=01 4e=01 50=31 51=80 52=00 53=4b 54=00 55=50 56=05 57=fe words \
                00=05ff 01=01ff 02=42ff 03=0aff 04=0aff 05=01ff 06=01ff 07=3cff
iic0: addr 0x4b 40=14 words 00=ffff 01=ffff 02=ffff 03=ffff 04=ffff 05=ffff 06=ffff \
07=ffff spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub2 port 2 "ATEN International product 0x7000" rev 1.10/1.00 addr 3
uhidev0 at uhub3 port 1 configuration 1 interface 0 "MALTRON USB Multimedia Keyboard" \
                rev 1.10/1.22 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 13
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 1 configuration 1 interface 1 "MALTRON USB Multimedia Keyboard" \
                rev 1.10/1.22 addr 4
uhidev1: iclass 3/0, 3 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=2, output=0, feature=0
uhidev2 at uhub3 port 4 configuration 1 interface 0 "Logitech Trackball" rev \
                1.10/2.20 addr 5
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
umass0 at uhub2 port 3 configuration 1 interface 0 "Generic USB2.0-CRW" rev \
                2.00/51.95 addr 6
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd2 at scsibus1 targ 1 lun 0: <Generic-, Compact Flash, 1.00> SCSI0 0/direct \
removable sd3 at scsibus1 targ 1 lun 1: <Generic-, SM/xD-Picture, 1.00> SCSI0 \
0/direct removable sd4 at scsibus1 targ 1 lun 2: <Generic-, SD/MMC, 1.00> SCSI0 \
0/direct removable sd5 at scsibus1 targ 1 lun 3: <Generic-, MS/MS-Pro, 1.00> SCSI0 \
0/direct removable ugen0 at uhub2 port 4 "COMPRO VideoMate IR20" rev 2.00/89.ab addr \
7 uhub4 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
urtwn0 at uhub4 port 4 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 3
urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 80:1f:02:15:f3:d5
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd1a (8d168aefa0357683.a) swap on sd1b dump on sd1b

usbdevs:
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev \
1.00  port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0024), \
Intel(0x8087), rev 0.00  port 1 powered
  port 2 addr 3: full speed, self powered, config 1, product 0x7000(0x7000), ATEN \
International(0x0557), rev 1.00  port 1 addr 4: low speed, power 50 mA, config 1, USB \
Multimedia Keyboard(0x9410), MALTRON(0x058f), rev 1.22, iSerialNumber USB Multimedia \
Keyboard  port 2 powered
   port 3 powered
   port 4 addr 5: low speed, power 100 mA, config 1, Trackball(0xc404), \
Logitech(0x046d), rev 2.20  port 3 addr 6: high speed, power 500 mA, config 1, \
USB2.0-CRW(0x0151), Generic(0x0bda), rev 51.95, iSerialNumber 20060413092100000  port \
4 addr 7: full speed, power 100 mA, config 1, VideoMate IR20(0x3020), COMPRO(0x185b), \
rev 89.ab, iSerialNumber REV.02  port 5 powered
  port 6 powered
 port 2 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev \
1.00  port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0024), \
Intel(0x8087), rev 0.00  port 1 powered
  port 2 powered
  port 3 powered
  port 4 addr 3: high speed, power 500 mA, config 1, 802.11n WLAN Adapter(0x7811), \
Realtek(0x7392), rev 2.00, iSerialNumber 00e04c000001  port 5 powered
  port 6 powered
  port 7 powered
  port 8 powered
 port 2 powered


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic