Re: atheros issues with releng_8

2009-12-22 Thread John Baldwin
On Monday 21 December 2009 9:23:47 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:  irq 17 at device 0.0 on pci3
> ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
> ath0: cannot map register space
> device_attach: ath0 attach returned 6
> 
> Any suggestions? It was working fine on releng_6.

You can try disabling ACPI.  I have seen ACPI clear BARs in other devices 
before and FreeBSD doesn't cope well with cleared BARs.

-- 
John Baldwin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: atheros issues with releng_8

2009-12-22 Thread Dan Langille

On Dec 21, 2009, at 10:37 PM, "Zane C.B."  wrote:


On Mon, 21 Dec 2009 22:32:40 -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:  irq 17 at device 0.0 on pci3
ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
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/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: atheros issues with releng_8

2009-12-22 Thread John Hay
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:  irq 17 at device 0.0 on pci3
> >ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
> >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 -- j...@meraka.csir.co.za / j...@freebsd.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: atheros issues with releng_8

2009-12-22 Thread Zane C.B.
On Mon, 21 Dec 2009 21:53:00 -0500
Steven Friedrich  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:  irq 17 at device 0.0 on pci3
> > ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
> > ath0: cannot map register space
> > device_attach: ath0 attach returned 6
> > 
> > Any suggestions? It was working fine on releng_6.
> > 
>
> 

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:  irq 17 at device 0.0 on pci3
ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
ath0: cannot map register space
device_attach: ath0 attach returned 6


signature.asc
Description: PGP signature


Re: atheros issues with releng_8

2009-12-21 Thread Dan Langille

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:  irq 17 at device 0.0 on pci3
ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
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.  :)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: atheros issues with releng_8

2009-12-21 Thread Zane C.B.
On Mon, 21 Dec 2009 22:32:40 -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:  irq 17 at device 0.0 on pci3
> > ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
> > 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.


signature.asc
Description: PGP signature


Re: atheros issues with releng_8

2009-12-21 Thread Steven Friedrich
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:  irq 17 at device 0.0 on pci3
> ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
> 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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


atheros issues with releng_8

2009-12-21 Thread Zane C. B.
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:  irq 17 at device 0.0 on pci3
ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
ath0: cannot map register space
device_attach: ath0 attach returned 6

Any suggestions? It was working fine on releng_6.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


atheros issues with releng_8

2009-12-21 Thread Zane C.B.
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:  irq 17 at device 0.0 on pci3
ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x).
ath0: cannot map register space
device_attach: ath0 attach returned 6

Any suggestions? It was working fine on releng_6.


signature.asc
Description: PGP signature