Re: ath0: unable to attach hardware

2012-12-29 Thread husyh
at device 4.0 on pci2 ar5212ChipTest: address test failed addr: 0x8000 - wr:0x != rd:0x ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 I read the registers 4004 and 4010 again to make sure the values

Re: ath0: unable to attach hardware

2012-12-29 Thread Adrian Chadd
: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 I read the registers 4004 and 4010 again to make sure the values still are the same, which indeed they are. I hope this helps. Thanks! On Donnerstag, 13. Dezember 2012 at 10:18 PM

Re: ath0: unable to attach hardware

2012-12-29 Thread husyh
ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 I read the registers 4004 and 4010 again to make sure the values still are the same, which indeed they are. I hope this helps. Thanks! On Donnerstag, 13. Dezember 2012

Re: ath0: unable to attach hardware

2012-12-28 Thread husyh
- wr:0x != rd:0x ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 I read the registers 4004 and 4010 again to make sure the values still are the same, which indeed they are. I hope this helps. Thanks

Re: ath0: unable to attach hardware

2012-12-28 Thread Adrian Chadd
be is: ath0: Atheros 5413 mem 0xfdee-0xfdee irq 16 at device 4.0 on pci2 ar5212ChipTest: address test failed addr: 0x8000 - wr:0x != rd:0x ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 I read

Re: ath0: unable to attach hardware

2012-12-27 Thread husyh
on pci2 ar5212ChipTest: address test failed addr: 0x8000 - wr:0x != rd:0x ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 I read the registers 4004 and 4010 again to make sure the values still

Re: ath0: unable to attach hardware

2012-12-27 Thread Adrian Chadd
ar5212ChipTest: address test failed addr: 0x8000 - wr:0x != rd:0x ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 I read the registers 4004 and 4010 again to make sure the values still are the same, which

Re: ath0: unable to attach hardware

2012-12-14 Thread Adrian Chadd
ar5212ChipTest: address test failed addr: 0x8000 - wr:0x != rd:0x ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 I read the registers 4004 and 4010 again to make sure the values still are the same

Re: ath0: unable to attach hardware

2012-12-13 Thread husyh
Hello everyone, I'm afraid I still don't know what exactly BAR is, or how I get its value that I'm supposed to plug into the line John provided: dd if=/dev/mem bs=4 iseek=((start of bar + reg offset)/4) count=1 | hd I assumed that start of bar is 0xfdee in my case, since dmesg reports ath0:

Re: ath0: unable to attach hardware

2012-12-13 Thread Adrian Chadd
On 13 December 2012 13:11, hu...@hush.com wrote: Hello everyone, I'm afraid I still don't know what exactly BAR is, or how I get its value that I'm supposed to plug into the line John provided: dd if=/dev/mem bs=4 iseek=((start of bar + reg offset)/4) count=1 | hd I assumed that start of

Re: ath0: unable to attach hardware

2012-12-11 Thread John Baldwin
On Monday, December 10, 2012 5:20:53 pm Adrian Chadd wrote: Hi, The fact the initial probe/attach fails by returning 0x means the chip isn't right on the bus. It's either just not mapped in correctly, or it's powered off. If it were just asleep, it'd return 0xdeadc0de or

Re: ath0: unable to attach hardware

2012-12-11 Thread Adrian Chadd
On 11 December 2012 12:49, John Baldwin j...@freebsd.org wrote: Look, it's up to you to look at more registers if you want to debug this further. PCI says everything is ok, so the ball is in your court. Right, that's why I've asked for those two above registers. There are other things that

Re: ath0: unable to attach hardware

2012-12-10 Thread John Baldwin
On Friday, December 07, 2012 4:59:37 am hu...@hush.com wrote: Hello, thank you for your answer. Unfortunately, I'm unexperienced with FreeBSD, and am absolutely unfamiliar with hardware specifics. During this mail conversion, I have heard abour BAR for the first time, and therefore, I

Re: ath0: unable to attach hardware

2012-12-10 Thread Adrian Chadd
Hi, The fact the initial probe/attach fails by returning 0x means the chip isn't right on the bus. It's either just not mapped in correctly, or it's powered off. If it were just asleep, it'd return 0xdeadc0de or 0xdeadbeef or something similar like that. Try AR_SCR (0x4004) and

Re: ath0: unable to attach hardware

2012-12-07 Thread husyh
Hello, thank you for your answer. Unfortunately, I'm unexperienced with FreeBSD, and am absolutely unfamiliar with hardware specifics. During this mail conversion, I have heard abour BAR for the first time, and therefore, I know neither what exactly I should do (e.g. how I can find the start

Re: ath0: unable to attach hardware

2012-12-04 Thread John Baldwin
On Friday, November 23, 2012 5:56:02 pm Adrian Chadd wrote: Thanks for this! I'm sorry it hasn't gotten any more attention. I've cc'ed john because he understands the PCI-PCI resource allocation stuff and I currently don't; I'm hoping he can stare at this and see what's going on. But yes,

Re: ath0: unable to attach hardware

2012-11-23 Thread husyh
failed addr: 0x8000 - wr:0x != rd:0x ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 and am left unable to use the device. I tried 8.3-RELEASE i386 as well as 10.0-CURRENT amd64 and i386 snapshots from

Re: ath0: unable to attach hardware

2012-11-23 Thread Adrian Chadd
: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 and am left unable to use the device. I tried 8.3-RELEASE i386 as well as 10.0-CURRENT amd64 and i386 snapshots from https://snapshots.glenbarber.us/Latest/ (seemlingly built a few days

Re: ath0: unable to attach hardware

2012-11-09 Thread husyh
16 at device 4.0 on pci2 ar5212ChipTest: address test failed addr: 0x8000 - wr:0x != rd:0x ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 and am left unable to use the device. I tried 8.3-RELEASE

Re: ath0: unable to attach hardware

2012-11-09 Thread Adrian Chadd
: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 and am left unable to use the device. I tried 8.3-RELEASE i386 as well as 10.0-CURRENT amd64 and i386 snapshots from https://snapshots.glenbarber.us/Latest/ (seemlingly built a few days ago

Re: ath0: unable to attach hardware

2012-11-09 Thread husyh
ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 and am left unable to use the device. I tried 8.3-RELEASE i386 as well as 10.0-CURRENT amd64 and i386 snapshots from https://snapshots.glenbarber.us/Latest/ (seemlingly built a few days ago) and received the same

Re: ath0: unable to attach hardware

2012-11-09 Thread Adrian Chadd
addr: 0x8000 - wr:0x != rd:0x ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 and am left unable to use the device. I tried 8.3-RELEASE i386 as well as 10.0-CURRENT amd64 and i386 snapshots from https

ath0: unable to attach hardware

2012-11-03 Thread husyh
-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 and am left unable to use the device. I tried 8.3-RELEASE i386 as well as 10.0-CURRENT amd64 and i386 snapshots from https://snapshots.glenbarber.us/Latest/ (seemlingly built a few days ago