kern/152817: [ahci] ahci doesn't find disk

Julian Stecklina js at alien8.de
Wed Jan 26 02:30:16 UTC 2011


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

From: Julian Stecklina <js at alien8.de>
To: Alexander Motin <mav at FreeBSD.org>
Cc: bug-followup at 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 at FreeBSD.org>:
 
 > Julian Stecklina wrote:
 >> Thus spake Alexander Motin <mav at 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 at 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
 
 --=-=-=--


More information about the freebsd-bugs mailing list