Bug 181148 - [ata] sas expanders not available in 9.2-RC1 [regression]
Summary: [ata] sas expanders not available in 9.2-RC1 [regression]
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: John Baldwin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-08 17:40 UTC by Christopher Harrison
Modified: 2015-11-10 17:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Harrison 2013-08-08 17:40:00 UTC
I have a LSI HBA connected to a SAS expander.   After upgrading from
9.1-RELEASE to 9.2-RC1 the LSI HBA is still available but the SAS
expander (and all devices behind the expander) have disappeared.   


root@s1:~ # Aug  8 11:14:02 s1 ntpd_initres[1935]: host name not found: 1.freebsd.pool.ntp.org
Aug  8 11:15:02 s1 ntpd_initres[1935]: host name not found: 2.freebsd.pool.ntp.org

root@s1:~ # pciconf -l -v
hostb0@pci0:0:0:0:      class=0x060000 card=0x062415d9 chip=0x01088086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200 Processor Family DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:0:       class=0x060400 card=0x062415d9 chip=0x01018086 rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:1:1:       class=0x060400 card=0x062415d9 chip=0x01058086 rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
em0@pci0:0:25:0:        class=0x020000 card=0x150215d9 chip=0x15028086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82579LM Gigabit Network Connection'
    class      = network
    subclass   = ethernet
ehci0@pci0:0:26:0:      class=0x0c0320 card=0x062415d9 chip=0x1c2d8086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
pcib3@pci0:0:28:0:      class=0x060400 card=0x062415d9 chip=0x1c108086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:0:28:4:      class=0x060400 card=0x062415d9 chip=0x1c188086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 5'
    class      = bridge
    subclass   = PCI-PCI
ehci1@pci0:0:29:0:      class=0x0c0320 card=0x062415d9 chip=0x1c268086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
pcib5@pci0:0:30:0:      class=0x060401 card=0x062415d9 chip=0x244e8086 rev=0xa5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x062415d9 chip=0x1c548086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'C204 Chipset Family LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci0@pci0:0:31:2:      class=0x010601 card=0x062415d9 chip=0x1c028086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
none0@pci0:0:31:3:      class=0x0c0500 card=0x062415d9 chip=0x1c228086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family SMBus Controller'
    class      = serial bus
    subclass   = SMBus
none1@pci0:2:0:0:       class=0x010700 card=0x30401000 chip=0x00721000 rev=0x03 hdr=0x00
    vendor     = 'LSI Logic / Symbios Logic'
    device     = 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]'
    class      = mass storage
    subclass   = SAS
em1@pci0:4:0:0: class=0x020000 card=0x000015d9 chip=0x10d38086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82574L Gigabit Network Connection'
    class      = network
    subclass   = ethernet
vgapci0@pci0:5:3:0:     class=0x030000 card=0x062415d9 chip=0x0532102b rev=0x0a hdr=0x00
    vendor     = 'Matrox Graphics, Inc.'
    device     = 'MGA G200eW WPCM450'
    class      = display
    subclass   = VGA

How-To-Repeat: install a LSI HBA, connect this to a sas expander backplane, Connect
drives to the sas expander backplane.   Install FreeBSD 9.2-RC1, see
all devices disappear.  Install 9.1-RELEASE again, all drives reappear.


9.2-RC1
root@s1:~ # camcontrol devlist
<Corsair Force GT 1.3.2>           at scbus0 target 0 lun 0 (ada0,pass0)

NOTE, No ses device is listed.


In 9.1-RELEASE:

root@s1:/root # camcontrol devlist
<ATA ST3000DM001-1CH1 CC24>        at scbus0 target 8 lun 0 (da0,pass0)
<ATA ST3000DM001-1CH1 CC24>        at scbus0 target 9 lun 0 (da1,pass1)
<ATA ST3000DM001-9YN1 CC4H>        at scbus0 target 10 lun 0 (da2,pass2)
<ATA ST3000DM001-9YN1 CC4B>        at scbus0 target 11 lun 0 (da3,pass3)
<ATA ST3000DM001-1CH1 CC24>        at scbus0 target 12 lun 0 (da4,pass4)
<ATA ST3000DM001-1CH1 CC24>        at scbus0 target 13 lun 0 (da5,pass5)
<ATA ST3000DM001-9YN1 CC4H>        at scbus0 target 14 lun 0 (da6,pass6)
<ATA ST3000DM001-9YN1 CC4H>        at scbus0 target 15 lun 0 (da7,pass7)
<ATA ST3000DM001-1CH1 CC24>        at scbus0 target 16 lun 0 (da8,pass8)
<ATA ST3000DM001-9YN1 CC4B>        at scbus0 target 17 lun 0 (da9,pass9)
<ATA ST3000DM001-9YN1 CC4H>        at scbus0 target 18 lun 0 (da10,pass10)
<ATA ST3000DM001-9YN1 CC4H>        at scbus0 target 19 lun 0 (da11,pass11)
<ATA ST3000DM001-1CH1 CC24>        at scbus0 target 20 lun 0 (da12,pass12)
<ATA ST3000DM001-1CH1 CC24>        at scbus0 target 21 lun 0 (da13,pass13)
<ATA ST3000DM001-9YN1 CC4H>        at scbus0 target 22 lun 0 (da14,pass14)
<ATA ST3000DM001-9YN1 CC4H>        at scbus0 target 23 lun 0 (da15,pass15)
<LSI CORP SAS2X36 0717>            at scbus0 target 24 lun 0 (ses0,pass16)
<ATA ST3000DM001-1CH1 CC26>        at scbus0 target 25 lun 0 (da16,pass17)
<ATA ST3000DM001-1CH1 CC26>        at scbus0 target 26 lun 0 (da17,pass18)
<ATA ST3000DM001-1CH1 CC26>        at scbus0 target 27 lun 0 (da18,pass19)
<ATA ST3000DM001-1CH1 CC26>        at scbus0 target 28 lun 0 (da19,pass20)
<Corsair Force GT 1.3.2>           at scbus1 target 0 lun 0 (ada0,pass21)
Comment 1 Glen Barber freebsd_committer freebsd_triage 2013-08-08 17:55:50 UTC
Please provide /var/run/dmesg.boot.  It seems the driver did not attach.

Glen
Comment 2 Christopher Harrison 2013-08-08 18:45:37 UTC
Here is my dmesg.boot:

Table 'FACP' at 0xbe7fbf58
Table 'APIC' at 0xbe7fc050
APIC: Found table at 0xbe7fc050
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 2 ACPI ID 2: enabled
SMP: Added CPU 2 (AP)
MADT: Found CPU APIC ID 4 ACPI ID 3: enabled
SMP: Added CPU 4 (AP)
MADT: Found CPU APIC ID 6 ACPI ID 4: enabled
SMP: Added CPU 6 (AP)
Copyright (c) 1992-2013 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.2-RC1 #0 r253912: Sat Aug  3 17:18:48 UTC 2013
     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
gcc version 4.2.1 20070831 patched [FreeBSD]
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff81a65000.
Preloaded elf obj module "/boot/kernel/zfs.ko" at 0xffffffff81a652f0.
Preloaded elf obj module "/boot/kernel/opensolaris.ko" at 
0xffffffff81a659d8.
Preloaded elf obj module "/boot/kernel/coretemp.ko" at 0xffffffff81a66048.
Preloaded /boot/zfs/zpool.cache "/boot/zfs/zpool.cache" at 
0xffffffff81a665b8.
Preloaded elf obj module "/boot/kernel/ipmi.ko" at 0xffffffff81a66618.
Preloaded elf obj module "/boot/kernel/smbus.ko" at 0xffffffff81a66c80.
Preloaded elf obj module "/boot/kernel/smbfs.ko" at 0xffffffff81a67168.
Preloaded elf obj module "/boot/kernel/libiconv.ko" at 0xffffffff81a67850.
Preloaded elf obj module "/boot/kernel/libmchain.ko" at 0xffffffff81a67f40.
Calibrating TSC clock ... TSC clock: 3093046596 Hz
CPU: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (3093.05-MHz K8-class CPU)
   Origin = "GenuineIntel"  Id = 0x206a7  Family = 0x6  Model = 0x2a  
Stepping = 7
   
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   
Features2=0x1fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX>
   AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
   AMD Features2=0x1<LAHF>
   TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
Physical memory chunk(s):
0x0000000000010000 - 0x0000000000094fff, 544768 bytes (133 pages)
0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages)
0x0000000001a9c000 - 0x00000000be7acfff, 3167817728 bytes (773393 pages)
0x00000000bf4b1000 - 0x00000000bf4b2fff, 8192 bytes (2 pages)
0x00000000bf57a000 - 0x00000000bf7fffff, 2646016 bytes (646 pages)
0x0000000100000000 - 0x000000022f11ffff, 5084676096 bytes (1241376 pages)
avail memory = 8208453632 (7828 MB)
INTR: Adding local APIC 0 as a target
Event timer "LAPIC" quality 600
ACPI APIC Table: <SUPERM SMCI--MB>
INTR: Adding local APIC 0 as a target
INTR: Adding local APIC 2 as a target
INTR: Adding local APIC 4 as a target
INTR: Adding local APIC 6 as a target
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  2
  cpu2 (AP): APIC ID:  4
  cpu3 (AP): APIC ID:  6
x86bios:  IVT 0x000000-0x0004ff at 0xfffffe0000000000
x86bios: SSEG 0x094000-0x094fff at 0xffffff8000250000
x86bios: EBDA 0x098000-0x09ffff at 0xfffffe0000098000
x86bios:  ROM 0x0a0000-0x0fefff at 0xfffffe00000a0000
lapic0: CMCI unmasked
APIC: CPU 0 has ACPI ID 1
APIC: CPU 1 has ACPI ID 2
APIC: CPU 2 has ACPI ID 3
APIC: CPU 3 has ACPI ID 4
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
ACPI: RSDP 0xf0450 00024 (v02 SUPERM)
ACPI: XSDT 0xbe7f5080 00084 (v01 SUPERM SMCI--MB 00000001 AMI  00010013)
ACPI: FACP 0xbe7fbf58 000F4 (v04 SUPERM SMCI--MB 00000001 AMI  00010013)
ACPI: DSDT 0xbe7f5198 06DC0 (v02 SUPERM SMCI--MB 00000000 INTL 20051117)
ACPI: FACS 0xbf50ef80 00040
ACPI: APIC 0xbe7fc050 00072 (v03 SUPERM SMCI--MB 00000001 AMI  00010013)
ACPI: SSDT 0xbe7fc0c8 00102 (v01 AMICPU     PROC 00000001 MSFT 03000001)
ACPI: MCFG 0xbe7fc1d0 0003C (v01 SUPERM SMCI--MB 00000001 MSFT 00000097)
ACPI: HPET 0xbe7fc210 00038 (v01 SUPERM SMCI--MB 00000001 AMI. 00000004)
ACPI: SPMI 0xbe7fc248 00040 (v05 A M I   OEMSPMI 00000000 AMI. 00000000)
ACPI: SPCR 0xbe7fc288 00050 (v01  A M I   APTIO4 00000001 AMI. 00000004)
ACPI: DMAR 0xbe7fc2d8 000B0 (v01 ALASKA    A M I 00000001 INTL 00000001)
ACPI: EINJ 0xbe7fc388 00130 (v01    AMI AMI EINJ 00000000      00000000)
ACPI: ERST 0xbe7fc4b8 00210 (v01  AMIER AMI ERST 00000000      00000000)
ACPI: HEST 0xbe7fc6c8 000A8 (v01    AMI AMI HEST 00000000      00000000)
ACPI: BERT 0xbe7fc770 00030 (v01    AMI AMI BERT 00000000      00000000)
MADT: Found IO APIC ID 0, 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
lapic: Routing NMI -> LINT1
lapic: LINT1 trigger: edge
lapic: LINT1 polarity: high
ioapic0 <Version 2.0> irqs 0-23 on motherboard
cpu0 BSP:
      ID: 0x00000000   VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
    cmci: 0x000000f2
wlan: <802.11 Link Layer>
snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 
feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
nfslock: pseudo-device
kbd: new array size 4
kbd1 at kbdmux0
mem: <memory>
VESA: INT 0x10 vector 0xc000:0x0b80
VESA: information block
0000   56 45 53 41 00 03 3a 59 00 c0 01 00 00 00 a7 55
0010   00 c0 00 01 09 03 4f 59 00 c0 56 59 00 c0 5f 59
0020   00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0030   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0070   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0080   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0100   4d 61 74 72 6f 78 00 4d 47 41 2d 47 32 30 30 00
0110   30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0120   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0130   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0140   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0150   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0160   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0170   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0180   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0190   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
VESA: 21 mode(s) found
VESA: v3.0, 16384k memory, flags:0x1, mode table:0xfffffe00000c55a7 
(c00055a7)
VESA: Matrox Graphics Inc.
VESA: Matrox MGA-G200 00
io: <I/O>
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
hptnr: R750/DC7280 controller driver v1.0
hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2
hpt27xx: RocketRAID 27xx controller driver v1.1
acpi0: <SUPERM SMCI--MB> on motherboard
PCIe: Memory Mapped configuration base @ 0xe0000000
ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
ACPI: Executed 1 blocks of module-level executable AML code
acpi0: Power Button (fixed)
cpu0: Processor \\_PR_.P000 (ACPI ID 1) -> APIC ID 0
cpu0: <ACPI CPU> on acpi0
ACPI: SSDT 0xbf508918 00448 (v01    AMI      IST 00000001 MSFT 03000001)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 00448 (v01    AMI      IST 00000001 MSFT 03000001)
ACPI: SSDT 0xbf507d98 000E4 (v01    AMI      CST 00000001 MSFT 03000001)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 000E4 (v01    AMI      CST 00000001 MSFT 03000001)
cpu1: Processor \\_PR_.P001 (ACPI ID 2) -> APIC ID 1
cpu1: <ACPI CPU> on acpi0
cpu2: Processor \\_PR_.P002 (ACPI ID 3) -> APIC ID 2
cpu2: <ACPI CPU> on acpi0
cpu3: Processor \\_PR_.P003 (ACPI ID 4) -> APIC ID 3
cpu3: <ACPI CPU> 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 49
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 50
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
hpet0: vendor 0x8086, rev 0x1, 14318180Hz 64bit, 8 timers, legacy route
hpet0:  t0: irqs 0x00f00000 (0), MSI, 64bit, periodic
hpet0:  t1: irqs 0x00f00000 (0), MSI
hpet0:  t2: irqs 0x00f00800 (0), MSI
hpet0:  t3: irqs 0x00f01000 (0), MSI
hpet0:  t4: irqs 0x00000000 (0), MSI
hpet0:  t5: irqs 0x00000000 (0), MSI
hpet0:  t6: irqs 0x00000000 (0), MSI
hpet0:  t7: irqs 0x00000000 (0), MSI
Timecounter "HPET" frequency 14318180 Hz quality 950
msi: routing MSI-X IRQ 256 to local APIC 0 vector 51
msi: routing MSI-X IRQ 257 to local APIC 0 vector 52
msi: routing MSI-X IRQ 258 to local APIC 0 vector 53
msi: routing MSI-X IRQ 259 to local APIC 0 vector 54
msi: routing MSI-X IRQ 260 to local APIC 0 vector 55
msi: routing MSI-X IRQ 261 to local APIC 0 vector 56
msi: routing MSI-X IRQ 262 to local APIC 0 vector 57
msi: routing MSI-X IRQ 263 to local APIC 0 vector 58
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pci_link0:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   11   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   11   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link1:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    5   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0    5   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link2:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   11   N     0  3 4 5 6 10 11 12 14 15
   Validation          0   11   N     0  3 4 5 6 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 10 11 12 14 15
pci_link3:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    5   N     0  3 4 5 6 10 11 12 14 15
   Validation          0    5   N     0  3 4 5 6 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 10 11 12 14 15
pci_link4:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    7   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0    7   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link5:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link6:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link7:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   11   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   11   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: decoding 4 range 0-0x3af
pcib0: decoding 4 range 0x3e0-0xcf7
pcib0: decoding 4 range 0x3b0-0x3df
pcib0: decoding 4 range 0xd00-0xffff
pcib0: decoding 3 range 0xa0000-0xbffff
pcib0: decoding 3 range 0xc0000-0xdffff
pcib0: decoding 3 range 0xf0000000-0xfbffffff
pci0: <ACPI PCI bus> on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x8086, dev=0x0108, revid=0x09
         domain=0, bus=0, slot=0, func=0
         class=06-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x0101, revid=0x09
         domain=0, bus=0, slot=1, func=0
         class=06-04-00, hdrtype=0x01, mfdev=1
         cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x10 (4000 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.1.INTA
pcib0: slot 1 INTA hardwired to IRQ 16
found-> vendor=0x8086, dev=0x0105, revid=0x09
         domain=0, bus=0, slot=1, func=1
         class=06-04-00, hdrtype=0x01, mfdev=1
         cmdreg=0x0147, statreg=0x0010, cachelnsz=16 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x13 (4750 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.1.INTA
pcib0: slot 1 INTA hardwired to IRQ 16
found-> vendor=0x8086, dev=0x1502, revid=0x05
         domain=0, bus=0, slot=25, func=0
         class=02-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         intpin=a, irq=7
         powerspec 2  supports D0 D3  current D0
         MSI supports 1 message, 64 bit
         map[10]: type Memory, range 32, base rxfb800000, size 17, enabled
pcib0: allocated type 3 (0xfb800000-0xfb81ffff) for rid 10 of pci0:0:25:0
         map[14]: type Memory, range 32, base rxfb824000, size 12, enabled
pcib0: allocated type 3 (0xfb824000-0xfb824fff) for rid 14 of pci0:0:25:0
         map[18]: type I/O Port, range 32, base rxf020, size  5, enabled
pcib0: allocated type 4 (0xf020-0xf03f) for rid 18 of pci0:0:25:0
pcib0: matched entry for 0.25.INTA
pcib0: slot 25 INTA hardwired to IRQ 20
found-> vendor=0x8086, dev=0x1c2d, revid=0x05
         domain=0, bus=0, slot=26, func=0
         class=0c-03-20, hdrtype=0x00, mfdev=0
         cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         intpin=a, irq=11
         powerspec 2  supports D0 D3  current D0
         map[10]: type Memory, range 32, base rxfb823000, size 10, enabled
pcib0: allocated type 3 (0xfb823000-0xfb8233ff) for rid 10 of pci0:0:26:0
pcib0: matched entry for 0.26.INTA
pcib0: slot 26 INTA hardwired to IRQ 16
found-> vendor=0x8086, dev=0x1c10, revid=0xb5
         domain=0, bus=0, slot=28, func=0
         class=06-04-00, hdrtype=0x01, mfdev=1
         cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x10 (4000 ns), maxlat=0x00 (0 ns)
         intpin=a, irq=5
         powerspec 2  supports D0 D3  current D0
         MSI supports 1 message
pcib0: matched entry for 0.28.INTA
pcib0: slot 28 INTA hardwired to IRQ 17
found-> vendor=0x8086, dev=0x1c18, revid=0xb5
         domain=0, bus=0, slot=28, func=4
         class=06-04-00, hdrtype=0x01, mfdev=1
         cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x10 (4000 ns), maxlat=0x00 (0 ns)
         intpin=a, irq=5
         powerspec 2  supports D0 D3  current D0
         MSI supports 1 message
pcib0: matched entry for 0.28.INTA
pcib0: slot 28 INTA hardwired to IRQ 17
found-> vendor=0x8086, dev=0x1c26, revid=0x05
         domain=0, bus=0, slot=29, func=0
         class=0c-03-20, hdrtype=0x00, mfdev=0
         cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         intpin=a, irq=11
         powerspec 2  supports D0 D3  current D0
         map[10]: type Memory, range 32, base rxfb822000, size 10, enabled
pcib0: allocated type 3 (0xfb822000-0xfb8223ff) for rid 10 of pci0:0:29:0
pcib0: matched entry for 0.29.INTA
pcib0: slot 29 INTA hardwired to IRQ 23
found-> vendor=0x8086, dev=0x244e, revid=0xa5
         domain=0, bus=0, slot=30, func=0
         class=06-04-01, hdrtype=0x01, mfdev=0
         cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x18 (6000 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x1c54, revid=0x05
         domain=0, bus=0, slot=31, func=0
         class=06-01-00, hdrtype=0x00, mfdev=1
         cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x1c02, revid=0x05
         domain=0, bus=0, slot=31, func=2
         class=01-06-01, hdrtype=0x00, mfdev=0
         cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         intpin=b, irq=5
         powerspec 3  supports D0 D3  current D0
         MSI supports 1 message
         map[10]: type I/O Port, range 32, base rxf070, size  3, enabled
pcib0: allocated type 4 (0xf070-0xf077) for rid 10 of pci0:0:31:2
         map[14]: type I/O Port, range 32, base rxf060, size  2, enabled
pcib0: allocated type 4 (0xf060-0xf063) for rid 14 of pci0:0:31:2
         map[18]: type I/O Port, range 32, base rxf050, size  3, enabled
pcib0: allocated type 4 (0xf050-0xf057) for rid 18 of pci0:0:31:2
         map[1c]: type I/O Port, range 32, base rxf040, size  2, enabled
pcib0: allocated type 4 (0xf040-0xf043) for rid 1c of pci0:0:31:2
         map[20]: type I/O Port, range 32, base rxf000, size  5, enabled
pcib0: allocated type 4 (0xf000-0xf01f) for rid 20 of pci0:0:31:2
         map[24]: type Memory, range 32, base rxfb821000, size 11, enabled
pcib0: allocated type 3 (0xfb821000-0xfb8217ff) for rid 24 of pci0:0:31:2
pcib0: matched entry for 0.31.INTB
pcib0: slot 31 INTB hardwired to IRQ 19
found-> vendor=0x8086, dev=0x1c22, revid=0x05
         domain=0, bus=0, slot=31, func=3
         class=0c-05-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         intpin=c, irq=11
         map[10]: type Memory, range 64, base rxfb820000, size  8, enabled
pcib0: allocated type 3 (0xfb820000-0xfb8200ff) for rid 10 of pci0:0:31:3
         map[20]: type I/O Port, range 32, base rx1180, size  5, enabled
pcib0: allocated type 4 (0x1180-0x119f) for rid 20 of pci0:0:31:3
pcib0: matched entry for 0.31.INTC
pcib0: slot 31 INTC hardwired to IRQ 18
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pcib1:   domain            0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   no prefetched decode
pci1: <ACPI PCI bus> on pcib1
pci1: domain=0, physical bus=1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 1.1 on pci0
pcib0: allocated type 4 (0xe000-0xefff) for rid 1c of pcib2
pcib0: allocated type 3 (0xfb100000-0xfb6fffff) for rid 20 of pcib2
pcib2:   domain            0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0xe000-0xefff
pcib2:   memory decode     0xfb100000-0xfb6fffff
pcib2:   no prefetched decode
pci2: <ACPI PCI bus> on pcib2
pci2: domain=0, physical bus=2
found-> vendor=0x1000, dev=0x0072, revid=0x03
         domain=0, bus=2, slot=0, func=0
         class=01-07-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0147, statreg=0x0010, cachelnsz=16 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         intpin=a, irq=5
         powerspec 3  supports D0 D1 D2 D3  current D0
         MSI supports 1 message, 64 bit
         MSI-X supports 15 messages in map 0x14
         map[10]: type I/O Port, range 32, base rxe000, size  8, enabled
pcib2: allocated I/O port range (0xe000-0xe0ff) for rid 10 of pci0:2:0:0
         map[14]: type Memory, range 64, base rxfb600000, size 14, enabled
pcib2: allocated memory range (0xfb600000-0xfb603fff) for rid 14 of 
pci0:2:0:0
         map[1c]: type Memory, range 64, base rxff580000, size 18, enabled
pcib2: attempting to grow memory window for (0xff580000-0xff5bffff,0x40000)
         back candidate range: 0xff580000-0xff5bffff
pci2: pci0:2:0:0 bar 0x1c failed to allocate
pcib2: matched entry for 2.0.INTA
pcib2: slot 0 INTA hardwired to IRQ 17
mps0: <LSI SAS2008> port 0xe000-0xe0ff mem 0xfb600000-0xfb603fff irq 17 
at device 0.0 on pci2
mps0: PCI memory window not available
device_attach: mps0 attach returned 6
em0: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0xf020-0xf03f mem 
0xfb800000-0xfb81ffff,0xfb824000-0xfb824fff irq 20 at device 25.0 on pci0
em0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 264 to local APIC 0 vector 59
em0: using IRQ 264 for MSI
em0: Using an MSI interrupt
em0: bpf attached
em0: Ethernet address: 00:25:90:57:22:e1
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfb823000-0xfb8233ff irq 
16 at device 26.0 on pci0
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 60
usbus0: EHCI version 1.0
usbus0 on ehci0
usbus0: bpf attached
ehci0: usbpf: Attached
pcib3: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pcib3:   domain            0
pcib3:   secondary bus     3
pcib3:   subordinate bus   3
pcib3:   no prefetched decode
pci3: <ACPI PCI bus> on pcib3
pci3: domain=0, physical bus=3
pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
pcib0: allocated type 4 (0xd000-0xdfff) for rid 1c of pcib4
pcib0: allocated type 3 (0xfb700000-0xfb7fffff) for rid 20 of pcib4
pcib4:   domain            0
pcib4:   secondary bus     4
pcib4:   subordinate bus   4
pcib4:   I/O decode        0xd000-0xdfff
pcib4:   memory decode     0xfb700000-0xfb7fffff
pcib4:   no prefetched decode
pci4: <ACPI PCI bus> on pcib4
pci4: domain=0, physical bus=4
found-> vendor=0x8086, dev=0x10d3, revid=0x00
         domain=0, bus=4, slot=0, func=0
         class=02-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         intpin=a, irq=11
         powerspec 2  supports D0 D3  current D0
         MSI supports 1 message, 64 bit
         MSI-X supports 5 messages in map 0x1c
         map[10]: type Memory, range 32, base rxfb700000, size 17, enabled
pcib4: allocated memory range (0xfb700000-0xfb71ffff) for rid 10 of 
pci0:4:0:0
         map[18]: type I/O Port, range 32, base rxd000, size  5, enabled
pcib4: allocated I/O port range (0xd000-0xd01f) for rid 18 of pci0:4:0:0
         map[1c]: type Memory, range 32, base rxfb720000, size 14, enabled
pcib4: allocated memory range (0xfb720000-0xfb723fff) for rid 1c of 
pci0:4:0:0
pcib4: matched entry for 4.0.INTA
pcib4: slot 0 INTA hardwired to IRQ 16
em1: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0xd000-0xd01f mem 
0xfb700000-0xfb71ffff,0xfb720000-0xfb723fff irq 16 at device 0.0 on pci4
em1: attempting to allocate 3 MSI-X vectors (5 supported)
msi: routing MSI-X IRQ 265 to local APIC 0 vector 61
msi: routing MSI-X IRQ 266 to local APIC 0 vector 62
msi: routing MSI-X IRQ 267 to local APIC 0 vector 63
em1: using IRQs 265-267 for MSI-X
em1: Using MSIX interrupts with 3 vectors
em1: bpf attached
em1: Ethernet address: 00:25:90:57:22:e0
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfb822000-0xfb8223ff irq 
23 at device 29.0 on pci0
ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 64
usbus1: EHCI version 1.0
usbus1 on ehci1
usbus1: bpf attached
ehci1: usbpf: Attached
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pcib0: allocated type 3 (0xfa800000-0xfb0fffff) for rid 20 of pcib5
pcib0: allocated type 3 (0xf9000000-0xf9ffffff) for rid 24 of pcib5
pcib5:   domain            0
pcib5:   secondary bus     5
pcib5:   subordinate bus   5
pcib5:   memory decode     0xfa800000-0xfb0fffff
pcib5:   prefetched decode 0xf9000000-0xf9ffffff
pcib5:   Subtractively decoded bridge.
pci5: <ACPI PCI bus> on pcib5
pci5: domain=0, physical bus=5
found-> vendor=0x102b, dev=0x0532, revid=0x0a
         domain=0, bus=5, slot=3, func=0
         class=03-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0007, statreg=0x0290, cachelnsz=16 (dwords)
         lattimer=0x40 (1920 ns), mingnt=0x10 (4000 ns), maxlat=0x20 
(8000 ns)
         intpin=a, irq=11
         powerspec 1  supports D0 D3  current D0
         map[10]: type Prefetchable Memory, range 32, base rxf9000000, 
size 24, enabled
pcib5: allocated prefetch range (0xf9000000-0xf9ffffff) for rid 10 of 
pci0:5:3:0
         map[14]: type Memory, range 32, base rxfb000000, size 14, enabled
pcib5: allocated memory range (0xfb000000-0xfb003fff) for rid 14 of 
pci0:5:3:0
         map[18]: type Memory, range 32, base rxfa800000, size 23, enabled
pcib5: allocated memory range (0xfa800000-0xfaffffff) for rid 18 of 
pci0:5:3:0
pcib5: matched entry for 5.3.INTA
pcib5: slot 3 INTA hardwired to IRQ 23
vgapci0: <VGA-compatible display> mem 
0xf9000000-0xf9ffffff,0xfb000000-0xfb003fff,0xfa800000-0xfaffffff irq 23 
at device 3.0 on pci5
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Cougar Point AHCI SATA controller> port 
0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf000-0xf01f 
mem 0xfb821000-0xfb8217ff irq 19 at device 31.2 on pci0
ahci0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 268 to local APIC 0 vector 65
ahci0: using IRQ 268 for MSI
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahci0: Caps: 64bit NCQ SNTF AL CLO 6Gbps PMD SSC PSC 32cmd EM 6ports
ahci0: Caps2: APST
ahci0: EM Caps: ALHD XMT SMB LED
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: Caps:
ahcich1: not probed (disabled)
ahcich2: not probed (disabled)
ahcich3: not probed (disabled)
ahcich4: not probed (disabled)
ahcich5: not probed (disabled)
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
kbd0: atkbd0, generic (0), config:0x0, flags:0x3f0000
ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 0 vector 66
atkbd0: [GIANT-LOCKED]
psm0: unable to allocate IRQ
psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
psm0: current command byte:0065
psm0: failed to reset the aux device.
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0
ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 0 vector 67
uart0: fast interrupt
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
ioapic0: routing intpin 3 (ISA IRQ 3) to lapic 0 vector 68
uart1: fast interrupt
uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 flags 0x10 on acpi0
ioapic0: routing intpin 10 (ISA IRQ 10) to lapic 0 vector 69
uart2: fast interrupt
uart2: console (115200,n,8,1)
acpi0: wakeup code va 0xffffff814c653000 pa 0x10000
ex_isa_identify()
ahc_isa_probe 0: ioport 0xc00 alloc failed
ahc_isa_probe 1: ioport 0x1c00 alloc failed
ahc_isa_probe 2: ioport 0x2c00 alloc failed
ahc_isa_probe 3: ioport 0x3c00 alloc failed
ahc_isa_probe 4: ioport 0x4c00 alloc failed
ahc_isa_probe 5: ioport 0x5c00 alloc failed
ahc_isa_probe 6: ioport 0x6c00 alloc failed
ahc_isa_probe 7: ioport 0x7c00 alloc failed
ahc_isa_probe 8: ioport 0x8c00 alloc failed
ahc_isa_probe 9: ioport 0x9c00 alloc failed
ahc_isa_probe 10: ioport 0xac00 alloc failed
ahc_isa_probe 11: ioport 0xbc00 alloc failed
ahc_isa_probe 12: ioport 0xcc00 alloc failed
ahc_isa_probe 13: ioport 0xdc00 alloc failed
ahc_isa_probe 14: ioport 0xec00 alloc failed
pcib0: allocated type 3 (0xa0000-0xa07ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa0800-0xa0fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa1000-0xa17ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa1800-0xa1fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa2000-0xa27ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa2800-0xa2fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa3000-0xa37ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa3800-0xa3fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa4000-0xa47ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa4800-0xa4fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa5000-0xa57ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa5800-0xa5fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa6000-0xa67ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa6800-0xa6fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa7000-0xa77ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa7800-0xa7fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa8000-0xa87ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa8800-0xa8fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa9000-0xa97ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa9800-0xa9fff) for rid 0 of orm0
pcib0: allocated type 3 (0xaa000-0xaa7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xaa800-0xaafff) for rid 0 of orm0
pcib0: allocated type 3 (0xab000-0xab7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xab800-0xabfff) for rid 0 of orm0
pcib0: allocated type 3 (0xac000-0xac7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xac800-0xacfff) for rid 0 of orm0
pcib0: allocated type 3 (0xad000-0xad7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xad800-0xadfff) for rid 0 of orm0
pcib0: allocated type 3 (0xae000-0xae7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xae800-0xaefff) for rid 0 of orm0
pcib0: allocated type 3 (0xaf000-0xaf7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xaf800-0xaffff) for rid 0 of orm0
pcib0: allocated type 3 (0xb0000-0xb07ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb0800-0xb0fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb1000-0xb17ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb1800-0xb1fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb2000-0xb27ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb2800-0xb2fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb3000-0xb37ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb3800-0xb3fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb4000-0xb47ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb4800-0xb4fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb5000-0xb57ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb5800-0xb5fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb6000-0xb67ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb6800-0xb6fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb7000-0xb77ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb7800-0xb7fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb8000-0xb87ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb8800-0xb8fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb9000-0xb97ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb9800-0xb9fff) for rid 0 of orm0
pcib0: allocated type 3 (0xba000-0xba7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xba800-0xbafff) for rid 0 of orm0
pcib0: allocated type 3 (0xbb000-0xbb7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbb800-0xbbfff) for rid 0 of orm0
pcib0: allocated type 3 (0xbc000-0xbc7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbc800-0xbcfff) for rid 0 of orm0
pcib0: allocated type 3 (0xbd000-0xbd7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbd800-0xbdfff) for rid 0 of orm0
pcib0: allocated type 3 (0xbe000-0xbe7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbe800-0xbefff) for rid 0 of orm0
pcib0: allocated type 3 (0xbf000-0xbf7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbf800-0xbffff) for rid 0 of orm0
pcib0: allocated type 3 (0xc0000-0xc07ff) for rid 0 of orm0
pcib0: allocated type 3 (0xc0000-0xc7fff) for rid 0 of orm0
pcib0: allocated type 3 (0xc8000-0xc87ff) for rid 1 of orm0
pcib0: allocated type 3 (0xc8800-0xc8fff) for rid 1 of orm0
pcib0: allocated type 3 (0xc9000-0xc97ff) for rid 1 of orm0
pcib0: allocated type 3 (0xc9800-0xc9fff) for rid 1 of orm0
pcib0: allocated type 3 (0xca000-0xca7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xca800-0xcafff) for rid 1 of orm0
pcib0: allocated type 3 (0xcb000-0xcb7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xcb800-0xcbfff) for rid 1 of orm0
pcib0: allocated type 3 (0xcc000-0xcc7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xcc800-0xccfff) for rid 1 of orm0
pcib0: allocated type 3 (0xcd000-0xcd7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xcd800-0xcdfff) for rid 1 of orm0
pcib0: allocated type 3 (0xce000-0xce7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xce800-0xcefff) for rid 1 of orm0
pcib0: allocated type 3 (0xce800-0xcf7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xcf800-0xcffff) for rid 2 of orm0
pcib0: allocated type 3 (0xd0000-0xd07ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd0800-0xd0fff) for rid 2 of orm0
pcib0: allocated type 3 (0xd1000-0xd17ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd1800-0xd1fff) for rid 2 of orm0
pcib0: allocated type 3 (0xd2000-0xd27ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd2800-0xd2fff) for rid 2 of orm0
pcib0: allocated type 3 (0xd3000-0xd37ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd3800-0xd3fff) for rid 2 of orm0
pcib0: allocated type 3 (0xd4000-0xd47ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd4800-0xd4fff) for rid 2 of orm0
pcib0: allocated type 3 (0xd5000-0xd57ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd5800-0xd5fff) for rid 2 of orm0
pcib0: allocated type 3 (0xd6000-0xd67ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd6800-0xd6fff) for rid 2 of orm0
pcib0: allocated type 3 (0xd7000-0xd77ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd7800-0xd7fff) for rid 2 of orm0
pcib0: allocated type 3 (0xd8000-0xd87ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd8800-0xd8fff) for rid 2 of orm0
pcib0: allocated type 3 (0xd9000-0xd97ff) for rid 2 of orm0
pcib0: allocated type 3 (0xd9800-0xd9fff) for rid 2 of orm0
pcib0: allocated type 3 (0xda000-0xda7ff) for rid 2 of orm0
pcib0: allocated type 3 (0xda800-0xdafff) for rid 2 of orm0
pcib0: allocated type 3 (0xdb000-0xdb7ff) for rid 2 of orm0
pcib0: allocated type 3 (0xdb800-0xdbfff) for rid 2 of orm0
pcib0: allocated type 3 (0xdc000-0xdc7ff) for rid 2 of orm0
pcib0: allocated type 3 (0xdc800-0xdcfff) for rid 2 of orm0
pcib0: allocated type 3 (0xdd000-0xdd7ff) for rid 2 of orm0
pcib0: allocated type 3 (0xdd800-0xddfff) for rid 2 of orm0
pcib0: allocated type 3 (0xde000-0xde7ff) for rid 2 of orm0
pcib0: allocated type 3 (0xde800-0xdefff) for rid 2 of orm0
pcib0: allocated type 3 (0xdf000-0xdf7ff) for rid 2 of orm0
pcib0: allocated type 3 (0xdf800-0xdffff) for rid 2 of orm0
isa_probe_children: disabling PnP devices
ipmi0: <IPMI System Interface> on isa0
ipmi0: KCS mode found at io 0xca2 alignment 0x1 on isa
pcib0: allocated type 4 (0xca2-0xca3) for rid 0 of ipmi0
atkbdc: atkbdc0 already exists; skipping it
atrtc: atrtc0 already exists; skipping it
attimer: attimer0 already exists; skipping it
sc: sc0 already exists; skipping it
uart: uart0 already exists; skipping it
uart: uart1 already exists; skipping it
uart: uart2 already exists; skipping it
isa_probe_children: probing non-PnP devices
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xce800-0xcf7ff on isa0
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
pcib0: allocated type 4 (0x3c0-0x3df) for rid 0 of vga0
pcib0: allocated type 3 (0xa0000-0xbffff) for rid 0 of vga0
pcib0: allocated type 4 (0x3f0-0x3f5) for rid 0 of fdc0
pcib0: allocated type 4 (0x3f7-0x3f7) for rid 1 of fdc0
fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
ppc0: cannot reserve I/O port range
ppc0 failed to probe at irq 7 on isa0
wbwd0 failed to probe on isa0
isa_probe_children: probing PnP devices
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
coretemp0: Setting TjMax=94
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
coretemp1: Setting TjMax=94
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
coretemp2: <CPU On-Die Thermal Sensors> on cpu2
coretemp2: Setting TjMax=94
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
coretemp3: <CPU On-Die Thermal Sensors> on cpu3
coretemp3: Setting TjMax=94
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
Device configuration finished.
procfs registered
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
lapic: Divisor 2, Frequency 49887851 Hz
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
lo0: bpf attached
hptnr: no controller detected.
hptrr: no controller detected.
hpt27xx: no controller detected.
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ahcich0: AHCI reset...
ahcich0: SATA connect time=100us status=00000133
ugen0.1: <Intel> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ahcich0: AHCI reset: device found
ahcich0: AHCI reset: device ready after 0ms
ipmi0: IPMI device rev. 1, firmware rev. 1.86, version 2.0
ipmi0: Number of channels 2
ipmi0: Attached watchdog
pass0 at ahcich0 bus 0 scbus0 target 0 lun 0
pass0: <Corsair Force GT 1.3.2> ATA-8 SATA 3.x device
pass0: Serial Number 114182040000070203B5
pass0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
pass0: Command Queueing enabled
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <Corsair Force GT 1.3.2> ATA-8 SATA 3.x device
ada0: Serial Number 114182040000070203B5
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, GEOM: new disk ada0
PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 114473MB (234441648 512 byte sectors: 16H 63S/T 16383C)
ada0: quirks=0x1<4K>
ada0: Previously was known as ad4
lapic2: CMCI unmasked
lapic6: CMCI unmasked
lapic4: CMCI unmasked
SMP: AP CPU #1 Launched!
cpu1 AP:
      ID: 0x02000000   VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
    cmci: 0x000000f2
SMP: AP CPU #3 Launched!
cpu3 AP:
      ID: 0x06000000   VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
    cmci: 0x000000f2
SMP: AP CPU #2 Launched!
cpu2 AP:
      ID: 0x04000000   VER: 0x01060015 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
    cmci: 0x000000f2
ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 2 vector 48
ioapic0: routing intpin 3 (ISA IRQ 3) to lapic 4 vector 48
ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 6 vector 48
ioapic0: routing intpin 10 (ISA IRQ 10) to lapic 2 vector 49
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 4 vector 49
ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 6 vector 49
msi: Assigning MSI-X IRQ 257 to local APIC 2 vector 50
msi: Assigning MSI-X IRQ 258 to local APIC 4 vector 50
msi: Assigning MSI-X IRQ 259 to local APIC 6 vector 50
msi: Assigning MSI-X IRQ 265 to local APIC 2 vector 51
msi: Assigning MSI-X IRQ 266 to local APIC 4 vector 51
msi: Assigning MSI-X IRQ 267 to local APIC 6 vector 51
GEOM_PART: partition 1 is not aligned on 4096 bytes
GEOM_PART: partition 2 is not aligned on 4096 bytes
GEOM_PART: partition 3 is not aligned on 4096 bytes
GEOM_PART: partition 4 is not aligned on 4096 bytes
GEOM_PART: partition 5 is not aligned on 4096 bytes
SMP: passed TSC synchronization test
TSC timecounter discards lower 1 bit(s)
Timecounter "TSC-low" frequency 1546523298 Hz quality 1000
Root mount waiting for: usbus1 usbus0
uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
Root mount waiting for: usbus1 usbus0
ugen0.2: <vendor 0x8087> at usbus0
uhub2: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> 
on usbus0
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> 
on usbus1
Root mount waiting for: usbus1 usbus0
uhub3: 6 ports with 6 removable, self powered
uhub2: 6 ports with 6 removable, self powered
ugen0.3: <Winbond Electronics Corp> at usbus0
ums0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0, 
rev 1.10/0.01, addr 3> on usbus0
ums0: 3 buttons and [Z] coordinates ID=0
ukbd0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0, 
rev 1.10/0.01, addr 3> on usbus0
kbd2 at ukbd0
kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000
Root mount waiting for: usbus0
usb_alloc_device: set address 4 failed (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, 
USB_ERR_STALLED
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_STALLED, 
ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, 
USB_ERR_STALLED
Root mount waiting for: usbus0
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_STALLED, 
ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, 
USB_ERR_STALLED
ugen0.4: <Unknown> at usbus0 (disconnected)
uhub_reattach_port: could not allocate new device
Trying to mount root from zfs:glroot/root []...
start_init: trying /sbin/init
lagg0: bpf attached
vlan200: bpf attached
vlan201: bpf attached
vlan202: bpf attached
pflog0: bpf attached
Comment 3 John Baldwin freebsd_committer freebsd_triage 2013-08-09 19:05:46 UTC
The mps(4) driver is just broken.  9.2 includes a fix that if your BIOS 
writers can't do simple math and allocate conflicting resources, it disables 
decoding of the device where it finds the conflict.  Later if a device driver 
expicitly asks to use that resource, the PCI bus will allocate a fresh 
resource range that doesn't conflict if possible.  If it suceeds it re-enables 
decoding.  The mps(4) driver checks to see if decoding is enabled before it 
calls bus_alloc_resource().  It should not.  It should assume that if 
bus_alloc_resource() succeeds, everything is fine and decoding will be 
enabled.  Try this fix:

Index: mps_pci.c
===================================================================
--- mps_pci.c	(revision 254147)
+++ mps_pci.c	(working copy)
@@ -183,7 +183,6 @@ mps_pci_attach(device_t dev)
 {
 	struct mps_softc *sc;
 	struct mps_ident *m;
-	uint16_t command;
 	int error;
 
 	sc = device_get_softc(dev);
@@ -193,18 +192,7 @@ mps_pci_attach(device_t dev)
 	sc->mps_flags = m->flags;
 
 	/* Twiddle basic PCI config bits for a sanity check */
-	command = pci_read_config(dev, PCIR_COMMAND, 2);
-	command |= PCIM_CMD_BUSMASTEREN;
-	pci_write_config(dev, PCIR_COMMAND, command, 2);
-	command = pci_read_config(dev, PCIR_COMMAND, 2);
-	if ((command & PCIM_CMD_BUSMASTEREN) == 0) {
-		mps_printf(sc, "Cannot enable PCI busmaster\n");
-		return (ENXIO);
-	}
-	if ((command & PCIM_CMD_MEMEN) == 0) {
-		mps_printf(sc, "PCI memory window not available\n");
-		return (ENXIO);
-	}
+	pci_enable_busmaster(dev);
 
 	/* Allocate the System Interface Register Set */
 	sc->mps_regs_rid = PCIR_BAR(1);

-- 
John Baldwin
Comment 4 Christopher Harrison 2013-08-09 19:15:23 UTC
I upgraded the bios and it appears that this fixed the issue.   I wish I 
had a board running the old bios version now to test this new code.
Thanks for all your help in debugging this issue.
     -C



On 08/09/13 13:05, John Baldwin wrote:
> The mps(4) driver is just broken.  9.2 includes a fix that if your BIOS
> writers can't do simple math and allocate conflicting resources, it disables
> decoding of the device where it finds the conflict.  Later if a device driver
> expicitly asks to use that resource, the PCI bus will allocate a fresh
> resource range that doesn't conflict if possible.  If it suceeds it re-enables
> decoding.  The mps(4) driver checks to see if decoding is enabled before it
> calls bus_alloc_resource().  It should not.  It should assume that if
> bus_alloc_resource() succeeds, everything is fine and decoding will be
> enabled.  Try this fix:
>
> Index: mps_pci.c
> ===================================================================
> --- mps_pci.c	(revision 254147)
> +++ mps_pci.c	(working copy)
> @@ -183,7 +183,6 @@ mps_pci_attach(device_t dev)
>   {
>   	struct mps_softc *sc;
>   	struct mps_ident *m;
> -	uint16_t command;
>   	int error;
>
>   	sc = device_get_softc(dev);
> @@ -193,18 +192,7 @@ mps_pci_attach(device_t dev)
>   	sc->mps_flags = m->flags;
>
>   	/* Twiddle basic PCI config bits for a sanity check */
> -	command = pci_read_config(dev, PCIR_COMMAND, 2);
> -	command |= PCIM_CMD_BUSMASTEREN;
> -	pci_write_config(dev, PCIR_COMMAND, command, 2);
> -	command = pci_read_config(dev, PCIR_COMMAND, 2);
> -	if ((command&  PCIM_CMD_BUSMASTEREN) == 0) {
> -		mps_printf(sc, "Cannot enable PCI busmaster\n");
> -		return (ENXIO);
> -	}
> -	if ((command&  PCIM_CMD_MEMEN) == 0) {
> -		mps_printf(sc, "PCI memory window not available\n");
> -		return (ENXIO);
> -	}
> +	pci_enable_busmaster(dev);
>
>   	/* Allocate the System Interface Register Set */
>   	sc->mps_regs_rid = PCIR_BAR(1);
>
Comment 5 John Baldwin freebsd_committer freebsd_triage 2013-08-09 19:40:35 UTC
On Friday, August 09, 2013 2:15:23 pm Christopher D. Harrison wrote:
> I upgraded the bios and it appears that this fixed the issue.   I wish I 
> had a board running the old bios version now to test this new code.
> Thanks for all your help in debugging this issue.
>      -C

Hmm, so actually a fair number of drivers check the command register in this
fashion which did "work" in older versions.  I am working on a sweep of the
tree to fix these, but we will probably want this fix in 9.2 if possible.

Note that the relevant fix in 9.2 fixed a regression in 9.1, so backing out
the PCI change from 9.2 isn't really a win. :(

> On 08/09/13 13:05, John Baldwin wrote:
> > The mps(4) driver is just broken.  9.2 includes a fix that if your BIOS
> > writers can't do simple math and allocate conflicting resources, it disables
> > decoding of the device where it finds the conflict.  Later if a device driver
> > expicitly asks to use that resource, the PCI bus will allocate a fresh
> > resource range that doesn't conflict if possible.  If it suceeds it re-enables
> > decoding.  The mps(4) driver checks to see if decoding is enabled before it
> > calls bus_alloc_resource().  It should not.  It should assume that if
> > bus_alloc_resource() succeeds, everything is fine and decoding will be
> > enabled.  Try this fix:
> >
> > Index: mps_pci.c
> > ===================================================================
> > --- mps_pci.c	(revision 254147)
> > +++ mps_pci.c	(working copy)
> > @@ -183,7 +183,6 @@ mps_pci_attach(device_t dev)
> >   {
> >   	struct mps_softc *sc;
> >   	struct mps_ident *m;
> > -	uint16_t command;
> >   	int error;
> >
> >   	sc = device_get_softc(dev);
> > @@ -193,18 +192,7 @@ mps_pci_attach(device_t dev)
> >   	sc->mps_flags = m->flags;
> >
> >   	/* Twiddle basic PCI config bits for a sanity check */
> > -	command = pci_read_config(dev, PCIR_COMMAND, 2);
> > -	command |= PCIM_CMD_BUSMASTEREN;
> > -	pci_write_config(dev, PCIR_COMMAND, command, 2);
> > -	command = pci_read_config(dev, PCIR_COMMAND, 2);
> > -	if ((command&  PCIM_CMD_BUSMASTEREN) == 0) {
> > -		mps_printf(sc, "Cannot enable PCI busmaster\n");
> > -		return (ENXIO);
> > -	}
> > -	if ((command&  PCIM_CMD_MEMEN) == 0) {
> > -		mps_printf(sc, "PCI memory window not available\n");
> > -		return (ENXIO);
> > -	}
> > +	pci_enable_busmaster(dev);
> >
> >   	/* Allocate the System Interface Register Set */
> >   	sc->mps_regs_rid = PCIR_BAR(1);
> >
> 
> 

-- 
John Baldwin
Comment 6 Christopher Harrison 2013-09-28 17:57:02 UTC
The patch does appear to have fixed the issue lsi hba connection issue.
Comment 7 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 13:39:57 UTC
IIRC this was fixed between 9.3/10.0/10.1...?
Comment 8 John Baldwin freebsd_committer freebsd_triage 2015-11-10 17:54:28 UTC
Yes, 9.3 has this fixed.  The relevant commit to stable/9 is https://svnweb.freebsd.org/base?view=revision&revision=254306.

This is a rather large change to merge as an EN, so I suspect it will not be merged as an EN for 9.2 at this (relatively) late date.