From owner-freebsd-current@FreeBSD.ORG Sat Feb 9 22:43:14 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B67B316A418 for ; Sat, 9 Feb 2008 22:43:14 +0000 (UTC) (envelope-from roland@micite.net) Received: from filter1-tmobile.zx.nl (filter1-tmobile.zx.nl [194.187.76.138]) by mx1.freebsd.org (Postfix) with ESMTP id C19CA13C459 for ; Sat, 9 Feb 2008 22:43:13 +0000 (UTC) (envelope-from roland@micite.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by filter1-tmobile.zx.nl (Postfix) with ESMTP id 2CCFAD41AA; Sat, 9 Feb 2008 23:43:13 +0100 (CET) X-Virus-Scanned: amavisd-new at zx.nl Received: from filter1-tmobile.zx.nl ([127.0.0.1]) by localhost (filter1.zx.nl [127.0.0.1]) (amavisd-new, port 10127) with ESMTP id jIfl3q8Rc7tE; Sat, 9 Feb 2008 23:42:55 +0100 (CET) Received: from [91.141.216.226] (unknown [91.141.216.226]) by filter1-tmobile.zx.nl (Postfix) with ESMTP; Sat, 9 Feb 2008 23:42:54 +0100 (CET) In-Reply-To: <47AE185A.1040403@errno.com> References: <47AE185A.1040403@errno.com> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1C830B4B-CA3A-4790-948D-D39EEAE6F3FE@micite.net> Content-Transfer-Encoding: 7bit From: Roland van Laar Date: Sat, 9 Feb 2008 23:43:48 +0100 To: Sam Leffler X-Mailer: Apple Mail (2.753) Cc: freebsd-current@freebsd.org Subject: Re: Problems with Atheros card/pci on via VT8237A X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2008 22:43:14 -0000 On Feb 9, 2008, at 10:17 PM, Sam Leffler wrote: > 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: mem >> 0xc9100000-0xc9103fff irq 17 at device 1.0 on pci4 >> pcm0: [ITHREAD] >> pcm0: >> pcm0: >> #kldload if_ath >> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, >> RF5413) >> ath0: 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: mem >> 0xc9100000-0xc9103fff irq 17 at device 1.0 on pci4 >> pcm0: [ITHREAD] >> pcm0: >> pcm0: >> // Without a kldload, if_ath tries to reattach itself again. >> ath0: 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@pci0:1:0:0: class=0x030000 card=0x10cb1734 >> chip=0x33711106 rev=0x01 hdr=0x00 >> vendor = 'VIA Technologies Inc' >> class = display >> subclass = VGA >> pcm0@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@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@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 @ 1.73GHz (1729.01-MHz >> 686-class CPU) >> Origin = "GenuineIntel" Id = 0x6ec Stepping = 12 >> >> Features=0xbfe9fbff> PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> >> Features2=0xc189 >> AMD Features=0x100000 >> Cores per package: 2 >> real memory = 803799040 (766 MB) >> avail memory = 773443584 (737 MB) >> ACPI APIC Table: >> 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 irqs 0-23 on motherboard >> ioapic1 irqs 24-47 on motherboard >> registered firmware set >> registered firmware set >> registered firmware set >> registered firmware set >> registered firmware set >> registered firmware set >> registered firmware set >> registered firmware set >> registered firmware set >> registered firmware set >> registered firmware set >> kbd1 at kbdmux0 >> acpi0: 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: on acpi0 >> est0: on cpu0 >> p4tcc0: on cpu0 >> cpu1: on acpi0 >> est1: on cpu1 >> p4tcc1: on cpu1 >> acpi_button0: on acpi0 >> acpi_lid0: on acpi0 >> pcib0: port 0xcf8-0xcff on acpi0 >> pci0: on pcib0 >> pcib1: at device 1.0 on pci0 >> pci1: on pcib1 >> vgapci0: mem 0xa0000000-0xbfffffff, >> 0xc8000000-0xc8ffffff irq 16 at device 0.0 on pci1 >> pcib2: irq 27 at device 2.0 on pci0 >> pci2: on pcib2 >> pcib3: irq 31 at device 3.0 on pci0 >> pci3: on pcib3 >> atapci0: port 0x60b8-0x60bf, >> 0x60b0-0x60b3,0x6008-0x600f,0x6004-0x6007,0x6010-0x601f, >> 0x6400-0x64ff irq 21 at device 15.0 on pci0 >> atapci0: [ITHREAD] >> ata2: on atapci0 >> ata2: [ITHREAD] >> ata3: on atapci0 >> ata3: [ITHREAD] >> atapci1: port >> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x60a0-0x60af at device 15.1 >> on pci0 >> ata0: on atapci1 >> ata0: [ITHREAD] >> ata1: on atapci1 >> ata1: [ITHREAD] >> uhci0: port 0x6020-0x603f irq 20 at >> device 16.0 on pci0 >> uhci0: [GIANT-LOCKED] >> uhci0: [ITHREAD] >> usb0: on uhci0 >> usb0: USB revision 1.0 >> uhub0: on usb0 >> uhub0: 2 ports with 2 removable, self powered >> uhci1: port 0x6040-0x605f irq 22 at >> device 16.1 on pci0 >> uhci1: [GIANT-LOCKED] >> uhci1: [ITHREAD] >> usb1: on uhci1 >> usb1: USB revision 1.0 >> uhub1: on usb1 >> uhub1: 2 ports with 2 removable, self powered >> uhci2: port 0x6060-0x607f irq 21 at >> device 16.2 on pci0 >> uhci2: [GIANT-LOCKED] >> uhci2: [ITHREAD] >> usb2: on uhci2 >> usb2: USB revision 1.0 >> uhub2: on usb2 >> uhub2: 2 ports with 2 removable, self powered >> uhci3: port 0x6080-0x609f irq 23 at >> device 16.3 on pci0 >> uhci3: [GIANT-LOCKED] >> uhci3: [ITHREAD] >> usb3: on uhci3 >> usb3: USB revision 1.0 >> uhub3: on usb3 >> uhub3: 2 ports with 2 removable, self powered >> ehci0: 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: on ehci0 >> usb4: USB revision 2.0 >> uhub4: on usb4 >> uhub4: 8 ports with 8 removable, self powered >> isab0: at device 17.0 on pci0 >> isa0: on isab0 >> vr0: port 0x6800-0x68ff mem >> 0xc9400400-0xc94004ff irq 23 at device 18.0 on pci0 >> vr0: Quirks: 0x0 >> miibus0: on vr0 >> ukphy0: 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: at device 19.0 on pci0 >> pci4: on pcib4 >> pci4: at device 1.0 (no driver attached) >> pcib5: at device 19.1 on pci0 >> pci5: on pcib5 >> pci5: at device 1.0 (no driver attached) >> acpi_acad0: on acpi0 >> battery0: on acpi0 >> acpi_tz0: on acpi0 >> atkbdc0: port 0x60,0x64 irq 1 on acpi0 >> atkbd0: irq 1 on atkbdc0 >> kbd0 at atkbd0 >> atkbd0: [GIANT-LOCKED] >> atkbd0: [ITHREAD] >> psm0: irq 12 on atkbdc0 >> psm0: [GIANT-LOCKED] >> psm0: [ITHREAD] >> psm0: model GlidePoint, device ID 0 >> pmtimer0 on isa0 >> orm0: at iomem 0xc0000-0xcffff,0xd0000-0xd1fff >> pnpid ORM0000 on isa0 >> sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff >> on isa0 >> Timecounters tick every 1.000 msec >> acd0: DVDR at ata1-master UDMA33 >> ad4: 76319MB at ata2-master SATA150 >> SMP: AP CPU #1 Launched! >> WARNING: WITNESS option enabled, expect reduced performance. >> lock order reversal: >> 1st 0xc3c63278 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2061 >> 2nd 0xc3c2b914 devfsmount (devfsmount) @ /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) @ /usr/src/sys/kern/vfs_subr.c:2061 >> 2nd 0xc3c62000 vfslock (vfslock) @ /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) @ /usr/src/sys/vm/vm_map.c:3111 >> 2nd 0xc3b33af8 ufs (ufs) @ /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: mem >> 0xc9100000-0xc9103fff irq 17 at device 1.0 on pci4 >> pcm0: [ITHREAD] >> pcm0: >> pcm0: >> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, >> RF5413) >> ath0: 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: mem >> 0xc9100000-0xc9103fff irq 17 at device 1.0 on pci4 >> pcm0: [ITHREAD] >> pcm0: >> pcm0: >> ath0: 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. thanx, but: downloaded: ath_hal-20070428, moved old sys/contrib/dev/ath to ath-old, extracted it in sys/contrib/dev/ath, buildkernel, The difference is that it now says: ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133) it still doesn't work. Which again points, I think, to a pci-bus problem as the ndis driver also has a attach problem: The ndis driver reports this: kldload ./ar5211_sys.ko ndis0: mem 0xc9000000-0xc900ffff irq 18 at device 1.0 on pci5 ndis0: [ITHREAD] ndis0: NDIS API version: 5.1 NDIS: open file /compat/ndis/regAdd.txt failed: 2 ndis0: NDIS ERROR: c0001389 (unknown error) ndis0: init handler failed device_attach: ndis0 attach returned 6 Roland > > Sam >