Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: Stroller <stroller@××××××××××××××××××.uk>
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot)
Date: Sun, 26 Nov 2006 19:05:56
Message-Id: 5bdc1c8b0611261101m61db27a4jb41640842deefb54@mail.gmail.com
In Reply to: Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot) by Stroller
1 On 11/25/06, Stroller <stroller@××××××××××××××××××.uk> wrote:
2 >
3 > On 26 Nov 2006, at 02:01, Mark Knecht wrote:
4 > > ...
5 > > I do have the ath_pci driver and I can modprobe it successfully:
6 > >
7 > > Sector9 ~ # modprobe ath_pci
8 > > Sector9 ~ # lsmod
9 > > Module Size Used by
10 > > <SNIP>
11 > > ath_pci 72800 0
12 > > ath_rate_sample 10880 1 ath_pci
13 > > <SNIP>
14 > > ath_hal 189264 3 ath_pci,ath_rate_sample
15 > > <SNIP>Sector9 ~ #
16 > >
17 > > I don't see any errors in dmesg, or even any messages.
18 > >
19 > > Since I cannot get ndiswrapper working how would I go about getting
20 > > ath_pci to work?
21 >
22 > What card do you actually have? IMO NDISwrapper is a last resort for
23 > cards that have no native support & for users who cannot afford a
24 > supported card.
25
26 I completely agree.
27
28 > You should certainly be using madwifi or madwifi-ng
29 > (the driver which provides ath_pci, IIRC) if your card supports it.
30 >
31 > What does `lspic -vt` say?
32
33 I assume you meant lspci:
34
35 Sector9 ~ # lspci -vt
36 -[0000:00]-+-00.0 nVidia Corporation C51 Host Bridge
37 +-00.1 nVidia Corporation C51 Memory Controller 0
38 +-00.2 nVidia Corporation C51 Memory Controller 1
39 +-00.3 nVidia Corporation C51 Memory Controller 5
40 +-00.4 nVidia Corporation C51 Memory Controller 4
41 +-00.5 nVidia Corporation C51 Host Bridge
42 +-00.6 nVidia Corporation C51 Memory Controller 3
43 +-00.7 nVidia Corporation C51 Memory Controller 2
44 +-02.0-[0000:01]--
45 +-04.0-[0000:02]--
46 +-05.0 nVidia Corporation C51 PCI Express Bridge
47 +-09.0 nVidia Corporation MCP51 Host Bridge
48 +-0a.0 nVidia Corporation MCP51 LPC Bridge
49 +-0a.1 nVidia Corporation MCP51 SMBus
50 +-0a.2 nVidia Corporation MCP51 Memory Controller 0
51 +-0b.0 nVidia Corporation MCP51 USB Controller
52 +-0b.1 nVidia Corporation MCP51 USB Controller
53 +-0d.0 nVidia Corporation MCP51 IDE
54 +-0e.0 nVidia Corporation MCP51 Serial ATA Controller
55 +-0f.0 nVidia Corporation MCP51 Serial ATA Controller
56 +-10.0-[0000:03]--+-08.0 Lite-On Communications Inc LNE100TX
57 | \-0a.0 Atheros Communications, Inc.
58 AR5005G 802.11abg NIC
59 +-10.1 nVidia Corporation MCP51 High Definition Audio
60 +-14.0 nVidia Corporation MCP51 Ethernet Controller
61 +-18.0 Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
62 HyperTransport Technology Configuration
63 +-18.1 Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
64 Address Map
65 +-18.2 Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
66 DRAM Controller
67 \-18.3 Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
68 Miscellaneous Control
69 Sector9 ~ #
70
71
72 > What does `iwconfig` say?
73 >
74
75 Actually, this is interesting and (so far) unexplained. I did not
76 intentionally ask the system to load ath_pci but it has done that. It
77 appears that ath_pci may have grabbed to hardware and hence stopped
78 ndiswrapper from using the card? No wonder I'm told that wlan0 doesn't
79 exist!
80
81 Sector9 ~ # iwconfig
82 lo no wireless extensions.
83
84 eth0 no wireless extensions.
85
86 eth1 no wireless extensions.
87
88 wifi0 no wireless extensions.
89
90 ath0 IEEE 802.11b ESSID:""
91 Mode:Managed Channel:0 Access Point: Not-Associated
92 Bit Rate:0 kb/s Tx-Power:0 dBm Sensitivity=0/3
93 Retry:off RTS thr:off Fragment thr:off
94 Encryption key:off
95 Power Management:off
96 Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
97 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
98 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
99
100 Sector9 ~ #
101
102 So, then I have two questions:
103
104 1) What is the proper way to configure this card using ath0, assuming
105 it actually is supported?
106
107 2) If the above data is about my card then why isn't is coming up
108 802.11g? I get .11g support from ndiswrapper, or did when it
109 worked...)
110
111 I do have madwifi installed but I'm not intentionally trying to run
112 it, as far as I know:
113
114 Sector9 ~ # eix -I madwifi
115 * net-wireless/madwifi-ng
116 Available versions: 0.0.1443.20060207 0.0.1531.20060427 0.9.2
117 Installed: 0.9.2
118 Homepage: http://www.madwifi.org/
119 Description: Next Generation driver for Atheros based
120 IEEE 802.11a/b/g wireless LAN cards
121
122 * net-wireless/madwifi-ng-tools
123 Available versions: 0.0.1443.20060207 0.0.1531.20060427 ~0.9.1
124 ~0.9.2_rc1692 0.9.2
125 Installed: 0.9.2
126 Homepage: http://www.madwifi.org/
127 Description: Next Generation tools for configuration of
128 Atheros based IEEE 802.11a/b/g wireless LAN cards
129
130 Found 2 matches.
131 Sector9 ~ #
132
133 Sector9 ~ # rc-update show
134 alsasound | default
135 bootmisc | boot
136 checkfs | boot
137 checkroot | boot
138 clock | boot
139 consolefont | boot
140 cupsd | default
141 hostname | boot
142 hotplug | default
143 keymaps | boot
144 local | default nonetwork
145 localmount | boot
146 modules | boot
147 net.lo | boot
148 net.wlan0 | default
149 netmount | default
150 ntpd | default
151 rmnologin | boot
152 sshd | default
153 syslog-ng | default
154 urandom | boot
155 vixie-cron | default
156 xdm | default
157 Sector9 ~ # cat /etc/modules.autoload.d/kernel-2.6
158 # /etc/modules.autoload.d/kernel-2.6: kernel modules to load when system boots.
159 #
160 # Note that this file is for 2.6 kernels.
161 #
162 # Add the names of modules that you'd like to load when the system
163 # starts into this file, one per line. Comments begin with # and
164 # are ignored. Read man modules.autoload for additional details.
165
166 # For example:
167 # 3c59x
168 #forcedeth
169 ndiswrapper
170 agpgart
171 nvidia-agp
172 #tulip
173 Sector9 ~ #
174
175
176
177 Thanks,
178 Mark
179 --
180 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot) Stroller <stroller@××××××××××××××××××.uk>