Re: Atheros Wireless Card Causes Page Fault

2008-07-17 Thread Edward Ruggeri
On Thu, Jul 17, 2008 at 9:38 AM, Edward Ruggeri <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This is a question about a hardware problem.  I hope this is an
> appropriate place to ask.
>
> I have a recently purchased Lenovo ThinkPad, with a Atheros 5212
> wireless card (well, dmesg says it's an Atheros 5212; I believe it).
> It also has a wired internet connector, which works perfectly fine.  I
> wish I was writing you from that computer, but I am at work right now
> and don't have the ThinkPad at my fingertips.  I can update later
> tonight, but perhaps you can spot my error with just the somewhat
> incomplete information I have right now.

My Lenovo representative informs me it may be a Ar5006ex, if that helps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Atheros wireless

2007-10-29 Thread Byung-Hee HWANG
Hello,

On Mon, 2007-10-29 at 18:40 +0200, Necati Demir wrote:
> Ok, then... how to update only installed applications?

Applications is packages taken from ports, so you go to ports if you
want to upgrade all applications. For more details, see ports(7) or
refer to FreeBSD Handbook. If you encounter strange problems, send them
to here [EMAIL PROTECTED] by email. 

Sincerely,
 
> On 28/10/2007, Jona Joachim <[EMAIL PROTECTED]> wrote:
> >
> > On Sun, 28 Oct 2007 21:51:19 +0200
> > "Necati Demir" <[EMAIL PROTECTED]> wrote:
> >
> > > > [.]
> > > >
> > > > If you are running FreeBSD 6.2-RELEASE, you could try updating to
> > > > either the
> > > > latest 6-STABLE, or the upcoming 7.0, both of which have a newer
> > > > HAL. If that doesn't help either I don't think there is much you
> > > > can do.
> > >
> > >
> > > I am running 6.2-RELEASE.
> > > How to update to 6-STABLE ?
> >
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
> >
> > 23.2.2 Staying Stable with FreeBSD
> >
> >
> 

-- 
"Never mind being a dance judge, do your job. Take a walk around the
neighborhood and see everything is OK."
-- Peter Clemenza, "Chapter 1", page 20
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Atheros wireless

2007-10-29 Thread Necati Demir
Ok, then... how to update only installed applications?


On 28/10/2007, Jona Joachim <[EMAIL PROTECTED]> wrote:
>
> On Sun, 28 Oct 2007 21:51:19 +0200
> "Necati Demir" <[EMAIL PROTECTED]> wrote:
>
> > > [.]
> > >
> > > If you are running FreeBSD 6.2-RELEASE, you could try updating to
> > > either the
> > > latest 6-STABLE, or the upcoming 7.0, both of which have a newer
> > > HAL. If that doesn't help either I don't think there is much you
> > > can do.
> >
> >
> > I am running 6.2-RELEASE.
> > How to update to 6-STABLE ?
>
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
>
> 23.2.2 Staying Stable with FreeBSD
>
>


-- 
Necati Demir
http://demir.web.tr
ndemir [~] demir.web.tr
necati83 [~] gmail.com
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Atheros wireless

2007-10-28 Thread Jona Joachim
On Sun, 28 Oct 2007 21:51:19 +0200
"Necati Demir" <[EMAIL PROTECTED]> wrote:

> > [.]
> >
> > If you are running FreeBSD 6.2-RELEASE, you could try updating to
> > either the
> > latest 6-STABLE, or the upcoming 7.0, both of which have a newer
> > HAL. If that doesn't help either I don't think there is much you
> > can do.
> 
> 
> I am running 6.2-RELEASE.
> How to update to 6-STABLE ?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html

23.2.2 Staying Stable with FreeBSD

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Atheros wireless

2007-10-28 Thread Necati Demir
> [.]
>
> If you are running FreeBSD 6.2-RELEASE, you could try updating to either
> the
> latest 6-STABLE, or the upcoming 7.0, both of which have a newer HAL.
> If that doesn't help either I don't think there is much you can do.


I am running 6.2-RELEASE.
How to update to 6-STABLE ?


--
> 
> Erik Trulsson
> [EMAIL PROTECTED]
>



-- 
Necati Demir
http://demir.web.tr
ndemir [~] demir.web.tr
necati83 [~] gmail.com
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Atheros wireless

2007-10-27 Thread Erik Trulsson
On Sat, Oct 27, 2007 at 11:31:12PM +0300, Necati Demir wrote:
> On 27/10/2007, Erik Trulsson <[EMAIL PROTECTED]> wrote:
> >
> > On Sat, Oct 27, 2007 at 08:51:20PM +0300, Necati Demir wrote:
> > > Hi,
> > >
> > > As a 6 year linux user, i am new to freebsd. :)
> > > In my laptop i have a atheros wireless card. To use it, i compiled
> > modules;
> > >
> > > # cd /sys/modules/ath
> > > # make; make load
> > >
> > > # cd /sys/modules/ath_hal
> > > # make; make load
> > >
> > > # cd /sys/modules/ath_rate_sample
> > > # make; make load
> > >
> > > # cd /sys/modules/wlan
> > > # make; make load
> > >
> > > # cd /sys/modules/wlan_acl
> > > # make; make load
> > >
> > > # cd /sys/modules/wlan_wep
> > > # make; make load
> > >
> > > # cd /sys/modules/wlan_xauth
> > > # make; make load
> > >
> > > Then i added following lines to the /boot/loader.conf
> > > if_ath_load="YES"
> > > ath_hal_load="YES"
> > > ath_rate_load="YES"
> > > wlan_load="YES"
> > > wlan_acl_load="YES"
> > > wlan_ccmp_load="YES"
> > > wlan_tkip_load="YES"
> > > wlan_wep_load="YES"
> > > wlan_xauth_load="YES"
> > >
> > >
> > > And i restarted my machine to be sure.
> > >
> > > When i use kldstat command to see modules, i see this output;
> > >
> > > # kldstat
> > > Id Refs AddressSize Name
> > >  19 0xc040 70794c   kernel
> > >  21 0xc0b08000 2cf4 wlan_acl.ko
> > >  31 0xc0b0b000 1b88 wlan_xauth.ko
> > >  41 0xc2d1f000 16000linux.ko
> > >
> > > Where is my if_ath module and the other ath modules? Where is the
> > problem?
> > > And of course, still my wireless does not work.
> >
> > The default kernel (GENERIC) already contains all the other modules.
> > Kldstat
> > only lists those modules that have been loaded separately.  If you run
> > 'kldstat -v' then all the modules, both those in the kernel, and those
> > loaded as modules, should be listed.
> 
> 
> 
> 
> There was also no need for you to compile any modules since all of them
> > should
> > already be installed by default anyway.  (Yes, even those which are
> > included
> > directly in the kernel.)
> 
> 
> 
> Thanks for the information.
> 
> 
> 
> 
> 
> 
> 
> As to why it does not work you have not given enough information.  What is
> > the output of 'ifconfig', 'pciconf -lv', and 'dmesg' ?
> 
> 
> The outputs:
> 

[snip]

> [EMAIL PROTECTED]:0:0:  class=0x02 card=0x3065168c chip=0x001c168c 
> rev=0x01
> hdr=0x00
> vendor   = 'Atheros Communications Inc.'
> class= network
> subclass = ethernet

That is a fairly new chip.  I don't know if it is supported yet.

> 
> -
> # dmesg | grep -i ath
> 
> ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> ath0:  mem 0xfedf-0xfedf irq 11 at device 0.0 on pci1
> ath0: unable to attach hardware; HAL status 13
> device_attach: ath0 attach returned 6
> ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> ath0:  mem 0xfedf-0xfedf irq 11 at device 0.0 on pci1
> ath0: unable to attach hardware; HAL status 13
> device_attach: ath0 attach returned 6
> interface if_ath.1 already present in the KLD 'kernel'!
> interface ath_rate.1 already present in the KLD 'kernel'
> 


Here we see that the Atheros driver tries to attach, but the HAL claims
that this hardware revision is not supported, and thus it will not work.


If you are running FreeBSD 6.2-RELEASE, you could try updating to either the
latest 6-STABLE, or the upcoming 7.0, both of which have a newer HAL.
If that doesn't help either I don't think there is much you can do.



-- 

Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Atheros wireless

2007-10-27 Thread Necati Demir
On 27/10/2007, Erik Trulsson <[EMAIL PROTECTED]> wrote:
>
> On Sat, Oct 27, 2007 at 08:51:20PM +0300, Necati Demir wrote:
> > Hi,
> >
> > As a 6 year linux user, i am new to freebsd. :)
> > In my laptop i have a atheros wireless card. To use it, i compiled
> modules;
> >
> > # cd /sys/modules/ath
> > # make; make load
> >
> > # cd /sys/modules/ath_hal
> > # make; make load
> >
> > # cd /sys/modules/ath_rate_sample
> > # make; make load
> >
> > # cd /sys/modules/wlan
> > # make; make load
> >
> > # cd /sys/modules/wlan_acl
> > # make; make load
> >
> > # cd /sys/modules/wlan_wep
> > # make; make load
> >
> > # cd /sys/modules/wlan_xauth
> > # make; make load
> >
> > Then i added following lines to the /boot/loader.conf
> > if_ath_load="YES"
> > ath_hal_load="YES"
> > ath_rate_load="YES"
> > wlan_load="YES"
> > wlan_acl_load="YES"
> > wlan_ccmp_load="YES"
> > wlan_tkip_load="YES"
> > wlan_wep_load="YES"
> > wlan_xauth_load="YES"
> >
> >
> > And i restarted my machine to be sure.
> >
> > When i use kldstat command to see modules, i see this output;
> >
> > # kldstat
> > Id Refs AddressSize Name
> >  19 0xc040 70794c   kernel
> >  21 0xc0b08000 2cf4 wlan_acl.ko
> >  31 0xc0b0b000 1b88 wlan_xauth.ko
> >  41 0xc2d1f000 16000linux.ko
> >
> > Where is my if_ath module and the other ath modules? Where is the
> problem?
> > And of course, still my wireless does not work.
>
> The default kernel (GENERIC) already contains all the other modules.
> Kldstat
> only lists those modules that have been loaded separately.  If you run
> 'kldstat -v' then all the modules, both those in the kernel, and those
> loaded as modules, should be listed.




There was also no need for you to compile any modules since all of them
> should
> already be installed by default anyway.  (Yes, even those which are
> included
> directly in the kernel.)



Thanks for the information.







As to why it does not work you have not given enough information.  What is
> the output of 'ifconfig', 'pciconf -lv', and 'dmesg' ?


The outputs:

# pciconf -lv

[EMAIL PROTECTED]:0:0: class=0x05 card=0xc0241631 chip=0x02f310de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= memory
subclass = RAM
[EMAIL PROTECTED]:0:1: class=0x05 card=0xc0241631 chip=0x02fa10de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= memory
subclass = RAM
[EMAIL PROTECTED]:0:2: class=0x05 card=0xc0241631 chip=0x02fe10de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= memory
subclass = RAM
[EMAIL PROTECTED]:0:3: class=0x05 card=0xc0241631 chip=0x02f810de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= memory
subclass = RAM
[EMAIL PROTECTED]:0:4: class=0x05 card=0xc0241631 chip=0x02f910de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= memory
subclass = RAM
[EMAIL PROTECTED]:0:5: class=0x05 card=0xc0241631 chip=0x02ff10de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= memory
subclass = RAM
[EMAIL PROTECTED]:0:6: class=0x05 card=0xc0241631 chip=0x027f10de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= memory
subclass = RAM
[EMAIL PROTECTED]:0:7: class=0x05 card=0xc0241631 chip=0x027e10de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= memory
subclass = RAM
[EMAIL PROTECTED]:2:0: class=0x060400 card=0x0040 chip=0x02fc10de rev=0xa1
hdr=0x01
vendor   = 'NVIDIA Corporation'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:3:0: class=0x060400 card=0x0040 chip=0x02fd10de rev=0xa1
hdr=0x01
vendor   = 'NVIDIA Corporation'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:4:0: class=0x060400 card=0x0040 chip=0x02fb10de rev=0xa1
hdr=0x01
vendor   = 'NVIDIA Corporation'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:5:0: class=0x03 card=0xc0241631 chip=0x024710de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= display
subclass = VGA
[EMAIL PROTECTED]:9:0: class=0x05 card=0xc0241631 chip=0x027010de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= memory
subclass = RAM
[EMAIL PROTECTED]:10:0:class=0x060100 card=0xc0241631 chip=0x026010de
rev=0xa3 hdr=0x00
vendor   = 'NVIDIA Corporation'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:10:1:   class=0x0c0500 card=0xc0241631 chip=0x026410de
rev=0xa3 hdr=0x00
vendor   = 'NVIDIA Corporation'
class= serial bus
subclass = SMBus
[EMAIL PROTECTED]:11:0:class=0x0c0310 card=0xc0241631 chip=0x026d10de
rev=0xa3 hdr=0x00
vendor   = 'NVIDIA Corporation'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:11:1:class=0x0c0320 card=0xc0241631 chip=0x026e10de
rev=0xa3 hdr=0x00
vendor   = 'NVIDIA Corporation'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:13:0:  class=0x01018a ca

Re: Atheros wireless

2007-10-27 Thread Erik Trulsson
On Sat, Oct 27, 2007 at 08:51:20PM +0300, Necati Demir wrote:
> Hi,
> 
> As a 6 year linux user, i am new to freebsd. :)
> In my laptop i have a atheros wireless card. To use it, i compiled modules;
> 
> # cd /sys/modules/ath
> # make; make load
> 
> # cd /sys/modules/ath_hal
> # make; make load
> 
> # cd /sys/modules/ath_rate_sample
> # make; make load
> 
> # cd /sys/modules/wlan
> # make; make load
> 
> # cd /sys/modules/wlan_acl
> # make; make load
> 
> # cd /sys/modules/wlan_wep
> # make; make load
> 
> # cd /sys/modules/wlan_xauth
> # make; make load
> 
> Then i added following lines to the /boot/loader.conf
> if_ath_load="YES"
> ath_hal_load="YES"
> ath_rate_load="YES"
> wlan_load="YES"
> wlan_acl_load="YES"
> wlan_ccmp_load="YES"
> wlan_tkip_load="YES"
> wlan_wep_load="YES"
> wlan_xauth_load="YES"
> 
> 
> And i restarted my machine to be sure.
> 
> When i use kldstat command to see modules, i see this output;
> 
> # kldstat
> Id Refs AddressSize Name
>  19 0xc040 70794c   kernel
>  21 0xc0b08000 2cf4 wlan_acl.ko
>  31 0xc0b0b000 1b88 wlan_xauth.ko
>  41 0xc2d1f000 16000linux.ko
> 
> Where is my if_ath module and the other ath modules? Where is the problem?
> And of course, still my wireless does not work.

The default kernel (GENERIC) already contains all the other modules. Kldstat
only lists those modules that have been loaded separately.  If you run
'kldstat -v' then all the modules, both those in the kernel, and those
loaded as modules, should be listed.

There was also no need for you to compile any modules since all of them should
already be installed by default anyway.  (Yes, even those which are included
directly in the kernel.)


As to why it does not work you have not given enough information.  What is
the output of 'ifconfig', 'pciconf -lv', and 'dmesg' ?



-- 

Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Atheros Wireless Chipsets?

2006-11-18 Thread Nate Peck

That's good. Thanks for the help!

But I forgot to ask: Is WPA managed through some other layer(like
wpa_supplicant), or is it integrated into iwconfig?

From,
Nate Peck

On 11/16/06, Christian Walther <[EMAIL PROTECTED]> wrote:

Hi,

it's not about the ath-chipset in this case. The chip works fine, but
you should take care of the card you buy. Even if the chipset is
supported the card might not work at all. So read the manpage and
choose a card that is listed there -- including the revision number!
I'm using a DWL G650 which is equipped with the Atheros chipset, too.
The signal quality is great and it works flawlessly.

HTH
Christian


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Atheros Wireless Chipsets?

2006-11-16 Thread Christian Walther

Hi,

it's not about the ath-chipset in this case. The chip works fine, but
you should take care of the card you buy. Even if the chipset is
supported the card might not work at all. So read the manpage and
choose a card that is listed there -- including the revision number!
I'm using a DWL G650 which is equipped with the Atheros chipset, too.
The signal quality is great and it works flawlessly.

HTH
Christian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Atheros Wireless Chipsets?

2006-11-16 Thread Lukas Razik

Hi!


How is the FreeBSD support for Atheros Chipsets? Is there 54 megabit speed?


It's good. See here:
http://www.freebsd.org/cgi/man.cgi?query=ath&apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&format=html


And also, how is WEP and/or WPA support?

It's also good. It works for me...

Regards,
Lukas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: atheros wireless setup

2005-12-16 Thread Giorgos Keramidas
On 2005-12-15 22:34, Jim Pazarena <[EMAIL PROTECTED]> wrote:
> I can't believe how incredibly easy it was to get
> the wireless going in my laptop.
>
> add:  if_ath_load="YES"   to /boot/loader.conf
>
> and:   ifconfig_ath0="dhcp"   to /etc/rc.conf
>
> and it "works" !
>
> please tell me where I can read up on how to "control" the wireless
> link. Such as how to enter the "SSID", and connect speed etc.

I started by reading this Handbook section:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html

One thing that you may want to note, if you are not *ALWAYS* around a
known wireless network, is that making changes to /etc/rc.conf may cause
the startup process to print harmless, but annoying nevertheless,
warnings when ath0 is down.  This is especially true if your wireless
NIC is not on-board, but a PC-CARD that you sometimes use (like mine).

In this case, you can 'override' the /etc/rc.conf settings by making a
small shell script like this (almost identical to the one I use to bring
up ath0 on my laptop):

 1 | export ifconfig_ath0="inet DHCP ssid 'XX' \
 2 | wepmode on weptxkey 1 wepkey '1:0xXX'"
 3 |
 4 | /etc/rc.d/netif stop  # Stop all other interfaces.
 5 | /etc/rc.d/netif start ath0# Bring up ath0.
 6 | if test $? -eq 0 ; then
 7 | echo >&2 "ath0: ERROR: Could not bring up interface."
 8 | exit 1
 9 | fi
10 |
11 | echo -n "Waiting for ath0 to associate "
12 | _timeout=0
13 | _associated=NO
14 | while [ "$_timeout" -lt 30 ]; do
15 | status=$( ifconfig ath0 2>&1 | grep status: |\
16 |   awk '{print $2}' )
17 | if [ X"${status}" = X"associated" ]; then
18 | _associated=YES
19 | break
20 | fi
21 | echo -n '.'
22 | sleep 1
23 | _timeout=$(( $_timeout + 1 ))
24 | done
25 | if [ X"${_associated}" = X"YES" ]; then
26 | echo " ok"
27 | else
28 | echo ''
29 | echo >&2 "ath0: ERROR: Timed out while waiting to associate."
30 | /etc/rc.d/netif stop ath0
31 | exit 1
32 | fi

By setting ifconfig_ath0 in the script itself (see lines 1-2), you don't
have to modify `/etc/rc.conf'.  The /etc/rc.d/netif script will be happy
by simply finding the appropriate stuff in its running environment :-)

I hope this helps,

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: atheros wireless setup

2005-12-16 Thread Erik Norgaard

Jim Pazarena wrote:

I can't believe how incredibly easy it was to get
the wireless going in my laptop.

add:  if_ath_load="YES"   to /boot/loader.conf

and:   ifconfig_ath0="dhcp"   to /etc/rc.conf

and it "works" !

please tell me where I can read up on how to "control" the
wireless link. Such as how to enter the "SSID", and connect
speed etc.


I assume you use FBSD6? Check wpa_supplicant, if you are always 
connecting to the same wireless network you can also enter these details 
in the rc.conf line:


  ifconfig_ath0="ssid MyWireless dhcp"

Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"