Re: Problems with Atheros card/pci on via VT8237A

From: Sam Leffler <sam_at_errno.com>
Date: Sat, 09 Feb 2008 13:17:14 -0800
Roland van Laar wrote:
> Hello,
>
> I have a Fujitsu-Siemens Amilo Pro V3515 Laptop.
> The problem is that the Atheros Card isn't detected properly, and 
> if_ath can't attach.
> dmesg and pciconf -lv output is from current 9 February and attached 
> at the bottom.
>
> The interesting thing is dat if_ath doesn't attach, but shows up as 
> ath0 in pciconf.
> If if_ath is loaded before snd_hda is loaded, if_ath tries to attach 
> itself again.
> Sound works, but the Atheros card doesn't.
> The same thing happens under FreeBSD 6 and 7-RC1.
> It als happens in the same way with a proper ndis-driver.
>
> My guess is that there is a pci routing problem on the southbrigde.
> The VT8237A has had it share of unsupported problems in the past,
> but those were primarily ATA related
>
> Note, both madwifi and ndis work under ubuntu.
>
> Regards,
>
> Roland van Laar
>
> Relevant dmesg output:
> #kldload snd_hda
> pcm0: <VIA VT8251/8237A High Definition Audio Controller> mem 
> 0xc9100000-0xc9103fff irq 17 at device 1.0 on pci4
> pcm0: [ITHREAD]
> pcm0: <HDA Codec: Conexant Venice>
> pcm0: <HDA Driver Revision: 20071129_0050>
> #kldload if_ath
> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, 
> RF5413)
> ath0: <Atheros 5212> mem 0xc9000000-0xc900ffff irq 18 at device 1.0 on 
> pci5
> ath0: [ITHREAD]
> ath0: unable to attach hardware; HAL status 3
> device_attach: ath0 attach returned 6
> #kldunload snd_hda
> pcm0: detached
> #kldload snd_hda
> pcm0: <VIA VT8251/8237A High Definition Audio Controller> mem 
> 0xc9100000-0xc9103fff irq 17 at device 1.0 on pci4
> pcm0: [ITHREAD]
> pcm0: <HDA Codec: Conexant Venice>
> pcm0: <HDA Driver Revision: 20071129_0050>
> // Without a kldload, if_ath tries to reattach itself again.
> ath0: <Atheros 5212> mem 0xc9000000-0xc900ffff irq 18 at device 1.0 on 
> pci5
> ath0: [ITHREAD]
> ath0: unable to attach hardware; HAL status 3
> device_attach: ath0 attach returned 6
>
> Full pciconf -lv:
> hostb0_at_pci0:0:0:0:      class=0x060000 card=0x03641106 chip=0x03641106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb1_at_pci0:0:0:1:      class=0x060000 card=0x00000000 chip=0x13641106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb2_at_pci0:0:0:2:      class=0x060000 card=0x00000000 chip=0x23641106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb3_at_pci0:0:0:3:      class=0x060000 card=0x00000000 chip=0x33641106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb4_at_pci0:0:0:4:      class=0x060000 card=0x00000000 chip=0x43641106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> ioapic0_at_pci0:0:0:5:     class=0x080020 card=0x00000000 chip=0x53641106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 I/O APIC Interrupt Controller'
>     class      = base peripheral
>     subclass   = interrupt controller
> hostb5_at_pci0:0:0:6:      class=0x060000 card=0x00000000 chip=0x63641106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 Security Device'
>     class      = bridge
>     subclass   = HOST-PCI
> hostb6_at_pci0:0:0:7:      class=0x060000 card=0x00000000 chip=0x73641106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 Host Bridge'
>     class      = bridge
>     subclass   = HOST-PCI
> pcib1_at_pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0xb1981106 
> rev=0x00 hdr=0x01
>     vendor     = 'VIA Technologies Inc'
>     device     = 'ProSavageDDR P4X600,Apollo KT400/A/600 CPU to AGP 
> Bridge'
>     class      = bridge
>     subclass   = PCI-PCI
> pcib2_at_pci0:0:2:0:       class=0x060400 card=0xc3231106 chip=0xa3641106 
> rev=0x80 hdr=0x01
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 PCI to PCI Bridge Controller'
>     class      = bridge
>     subclass   = PCI-PCI
> pcib3_at_pci0:0:3:0:       class=0x060400 card=0xc3231106 chip=0xc3641106 
> rev=0x80 hdr=0x01
>     vendor     = 'VIA Technologies Inc'
>     device     = 'P4M900 PCI to PCI Bridge Controller'
>     class      = bridge
>     subclass   = PCI-PCI
> atapci0_at_pci0:0:15:0:    class=0x01018f card=0x10cb1734 chip=0x05911106 
> rev=0x80 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT8237A VIA VT8237A SATA RAID Controller'
>     class      = mass storage
>     subclass   = ATA
> atapci1_at_pci0:0:15:1:    class=0x01018a card=0x10cb1734 chip=0x05711106 
> rev=0x07 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT82C586A/B/VT82C686/A/B/VT823x/A/C Bus Master IDE 
> Controller'
>     class      = mass storage
>     subclass   = ATA
> uhci0_at_pci0:0:16:0:      class=0x0c0300 card=0x10cb1734 chip=0x30381106 
> rev=0xa0 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal 
> Host Controller'
>     class      = serial bus
>     subclass   = USB
> uhci1_at_pci0:0:16:1:      class=0x0c0300 card=0x10cb1734 chip=0x30381106 
> rev=0xa0 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal 
> Host Controller'
>     class      = serial bus
>     subclass   = USB
> uhci2_at_pci0:0:16:2:      class=0x0c0300 card=0x10cb1734 chip=0x30381106 
> rev=0xa0 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal 
> Host Controller'
>     class      = serial bus
>     subclass   = USB
> uhci3_at_pci0:0:16:3:      class=0x0c0300 card=0x10cb1734 chip=0x30381106 
> rev=0xa0 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal 
> Host Controller'
>     class      = serial bus
>     subclass   = USB
> ehci0_at_pci0:0:16:4:      class=0x0c0320 card=0x10cb1734 chip=0x31041106 
> rev=0x86 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT6202/12 USB 2.0 Enhanced Host Controller'
>     class      = serial bus
>     subclass   = USB
> isab0_at_pci0:0:17:0:      class=0x060100 card=0x10cb1734 chip=0x33371106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT8237A Standard PCI to ISA Bridge'
>     class      = bridge
>     subclass   = PCI-ISA
> hostb7_at_pci0:0:17:7:     class=0x060000 card=0x337e1106 chip=0x287e1106 
> rev=0x00 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT8251 Ultra VLINK Controller'
>     class      = bridge
>     subclass   = HOST-PCI
> vr0_at_pci0:0:18:0:        class=0x020000 card=0x10cb1734 chip=0x30651106 
> rev=0x7c hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT6102 Rhine II PCI Fast Ethernet Controller||Used 
> by GERICOM in laptop Webengine Advanced'
>     class      = network
>     subclass   = ethernet
> pcib4_at_pci0:0:19:0:      class=0x060400 card=0x337b1106 chip=0x337b1106 
> rev=0x00 hdr=0x01
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT8237A Standard PCI to PCIe Bridge'
>     class      = bridge
>     subclass   = PCI-PCI
> pcib5_at_pci0:0:19:1:      class=0x060401 card=0x337a1106 chip=0x337a1106 
> rev=0x00 hdr=0x01
>     vendor     = 'VIA Technologies Inc'
>     device     = 'VT8237A Standard PCI to PCI Bridge'
>     class      = bridge
>     subclass   = PCI-PCI
> vgapci0_at_pci0:1:0:0:     class=0x030000 card=0x10cb1734 chip=0x33711106 
> rev=0x01 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     class      = display
>     subclass   = VGA
> pcm0_at_pci0:4:1:0:       class=0x040300 card=0x10cb1734 chip=0x32881106 
> rev=0x10 hdr=0x00
>     vendor     = 'VIA Technologies Inc'
>     device     = '??? VIA VT8251/8237A High Definition Audio 
> Controller - HDA Codec Realtek ALC660'
>     class      = multimedia
> none0_at_pci0:5:1:0:       class=0x020000 card=0x2052168c chip=0x001a168c 
> rev=0x01 hdr=0x00
>     vendor     = 'Atheros Communications Inc.'
>     device     = 'Atheros AR5005G Atheros AR5005G 802.11abg NIC 
> Chipset / TP-Link (TL-WN551G)'
>     class      = network
>     subclass   = ethernet
>
>
> Full dmesg:
> Copyright (c) 1992-2008 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 8.0-CURRENT #0: Sat Feb  9 18:15:51 CET 2008
>     root_at_MiMuurHuis.micite.net:/usr/obj/usr/src/sys/MiKernel
> WARNING: WITNESS option enabled, expect reduced performance.
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Genuine Intel(R) CPU           T2080  _at_ 1.73GHz (1729.01-MHz 
> 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x6ec  Stepping = 12
>   
> Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> 
>
>   Features2=0xc189<SSE3,MON,EST,TM2,xTPR,PDCM>
>   AMD Features=0x100000<NX>
>   Cores per package: 2
> real memory  = 803799040 (766 MB)
> avail memory = 773443584 (737 MB)
> ACPI APIC Table: <PTLTD          APIC  >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> MADT: Forcing active-low polarity and level trigger for SCI
> ioapic0 <Version 0.3> irqs 0-23 on motherboard
> ioapic1 <Version 0.3> irqs 24-47 on motherboard
> registered firmware set <isp_1040>
> registered firmware set <isp_1040_it>
> registered firmware set <isp_1080>
> registered firmware set <isp_1080_it>
> registered firmware set <isp_12160>
> registered firmware set <isp_12160_it>
> registered firmware set <isp_2100>
> registered firmware set <isp_2200>
> registered firmware set <isp_2300>
> registered firmware set <isp_2322>
> registered firmware set <isp_2400>
> kbd1 at kbdmux0
> acpi0: <FSC PC> on motherboard
> acpi0: [ITHREAD]
> acpi0: Power Button (fixed)
> acpi0: reservation of f0013000, 1000 (3) failed
> acpi0: reservation of 0, a0000 (3) failed
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> cpu0: <ACPI CPU> on acpi0
> est0: <Enhanced SpeedStep Frequency Control> on cpu0
> p4tcc0: <CPU Frequency Thermal Control> on cpu0
> cpu1: <ACPI CPU> on acpi0
> est1: <Enhanced SpeedStep Frequency Control> on cpu1
> p4tcc1: <CPU Frequency Thermal Control> on cpu1
> acpi_button0: <Power Button> on acpi0
> acpi_lid0: <Control Method Lid Switch> 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> mem 
> 0xa0000000-0xbfffffff,0xc8000000-0xc8ffffff irq 16 at device 0.0 on pci1
> pcib2: <ACPI PCI-PCI bridge> irq 27 at device 2.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> pcib3: <ACPI PCI-PCI bridge> irq 31 at device 3.0 on pci0
> pci3: <ACPI PCI bus> on pcib3
> atapci0: <VIA 8237A SATA150 controller> port 
> 0x60b8-0x60bf,0x60b0-0x60b3,0x6008-0x600f,0x6004-0x6007,0x6010-0x601f,0x6400-0x64ff 
> irq 21 at device 15.0 on pci0
> atapci0: [ITHREAD]
> ata2: <ATA channel 0> on atapci0
> ata2: [ITHREAD]
> ata3: <ATA channel 1> on atapci0
> ata3: [ITHREAD]
> atapci1: <VIA 8237A UDMA133 controller> port 
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x60a0-0x60af at device 15.1 on pci0
> ata0: <ATA channel 0> on atapci1
> ata0: [ITHREAD]
> ata1: <ATA channel 1> on atapci1
> ata1: [ITHREAD]
> uhci0: <VIA 83C572 USB controller> port 0x6020-0x603f irq 20 at device 
> 16.0 on pci0
> uhci0: [GIANT-LOCKED]
> uhci0: [ITHREAD]
> usb0: <VIA 83C572 USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
> uhub0: 2 ports with 2 removable, self powered
> uhci1: <VIA 83C572 USB controller> port 0x6040-0x605f irq 22 at device 
> 16.1 on pci0
> uhci1: [GIANT-LOCKED]
> uhci1: [ITHREAD]
> usb1: <VIA 83C572 USB controller> on uhci1
> usb1: USB revision 1.0
> uhub1: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
> uhub1: 2 ports with 2 removable, self powered
> uhci2: <VIA 83C572 USB controller> port 0x6060-0x607f irq 21 at device 
> 16.2 on pci0
> uhci2: [GIANT-LOCKED]
> uhci2: [ITHREAD]
> usb2: <VIA 83C572 USB controller> on uhci2
> usb2: USB revision 1.0
> uhub2: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
> uhub2: 2 ports with 2 removable, self powered
> uhci3: <VIA 83C572 USB controller> port 0x6080-0x609f irq 23 at device 
> 16.3 on pci0
> uhci3: [GIANT-LOCKED]
> uhci3: [ITHREAD]
> usb3: <VIA 83C572 USB controller> on uhci3
> usb3: USB revision 1.0
> uhub3: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
> uhub3: 2 ports with 2 removable, self powered
> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xc9400000-0xc94000ff irq 
> 21 at device 16.4 on pci0
> ehci0: [GIANT-LOCKED]
> ehci0: [ITHREAD]
> usb4: waiting for BIOS to give up control
> usb4: timed out waiting for BIOS
> usb4: EHCI version 1.0
> usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
> usb4: <VIA VT6202 USB 2.0 controller> on ehci0
> usb4: USB revision 2.0
> uhub4: <VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
> uhub4: 8 ports with 8 removable, self powered
> isab0: <PCI-ISA bridge> at device 17.0 on pci0
> isa0: <ISA bus> on isab0
> vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x6800-0x68ff mem 
> 0xc9400400-0xc94004ff irq 23 at device 18.0 on pci0
> vr0: Quirks: 0x0
> miibus0: <MII bus> on vr0
> ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> vr0: using obsoleted if_watchdog interface
> vr0: Ethernet address: 00:14:0b:32:e7:34
> vr0: [ITHREAD]
> pcib4: <ACPI PCI-PCI bridge> at device 19.0 on pci0
> pci4: <ACPI PCI bus> on pcib4
> pci4: <multimedia> at device 1.0 (no driver attached)
> pcib5: <ACPI PCI-PCI bridge> at device 19.1 on pci0
> pci5: <ACPI PCI bus> on pcib5
> pci5: <network, ethernet> at device 1.0 (no driver attached)
> acpi_acad0: <AC Adapter> on acpi0
> battery0: <ACPI Control Method Battery> on acpi0
> acpi_tz0: <Thermal Zone> on acpi0
> 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]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: [ITHREAD]
> psm0: model GlidePoint, device ID 0
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd1fff pnpid 
> ORM0000 on isa0
> 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
> acd0: DVDR <Optiarc DVD RW AD-7540A/1.42> at ata1-master UDMA33
> ad4: 76319MB <WDC WD800BEVS-07RST0 04.01G04> at ata2-master SATA150
> SMP: AP CPU #1 Launched!
> WARNING: WITNESS option enabled, expect reduced performance.
> lock order reversal:
>  1st 0xc3c63278 devfs (devfs) _at_ /usr/src/sys/kern/vfs_subr.c:2061
>  2nd 0xc3c2b914 devfsmount (devfsmount) _at_ 
> /usr/src/sys/fs/devfs/devfs_vnops.c:201
> KDB: stack backtrace:
> db_trace_self_wrapper(c0b7ba41,dbc3fbbc,c0792a6e,c0b7de8b,c3c2b914,...) 
> at db_trace_self_wrapper+0x26
> kdb_backtrace(c0b7de8b,c3c2b914,c0b6f4c7,c0b6f4c7,c0b6f508,...) at 
> kdb_backtrace+0x29
> witness_checkorder(c3c2b914,9,c0b6f508,c9,c7,...) at 
> witness_checkorder+0x6de
> _sx_xlock(c3c2b914,0,c0b6f508,c9,c3c2b914,...) at _sx_xlock+0x7d
> devfs_allocv(c3ba0c80,c3c62000,dbc3fc28,c3963cc0,c0b83caa,...) at 
> devfs_allocv+0x144
> devfs_root(c3c62000,2,c0ce3ad8,c3963cc0,ca,...) at devfs_root+0x51
> set_rootvnode(c0ce3ac0,0,c0b83caa,5ed,c07d0120,...) at set_rootvnode+0x2b
> vfs_mountroot(c0c916f0,4,c0b73969,260,0,...) at vfs_mountroot+0x356
> start_init(0,dbc3fd38,c0b75277,30c,c3961ab0,...) at start_init+0x65
> fork_exit(c07225b0,0,dbc3fd38) at fork_exit+0xb8
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0, eip = 0, esp = 0xdbc3fd70, ebp = 0 ---
> Trying to mount root from ufs:/dev/ad4s2a
> lock order reversal:
>  1st 0xc3b33d18 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2061
>  2nd 0xc3c62000 vfslock (vfslock) _at_ /usr/src/sys/kern/vfs_subr.c:364
> KDB: stack backtrace:
> db_trace_self_wrapper(c0b7ba41,dbc3f9e0,c0792a6e,c0b7de8b,c3c62000,...) 
> at db_trace_self_wrapper+0x26
> kdb_backtrace(c0b7de8b,c3c62000,c0b83da8,c0b83da8,c0b84345,...) at 
> kdb_backtrace+0x29
> witness_checkorder(c3c62000,1,c0b84345,16c,151,...) at 
> witness_checkorder+0x6de
> _lockmgr(c3c62000,2001,c3c62030,c0b84345,16c,...) at _lockmgr+0x174
> vfs_busy(c3c62000,0,0,c3963cc0,dbc3fb58,...) at vfs_busy+0x198
> lookup(dbc3fb44,c0b83a58,c6,bf,c393542c,...) at lookup+0x7b4
> namei(dbc3fb44,c3963d54,c0c309a4,c0b83caa,c3c62030,...) at namei+0x34b
> kern_unlink(c3963cc0,c0b840e7,1,628,0,...) at kern_unlink+0x40
> vfs_mountroot_try(c0b842a1,c0b7268a,c0b6b575,1,c07d0120,...) at 
> vfs_mountroot_try+0x470
> vfs_mountroot(c0c916f0,4,c0b73969,260,0,...) at vfs_mountroot+0x418
> start_init(0,dbc3fd38,c0b75277,30c,c3961ab0,...) at start_init+0x65
> fork_exit(c07225b0,0,dbc3fd38) at fork_exit+0xb8
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0, eip = 0, esp = 0xdbc3fd70, ebp = 0 ---
> lock order reversal:
>  1st 0xc3967044 user map (user map) _at_ /usr/src/sys/vm/vm_map.c:3111
>  2nd 0xc3b33af8 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2061
> KDB: stack backtrace:
> db_trace_self_wrapper(c0b7ba41,dbc3f9cc,c0792a6e,c0b7de8b,c3b33af8,...) 
> at db_trace_self_wrapper+0x26
> kdb_backtrace(c0b7de8b,c3b33af8,c0b72f3d,c0b72f3d,c0b84345,...) at 
> kdb_backtrace+0x29
> witness_checkorder(c3b33af8,1,c0b84345,80d,c0c9ccb4,...) at 
> witness_checkorder+0x6de
> _lockmgr(c3b33af8,3041,c3b33b28,c0b84345,80d,...) at _lockmgr+0x174
> ffs_lock(dbc3fa78,c074b65d,c0c9ccb4,3041,c3b33aa0,...) at ffs_lock+0x8a
> VOP_LOCK1_APV(c0c4d4e0,dbc3fa78,c0b72688,3,c3b33b28,...) at 
> VOP_LOCK1_APV+0xa5
> _vn_lock(c3b33aa0,3041,c0b84345,80d,0,...) at _vn_lock+0xf2
> vget(c3b33aa0,3041,c3963cc0,4a9,c144f100,...) at vget+0x109
> vnode_pager_lock(c1459e80,0,c0b9b0b3,127,dbc3fbe8,...) at 
> vnode_pager_lock+0x1ad
> vm_fault(c3967000,80d3000,2,8,80d3800,...) at vm_fault+0x1df
> trap_pfault(5,0,c0ba8c3d,2c8,c3961ab0,...) at trap_pfault+0x118
> trap(dbc3fd38) at trap+0x267
> calltrap() at calltrap+0x6
> --- trap 0xc, eip = 0x80480e5, esp = 0xbfbfeef0, ebp = 0xbfbfef10 ---
> pcm0: <VIA VT8251/8237A High Definition Audio Controller> mem 
> 0xc9100000-0xc9103fff irq 17 at device 1.0 on pci4
> pcm0: [ITHREAD]
> pcm0: <HDA Codec: Conexant Venice>
> pcm0: <HDA Driver Revision: 20071129_0050>
> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, 
> RF5413)
> ath0: <Atheros 5212> mem 0xc9000000-0xc900ffff irq 18 at device 1.0 on 
> pci5
> ath0: [ITHREAD]
> ath0: unable to attach hardware; HAL status 3
> device_attach: ath0 attach returned 6
> pcm0: detached
> pcm0: <VIA VT8251/8237A High Definition Audio Controller> mem 
> 0xc9100000-0xc9103fff irq 17 at device 1.0 on pci4
> pcm0: [ITHREAD]
> pcm0: <HDA Codec: Conexant Venice>
> pcm0: <HDA Driver Revision: 20071129_0050>
> ath0: <Atheros 5212> mem 0xc9000000-0xc900ffff irq 18 at device 1.0 on 
> pci5
> ath0: [ITHREAD]
> ath0: unable to attach hardware; HAL status 3
> device_attach: ath0 attach returned 6
>

Try the hal in http://www.freebsd.org/~sam.

    Sam
Received on Sat Feb 09 2008 - 20:17:17 UTC

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