From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-55347-garchives=archives.gentoo.org@gentoo.org>)
	id 1GoPK7-0008Uv-U8
	for garchives@archives.gentoo.org; Sun, 26 Nov 2006 19:05:56 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAQJ3pxO023980;
	Sun, 26 Nov 2006 19:03:51 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAQJ14uS013247
	for <gentoo-user@lists.gentoo.org>; Sun, 26 Nov 2006 19:01:04 GMT
Received: by nf-out-0910.google.com with SMTP id c31so2924287nfb
        for <gentoo-user@lists.gentoo.org>; Sun, 26 Nov 2006 11:01:04 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=DKWMRxAPmnSKnjst1g7wHoHj71V0mVl9JdIZBjFkCpMIOivyt2AKSILwdXDq/XVLD7XzPXxW6gsxDjYeFrR8/6Ku7nT5stUMmsJhLAhN0rkQgvhs1eCn+RzRxcx0++d5Jx9gAXBhFAweyBBmJPiVevYUCimjB2SyJJcBa2ON/t4=
Received: by 10.82.141.4 with SMTP id o4mr1496166bud.1164567663035;
        Sun, 26 Nov 2006 11:01:03 -0800 (PST)
Received: by 10.82.106.18 with HTTP; Sun, 26 Nov 2006 11:01:02 -0800 (PST)
Message-ID: <5bdc1c8b0611261101m61db27a4jb41640842deefb54@mail.gmail.com>
Date: Sun, 26 Nov 2006 11:01:02 -0800
From: "Mark Knecht" <markknecht@gmail.com>
To: Stroller <stroller@stellar.eclipse.co.uk>
Subject: Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot)
Cc: gentoo-user@lists.gentoo.org
In-Reply-To: <60AEA9DD-1B78-458A-9BD9-F3F33918289B@stellar.eclipse.co.uk>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <5bdc1c8b0611251229l61dc420es30f92c0bebafe316@mail.gmail.com>
	 <200611252048.16847.michaelkintzios@gmail.com>
	 <5bdc1c8b0611251342h2a946ed7n6017518019d8057f@mail.gmail.com>
	 <200611252349.20437.sp_rm_it@yahoo.it>
	 <5bdc1c8b0611251801g62177cfev980aacfae3ead86a@mail.gmail.com>
	 <60AEA9DD-1B78-458A-9BD9-F3F33918289B@stellar.eclipse.co.uk>
X-Archives-Salt: a296e704-1e60-45e8-a090-1daeb78ed339
X-Archives-Hash: 9ca177be1173ae6a7efdd5d86aa68c4d

On 11/25/06, Stroller <stroller@stellar.eclipse.co.uk> wrote:
>
> On 26 Nov 2006, at 02:01, Mark Knecht wrote:
> > ...
> > I do have the ath_pci driver and I can modprobe it successfully:
> >
> > Sector9 ~ # modprobe ath_pci
> > Sector9 ~ # lsmod
> > Module                  Size  Used by
> > <SNIP>
> > ath_pci                72800  0
> > ath_rate_sample        10880  1 ath_pci
> > <SNIP>
> > ath_hal               189264  3 ath_pci,ath_rate_sample
> > <SNIP>Sector9 ~ #
> >
> > I don't see any errors in dmesg, or even any messages.
> >
> > Since I cannot get ndiswrapper working how would I go about getting
> > ath_pci to work?
>
> What card do you actually have? IMO NDISwrapper is a last resort for
> cards that have no native support & for users who cannot afford a
> supported card.

I completely agree.

> You should certainly be using madwifi or madwifi-ng
> (the driver which provides ath_pci, IIRC) if your card supports it.
>
> What does `lspic -vt` say?

I assume you meant lspci:

Sector9 ~ # lspci -vt
-[0000:00]-+-00.0  nVidia Corporation C51 Host Bridge
           +-00.1  nVidia Corporation C51 Memory Controller 0
           +-00.2  nVidia Corporation C51 Memory Controller 1
           +-00.3  nVidia Corporation C51 Memory Controller 5
           +-00.4  nVidia Corporation C51 Memory Controller 4
           +-00.5  nVidia Corporation C51 Host Bridge
           +-00.6  nVidia Corporation C51 Memory Controller 3
           +-00.7  nVidia Corporation C51 Memory Controller 2
           +-02.0-[0000:01]--
           +-04.0-[0000:02]--
           +-05.0  nVidia Corporation C51 PCI Express Bridge
           +-09.0  nVidia Corporation MCP51 Host Bridge
           +-0a.0  nVidia Corporation MCP51 LPC Bridge
           +-0a.1  nVidia Corporation MCP51 SMBus
           +-0a.2  nVidia Corporation MCP51 Memory Controller 0
           +-0b.0  nVidia Corporation MCP51 USB Controller
           +-0b.1  nVidia Corporation MCP51 USB Controller
           +-0d.0  nVidia Corporation MCP51 IDE
           +-0e.0  nVidia Corporation MCP51 Serial ATA Controller
           +-0f.0  nVidia Corporation MCP51 Serial ATA Controller
           +-10.0-[0000:03]--+-08.0  Lite-On Communications Inc LNE100TX
           |                 \-0a.0  Atheros Communications, Inc.
AR5005G 802.11abg NIC
           +-10.1  nVidia Corporation MCP51 High Definition Audio
           +-14.0  nVidia Corporation MCP51 Ethernet Controller
           +-18.0  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
           +-18.1  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
           +-18.2  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
           \-18.3  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
Sector9 ~ #


> What does `iwconfig` say?
>

Actually, this is interesting and (so far) unexplained. I did not
intentionally ask the system to load ath_pci but it has done that. It
appears that ath_pci may have grabbed to hardware and hence stopped
ndiswrapper from using the card? No wonder I'm told that wlan0 doesn't
exist!

Sector9 ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Sector9 ~ #

So, then I have two questions:

1) What is the proper way to configure this card using ath0, assuming
it actually is supported?

2) If the above data is about my card then why isn't is coming up
802.11g? I get .11g support from ndiswrapper, or did when it
worked...)

I do have madwifi installed but I'm not intentionally trying to run
it, as far as I know:

Sector9 ~ # eix -I madwifi
* net-wireless/madwifi-ng
     Available versions:  0.0.1443.20060207 0.0.1531.20060427 0.9.2
     Installed:           0.9.2
     Homepage:            http://www.madwifi.org/
     Description:         Next Generation driver for Atheros based
IEEE 802.11a/b/g wireless LAN cards

* net-wireless/madwifi-ng-tools
     Available versions:  0.0.1443.20060207 0.0.1531.20060427 ~0.9.1
~0.9.2_rc1692 0.9.2
     Installed:           0.9.2
     Homepage:            http://www.madwifi.org/
     Description:         Next Generation tools for configuration of
Atheros based IEEE 802.11a/b/g wireless LAN cards

Found 2 matches.
Sector9 ~ #

Sector9 ~ # rc-update show
           alsasound |      default
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
               cupsd |      default
            hostname | boot
             hotplug |      default
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
              net.lo | boot
           net.wlan0 |      default
            netmount |      default
                ntpd |      default
           rmnologin | boot
                sshd |      default
           syslog-ng |      default
             urandom | boot
          vixie-cron |      default
                 xdm |      default
Sector9 ~ # cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# 3c59x
#forcedeth
ndiswrapper
agpgart
nvidia-agp
#tulip
Sector9 ~ #



Thanks,
Mark
-- 
gentoo-user@gentoo.org mailing list