RE: run interrupt driven hooks: still waiting for xpt_config

From: Daniel Eriksson <daniel_at_toomuchdata.se>
Date: Sat, 15 Aug 2009 01:19:21 +0200
Marc UBM wrote:

> Still no difference, so this really seems to point to a problem
> in the hptrr driver (possibly made visible by the ata overhaul?).

I'm having similar problems with a newly built box. Using RELENG_8 from
a few days ago it runs fine, but refuses to boot when I plug in my
Highpoint RocketRAID 2340 card.

It boots up and works fine using RELENG_7 from yesterday. Below is the
dmesg and pciconf output.

The motherboard is a Gigabyte GA-MA78G-DS3H (AMD 780G/SB700 chipset).

/Daniel Eriksson


Copyright (c) 1992-2009 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 7.2-STABLE #0: Thu Aug 13 16:19:00 CEST 2009
    root_at_xxx:/usr/obj/usr/src/sys/XXX
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (3114.20-MHz
K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x60fb2  Stepping = 2
 
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=0x2001<SSE3,CX16>
  AMD
Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
  TSC: P-state invariant
  Cores per package: 2
usable memory = 4149313536 (3957 MB)
avail memory  = 3980779520 (3796 MB)
ACPI APIC Table: <GBT    GBTUACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <GBT GBTUACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, cfce0000 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xee00-0xeeff mem
0xd8000000-0xdfffffff,0xfdde0000-0xfddeffff,0xfdc00000-0xfdcfffff irq 18
at device 5.0 on pci1
pci1: <multimedia, HDA> at device 5.1 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> irq 18 at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <PCI-PCI bridge> at device 0.0 on pci2
pci3: <PCI bus> on pcib3
hptrr0: <sx508x> port 0xde00-0xdeff mem 0xfda00000-0xfdafffff irq 18 at
device 4.0 on pci3
hptrr: adapter at PCI 3:4:0, IRQ 18
pcib4: <PCI-PCI bridge> at device 0.2 on pci2
pci4: <PCI bus> on pcib4
hptrr1: <sx508x> port 0xce00-0xceff mem 0xfd800000-0xfd8fffff irq 18 at
device 4.0 on pci4
hptrr: adapter at PCI 4:4:0, IRQ 18
pcib5: <ACPI PCI-PCI bridge> irq 18 at device 10.0 on pci0
pci5: <ACPI PCI bus> on pcib5
re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe
Gigabit Ethernet> port 0xbe00-0xbeff mem
0xfdeff000-0xfdefffff,0xfdee0000-0xfdeeffff irq 18 at device 0.0 on pci5
re0: Using 1 MSI messages
re0: Chip rev. 0x3c000000
re0: MAC rev. 0x00400000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
re0: Ethernet address: 00:1f:d0:9f:04:9b
re0: [FILTER]
atapci0: <ATI AHCI controller> port
0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f
mem 0xfe02f000-0xfe02f3ff irq 22 at device 17.0 on pci0
atapci0: [ITHREAD]
atapci0: AHCI Version 01.10 controller with 6 ports detected
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
ata6: <ATA channel 4> on atapci0
ata6: [ITHREAD]
ata7: <ATA channel 5> on atapci0
ata7: [ITHREAD]
ohci0: <OHCI (generic) USB controller> mem 0xfe02e000-0xfe02efff irq 16
at device 18.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfe02d000-0xfe02dfff irq 16
at device 18.1 on pci0
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 3 ports with 3 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02c000-0xfe02c0ff irq
17 at device 18.2 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 3 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
uhub2: 6 ports with 6 removable, self powered
ohci2: <OHCI (generic) USB controller> mem 0xfe02b000-0xfe02bfff irq 18
at device 19.0 on pci0
ohci2: [GIANT-LOCKED]
ohci2: [ITHREAD]
usb3: OHCI version 1.0, legacy support
usb3: SMM does not respond, resetting
usb3: <OHCI (generic) USB controller> on ohci2
usb3: USB revision 1.0
uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 3 ports with 3 removable, self powered
ohci3: <OHCI (generic) USB controller> mem 0xfe02a000-0xfe02afff irq 18
at device 19.1 on pci0
ohci3: [GIANT-LOCKED]
ohci3: [ITHREAD]
usb4: OHCI version 1.0, legacy support
usb4: SMM does not respond, resetting
usb4: <OHCI (generic) USB controller> on ohci3
usb4: USB revision 1.0
uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 3 ports with 3 removable, self powered
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfe029000-0xfe0290ff irq
19 at device 19.2 on pci0
ehci1: [GIANT-LOCKED]
ehci1: [ITHREAD]
usb5: EHCI version 1.0
usb5: companion controllers, 3 ports each: usb3 usb4
usb5: <EHCI (generic) USB 2.0 controller> on ehci1
usb5: USB revision 2.0
uhub5: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb5
uhub5: 6 ports with 6 removable, self powered
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci1: <ATI IXP700 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 20.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib6: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci6: <ACPI PCI bus> on pcib6
ohci4: <OHCI (generic) USB controller> mem 0xfe028000-0xfe028fff irq 18
at device 20.5 on pci0
ohci4: [GIANT-LOCKED]
ohci4: [ITHREAD]
usb6: OHCI version 1.0, legacy support
usb6: SMM does not respond, resetting
usb6: <OHCI (generic) USB controller> on ohci4
usb6: USB revision 1.0
uhub6: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
uhub6: 2 ports with 2 removable, self powered
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
cpu0: <ACPI CPU> on acpi0
powernow0: <PowerNow! K8> on cpu0
cpu1: <ACPI CPU> on acpi0
powernow1: <PowerNow! K8> on cpu1
cryptosoft0: <software crypto> on motherboard
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
Timecounters tick every 1.000 msec
hptrr: start channel [1,0]
hptrr: start channel [1,1]
hptrr: start channel [1,2]
hptrr: start channel [1,3]
hptrr: start channel [1,4]
hptrr: start channel [1,5]
hptrr: start channel [1,6]
hptrr: start channel [1,7]
hptrr: channel [1,0] started successfully
hptrr: channel [1,1] started successfully
hptrr: channel [1,2] started successfully
hptrr: channel [1,3] started successfully
hptrr: channel [1,4] started successfully
hptrr: channel [1,5] started successfully
hptrr: channel [1,6] started successfully
hptrr: channel [1,7] started successfully
hptrr1: [GIANT-LOCKED]
hptrr1: [ITHREAD]
hptrr0: [GIANT-LOCKED]
hptrr0: [ITHREAD]
ad4: 305244MB <SAMSUNG HD322HJ 1AC01113> at ata2-master SATA300
ad8: 953868MB <SAMSUNG HD103UJ 1AA01113> at ata4-master SATA300
ad10: 953869MB <SAMSUNG HD103UJ 1AA01113> at ata5-master SATA300
da0 at hptrr0 bus 0 target 0 lun 0
da0: <HPT DISK 0_0 4.00> Fixed Direct Access SCSI-0 device
da1 at hptrr0 bus 0 target 1 lun 0
da1: <HPT DISK 0_1 4.00> Fixed Direct Access SCSI-0 device
da2 at hptrr0 bus 0 target 2 lun 0
da2: <HPT DISK 0_2 4.00> Fixed Direct Access SCSI-0 device
da3 at hptrr0 bus 0 target 3 lun 0
da3: <HPT DISK 0_3 4.00> Fixed Direct Access SCSI-0 device
da4 at hptrr0 bus 0 target 4 lun 0
da4: <HPT DISK 0_4 4.00> Fixed Direct Access SCSI-0 device
da5 at hptrr0 bus 0 target 5 lun 0
da5: <HPT DISK 0_5 4.00> Fixed Direct Access SCSI-0 device
da6 at hptrr0 bus 0 target 6 lun 0
da6: <HPT DISK 0_6 4.00> Fixed Direct Access SCSI-0 device
da7 at hptrr0 bus 0 target 7 lun 0
da7: <HPT DISK 0_7 4.00> Fixed Direct Access SCSI-0 device
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad4s1a


# pciconf -lv
hostb0_at_pci0:0:0:0:      class=0x060000 card=0x96001022 chip=0x96001022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    class      = bridge
    subclass   = HOST-PCI
pcib1_at_pci0:0:1:0:       class=0x060400 card=0x96021022 chip=0x96021022
rev=0x00 hdr=0x01
    vendor     = 'Advanced Micro Devices (AMD)'
    class      = bridge
    subclass   = PCI-PCI
pcib2_at_pci0:0:2:0:       class=0x060400 card=0x96001022 chip=0x96031022
rev=0x00 hdr=0x01
    vendor     = 'Advanced Micro Devices (AMD)'
    class      = bridge
    subclass   = PCI-PCI
pcib5_at_pci0:0:10:0:      class=0x060400 card=0x96001022 chip=0x96091022
rev=0x00 hdr=0x01
    vendor     = 'Advanced Micro Devices (AMD)'
    class      = bridge
    subclass   = PCI-PCI
atapci0_at_pci0:0:17:0:    class=0x010601 card=0xb0021458 chip=0x43911002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'SB700 SATA Controller [AHCI mode]'
    class      = mass storage
    subclass   = SATA
ohci0_at_pci0:0:18:0:      class=0x0c0310 card=0x50041458 chip=0x43971002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'SB700 USB OHCI0 Controller'
    class      = serial bus
    subclass   = USB
ohci1_at_pci0:0:18:1:      class=0x0c0310 card=0x50041458 chip=0x43981002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'SB700 USB OHCI1 Controller'
    class      = serial bus
    subclass   = USB
ehci0_at_pci0:0:18:2:      class=0x0c0320 card=0x50041458 chip=0x43961002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'SB700 USB EHCI Controller'
    class      = serial bus
    subclass   = USB
ohci2_at_pci0:0:19:0:      class=0x0c0310 card=0x50041458 chip=0x43971002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'SB700 USB OHCI0 Controller'
    class      = serial bus
    subclass   = USB
ohci3_at_pci0:0:19:1:      class=0x0c0310 card=0x50041458 chip=0x43981002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'SB700 USB OHCI1 Controller'
    class      = serial bus
    subclass   = USB
ehci1_at_pci0:0:19:2:      class=0x0c0320 card=0x50041458 chip=0x43961002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'SB700 USB EHCI Controller'
    class      = serial bus
    subclass   = USB
none0_at_pci0:0:20:0:      class=0x0c0500 card=0x43851458 chip=0x43851002
rev=0x3a hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'ATI SMBus (ATI RD600/RS600)'
    class      = serial bus
    subclass   = SMBus
atapci1_at_pci0:0:20:1:    class=0x01018a card=0x50021458 chip=0x439c1002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'PATA 133 Controller (SB7xx)'
    class      = mass storage
    subclass   = ATA
isab0_at_pci0:0:20:3:      class=0x060100 card=0x439d1002 chip=0x439d1002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'SB700 LPC host controller'
    class      = bridge
    subclass   = PCI-ISA
pcib6_at_pci0:0:20:4:      class=0x060401 card=0x00000000 chip=0x43841002
rev=0x00 hdr=0x01
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'IXP SB600 PCI to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
ohci4_at_pci0:0:20:5:      class=0x0c0310 card=0x50041458 chip=0x43991002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'SB700 USB OHCI2 Controller'
    class      = serial bus
    subclass   = USB
hostb1_at_pci0:0:24:0:     class=0x060000 card=0x00000000 chip=0x11001022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon64/Opteron/Sempron (K8 Family) HyperTransport
Technology Configuration'
    class      = bridge
    subclass   = HOST-PCI
hostb2_at_pci0:0:24:1:     class=0x060000 card=0x00000000 chip=0x11011022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon64/Opteron/Sempron (K8 Family) Address Map'
    class      = bridge
    subclass   = HOST-PCI
hostb3_at_pci0:0:24:2:     class=0x060000 card=0x00000000 chip=0x11021022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon64/Opteron/Sempron (K8 Family) DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
hostb4_at_pci0:0:24:3:     class=0x060000 card=0x00000000 chip=0x11031022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon64/Opteron/Sempron (K8 Family) Miscellaneous
Control'
    class      = bridge
    subclass   = HOST-PCI
vgapci0_at_pci0:1:5:0:     class=0x030000 card=0xd0001458 chip=0x96101002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'Radeon HD 3200 Integrated Graphics Processor (780G)'
    class      = display
    subclass   = VGA
none1_at_pci0:1:5:1:       class=0x040300 card=0x960f1458 chip=0x960f1002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    class      = multimedia
    subclass   = HDA
pcib3_at_pci0:2:0:0:       class=0x060400 card=0x00000000 chip=0x03408086
rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '41210 [Lanai] Serial to Parallel PCI Bridge A-segment
Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcib4_at_pci0:2:0:2:       class=0x060400 card=0x00000000 chip=0x03418086
rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '41210 [Lanai] Serial to Parallel PCI Bridge B-segment
Bridge'
    class      = bridge
    subclass   = PCI-PCI
hptrr0_at_pci0:3:4:0:      class=0x010000 card=0x11ab11ab chip=0x23401103
rev=0x09 hdr=0x00
    vendor     = 'Triones Technologies Inc. (HighPoint)'
    device     = 'RocketRAID 2340 16 Port SATA-II Controller'
    class      = mass storage
    subclass   = SCSI
hptrr1_at_pci0:4:4:0:      class=0x010000 card=0x11ab11ab chip=0x23401103
rev=0x09 hdr=0x00
    vendor     = 'Triones Technologies Inc. (HighPoint)'
    device     = 'RocketRAID 2340 16 Port SATA-II Controller'
    class      = mass storage
    subclass   = SCSI
re0_at_pci0:5:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x02
hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111)'
    class      = network
    subclass   = ethernet
Received on Fri Aug 14 2009 - 22:28:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC