With the GENERIC kernel on releng_8 and releng_8_0, I am having issues with the Atheros wireless on my laptop. Upon boot I am getting the message below. ath0: <Atheros 5424/2424> irq 17 at device 0.0 on pci3 ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). ath0: cannot map register space device_attach: ath0 attach returned 6 Any suggestions? It was working fine on releng_6. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091222/6c2fdcd8/signature.pgp
With the GENERIC kernel on releng_8 and releng_8_0, I am having issues with the Atheros wireless on my laptop. Upon boot I am getting the message below. ath0: <Atheros 5424/2424> irq 17 at device 0.0 on pci3 ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). ath0: cannot map register space device_attach: ath0 attach returned 6 Any suggestions? It was working fine on releng_6.
On Monday 21 December 2009 09:23:57 pm Zane C.B. wrote:> With the GENERIC kernel on releng_8 and releng_8_0, I am having > issues with the Atheros wireless on my laptop. > > Upon boot I am getting the message below. > > ath0: <Atheros 5424/2424> irq 17 at device 0.0 on pci3 > ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > ath0: cannot map register space > device_attach: ath0 attach returned 6 > > Any suggestions? It was working fine on releng_6. >I believe that you don't realize that under FreeBSD 8, you now have to use a wlan interface. Under FreeBSD7.2, I used a Windows ethernet driver, wrapped with NDIS (see ndisgen). Here's the line from /etc/rc.conf: ifconfig_ndis0="wpa dhcp" Note that this line is simplified because a lot of the info, like SSID, is in /etc/wpa_supplicant.conf. (yes, I put it there) Under FreeBSD8.0R, you must use the wlan interface. wlans_ndis0="wlan0" # wlan(4) interfaces for ndis0 device ifconfig_wlan0="wpa syncdhcp" I have to syncdhcp because I had this wireless device as the only network, and later in the boot process, ntpd will want to access Time Servers on the Internet. HTH
On Mon, 21 Dec 2009 22:32:40 -0500 Dan Langille <dan@langille.org> wrote:> Zane C.B. wrote: > > With the GENERIC kernel on releng_8 and releng_8_0, I am having > > issues with the Atheros wireless on my laptop. > > > > Upon boot I am getting the message below. > > > > ath0: <Atheros 5424/2424> irq 17 at device 0.0 on pci3 > > ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > > ath0: cannot map register space > > device_attach: ath0 attach returned 6 > > > > Any suggestions? It was working fine on releng_6. > > http://www.freebsddiary.org/wireless-8.php > > Been there, done that, documented it. > > Enjoy. :)Read the dmesg output I pasted. This is totally unrelated to it. The dmesg output shows the device as never being attached do to a it not being able to map the register space. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091222/da2edd36/signature.pgp
Zane C.B. wrote:> With the GENERIC kernel on releng_8 and releng_8_0, I am having > issues with the Atheros wireless on my laptop. > > Upon boot I am getting the message below. > > ath0: <Atheros 5424/2424> irq 17 at device 0.0 on pci3 > ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > ath0: cannot map register space > device_attach: ath0 attach returned 6 > > Any suggestions? It was working fine on releng_6.http://www.freebsddiary.org/wireless-8.php Been there, done that, documented it. Enjoy. :)
On Mon, 21 Dec 2009 21:53:00 -0500 Steven Friedrich <freebsd@insightbb.com> wrote:> On Monday 21 December 2009 09:23:57 pm Zane C.B. wrote: > > With the GENERIC kernel on releng_8 and releng_8_0, I am having > > issues with the Atheros wireless on my laptop. > > > > Upon boot I am getting the message below. > > > > ath0: <Atheros 5424/2424> irq 17 at device 0.0 on pci3 > > ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > > ath0: cannot map register space > > device_attach: ath0 attach returned 6 > > > > Any suggestions? It was working fine on releng_6. > > > > <snip>This is not even remotely close to the issue I am having. I am also aware of this. The issue is the ath device is not attaching because of the issue shown in the dmesg chunk I included with the original message and below. ath0: <Atheros 5424/2424> irq 17 at device 0.0 on pci3 ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). ath0: cannot map register space device_attach: ath0 attach returned 6 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091222/11c57421/signature.pgp
On Mon, Dec 21, 2009 at 10:32:40PM -0500, Dan Langille wrote:> Zane C.B. wrote: > >With the GENERIC kernel on releng_8 and releng_8_0, I am having > >issues with the Atheros wireless on my laptop. > > > >Upon boot I am getting the message below. > > > >ath0: <Atheros 5424/2424> irq 17 at device 0.0 on pci3 > >ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > >ath0: cannot map register space > >device_attach: ath0 attach returned 6 > > > >Any suggestions? It was working fine on releng_6. > > http://www.freebsddiary.org/wireless-8.php > > Been there, done that, documented it.The attach that fails happen long before wlan devices and user level ifconfigs. Maybe "pciconf -lv" will show something or maybe showing some of the pci space with pciconf -r will give an idea why the attach fails. John -- John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org
On Dec 21, 2009, at 10:37 PM, "Zane C.B." <v.velox@vvelox.net> wrote:> On Mon, 21 Dec 2009 22:32:40 -0500 > Dan Langille <dan@langille.org> wrote: > >> Zane C.B. wrote: >>> With the GENERIC kernel on releng_8 and releng_8_0, I am having >>> issues with the Atheros wireless on my laptop. >>> >>> Upon boot I am getting the message below. >>> >>> ath0: <Atheros 5424/2424> irq 17 at device 0.0 on pci3 >>> ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). >>> ath0: cannot map register space >>> device_attach: ath0 attach returned 6 >>> >>> Any suggestions? It was working fine on releng_6. >> >> http://www.freebsddiary.org/wireless-8.php >> >> Been there, done that, documented it. >> >> Enjoy. :) > > Read the dmesg output I pasted. This is totally unrelated to it. > > The dmesg output shows the device as never being attached do to a it > not being able to map the register space.Ahh yes. Sorry. I missed that. Your interpretation of the situation helps. -- Dan Langille http://langille.org/