From nobody@FreeBSD.org  Sat Dec  4 02:11:03 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A5B95106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Dec 2010 02:11:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 93D3D8FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Dec 2010 02:11:03 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oB42B365009573
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 4 Dec 2010 02:11:03 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id oB42B3x0009572;
	Sat, 4 Dec 2010 02:11:03 GMT
	(envelope-from nobody)
Message-Id: <201012040211.oB42B3x0009572@red.freebsd.org>
Date: Sat, 4 Dec 2010 02:11:03 GMT
From: Julian Stecklina <js@alien8.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ahci doesn't find disk
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         152817
>Category:       kern
>Synopsis:       [ahci] ahci doesn't find disk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 04 02:20:09 UTC 2010
>Closed-Date:    Sat Feb 05 20:57:44 UTC 2011
>Last-Modified:  Sat Feb  5 21:00:18 UTC 2011
>Originator:     Julian Stecklina
>Release:        8.2-PRERELEASE #1 r216136
>Organization:
>Environment:
FreeBSD block.xn--pl-wia.net 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #1 r216136: Sat Dec  4 02:32:24 CET 2010     root@block.xn--pl-wia.net:/usr/obj/usr/home/julian/src/freebsd-8/sys/BLOCKAHCI  amd64
>Description:
I have three disks in my HP Proliant N36L: one 160GB HP disk and two 1TB WD disks. The ahci driver doesn't recognize the first one, only the two WDs. The ataahci driver works as expected.

Relevant dmesg output:
ahci(ch1: aprobe0:AHCI reset...ahcich0:0:
15:0): SIGNATURE: 0000
(aprobe0:ahcich0:0:0:0): SIGNATURE: 0000
(aprobe0:ahcich0:0:0:0): ATA status error
(aprobe0:ahcich0:0:0:0): SETFEATURES. ACB: ef 10 00 00 00 40 00 00 00 00 02 00
(aprobe0:ahcich0:0:0:0): CAM status: ATA Status Error
(aprobe0:ahcich0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
(aprobe0:ahcich0:0:0:0): RES: 51 04 00 00 00 40 00 00 00 02 00
(aprobe0:ahcich0:0:0:0): Retrying command
(aprobe0:ahcich0:0:0:0): ATA status error
(aprobe0:ahcich0:0:0:0): SETFEATURES. ACB: ef 10 00 00 00 40 00 00 00 00 02 00
(aprobe0:ahcich0:0:0:0): CAM status: ATA Status Error
(aprobe0:ahcich0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
(aprobe0:ahcich0:0:0:0): RES: 51 04 00 00 00 40 00 00 00 02 00
(aprobe0:ahcich0:0:0:0): Error 5, Retries exhausted
ahcich1: SATA connect timeout status=00000000
ahcich1: AHCI reset done: phy reset found no device


Attached is dmesg output where I first kldloaded ahci, kldunloaded it, then kldloaded ataahci and atadisk.

>How-To-Repeat:
1. Boot system with ahci driver or kldload ahci
2. Only two of three disks come up.
>Fix:
Workaround: Use the ataahci/atadisk driver.

Patch attached with submission follows:

Table 'FACP' at 0x7dfa0290
Table 'APIC' at 0x7dfa0390
APIC: Found table at 0x7dfa0390
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
SMP: Added CPU 1 (AP)
MADT: Found CPU APIC ID 130 ACPI ID 3: disabled
MADT: Found CPU APIC ID 131 ACPI ID 4: disabled
Copyright (c) 1992-2010 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-PRERELEASE #1 r216136: Sat Dec  4 02:32:24 CET 2010
    root@block.xn--pl-wia.net:/usr/obj/usr/home/julian/src/freebsd-8/sys/BLOCKAHCI amd64
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff8083e000.
Preloaded elf obj module "/boot/kernel/ufs.ko" at 0xffffffff8083e230.
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 1297848859 Hz
CPU: AMD Athlon(tm) II Neo N36L Dual-Core Processor (1297.85-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100f63  Family = 10  Model = 6  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x8377f<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,Prefetch,OSVW,IBS,SKINIT,WDT,<b19>>
  TSC: P-state invariant
L1 2MB data TLB: 48 entries, fully associative
L1 2MB instruction TLB: 16 entries, fully associative
L1 4KB data TLB: 48 entries, fully associative
L1 4KB instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 2MB data TLB: 128 entries, 2-way associative
L2 2MB instruction TLB: 0 entries, 2-way associative
L2 4KB data TLB: 512 entries, 4-way associative
L2 4KB instruction TLB: 512 entries, 4-way associative
L2 unified cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory  = 2147483648 (2048 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009afff, 630784 bytes (154 pages)
0x000000000086c000 - 0x000000007a422fff, 2042327040 bytes (498615 pages)
avail memory = 2027307008 (1933 MB)
ACPI APIC Table: <HP     ProLiant>
INTR: Adding local APIC 1 as a target
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
APIC: CPU 0 has ACPI ID 1
APIC: CPU 1 has ACPI ID 2
ULE: setup cpu 0
ULE: setup cpu 1
ACPI: RSDP 0xf8f50 00024 (v02 HP    )
ACPI: XSDT 0x7dfa0100 0007C (v01 HP     ProLiant 20100728 HP   00000097)
ACPI: FACP 0x7dfa0290 000F4 (v03 HP     ProLiant 20100728 HP   00000097)
ACPI: DSDT 0x7dfa0620 06947 (v01 HP     ProLiant 00000006 INTL 20051117)
ACPI: FACS 0x7dfae000 00040
ACPI: APIC 0x7dfa0390 00072 (v01 HP     ProLiant 20100728 HP   00000097)
ACPI: MCFG 0x7dfa0410 0003C (v01 HP     ProLiant 20100728 HP   00000097)
ACPI: SPMI 0x7dfa0450 00041 (v05 HP     ProLiant 20100728 HP   00000097)
ACPI: OEMB 0x7dfae040 00072 (v01 HP     ProLiant 20100728 HP   00000097)
ACPI: HPET 0x7dfab4e0 00038 (v01 HP     ProLiant 20100728 HP   00000097)
ACPI: EINJ 0x7dfab520 00130 (v01  AMIER AMI_EINJ 20100728 HP   00000097)
ACPI: BERT 0x7dfab6b0 00030 (v01  AMIER AMI_BERT 20100728 HP   00000097)
ACPI: ERST 0x7dfab6e0 001B0 (v01  AMIER AMI_ERST 20100728 HP   00000097)
ACPI: HEST 0x7dfab890 000A8 (v01  AMIER ABC_HEST 20100728 HP   00000097)
ACPI: SSDT 0x7dfab940 00386 (v01 HP     ProLiant 00000001 AMD  00000001)
MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
ioapic0: Routing external 8259A's -> intpin 0
MADT: Interrupt override: source 0, irq 2
ioapic0: Routing IRQ 0 -> intpin 2
MADT: Interrupt override: source 9, irq 9
ioapic0: intpin 9 trigger: level
ioapic0: intpin 9 polarity: low
lapic: Routing NMI -> LINT1
lapic: LINT1 trigger: edge
lapic: LINT1 polarity: high
ioapic0 <Version 2.1> irqs 0-23 on motherboard
cpu0 BSP:
     ID: 0x00000000   VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
  timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
crypto: <crypto core>
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
kbd0 at kbdmux0
io: <I/O>
mem: <memory>
cryptosoft0: <software crypto> on motherboard
crypto: assign cryptosoft0 driver id 0, flags 100663296
crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
acpi0: <HP ProLiant> on motherboard
PCIe: Memory Mapped configuration base @ 0xe0000000
ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
acpi0: [MPSAFE]
acpi0: [ITHREAD]
ACPI: Executed 2 blocks of module-level executable AML code
ACPI: OEMN 0x7dfaaeb0 00624 (v01 AMD    NAHP     00000001 INTL 20051117)
ACPI: Enabled 3 new runtime GPEs, added 0 new wakeup GPEs
ACPI: Dynamic OEM Table Load:
ACPI: OEMN 0 00624 (v01 AMD    NAHP     00000001 INTL 20051117)
acpi0: Power Button (fixed)
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of ffb80000, 80000 (3) failed
acpi0: reservation of fec10000, 20 (3) failed
acpi0: reservation of fed80000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7df00000 (3) failed
ACPI timer: 0/6 0/4 1/2 0/3 0/3 0/4 0/3 0/3 0/3 0/3 -> 1
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu0: switching to generic Cx mode
cpu1: <ACPI CPU> on acpi0
pci_link0:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  4 7 10 11 14 15
  Validation          0  255   N     0  4 7 10 11 14 15
  After Disable       0  255   N     0  4 7 10 11 14 15
pci_link1:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  4 7 10 11 14 15
  Validation          0  255   N     0  4 7 10 11 14 15
  After Disable       0  255   N     0  4 7 10 11 14 15
pci_link2:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  4 7 10 11 14 15
  Validation          0  255   N     0  4 7 10 11 14 15
  After Disable       0  255   N     0  4 7 10 11 14 15
pci_link3:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  4 7 10 11 14 15
  Validation          0  255   N     0  4 7 10 11 14 15
  After Disable       0  255   N     0  4 7 10 11 14 15
pci_link4:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  4 7 10 11 14 15
  Validation          0  255   N     0  4 7 10 11 14 15
  After Disable       0  255   N     0  4 7 10 11 14 15
pci_link5:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  4 7 10 11 14 15
  Validation          0  255   N     0  4 7 10 11 14 15
  After Disable       0  255   N     0  4 7 10 11 14 15
pci_link6:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  4 7 10 11 14 15
  Validation          0  255   N     0  4 7 10 11 14 15
  After Disable       0  255   N     0  4 7 10 11 14 15
pci_link7:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  4 7 10 11 14 15
  Validation          0  255   N     0  4 7 10 11 14 15
  After Disable       0  255   N     0  4 7 10 11 14 15
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
acpi_hpet0: vend: 0x4353 rev: 0x10 num: 2 hz: 14318180 opts: legacy_route
Timecounter "HPET" frequency 14318180 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: domain=0, physical bus=0
found->	vendor=0x1022, dev=0x9601, revid=0x00
	domain=0, bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x2230, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x103c, dev=0x9602, revid=0x00
	domain=0, bus=0, slot=1, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0107, statreg=0x0230, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x1a (6500 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x9604, revid=0x00
	domain=0, bus=0, slot=4, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0106, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=10
	powerspec 3  supports D0 D3  current D0
	MSI supports 1 message
pcib0: matched entry for 0.4.INTA
pcib0: slot 4 INTA hardwired to IRQ 16
found->	vendor=0x1022, dev=0x9606, revid=0x00
	domain=0, bus=0, slot=6, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0106, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=11
	powerspec 3  supports D0 D3  current D0
	MSI supports 1 message
pcib0: matched entry for 0.6.INTA
pcib0: slot 6 INTA hardwired to IRQ 18
found->	vendor=0x1002, dev=0x4391, revid=0x40
	domain=0, bus=0, slot=17, func=0
	class=01-06-01, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0230, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=7
	MSI supports 4 messages, 64 bit
	map[10]: type I/O Port, range 32, base 0xd000, size  3, enabled
	map[14]: type I/O Port, range 32, base 0xc000, size  2, enabled
	map[18]: type I/O Port, range 32, base 0xb000, size  3, enabled
	map[1c]: type I/O Port, range 32, base 0xa000, size  2, enabled
	map[20]: type I/O Port, range 32, base 0x9000, size  4, enabled
	map[24]: type Memory, range 32, base 0xfe5ffc00, size 10, enabled
pcib0: matched entry for 0.17.INTA
pcib0: slot 17 INTA hardwired to IRQ 19
found->	vendor=0x1002, dev=0x4397, revid=0x00
	domain=0, bus=0, slot=18, func=0
	class=0c-03-10, hdrtype=0x00, mfdev=1
	cmdreg=0x0117, statreg=0x02a0, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=11
	map[10]: type Memory, range 32, base 0xfe5fe000, size 12, enabled
pcib0: matched entry for 0.18.INTA
pcib0: slot 18 INTA hardwired to IRQ 18
unknown: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfe5fe000
ohci early: SMM active, request owner change
found->	vendor=0x1002, dev=0x4396, revid=0x00
	domain=0, bus=0, slot=18, func=2
	class=0c-03-20, hdrtype=0x00, mfdev=0
	cmdreg=0x0102, statreg=0x02b0, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=4
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type Memory, range 32, base 0xfe5ff800, size  8, enabled
pcib0: matched entry for 0.18.INTB
pcib0: slot 18 INTB hardwired to IRQ 17
unknown: Reserved 0x100 bytes for rid 0x10 type 3 at 0xfe5ff800
found->	vendor=0x1002, dev=0x4397, revid=0x00
	domain=0, bus=0, slot=19, func=0
	class=0c-03-10, hdrtype=0x00, mfdev=1
	cmdreg=0x0117, statreg=0x02a0, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=11
	map[10]: type Memory, range 32, base 0xfe5fd000, size 12, enabled
pcib0: matched entry for 0.19.INTA
pcib0: slot 19 INTA hardwired to IRQ 18
unknown: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfe5fd000
ohci early: SMM active, request owner change
found->	vendor=0x1002, dev=0x4396, revid=0x00
	domain=0, bus=0, slot=19, func=2
	class=0c-03-20, hdrtype=0x00, mfdev=0
	cmdreg=0x0102, statreg=0x02b0, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=4
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type Memory, range 32, base 0xfe5ff400, size  8, enabled
pcib0: matched entry for 0.19.INTB
pcib0: slot 19 INTB hardwired to IRQ 17
unknown: Reserved 0x100 bytes for rid 0x10 type 3 at 0xfe5ff400
found->	vendor=0x1002, dev=0x4385, revid=0x41
	domain=0, bus=0, slot=20, func=0
	class=0c-05-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0403, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1002, dev=0x439c, revid=0x40
	domain=0, bus=0, slot=20, func=1
	class=01-01-8a, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=255
	map[20]: type I/O Port, range 32, base 0xff00, size  4, enabled
found->	vendor=0x1002, dev=0x439d, revid=0x40
	domain=0, bus=0, slot=20, func=3
	class=06-01-00, hdrtype=0x00, mfdev=1
	cmdreg=0x000f, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1002, dev=0x4384, revid=0x40
	domain=0, bus=0, slot=20, func=4
	class=06-04-01, hdrtype=0x01, mfdev=1
	cmdreg=0x0105, statreg=0x02a0, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1002, dev=0x4397, revid=0x00
	domain=0, bus=0, slot=22, func=0
	class=0c-03-10, hdrtype=0x00, mfdev=1
	cmdreg=0x0117, statreg=0x02a0, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=11
	map[10]: type Memory, range 32, base 0xfe5fc000, size 12, enabled
pcib0: matched entry for 0.22.INTA
pcib0: slot 22 INTA hardwired to IRQ 18
unknown: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfe5fc000
ohci early: SMM active, request owner change
found->	vendor=0x1002, dev=0x4396, revid=0x00
	domain=0, bus=0, slot=22, func=2
	class=0c-03-20, hdrtype=0x00, mfdev=0
	cmdreg=0x0102, statreg=0x02b0, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=4
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type Memory, range 32, base 0xfe5ff000, size  8, enabled
pcib0: matched entry for 0.22.INTB
pcib0: slot 22 INTB hardwired to IRQ 17
unknown: Reserved 0x100 bytes for rid 0x10 type 3 at 0xfe5ff000
found->	vendor=0x1022, dev=0x1200, revid=0x00
	domain=0, bus=0, slot=24, func=0
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x1201, revid=0x00
	domain=0, bus=0, slot=24, func=1
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x1202, revid=0x00
	domain=0, bus=0, slot=24, func=2
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x1203, revid=0x00
	domain=0, bus=0, slot=24, func=3
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x1022, dev=0x1204, revid=0x00
	domain=0, bus=0, slot=24, func=4
	class=06-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1:   domain            0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xe000-0xefff
pcib1:   memory decode     0xfe600000-0xfe7fffff
pcib1:   prefetched decode 0xfc000000-0xfdffffff
pci1: <ACPI PCI bus> on pcib1
pci1: domain=0, physical bus=1
found->	vendor=0x1002, dev=0x9712, revid=0x00
	domain=0, bus=1, slot=5, func=0
	class=03-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0107, statreg=0x4010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=11
	powerspec 3  supports D0 D1 D2 D3  current D0
	MSI supports 1 message, 64 bit
	map[10]: type Prefetchable Memory, range 32, base 0xfc000000, size 25, enabled
pcib1: requested memory range 0xfc000000-0xfdffffff: good
	map[14]: type I/O Port, range 32, base 0xe000, size  8, enabled
pcib1: requested I/O range 0xe000-0xe0ff: in range
	map[18]: type Memory, range 32, base 0xfe7f0000, size 16, enabled
pcib1: requested memory range 0xfe7f0000-0xfe7fffff: good
	map[24]: type Memory, range 32, base 0xfe600000, size 20, enabled
pcib1: requested memory range 0xfe600000-0xfe6fffff: good
pcib1: matched entry for 1.5.INTA
pcib1: slot 5 INTA hardwired to IRQ 18
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xfc000000-0xfdffffff,0xfe7f0000-0xfe7fffff,0xfe600000-0xfe6fffff irq 18 at device 5.0 on pci1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 4.0 on pci0
pcib2:   domain            0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0x0-0x0
pcib2:   memory decode     0xfe800000-0xfe8fffff
pcib2:   no prefetched decode
pci2: <ACPI PCI bus> on pcib2
pci2: domain=0, physical bus=2
found->	vendor=0x1814, dev=0x0781, revid=0x00
	domain=0, bus=2, slot=0, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=10
	powerspec 3  supports D0 D3  current D0
	MSI supports 32 messages, 64 bit
	map[10]: type Memory, range 32, base 0xfe8f0000, size 16, enabled
pcib2: requested memory range 0xfe8f0000-0xfe8fffff: good
pcib2: matched entry for 2.0.INTA
pcib2: slot 0 INTA hardwired to IRQ 16
pci2: <network> at device 0.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 6.0 on pci0
pcib3:   domain            0
pcib3:   secondary bus     3
pcib3:   subordinate bus   3
pcib3:   I/O decode        0x0-0x0
pcib3:   memory decode     0xfe900000-0xfe9fffff
pcib3:   no prefetched decode
pci3: <ACPI PCI bus> on pcib3
pci3: domain=0, physical bus=3
found->	vendor=0x14e4, dev=0x165b, revid=0x10
	domain=0, bus=3, slot=0, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0106, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=11
	powerspec 3  supports D0 D3  current D0
	MSI supports 1 message, 64 bit
	map[10]: type Memory, range 64, base 0xfe9f0000, size 16, enabled
pcib3: requested memory range 0xfe9f0000-0xfe9fffff: good
pcib3: matched entry for 3.0.INTA
pcib3: slot 0 INTA hardwired to IRQ 18
bge0: <HP NC107i PCIe Gigabit Server Adapter, ASIC rev. 0x5784100> mem 0xfe9f0000-0xfe9fffff irq 18 at device 0.0 on pci3
bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xfe9f0000
bge0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 256 to local APIC 0 vector 49
bge0: using IRQ 256 for MSI
bge0: CHIP ID 0x05784100; ASIC REV 0x5784; CHIP REV 0x57841; PCI-E
bge0: Disabling fastboot
bge0: Disabling fastboot
miibus0: <MII bus> on bge0
brgphy0: <BCM5784 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0: OUI 0x0050ef, model 0x003a, rev. 4
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: bpf attached
bge0: Ethernet address: d4:85:64:c8:5c:50
bge0: [MPSAFE]
bge0: [FILTER]
pci0: <mass storage, SATA> at device 17.0 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfe5fe000-0xfe5fefff irq 18 at device 18.0 on pci0
ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 50
ohci0: [MPSAFE]
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe5ff800-0xfe5ff8ff irq 17 at device 18.2 on pci0
ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 51
ehci0: [MPSAFE]
ehci0: [ITHREAD]
ehci0: Dropped interrupts workaround enabled
usbus1: EHCI version 1.0
usbus1: <EHCI (generic) USB 2.0 controller> on ehci0
ohci1: <OHCI (generic) USB controller> mem 0xfe5fd000-0xfe5fdfff irq 18 at device 19.0 on pci0
ohci1: [MPSAFE]
ohci1: [ITHREAD]
usbus2: <OHCI (generic) USB controller> on ohci1
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfe5ff400-0xfe5ff4ff irq 17 at device 19.2 on pci0
ehci1: [MPSAFE]
ehci1: [ITHREAD]
ehci1: Dropped interrupts workaround enabled
usbus3: EHCI version 1.0
usbus3: <EHCI (generic) USB 2.0 controller> on ehci1
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
pci0: <mass storage, ATA> at device 20.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pcib4:   domain            0
pcib4:   secondary bus     4
pcib4:   subordinate bus   4
pcib4:   I/O decode        0xf000-0xfff
pcib4:   no prefetched decode
pcib4:   Subtractively decoded bridge.
pcib4: could not get PCI interrupt routing table for \\_SB_.PCI0.P0PC - AE_NOT_FOUND
pci4: <ACPI PCI bus> on pcib4
pci4: domain=0, physical bus=4
ohci2: <OHCI (generic) USB controller> mem 0xfe5fc000-0xfe5fcfff irq 18 at device 22.0 on pci0
ohci2: [MPSAFE]
ohci2: [ITHREAD]
usbus4: <OHCI (generic) USB controller> on ohci2
ehci2: <EHCI (generic) USB 2.0 controller> mem 0xfe5ff000-0xfe5ff0ff irq 17 at device 22.2 on pci0
ehci2: [MPSAFE]
ehci2: [ITHREAD]
ehci2: Dropped interrupts workaround enabled
usbus5: EHCI version 1.0
usbus5: <EHCI (generic) USB 2.0 controller> on ehci2
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atrtc0: registered as a time-of-day clock (resolution 1000000us)
acpi_hpet1: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
device_attach: acpi_hpet1 attach returned 12
acpi0: wakeup code va 0xffffff8000123000 pa 0x4000
isa_probe_children: disabling PnP devices
atrtc: atrtc0 already exists; skipping it
sc: sc0 already exists; skipping it
isa_probe_children: probing non-PnP devices
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: scteken (teken terminal)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0 failed to probe at port 0x60 on isa0
fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
ppc0 failed to probe at irq 7 on isa0
uart0 failed to probe at port 0x3f8 irq 4 on isa0
uart1 failed to probe at port 0x2f8 irq 3 on isa0
isa_probe_children: probing PnP devices
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_throttle0: P_CNT from P_BLK 0x810
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Device configuration finished.
procfs registered
lapic: Divisor 2, Frequency 99834536 Hz
Timecounter "TSC" frequency 1297848859 Hz quality -100
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
IPsec: Initialized Security Association Processing.
lo0: bpf attached
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
SMP: AP CPU #1 Launched!
cpu1 AP:
     ID: 0x01000000   VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
  timer: 0x000200ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 1 vector 48
msi: Assigning MSI IRQ 256 to local APIC 1 vector 49
Root mount waiting for: usbus5 usbus4 usbus3 usbus2 usbus1 usbus0
ugen1.1: <ATI> at usbus1ugen0.1: <ATI> at usbus0

uhub0: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen2.1: <ATI> at usbus2ugen3.1: <ATI> at usbus3

uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
uhub3: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen5.1: <ATI> at usbus5ugen4.1: <ATI> at usbus4

uhub4: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
uhub5: 4 ports with 4 removable, self powered
uhub1: 5 ports with 5 removable, self powered
uhub2: 5 ports with 5 removable, self powered
Root mount waiting for: usbus5 usbus3 usbus1
uhub4: 4 ports with 4 removable, self powered
uhub0: 5 ports with 5 removable, self powered
uhub3: 5 ports with 5 removable, self powered
ugen1.2: <USBest Technology> at usbus1
umass0: <USBest Technology USB Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0000
Root mount waiting for: usbus1
umass0:0:0:-1: Attached to scbus0
pass0 at umass-sim0 bus 0 scbus0 target 0 lun 0
pass0: <Ut165 USB2FlashStorage 0.00> Removable Direct Access SCSI-2 device 
pass0: Serial Number 19015202037242020042
pass0: 40.000MB/s transfers
GEOM: new disk da0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <Ut165 USB2FlashStorage 0.00> Removable Direct Access SCSI-2 device 
da0: Serial Number 19015202037242020042
da0: 40.000MB/s transfers
da0: 15424MB (31588352 512 byte sectors: 255H 63S/T 1966C)
Root mount waiting for: usbus1
ugen0.2: <vendor 0x046a> at usbus0
ukbd0: <vendor 0x046a product 0x0023, class 0/0, rev 2.00/0.32, addr 2> on usbus0
kbd: new array size 4
kbd1 at ukbd0
kbd1: ukbd0, generic (0), config:0x0, flags:0x3d0000
uhid0: <vendor 0x046a product 0x0023, class 0/0, rev 2.00/0.32, addr 2> on usbus0
uhub_reattach_port: port 4 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 4
Trying to mount root from ufs:/dev/da0s1a
ct_to_ts([2010-12-04 02:00:28]) = 1291428028.000000000
start_init: trying /sbin/init
bge0: Disabling fastboot
bge0: Disabling fastboot
pci0: driver added
found->	vendor=0x1002, dev=0x4391, revid=0x40
	domain=0, bus=0, slot=17, func=0
	class=01-06-01, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0230, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=19
	MSI supports 4 messages, 64 bit
pci0:0:17:0: reprobing on driver added
ahci0: <ATI IXP700 AHCI SATA controller> port 0xd000-0xd007,0xc000-0xc003,0xb000-0xb007,0xa000-0xa003,0x9000-0x900f mem 0xfe5ffc00-0xfe5fffff irq 19 at device 17.0 on pci0
ahci0: Reserved 0x400 bytes for rid 0x24 type 3 at 0xfe5ffc00
ahci0: attempting to allocate 1 MSI vectors (4 supported)
msi: routing MSI IRQ 257 to local APIC 0 vector 52
ahci0: using IRQ 257 for MSI
ahci0: [MPSAFE]
ahci0: [ITHREAD]
ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier supported
ahci0: Caps: 64bit NCQ SNTF MPS ALP AL CLO 3Gbps PM PMD SSC PSC 32cmd 4ports
ahci0: Caps2:
found->	vendor=0x1002, dev=0x4385, revid=0x41
	domain=0, bus=0, slot=20, func=0
	class=0c-05-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0403, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pci0:0:20:0: reprobing on driver added
found->	vendor=0x1002, dev=0x439c, revid=0x40
	domain=0, bus=0, slot=20, func=1
	class=01-01-8a, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=255
pci0:0:20:1: reprobing on driver added
pci1: driver added
pci2: driver added
found->	vendor=0x1814, dev=0x0781, revid=0x00
	domain=0, bus=2, slot=0, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=16
	powerspec 3  supports D0 D3  current D0
	MSI supports 32 messages, 64 bit
pci0:2:0:0: reprobing on driver added
pci3: driver added
pci4: driver added
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [MPSAFE]
ahcich0: [ITHREAD]
ahcich0: Caps:
ahcich0: AHCI reset...
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [MPSAFE]
ahcich1: [ITHREAD]
ahcich1: Caps:
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: [MPSAFE]
ahcich2: [ITHREAD]
ahcich2: Caps:
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: [MPSAFE]
ahcich3: [ITHREAD]
ahcich3: Caps:
ahcich0: SATA connect time=0ms status=00000123
ahcich0: ready wait time=2ms
ahcich0: AHCI reset done: device found
ahci(ch1: aprobe0:AHCI reset...ahcich0:0:
15:0): SIGNATURE: 0000
(aprobe0:ahcich0:0:0:0): SIGNATURE: 0000
(aprobe0:ahcich0:0:0:0): ATA status error
(aprobe0:ahcich0:0:0:0): SETFEATURES. ACB: ef 10 00 00 00 40 00 00 00 00 02 00
(aprobe0:ahcich0:0:0:0): CAM status: ATA Status Error
(aprobe0:ahcich0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
(aprobe0:ahcich0:0:0:0): RES: 51 04 00 00 00 40 00 00 00 02 00
(aprobe0:ahcich0:0:0:0): Retrying command
(aprobe0:ahcich0:0:0:0): ATA status error
(aprobe0:ahcich0:0:0:0): SETFEATURES. ACB: ef 10 00 00 00 40 00 00 00 00 02 00
(aprobe0:ahcich0:0:0:0): CAM status: ATA Status Error
(aprobe0:ahcich0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
(aprobe0:ahcich0:0:0:0): RES: 51 04 00 00 00 40 00 00 00 02 00
(aprobe0:ahcich0:0:0:0): Error 5, Retries exhausted
ahcich1: SATA connect timeout status=00000000
ahcich1: AHCI reset done: phy reset found no device
ahcich2: AHCI reset...
ahcich2: SATA connect time=0ms status=00000123
ahcich2: ready wait time=316ms
ahcich2: AHCI reset done: device found
ahcich(3: aprobe0:AHCI reset...ahcich2:0:
15:0): SIGNATURE: 0000
ahcich3: SATA connect time=0ms status=00000123
(aprobe0:ahcich2:0:0:0): SIGNATURE: 0000
pass1 at ahcich2 bus 0 scbus3 target 0 lun 0
pass1: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device
pass1: Serial Number WD-WCAV55213457
pass1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
pass1: Command Queueing enabled
ada0 at ahcich2 bus 0 scbus3 target 0 lun 0
ada0: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device
ada0: Serial Number WD-WCAV55213457
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
GEOM: new disk ada0
ahcich3: ready wait time=482ms
ahcich3: AHCI reset done: device found
(aprobe0:ahcich3:0:15:0): SIGNATURE: 0000
(aprobe0:ahcich3:0:0:0): SIGNATURE: 0000
pass2 at ahcich3 bus 0 scbus4 target 0 lun 0
pass2: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device
pass2: Serial Number WD-WCAV55192452
pass2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
pass2: Command Queueing enabled
ada1 at ahcich3 bus 0 scbus4 target 0 lun 0GEOM: new disk ada1
ada1: 
<WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device
ada1: Serial Number WD-WCAV55192452
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ahcich0: detached
ahcich1: detached
(ada0:ahcich2:0:0:0): lost device
(ada0:ahcich2:0:0:0): removing device entry
(pass1:ahcich2:0:0:0): lost device
(pass1:ahcich2:0:0:0): removing device entry
ahcich2: detached
(ada1:ahcich3:0:0:0): lost device
(ada1:ahcich3:0:0:0): removing device entry
(pass2:ahcich3:0:0:0): lost device
(pass2:ahcich3:0:0:0): removing device entry
ahcich3: detached
ahci0: detached
pci0: driver added
found->	vendor=0x1002, dev=0x4391, revid=0x40
	domain=0, bus=0, slot=17, func=0
	class=01-06-01, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0230, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=19
	MSI supports 4 messages, 64 bit
pci0:0:17:0: reprobing on driver added
found->	vendor=0x1002, dev=0x4385, revid=0x41
	domain=0, bus=0, slot=20, func=0
	class=0c-05-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0403, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pci0:0:20:0: reprobing on driver added
found->	vendor=0x1002, dev=0x439c, revid=0x40
	domain=0, bus=0, slot=20, func=1
	class=01-01-8a, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=255
pci0:0:20:1: reprobing on driver added
atapci0: <ATI ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xff00
ata0: <ATA channel 0> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=7f ostat1=7f
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata0: stat1=0x7f err=0xff lsb=0xff msb=0xff
ata0: reset tp2 stat0=ff stat1=ff devices=0x0
ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 1 vector 50
ata0: [MPSAFE]
ata0: [ITHREAD]
ata0: Identifying devices: 00000000
ata0: New devices: 00000000
ata1: <ATA channel 1> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=03 ostat0=7f ostat1=7f
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata1: stat1=0x7f err=0xff lsb=0xff msb=0xff
ata1: reset tp2 stat0=ff stat1=ff devices=0x0
ioapic0: routing intpin 15 (ISA IRQ 15) to lapic 0 vector 49
ata1: [MPSAFE]
ata1: [ITHREAD]
ata1: Identifying devices: 00000000
ata1: New devices: 00000000
pci1: driver added
pci2: driver added
found->	vendor=0x1814, dev=0x0781, revid=0x00
	domain=0, bus=2, slot=0, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=16
	powerspec 3  supports D0 D3  current D0
	MSI supports 32 messages, 64 bit
pci0:2:0:0: reprobing on driver added
pci3: driver added
pci4: driver added
pci0: driver added
found->	vendor=0x1002, dev=0x4391, revid=0x40
	domain=0, bus=0, slot=17, func=0
	class=01-06-01, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0230, cachelnsz=16 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=19
	MSI supports 4 messages, 64 bit
pci0:0:17:0: reprobing on driver added
atapci1: <ATI (ID=43911002) AHCI controller> port 0xd000-0xd007,0xc000-0xc003,0xb000-0xb007,0xa000-0xa003,0x9000-0x900f mem 0xfe5ffc00-0xfe5fffff irq 19 at device 17.0 on pci0
atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0x9000
ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 1 vector 51
atapci1: [MPSAFE]
atapci1: [ITHREAD]
atapci1: AHCI v1.20 controller with 4 3Gbps ports, PM supported
atapci1: Caps: 64bit NCQ SNTF MPS ALP AL CLO 3Gbps PM PMD SSC PSC 32cmd 4ports
ata2: <ATA channel 0> on atapci1
ata2: AHCI reset...
ata2: hardware reset ...
ata2: SATA connect time=0ms status=00000123
ata2: ready wait time=4ms
ata2: software reset port 15...
ata2: ready wait time=0ms
ata2: SIGNATURE: 00000101
ata2: AHCI reset done: devices=00000001
ata2: [MPSAFE]
ata2: [ITHREAD]
ata2: Identifying devices: 00000001
ata2: New devices: 00000001
ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire
ata3: <ATA channel 1> on atapci1
ata3: AHCI reset...
ata3: hardware reset ...
ata3: SATA connect timeout status=00000000
ata3: AHCI reset done: phy reset found no device
ata3: [MPSAFE]
ata3: [ITHREAD]
ata3: Identifying devices: 00000000
ata3: New devices: 00000000
ata4: <ATA channel 2> on atapci1
ata4: AHCI reset...
ata4: hardware reset ...
ata4: SATA connect time=0ms status=00000123
ata4: ready wait time=21ms
ata4: software reset port 15...
ata4: ready wait time=0ms
ata4: SIGNATURE: 00000101
ata4: AHCI reset done: devices=00000001
ata4: [MPSAFE]
ata4: [ITHREAD]
ata4: Identifying devices: 00000001
ata4: New devices: 00000001
ata4-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
ata5: <ATA channel 3> on atapci1
ata5: AHCI reset...
ata5: hardware reset ...
ata5: SATA connect time=0ms status=00000123
ata5: ready wait time=20ms
ata5: software reset port 15...
ata5: ready wait time=0ms
ata5: SIGNATURE: 00000101
ata5: AHCI reset done: devices=00000001
ata5: [MPSAFE]
ata5: [ITHREAD]
ata5: Identifying devices: 00000001
ata5: New devices: 00000001
ata5-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
found->	vendor=0x1002, dev=0x4385, revid=0x41
	domain=0, bus=0, slot=20, func=0
	class=0c-05-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0403, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pci0:0:20:0: reprobing on driver added
pci1: driver added
pci2: driver added
found->	vendor=0x1814, dev=0x0781, revid=0x00
	domain=0, bus=2, slot=0, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=16
	powerspec 3  supports D0 D3  current D0
	MSI supports 32 messages, 64 bit
pci0:2:0:0: reprobing on driver added
pci3: driver added
pci4: driver added
ad0: setting UDMA100
ad0: 152627MB <VB0160EAVEQ HPG0> at ata2-master UDMA100 SATA 3Gb/s
ad0: 312581808 sectors [310101C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad0
ad1: setting UDMA100
ad1: 953869MB <WDC WD10EARS-00Y5B1 80.00A80> at ata4-master UDMA100 SATA 3Gb/s
ad1: 1953525168 sectors [1938021C/16H/63S] 16 sectors/interrupt 1 depth queue
ad2: setting UDMA100
ad2: 953869MB <WDC WD10EARS-00Y5B1 80.00A80> at ata5-master UDMA100 SATA 3Gb/s
ad2: 1953525168 sectors [1938021C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad1
GEOM: new disk ad2


>Release-Note:
>Audit-Trail:

From: Alexander Motin <mav@FreeBSD.org>
To: bug-followup@FreeBSD.org, js@alien8.de
Cc:  
Subject: Re: kern/152817: [ahci] ahci doesn't find disk
Date: Mon, 17 Jan 2011 22:59:18 +0200

 Problem looks alike to one workarounded in CURRENT by SVN revision 
 217444, just with different feature. That patch with such addition 
 should probably help:
 
 --- ata_xpt.c   (revision 217514)
 +++ ata_xpt.c   (working copy)
 @@ -775,7 +775,8 @@
                   * device-initiated interface power management, but return
                   * ABORT on attempt to disable it.
                   */
 -               } else if (softc->action == PROBE_SETPM &&
 +               } else if ((softc->action == PROBE_SETPM ||
 +                    softc->action == PROBE_SETDMAAA) &&
                      status == CAM_ATA_STATUS_ERROR) {
                          goto noerror;
                  }
 
 Try it please, as if it help, send me output of the `camcontrol identify 
 ada0 -v` command for check.
 
 -- 
 Alexander Motin

From: Julian Stecklina <js@alien8.de>
To: Alexander Motin <mav@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/152817: [ahci] ahci doesn't find disk
Date: Sun, 23 Jan 2011 23:38:29 +0100

 --=-=-=
 
 Thus spake Alexander Motin <mav@FreeBSD.org>:
 
 > Problem looks alike to one workarounded in CURRENT by SVN revision
 > 217444, just with different feature. That patch with such addition
 > should probably help:
 >
 > --- ata_xpt.c   (revision 217514)
 > +++ ata_xpt.c   (working copy)
 > @@ -775,7 +775,8 @@
 >                  * device-initiated interface power management, but return
 >                  * ABORT on attempt to disable it.
 >                  */
 > -               } else if (softc->action == PROBE_SETPM &&
 > +               } else if ((softc->action == PROBE_SETPM ||
 > +                    softc->action == PROBE_SETDMAAA) &&
 >                     status == CAM_ATA_STATUS_ERROR) {
 >                         goto noerror;
 >                 }
 >
 > Try it please, as if it help, send me output of the `camcontrol
 > identify ada0 -v` command for check.
 
 Your fix works. :) All drives are detected. The camcontrol output is
 from an 8.2ish userland, I hope this is ok.
 
 
 --=-=-=
 Content-Disposition: attachment; filename=identify.log
 
 pass0: Raw identify data:
    0: 0c5a 3fff c837 0010 0000 0000 003f 0000 
    8: 0000 0000 3956 5938 4350 4850 2020 2020 
   16: 2020 2020 2020 2020 0000 4000 0004 4850 
   24: 4730 2020 2020 5642 3031 3630 4541 5645 
   32: 5120 2020 2020 2020 2020 2020 2020 2020 
   40: 2020 2020 2020 2020 2020 2020 2020 8010 
   48: 0000 2f00 4000 0200 0200 0007 3fff 0010 
   56: 003f fc10 00fb 0110 ffff 0fff 0000 0007 
   64: 0003 0078 0078 0078 0078 0000 0000 0000 
   72: 0000 0000 0000 001f 1506 0004 0044 0040 
   80: 01f0 0028 7069 7c01 4163 7069 bc01 4163 
   88: 203f 0000 0000 0000 0000 0000 d000 0000 
   96: 0000 0000 0000 0000 9eb0 12a1 0000 0000 
  104: 0000 0000 4000 0000 5000 c500 2690 e8b2 
  112: 0000 0000 0000 0000 0000 0000 0000 401e 
  120: 401c 0000 0000 0000 0000 0000 0000 0000 
  128: 0000 9eb0 12a1 9eb0 12a1 2020 0002 0140 
  136: 0100 5000 3c06 3c0a 0000 0078 0000 0008 
  144: 0000 0000 004f 0280 0000 0000 0008 0000 
  152: 0000 0000 0000 0000 0000 0000 3f00 9800 
  160: 0000 0000 0000 0000 0000 0000 0000 0000 
  168: 0002 0000 0000 0000 0000 0000 0000 0000 
  176: 0000 0000 0000 0000 0000 0000 0000 0000 
  184: 0000 0000 0000 0000 0000 0000 0000 0000 
  192: 0000 0000 0000 0000 0000 0000 0000 0000 
  200: 0000 0000 0000 0000 0000 0000 103d 0000 
  208: 0000 0000 0000 0000 0000 0000 0000 0000 
  216: 0000 1c20 0000 0000 0000 0000 1010 0000 
  224: 0000 0000 0000 0000 0000 0000 0000 0000 
  232: 0000 0000 0001 0080 0000 0000 0000 0000 
  240: 0000 0000 0000 0000 0000 0000 0000 0000 
  248: 0000 0000 0000 0000 0000 0000 0000 5da5 
 pass0: <VB0160EAVEQ HPG0> ATA-8 SATA 2.x device
 pass0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
 
 protocol              ATA/ATAPI-8 SATA 2.x
 device model          VB0160EAVEQ
 firmware revision     HPG0
 serial number         9VY8CPHP
 WWN                   5000c5002690e8b2
 cylinders             16383
 heads                 16
 sectors/track         63
 sector size           logical 512, physical 512, offset 0
 LBA supported         268435455 sectors
 LBA48 supported       312581808 sectors
 PIO supported         PIO4
 DMA supported         WDMA2 UDMA5 
 media RPM             7200
 
 Feature                      Support  Enabled   Value           Vendor
 read ahead                     yes	yes
 write cache                    yes	yes
 flush cache                    yes	yes
 overlap                        no
 Tagged Command Queuing (TCQ)   no	no
 Native Command Queuing (NCQ)   yes		32 tags
 SMART                          yes	yes
 microcode download             yes	yes
 security                       no	no
 power management               yes	yes
 advanced power management      no	no
 automatic acoustic management  no	no
 media status notification      no	no
 power-up in Standby            no	no
 write-read-verify              yes	no	0/0x0
 unload                         no	no
 free-fall                      no	no
 data set management (TRIM)     no
 
 --=-=-=
 
 
 Regards, Julian
 
 --=-=-=--

From: Alexander Motin <mav@FreeBSD.org>
To: Julian Stecklina <js@alien8.de>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/152817: [ahci] ahci doesn't find disk
Date: Mon, 24 Jan 2011 11:49:21 +0200

 This is a multi-part message in MIME format.
 --------------060102030001030602070708
 Content-Type: text/plain; charset=KOI8-R
 Content-Transfer-Encoding: 7bit
 
 Julian Stecklina wrote:
 > Thus spake Alexander Motin <mav@FreeBSD.org>:
 >> Problem looks alike to one workarounded in CURRENT by SVN revision
 >> 217444, just with different feature. That patch with such addition
 >> should probably help:
 >>
 >> Try it please, as if it help, send me output of the `camcontrol
 >> identify ada0 -v` command for check.
 > 
 > Your fix works. :) All drives are detected. The camcontrol output is
 > from an 8.2ish userland, I hope this is ok.
 
 Thank you. Could you try this patch instead? It should be less noisy.
 
 -- 
 Alexander Motin
 
 --------------060102030001030602070708
 Content-Type: text/plain;
  name="mininit.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="mininit.patch"
 
 --- ata_xpt.c.prev	2011-01-15 11:43:26.000000000 +0200
 +++ ata_xpt.c	2011-01-24 11:42:36.000000000 +0200
 @@ -988,7 +988,9 @@ noerror:
  		cts.xport_specific.sata.valid = CTS_SATA_VALID_CAPS;
  		xpt_action((union ccb *)&cts);
  		softc->caps = caps;
 -		if (ident_buf->satasupport & ATA_SUPPORT_IFPWRMNGT) {
 +		if ((ident_buf->satasupport & ATA_SUPPORT_IFPWRMNGT) &&
 +		    (!(softc->caps & CTS_SATA_CAPS_H_PMREQ)) !=
 +		    (!(ident_buf->sataenabled & ATA_SUPPORT_IFPWRMNGT))) {
  			PROBE_SET_ACTION(softc, PROBE_SETPM);
  			xpt_release_ccb(done_ccb);
  			xpt_schedule(periph, priority);
 @@ -997,7 +999,9 @@ noerror:
  		/* FALLTHROUGH */
  	case PROBE_SETPM:
  		if (ident_buf->satacapabilities != 0xffff &&
 -		    ident_buf->satacapabilities & ATA_SUPPORT_DAPST) {
 +		    (ident_buf->satacapabilities & ATA_SUPPORT_DAPST) &&
 +		    (!(softc->caps & CTS_SATA_CAPS_H_APST)) !=
 +		    (!(ident_buf->sataenabled & ATA_ENABLED_DAPST))) {
  			PROBE_SET_ACTION(softc, PROBE_SETAPST);
  			xpt_release_ccb(done_ccb);
  			xpt_schedule(periph, priority);
 @@ -1005,7 +1009,9 @@ noerror:
  		}
  		/* FALLTHROUGH */
  	case PROBE_SETAPST:
 -		if (ident_buf->satasupport & ATA_SUPPORT_AUTOACTIVATE) {
 +		if ((ident_buf->satasupport & ATA_SUPPORT_AUTOACTIVATE) &&
 +		    (!(softc->caps & CTS_SATA_CAPS_H_DMAAA)) !=
 +		    (!(ident_buf->sataenabled & ATA_SUPPORT_AUTOACTIVATE))) {
  			PROBE_SET_ACTION(softc, PROBE_SETDMAAA);
  			xpt_release_ccb(done_ccb);
  			xpt_schedule(periph, priority);
 
 --------------060102030001030602070708--

From: Julian Stecklina <js@alien8.de>
To: Alexander Motin <mav@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/152817: [ahci] ahci doesn't find disk
Date: Wed, 26 Jan 2011 03:21:19 +0100

 --=-=-=
 
 Thus spake Alexander Motin <mav@FreeBSD.org>:
 
 > Julian Stecklina wrote:
 >> Thus spake Alexander Motin <mav@FreeBSD.org>:
 >>> Problem looks alike to one workarounded in CURRENT by SVN revision
 >>> 217444, just with different feature. That patch with such addition
 >>> should probably help:
 >>>
 >>> Try it please, as if it help, send me output of the `camcontrol
 >>> identify ada0 -v` command for check.
 >> 
 >> Your fix works. :) All drives are detected. The camcontrol output is
 >> from an 8.2ish userland, I hope this is ok.
 >
 > Thank you. Could you try this patch instead? It should be less noisy.
 
 It doesn't seem to do the trick. The HP disk doesn't come up, only the
 three WDs:
 
 
 --=-=-=
 Content-Disposition: attachment; filename=boot.log
 
 Table 'FACP' at 0x7dfa0290
 Table 'APIC' at 0x7dfa0390
 APIC: Found table at 0x7dfa0390
 APIC: Using the MADT enumerator.
 MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
 SMP: Added CPU 0 (AP)
 MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
 SMP: Added CPU 1 (AP)
 MADT: Found CPU APIC ID 130 ACPI ID 3: disabled
 MADT: Found CPU APIC ID 131 ACPI ID 4: disabled
 Copyright (c) 1992-2011 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 is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.0-CURRENT #0 r217861M: Wed Jan 26 02:43:01 CET 2011
     julian@block.xn--pl-wia.net:/usr/home/julian/obj/usr/home/julian/src/freebsd-head/sys/AHCI amd64
 WARNING: WITNESS option enabled, expect reduced performance.
 Table 'FACP' at 0x7dfa0290
 Table 'APIC' at 0x7dfa0390
 Table 'MCFG' at 0x7dfa0410
 Table 'SPMI' at 0x7dfa0450
 Table 'OEMB' at 0x7dfae040
 Table 'HPET' at 0x7dfab4e0
 Table 'EINJ' at 0x7dfab520
 Table 'BERT' at 0x7dfab6b0
 Table 'ERST' at 0x7dfab6e0
 Table 'HEST' at 0x7dfab890
 Table 'SSDT' at 0x7dfab940
 ACPI: No SRAT table found
 Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff82e1e000.
 Preloaded elf obj module "/boot/kernel/zfs.ko" at 0xffffffff82e1e220.
 Preloaded elf obj module "/boot/kernel/opensolaris.ko" at 0xffffffff82e1e8c8.
 Preloaded mfs_root "/mfsroot" at 0xffffffff82e1eef8.
 Calibrating TSC clock ... TSC clock: 1297866842 Hz
 CPU: AMD Athlon(tm) II Neo N36L Dual-Core Processor (1297.87-MHz K8-class CPU)
   Origin = "AuthenticAMD"  Id = 0x100f63  Family = 10  Model = 6  Stepping = 3
   Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
   Features2=0x802009<SSE3,MON,CX16,POPCNT>
   AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
   AMD Features2=0x8377f<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,Prefetch,OSVW,IBS,SKINIT,WDT,<b19>>
   TSC: P-state invariant
 L1 2MB data TLB: 48 entries, fully associative
 L1 2MB instruction TLB: 16 entries, fully associative
 L1 4KB data TLB: 48 entries, fully associative
 L1 4KB instruction TLB: 32 entries, fully associative
 L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
 L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
 L2 2MB data TLB: 128 entries, 2-way associative
 L2 2MB instruction TLB: 0 entries, 2-way associative
 L2 4KB data TLB: 512 entries, 4-way associative
 L2 4KB instruction TLB: 512 entries, 4-way associative
 L2 unified cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
 real memory  = 2147483648 (2048 MB)
 Physical memory chunk(s):
 0x0000000000001000 - 0x000000000009afff, 630784 bytes (154 pages)
 0x0000000002e49000 - 0x000000007a422fff, 2002624512 bytes (488922 pages)
 avail memory = 1987248128 (1895 MB)
 Event timer "LAPIC" quality 400
 ACPI APIC Table: <HP     ProLiant>
 INTR: Adding local APIC 1 as a target
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 FreeBSD/SMP: 1 package(s) x 2 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 x86bios:  IVT 0x000000-0x0004ff at 0xfffffe0000000000
 x86bios: SSEG 0x001000-0x001fff at 0xffffff800000d000
 x86bios: EBDA 0x09e000-0x09ffff at 0xfffffe000009e000
 x86bios:  ROM 0x0a0000-0x0fefff at 0xfffffe00000a0000
 APIC: CPU 0 has ACPI ID 1
 APIC: CPU 1 has ACPI ID 2
 ULE: setup cpu 0
 ULE: setup cpu 1
 ACPI: RSDP 0xf8f50 00024 (v02 HP    )
 ACPI: XSDT 0x7dfa0100 0007C (v01 HP     ProLiant 20100728 HP   00000097)
 ACPI: FACP 0x7dfa0290 000F4 (v03 HP     ProLiant 20100728 HP   00000097)
 ACPI: DSDT 0x7dfa0620 06947 (v01 HP     ProLiant 00000006 INTL 20051117)
 ACPI: FACS 0x7dfae000 00040
 ACPI: APIC 0x7dfa0390 00072 (v01 HP     ProLiant 20100728 HP   00000097)
 ACPI: MCFG 0x7dfa0410 0003C (v01 HP     ProLiant 20100728 HP   00000097)
 ACPI: SPMI 0x7dfa0450 00041 (v05 HP     ProLiant 20100728 HP   00000097)
 ACPI: OEMB 0x7dfae040 00072 (v01 HP     ProLiant 20100728 HP   00000097)
 ACPI: HPET 0x7dfab4e0 00038 (v01 HP     ProLiant 20100728 HP   00000097)
 ACPI: EINJ 0x7dfab520 00130 (v01  AMIER AMI_EINJ 20100728 HP   00000097)
 ACPI: BERT 0x7dfab6b0 00030 (v01  AMIER AMI_BERT 20100728 HP   00000097)
 ACPI: ERST 0x7dfab6e0 001B0 (v01  AMIER AMI_ERST 20100728 HP   00000097)
 ACPI: HEST 0x7dfab890 000A8 (v01  AMIER ABC_HEST 20100728 HP   00000097)
 ACPI: SSDT 0x7dfab940 00386 (v01 HP     ProLiant 00000001 AMD  00000001)
 MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
 ioapic0: Routing external 8259A's -> intpin 0
 MADT: Interrupt override: source 0, irq 2
 ioapic0: Routing IRQ 0 -> intpin 2
 MADT: Interrupt override: source 9, irq 9
 ioapic0: intpin 9 trigger: level
 ioapic0: intpin 9 polarity: low
 lapic: Routing NMI -> LINT1
 lapic: LINT1 trigger: edge
 lapic: LINT1 polarity: high
 ioapic0 <Version 2.1> irqs 0-23 on motherboard
 cpu0 BSP:
      ID: 0x00000000   VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
 wlan: <802.11 Link Layer>
 null: <null device, zero device>
 random: <entropy source, Software, Yarrow>
 io: <I/O>
 kbd: new array size 4
 kbd1 at kbdmux0
 mem: <memory>
 nfslock: pseudo-device
 acpi0: <HP ProLiant> on motherboard
 PCIe: Memory Mapped configuration base @ 0xe0000000
 ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
 ACPI: Executed 2 blocks of module-level executable AML code
 ACPI: OEMN 0x7dfaaeb0 00624 (v01 AMD    NAHP     00000001 INTL 20051117)
 ACPI: Dynamic OEM Table Load:
 ACPI: OEMN 0 00624 (v01 AMD    NAHP     00000001 INTL 20051117)
 acpi0: Power Button (fixed)
 acpi0: reservation of fee00000, 1000 (3) failed
 acpi0: reservation of ffb80000, 80000 (3) failed
 acpi0: reservation of fec10000, 20 (3) failed
 acpi0: reservation of fed80000, 1000 (3) failed
 acpi0: reservation of 0, a0000 (3) failed
 acpi0: reservation of 100000, 7df00000 (3) failed
 ACPI timer: 0/3130 0/3 0/3 0/3 0/4 0/3 0/3 0/3 0/3 0/3 -> 0
 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu0: switching to generic Cx mode
 cpu1: <ACPI CPU> on acpi0
 pci_link0:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  4 7 10 11 14 15
   Validation          0  255   N     0  4 7 10 11 14 15
   After Disable       0  255   N     0  4 7 10 11 14 15
 pci_link1:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  4 7 10 11 14 15
   Validation          0  255   N     0  4 7 10 11 14 15
   After Disable       0  255   N     0  4 7 10 11 14 15
 pci_link2:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  4 7 10 11 14 15
   Validation          0  255   N     0  4 7 10 11 14 15
   After Disable       0  255   N     0  4 7 10 11 14 15
 pci_link3:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  4 7 10 11 14 15
   Validation          0  255   N     0  4 7 10 11 14 15
   After Disable       0  255   N     0  4 7 10 11 14 15
 pci_link4:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  4 7 10 11 14 15
   Validation          0  255   N     0  4 7 10 11 14 15
   After Disable       0  255   N     0  4 7 10 11 14 15
 pci_link5:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  4 7 10 11 14 15
   Validation          0  255   N     0  4 7 10 11 14 15
   After Disable       0  255   N     0  4 7 10 11 14 15
 pci_link6:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  4 7 10 11 14 15
   Validation          0  255   N     0  4 7 10 11 14 15
   After Disable       0  255   N     0  4 7 10 11 14 15
 pci_link7:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  4 7 10 11 14 15
   Validation          0  255   N     0  4 7 10 11 14 15
   After Disable       0  255   N     0  4 7 10 11 14 15
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pci0: domain=0, physical bus=0
 found->	vendor=0x1022, dev=0x9601, revid=0x00
 	domain=0, bus=0, slot=0, func=0
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x2230, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x103c, dev=0x9602, revid=0x00
 	domain=0, bus=0, slot=1, func=0
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	cmdreg=0x0107, statreg=0x0230, cachelnsz=0 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0x1a (6500 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1022, dev=0x9604, revid=0x00
 	domain=0, bus=0, slot=4, func=0
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	cmdreg=0x0106, statreg=0x0010, cachelnsz=16 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=10
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.4.INTA
 pcib0: slot 4 INTA hardwired to IRQ 16
 found->	vendor=0x1022, dev=0x9606, revid=0x00
 	domain=0, bus=0, slot=6, func=0
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	cmdreg=0x0106, statreg=0x0010, cachelnsz=16 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.6.INTA
 pcib0: slot 6 INTA hardwired to IRQ 18
 found->	vendor=0x1002, dev=0x4391, revid=0x40
 	domain=0, bus=0, slot=17, func=0
 	class=01-06-01, hdrtype=0x00, mfdev=0
 	cmdreg=0x0107, statreg=0x0230, cachelnsz=16 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=7
 	MSI supports 4 messages, 64 bit
 	map[10]: type I/O Port, range 32, base 0xd000, size  3, enabled
 	map[14]: type I/O Port, range 32, base 0xc000, size  2, enabled
 	map[18]: type I/O Port, range 32, base 0xb000, size  3, enabled
 	map[1c]: type I/O Port, range 32, base 0xa000, size  2, enabled
 	map[20]: type I/O Port, range 32, base 0x9000, size  4, enabled
 	map[24]: type Memory, range 32, base 0xfe5ffc00, size 10, enabled
 pcib0: matched entry for 0.17.INTA
 pcib0: slot 17 INTA hardwired to IRQ 19
 found->	vendor=0x1002, dev=0x4397, revid=0x00
 	domain=0, bus=0, slot=18, func=0
 	class=0c-03-10, hdrtype=0x00, mfdev=1
 	cmdreg=0x0117, statreg=0x02a0, cachelnsz=16 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	map[10]: type Memory, range 32, base 0xfe5fe000, size 12, enabled
 pcib0: matched entry for 0.18.INTA
 pcib0: slot 18 INTA hardwired to IRQ 18
 ohci early: SMM active, request owner change
 found->	vendor=0x1002, dev=0x4396, revid=0x00
 	domain=0, bus=0, slot=18, func=2
 	class=0c-03-20, hdrtype=0x00, mfdev=0
 	cmdreg=0x0102, statreg=0x02b0, cachelnsz=16 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=4
 	powerspec 2  supports D0 D1 D2 D3  current D0
 	map[10]: type Memory, range 32, base 0xfe5ff800, size  8, enabled
 pcib0: matched entry for 0.18.INTB
 pcib0: slot 18 INTB hardwired to IRQ 17
 found->	vendor=0x1002, dev=0x4397, revid=0x00
 	domain=0, bus=0, slot=19, func=0
 	class=0c-03-10, hdrtype=0x00, mfdev=1
 	cmdreg=0x0117, statreg=0x02a0, cachelnsz=16 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	map[10]: type Memory, range 32, base 0xfe5fd000, size 12, enabled
 pcib0: matched entry for 0.19.INTA
 pcib0: slot 19 INTA hardwired to IRQ 18
 ohci early: SMM active, request owner change
 found->	vendor=0x1002, dev=0x4396, revid=0x00
 	domain=0, bus=0, slot=19, func=2
 	class=0c-03-20, hdrtype=0x00, mfdev=0
 	cmdreg=0x0102, statreg=0x02b0, cachelnsz=16 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=4
 	powerspec 2  supports D0 D1 D2 D3  current D0
 	map[10]: type Memory, range 32, base 0xfe5ff400, size  8, enabled
 pcib0: matched entry for 0.19.INTB
 pcib0: slot 19 INTB hardwired to IRQ 17
 found->	vendor=0x1002, dev=0x4385, revid=0x41
 	domain=0, bus=0, slot=20, func=0
 	class=0c-05-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0403, statreg=0x0220, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1002, dev=0x439c, revid=0x40
 	domain=0, bus=0, slot=20, func=1
 	class=01-01-8a, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0220, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=255
 	map[20]: type I/O Port, range 32, base 0xff00, size  4, enabled
 found->	vendor=0x1002, dev=0x439d, revid=0x40
 	domain=0, bus=0, slot=20, func=3
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x000f, statreg=0x0220, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1002, dev=0x4384, revid=0x40
 	domain=0, bus=0, slot=20, func=4
 	class=06-04-01, hdrtype=0x01, mfdev=1
 	cmdreg=0x0105, statreg=0x02a0, cachelnsz=0 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0x07 (1750 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1002, dev=0x4397, revid=0x00
 	domain=0, bus=0, slot=22, func=0
 	class=0c-03-10, hdrtype=0x00, mfdev=1
 	cmdreg=0x0117, statreg=0x02a0, cachelnsz=16 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	map[10]: type Memory, range 32, base 0xfe5fc000, size 12, enabled
 pcib0: matched entry for 0.22.INTA
 pcib0: slot 22 INTA hardwired to IRQ 18
 ohci early: SMM active, request owner change
 found->	vendor=0x1002, dev=0x4396, revid=0x00
 	domain=0, bus=0, slot=22, func=2
 	class=0c-03-20, hdrtype=0x00, mfdev=0
 	cmdreg=0x0102, statreg=0x02b0, cachelnsz=16 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=4
 	powerspec 2  supports D0 D1 D2 D3  current D0
 	map[10]: type Memory, range 32, base 0xfe5ff000, size  8, enabled
 pcib0: matched entry for 0.22.INTB
 pcib0: slot 22 INTB hardwired to IRQ 17
 found->	vendor=0x1022, dev=0x1200, revid=0x00
 	domain=0, bus=0, slot=24, func=0
 	class=06-00-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1022, dev=0x1201, revid=0x00
 	domain=0, bus=0, slot=24, func=1
 	class=06-00-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1022, dev=0x1202, revid=0x00
 	domain=0, bus=0, slot=24, func=2
 	class=06-00-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1022, dev=0x1203, revid=0x00
 	domain=0, bus=0, slot=24, func=3
 	class=06-00-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1022, dev=0x1204, revid=0x00
 	domain=0, bus=0, slot=24, func=4
 	class=06-00-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
 pcib1:   domain            0
 pcib1:   secondary bus     1
 pcib1:   subordinate bus   1
 pcib1:   I/O decode        0xe000-0xefff
 pcib1:   memory decode     0xfe600000-0xfe7fffff
 pcib1:   prefetched decode 0xfc000000-0xfdffffff
 pci1: <ACPI PCI bus> on pcib1
 pci1: domain=0, physical bus=1
 found->	vendor=0x1002, dev=0x9712, revid=0x00
 	domain=0, bus=1, slot=5, func=0
 	class=03-00-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0107, statreg=0x4010, cachelnsz=16 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 3  supports D0 D1 D2 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type Prefetchable Memory, range 32, base 0xfc000000, size 25, enabled
 pcib1: requested memory range 0xfc000000-0xfdffffff: good
 	map[14]: type I/O Port, range 32, base 0xe000, size  8, enabled
 pcib1: requested I/O range 0xe000-0xe0ff: in range
 	map[18]: type Memory, range 32, base 0xfe7f0000, size 16, enabled
 pcib1: requested memory range 0xfe7f0000-0xfe7fffff: good
 	map[24]: type Memory, range 32, base 0xfe600000, size 20, enabled
 pcib1: requested memory range 0xfe600000-0xfe6fffff: good
 pcib1: matched entry for 1.5.INTA
 pcib1: slot 5 INTA hardwired to IRQ 18
 vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xfc000000-0xfdffffff,0xfe7f0000-0xfe7fffff,0xfe600000-0xfe6fffff irq 18 at device 5.0 on pci1
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 4.0 on pci0
 pcib2:   domain            0
 pcib2:   secondary bus     2
 pcib2:   subordinate bus   2
 pcib2:   I/O decode        0x0-0x0
 pcib2:   memory decode     0xfe800000-0xfe8fffff
 pcib2:   no prefetched decode
 pci2: <ACPI PCI bus> on pcib2
 pci2: domain=0, physical bus=2
 found->	vendor=0x1814, dev=0x0781, revid=0x00
 	domain=0, bus=2, slot=0, func=0
 	class=02-80-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=10
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 32 messages, 64 bit
 	map[10]: type Memory, range 32, base 0xfe8f0000, size 16, enabled
 pcib2: requested memory range 0xfe8f0000-0xfe8fffff: good
 pcib2: matched entry for 2.0.INTA
 pcib2: slot 0 INTA hardwired to IRQ 16
 pci2: <network> at device 0.0 (no driver attached)
 pcib3: <ACPI PCI-PCI bridge> irq 18 at device 6.0 on pci0
 pcib3:   domain            0
 pcib3:   secondary bus     3
 pcib3:   subordinate bus   3
 pcib3:   I/O decode        0x0-0x0
 pcib3:   memory decode     0xfe900000-0xfe9fffff
 pcib3:   no prefetched decode
 pci3: <ACPI PCI bus> on pcib3
 pci3: domain=0, physical bus=3
 found->	vendor=0x14e4, dev=0x165b, revid=0x10
 	domain=0, bus=3, slot=0, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0106, statreg=0x0010, cachelnsz=16 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type Memory, range 64, base 0xfe9f0000, size 16, enabled
 pcib3: requested memory range 0xfe9f0000-0xfe9fffff: good
 pcib3: matched entry for 3.0.INTA
 pcib3: slot 0 INTA hardwired to IRQ 18
 bge0: <HP NC107i PCIe Gigabit Server Adapter, ASIC rev. 0x5784100> mem 0xfe9f0000-0xfe9fffff irq 18 at device 0.0 on pci3
 bge0: attempting to allocate 1 MSI vectors (1 supported)
 msi: routing MSI IRQ 256 to local APIC 0 vector 49
 bge0: using IRQ 256 for MSI
 bge0: CHIP ID 0x05784100; ASIC REV 0x5784; CHIP REV 0x57841; PCI-E
 bge0: Disabling fastboot
 bge0: Disabling fastboot
 miibus0: <MII bus> on bge0
 brgphy0: <BCM5784 10/100/1000baseTX PHY> PHY 1 on miibus0
 brgphy0: OUI 0x0050ef, model 0x003a, rev. 4
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
 bge0: bpf attached
 bge0: Ethernet address: d4:85:64:c8:5c:50
 ahci0: <ATI IXP700 AHCI SATA controller> port 0xd000-0xd007,0xc000-0xc003,0xb000-0xb007,0xa000-0xa003,0x9000-0x900f mem 0xfe5ffc00-0xfe5fffff irq 19 at device 17.0 on pci0
 ahci0: attempting to allocate 1 MSI vectors (4 supported)
 msi: routing MSI IRQ 257 to local APIC 0 vector 52
 ahci0: using IRQ 257 for MSI
 ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier supported
 ahci0: Caps: 64bit NCQ SNTF MPS ALP AL CLO 3Gbps PM PMD SSC PSC 32cmd 4ports
 ahci0: Caps2:
 ahcich0: <AHCI channel> at channel 0 on ahci0
 ahcich0: Caps:
 ahcich1: <AHCI channel> at channel 1 on ahci0
 ahcich1: Caps:
 ahcich2: <AHCI channel> at channel 2 on ahci0
 ahcich2: Caps:
 ahcich3: <AHCI channel> at channel 3 on ahci0
 ahcich3: Caps:
 ohci0: <OHCI (generic) USB controller> mem 0xfe5fe000-0xfe5fefff irq 18 at device 18.0 on pci0
 ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 50
 usbus0: <OHCI (generic) USB controller> on ohci0
 usbus0: bpf attached
 ohci0: usbpf attached
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe5ff800-0xfe5ff8ff irq 17 at device 18.2 on pci0
 ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 51
 ehci0: Dropped interrupts workaround enabled
 usbus1: EHCI version 1.0
 usbus1: <EHCI (generic) USB 2.0 controller> on ehci0
 usbus1: bpf attached
 ehci0: usbpf attached
 ohci1: <OHCI (generic) USB controller> mem 0xfe5fd000-0xfe5fdfff irq 18 at device 19.0 on pci0
 usbus2: <OHCI (generic) USB controller> on ohci1
 usbus2: bpf attached
 ohci1: usbpf attached
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfe5ff400-0xfe5ff4ff irq 17 at device 19.2 on pci0
 ehci1: Dropped interrupts workaround enabled
 usbus3: EHCI version 1.0
 usbus3: <EHCI (generic) USB 2.0 controller> on ehci1
 usbus3: bpf attached
 ehci1: usbpf attached
 pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
 pci0: <mass storage, ATA> at device 20.1 (no driver attached)
 isab0: <PCI-ISA bridge> at device 20.3 on pci0
 isa0: <ISA bus> on isab0
 pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
 pcib4:   domain            0
 pcib4:   secondary bus     4
 pcib4:   subordinate bus   4
 pcib4:   I/O decode        0xf000-0xfff
 pcib4:   no prefetched decode
 pcib4:   Subtractively decoded bridge.
 pcib4: could not get PCI interrupt routing table for \\_SB_.PCI0.P0PC - AE_NOT_FOUND
 pci4: <ACPI PCI bus> on pcib4
 pci4: domain=0, physical bus=4
 ohci2: <OHCI (generic) USB controller> mem 0xfe5fc000-0xfe5fcfff irq 18 at device 22.0 on pci0
 usbus4: <OHCI (generic) USB controller> on ohci2
 usbus4: bpf attached
 ohci2: usbpf attached
 ehci2: <EHCI (generic) USB 2.0 controller> mem 0xfe5ff000-0xfe5ff0ff irq 17 at device 22.2 on pci0
 ehci2: Dropped interrupts workaround enabled
 usbus5: EHCI version 1.0
 usbus5: <EHCI (generic) USB 2.0 controller> on ehci2
 usbus5: bpf attached
 ehci2: usbpf attached
 acpi_button0: <Power Button> on acpi0
 attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
 Timecounter "i8254" frequency 1193182 Hz quality 0
 ioapic0: routing intpin 2 (ISA IRQ 0) to lapic 0 vector 53
 Event timer "i8254" frequency 1193182 Hz quality 100
 atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
 atrtc0: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s)
 ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 0 vector 54
 Event timer "RTC" frequency 32768 Hz quality 0
 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 hpet0: vendor 0x4353, rev 0x10, 14318180Hz, 3 timers, legacy route
 hpet0:  t0: irqs 0x00c00000 (0), MSI, periodic
 hpet0:  t1: irqs 0x00c00000 (0), MSI, periodic
 hpet0:  t2: irqs 0x00c00000 (0), MSI, periodic
 Timecounter "HPET" frequency 14318180 Hz quality 900
 msi: routing MSI-X IRQ 258 to local APIC 0 vector 55
 msi: routing MSI-X IRQ 259 to local APIC 0 vector 56
 msi: routing MSI-X IRQ 260 to local APIC 0 vector 57
 Event timer "HPET" frequency 14318180 Hz quality 550
 Event timer "HPET1" frequency 14318180 Hz quality 450
 acpi0: wakeup code va 0xffffff808fefc000 pa 0x4000
 ex_isa_identify()
 isa_probe_children: disabling PnP devices
 atrtc: atrtc0 already exists; skipping it
 sc: sc0 already exists; skipping it
 isa_probe_children: probing non-PnP devices
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd1, terminal emulator: scteken (teken terminal)
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 atkbdc0: AT keyboard controller not found
 atkbdc0: <Keyboard controller (i8042)> failed to probe at port 0x60,0x64 on isa0
 fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 ppc0: cannot reserve I/O port range
 ppc0: <Parallel port> failed to probe at irq 7 on isa0
 uart0: <ns8250> failed to probe at port 0x3f8-0x3ff irq 4 on isa0
 uart1: <ns8250> failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 isa_probe_children: probing PnP devices
 acpi_throttle0: <ACPI CPU Throttling> on cpu0
 acpi_throttle0: P_CNT from P_BLK 0x810
 hwpstate0: <Cool`n'Quiet 2.0> on cpu0
 Device configuration finished.
 procfs registered
 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
             to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
 ZFS filesystem version 4
 ZFS storage pool version 15
 Timecounter "TSC" frequency 1297866842 Hz quality -100
 Timecounters tick every 1.000 msec
 vlan: initialized, using hash tables with chaining
 lo0: bpf attached
 md0: Preloaded image </mfsroot> 31784960 bytes at 0xffffffff80fccd98
 usbus0: 12Mbps Full Speed USB v1.0
 usbus1: 480Mbps High Speed USB v2.0
 usbus2: 12Mbps Full Speed USB v1.0
 usbus3: 480Mbps High Speed USB v2.0
 usbus4: 12Mbps Full Speed USB v1.0
 usbus5: 480Mbps High Speed USB v2.0
 ahcich0: AHCI reset...
 ugen0.1: <ATI> at usbus0
 uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
 ugen1.1: <ATI> at usbus1
 uhub1: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
 ugen2.1: <ATI> at usbus2
 uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
 ugen3.1: <ATI> at usbus3
 uhub3: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
 ugen4.1: <ATI> at usbus4
 uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
 ugen5.1: <ATI> at usbus5
 uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
 ahcich0: SATA connect time=0ms status=00000123
 ahcich0: ready wait time=0ms
 ahcich0: AHCI reset done: device found
 (aprobe0:ahcich0:0:15:0): SIGNATURE: 0000
 (aprobe0:ahcich0:0:0:0): SIGNATURE: 0000
 ahcich1: AHCI reset...
 (aprobe0:ahcich0:0:0:0): ATA status error
 (aprobe0:ahcich0:0:0:0): SETFEATURES. ACB: ef 10 00 00 00 40 00 00 00 00 02 00
 (aprobe0:ahcich0:0:0:0): CAM status: ATA Status Error
 (aprobe0:ahcich0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
 (aprobe0:ahcich0:0:0:0): RES: 51 04 00 00 00 40 00 00 00 02 00
 (aprobe0:ahcich0:0:0:0): Retrying command
 (aprobe0:ahcich0:0:0:0): ATA status error
 (aprobe0:ahcich0:0:0:0): SETFEATURES. ACB: ef 10 00 00 00 40 00 00 00 00 02 00
 (aprobe0:ahcich0:0:0:0): CAM status: ATA Status Error
 (aprobe0:ahcich0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
 (aprobe0:ahcich0:0:0:0): RES: 51 04 00 00 00 40 00 00 00 02 00
 (aprobe0:ahcich0:0:0:0): Error 5, Retries exhausted
 ahcich1: SATA connect time=0ms status=00000123
 ahcich1: ready wait time=5ms
 ahcich1: AHCI reset done: device found
 (aprobe0:ahcich1:0:15:0): SIGNATURE: 0000
 (aprobe0:ahcich1:0:0:0): SIGNATURE: 0000
 ahcich2: AHCI reset...
 ahcich2: SATA connect time=0ms status=00000123
 uhub4: 4 ports with 4 removable, self powered
 uhub0: 5 ports with 5 removable, self powered
 uhub2: 5 ports with 5 removable, self powered
 ahcich2: ready wait time=494ms
 ahcich2: AHCI reset done: device found
 (aprobe0:ahcich2:0:15:0): SIGNATURE: 0000
 (aprobe0:ahcich2:0:0:0): SIGNATURE: 0000
 ahcich3: AHCI reset...
 ahcich3: SATA connect time=0ms status=00000123
 ahcich3: ready wait time=490ms
 ahcich3: AHCI reset done: device found
 (aprobe0:ahcich3:0:15:0): SIGNATURE: 0000
 (aprobe0:ahcich3:0:0:0): SIGNATURE: 0000
 ada0 at ahcich1 bus 0 scbus1 target 0 lun 0
 ada0: <WDC WD10EARS-00MVWB0 51.0AB51> ATA-8 SATA 2.x device
 ada0: Serial Number WD-WMAZA1652960
 ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
 ada0: Command Queueing enabled
 ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
 ada1 at ahcich2 bus 0 scbus2 target 0 lun 0
 ada1: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device
 ada1: Serial Number WD-WCAV55213457
 ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
 ada1: Command Queueing enabled
 ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
 ada2 at ahcich3 bus 0 scbus3 target 0 lun 0
 ada2: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device
 ada2: Serial Number WD-WCAV55192452
 ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
 ada2: Command Queueing enabled
 ada2: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
 pass0 at ahcich1 bus 0 scbus1 target 0 lun 0
 pass0: <WDC WD10EARS-00MVWB0 51.0AB51> ATA-8 SATA 2.x device
 pass0: Serial Number WD-WMAZA1652960
 pass0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
 pass0: Command Queueing enabled
 pass1 at ahcich2 bus 0 scbus2 target 0 lun 0
 pass1: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device
 pass1: Serial Number WD-WCAV55213457
 pass1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
 pass1: Command Queueing enabled
 pass2 at ahcich3 bus 0 scbus3 target 0 lun 0
 pass2: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device
 pass2: Serial Number WD-WCAV55192452
 pass2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
 pass2: Command Queueing enabled
 SMP: AP CPU #1 Launched!
 cpu1 AP:
      ID: 0x01000000   VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
 ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 1 vector 48
 ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 1 vector 49
 msi: Assigning MSI IRQ 257 to local APIC 1 vector 50
 msi: Assigning MSI-X IRQ 259 to local APIC 1 vector 51
 WARNING: WITNESS option enabled, expect reduced performance.
 GEOM: new disk ada0
 GEOM: new disk ada1
 GEOM: new disk ada2
 Root mount waiting for: usbus5 usbus3 usbus1
 uhub5: 4 ports with 4 removable, self powered
 uhub3: 5 ports with 5 removable, self powered
 uhub1: 5 ports with 5 removable, self powered
 ugen1.2: <TSST Inc> at usbus1
 umass0: <6238--Storage> on usbus1
 umass0:  8070i (ATAPI) over Bulk-Only; quirks = 0x0000
 Root mount waiting for: usbus1
 umass0:4:0:-1: Attached to scbus4
 (probe0:umass-sim0:0:0:0): SCSI status error
 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 1 0 0 ff 0 
 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
 (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
 (probe0:umass-sim0:0:0:0): Error 22, Unretryable error
 (probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0?
 GEOM: new disk cd0
 pass3 at umass-sim0 bus 0 scbus4 target 0 lun 0
 pass3: <TSSTcorp CDDVDW SE-S084F TS00> Removable CD-ROM SCSI-0 device 
 pass3: 40.000MB/s transfers
 cd0 at umass-sim0 bus 0 scbus4 target 0 lun 0
 cd0: <TSSTcorp CDDVDW SE-S084F TS00> Removable CD-ROM SCSI-0 device 
 cd0: 40.000MB/s transfers
 cd0: cd present [11920 x 2048 byte records]
 ugen0.2: <vendor 0x046a> at usbus0
 ukbd0: <vendor 0x046a product 0x0023, class 0/0, rev 2.00/0.32, addr 2> on usbus0
 kbd0 at ukbd0
 kbd0: ukbd0, generic (0), config:0x0, flags:0x3d0000
 uhid0: <vendor 0x046a product 0x0023, class 0/0, rev 2.00/0.32, addr 2> on usbus0
 Trying to mount root from ufs:/dev/md0 []...
 start_init: trying /sbin/init
 lock order reversal:
  1st 0xffffff8077a8f758 bufwait (bufwait) @ /usr/home/julian/src/freebsd-head/sys/kern/vfs_bio.c:2659
  2nd 0xfffffe0006911800 dirhash (dirhash) @ /usr/home/julian/src/freebsd-head/sys/ufs/ufs/ufs_dirhash.c:284
 KDB: stack backtrace:
 db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
 kdb_backtrace() at kdb_backtrace+0x37
 _witness_debugger() at _witness_debugger+0x65
 witness_checkorder() at witness_checkorder+0x833
 _sx_xlock() at _sx_xlock+0x55
 ufsdirhash_acquire() at ufsdirhash_acquire+0x33
 ufsdirhash_add() at ufsdirhash_add+0x19
 ufs_direnter() at ufs_direnter+0x8c3
 ufs_link() at ufs_link+0x19d
 VOP_LINK_APV() at VOP_LINK_APV+0x93
 kern_linkat() at kern_linkat+0x3a8
 kern_link() at kern_link+0x24
 syscallenter() at syscallenter+0x1aa
 syscall() at syscall+0x4c
 Xfast_syscall() at Xfast_syscall+0xe2
 --- syscall (9, FreeBSD ELF64, link), rip = 0x67b19c, rsp = 0x7fffffffd8b8, rbp = 0x800a26380 ---
 bge0: Disabling fastboot
 bge0: Disabling fastboot
 bge0: link state changed to UP
 
 --=-=-=
 
 
 Regards, Julian
 
 --=-=-=--

From: Alexander Motin <mav@FreeBSD.org>
To: Julian Stecklina <js@alien8.de>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/152817: [ahci] ahci doesn't find disk
Date: Wed, 26 Jan 2011 08:20:09 +0200

 On 26.01.2011 04:21, Julian Stecklina wrote:
 > Thus spake Alexander Motin<mav@FreeBSD.org>:
 >
 >> Julian Stecklina wrote:
 >>> Thus spake Alexander Motin<mav@FreeBSD.org>:
 >>>> Problem looks alike to one workarounded in CURRENT by SVN revision
 >>>> 217444, just with different feature. That patch with such addition
 >>>> should probably help:
 >>>>
 >>>> Try it please, as if it help, send me output of the `camcontrol
 >>>> identify ada0 -v` command for check.
 >>>
 >>> Your fix works. :) All drives are detected. The camcontrol output is
 >>> from an 8.2ish userland, I hope this is ok.
 >>
 >> Thank you. Could you try this patch instead? It should be less noisy.
 >
 > It doesn't seem to do the trick. The HP disk doesn't come up, only the
 > three WDs:
 
 Ah. My fault. While patch is probably correct, it just won't workaround 
 this particular situation as I have thought. Previous patch is probably 
 the only solution possible here. I'll commit it.
 
 -- 
 Alexander Motin
State-Changed-From-To: open->patched 
State-Changed-By: mav 
State-Changed-When: Wed Jan 26 10:36:25 UTC 2011 
State-Changed-Why:  
Patch committed to HEAD at r217444. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152817 

From: Julian Stecklina <js@alien8.de>
To: Alexander Motin <mav@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/152817: [ahci] ahci doesn't find disk
Date: Wed, 26 Jan 2011 12:44:32 +0100

 On 01/26/2011 07:20 AM, Alexander Motin wrote:
 > On 26.01.2011 04:21, Julian Stecklina wrote:
 >> Thus spake Alexander Motin<mav@FreeBSD.org>:
 >>
 >>> Julian Stecklina wrote:
 >>>> Thus spake Alexander Motin<mav@FreeBSD.org>:
 >>>>> Problem looks alike to one workarounded in CURRENT by SVN revision
 >>>>> 217444, just with different feature. That patch with such addition
 >>>>> should probably help:
 >>>>>
 >>>>> Try it please, as if it help, send me output of the `camcontrol
 >>>>> identify ada0 -v` command for check.
 >>>>
 >>>> Your fix works. :) All drives are detected. The camcontrol output is
 >>>> from an 8.2ish userland, I hope this is ok.
 >>>
 >>> Thank you. Could you try this patch instead? It should be less noisy.
 >>
 >> It doesn't seem to do the trick. The HP disk doesn't come up, only the
 >> three WDs:
 > 
 > Ah. My fault. While patch is probably correct, it just won't workaround
 > this particular situation as I have thought. Previous patch is probably
 > the only solution possible here. I'll commit it.
 
 Thank you. Remind me to buy you a beer, if you happen to visit Dresden,
 Germany. ;)
 
 Regards, Julian
 
 
State-Changed-From-To: patched->closed 
State-Changed-By: mav 
State-Changed-When: Sat Feb 5 20:57:25 UTC 2011 
State-Changed-Why:  
Patch merged to 8-STABLE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152817 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/152817: commit references a PR
Date: Sat,  5 Feb 2011 20:57:08 +0000 (UTC)

 Author: mav
 Date: Sat Feb  5 20:57:01 2011
 New Revision: 218342
 URL: http://svn.freebsd.org/changeset/base/218342
 
 Log:
   MFC r217875:
   In addition to r217444, ignore also ATA status errors on DMA Auto-Activation
   enabling request. Some HP disks reported to return ABORT error there while
   declaring support for this feature.
   
   PR:		kern/152817
 
 Modified:
   stable/8/sys/cam/ata/ata_xpt.c
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
 
 Modified: stable/8/sys/cam/ata/ata_xpt.c
 ==============================================================================
 --- stable/8/sys/cam/ata/ata_xpt.c	Sat Feb  5 20:54:47 2011	(r218341)
 +++ stable/8/sys/cam/ata/ata_xpt.c	Sat Feb  5 20:57:01 2011	(r218342)
 @@ -778,6 +778,14 @@ probedone(struct cam_periph *periph, uni
  		} else if (softc->action == PROBE_SETPM &&
  		    status == CAM_ATA_STATUS_ERROR) {
  			goto noerror;
 +
 +		/*
 +		 * Some HP SATA disks report supported DMA Auto-Activation,
 +		 * but return ABORT on attempt to enable it.
 +		 */
 +		} else if (softc->action == PROBE_SETDMAAA &&
 +		    status == CAM_ATA_STATUS_ERROR) {
 +			goto noerror;
  		}
  
  		/*
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
