Gentoo Archives: gentoo-user

From: Robert Crawford <flacycads@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems with madwifi
Date: Wed, 17 Aug 2005 13:10:27
Message-Id: 200508170905.37668.flacycads@cox.net
In Reply to: [gentoo-user] Problems with madwifi by Pupeno
1 On Tuesday 16 August 2005 11:52 pm, Pupeno wrote:
2 > Hello,
3 > I have an IBM wifi card that has an Atheros chipset that was working
4 > perfectly with the madwifi driver untill the update that happened recently,
5 > now it is a big mess.
6 > When I plug it in or at boot if it is plugged in when coldplugging pnp
7 > devices I got somethig like:
8 >
9 > PREEMPT
10 > Modules linked in: md5 ipv6 pcmcia tsdev ohci_hcd parport_pc parport floppy
11 > psmouse rtc pcspkr yenta_socket rsrc_nonstatic pcmcia_core tg3 snd_intel8x0
12 > snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc i2c_i801
13 > i2c_core piix shpchp pci_hotplug ehci_hcd uhci_hcd intelfb intel_agp
14 > agpgart evdev usbcore aes_i586 dm_crypt ath_pci ath_rate_sample
15 > ath_rate_onoe ath_rate_amrr wlan_xauth wlan_wep wlan_tkip wlan_ccmp
16 > wlan_acl wlan ath_hal ibm_acpi thermal processor fan button battery ac loop
17 > dm_mod ide_cd cdrom nls_utf8 nls_base
18 > CPU: 0
19 > EIP: 0060:[<f01436a0>] Tainted: P VLI
20 > EFLAGS: 00010246 (2.6.12-suspend2-r4)
21 > EIP is at ath_rate_ctl_reset+0xd0/0x470 [ath_rate_sample]
22 > eax: 00000000 ebx: ee300800 ecx: ec62c000 edx: 00000000
23 > esi: 70007972 edi: 00000000 ebp: ee300800 esp: ed8e5cc8
24 > ds: 007b es: 007b ss: 0068
25 > Process pccardd (pid: 6197, threadinfo=ed8e4000 task=ef3db020)
26 > Stack: c034e946 ed8e5d10 00000046 ef22ca40 c042ff10 000f4bd1 ef22ca40
27 > ef22ca40 4145c780 000f4bd1 000d9038 4145c780 000f4bd1 ef22ca40 ee3009fc
28 > ec62c620 ec62c000 ee300800 f01a1490 ee300ff8 ec62c000 f01a242b ec62c000
29 > ee300800 Call Trace:
30 > [<c034e946>] schedule+0x336/0x620
31 > [<f01a1490>] ath_key_update_begin+0x0/0x70 [ath_pci]
32 > [<f01a242b>] ath_node_alloc+0x9b/0xc0 [ath_pci]
33 > [<f01a1490>] ath_key_update_begin+0x0/0x70 [ath_pci]
34 > [<f0189f93>] ieee80211_node_lateattach+0x13/0xe0 [wlan]
35 > [<f01a1490>] ath_key_update_begin+0x0/0x70 [ath_pci]
36 > [<f0183a9f>] ieee80211_media_init+0x1f/0x4a0 [wlan]
37 > [<f01a198c>] ath_setslottime+0x2c/0x50 [ath_pci]
38 > [<f018453f>] ieee80211_watchdog+0x5f/0x90 [wlan]
39 > [<f0183699>] ieee80211_ifattach+0x159/0x2e0 [wlan]
40 > [<f01a1500>] ath_key_update_end+0x0/0x70 [ath_pci]
41 > [<f01a1490>] ath_key_update_begin+0x0/0x70 [ath_pci]
42 > [<f0189f93>] ieee80211_node_lateattach+0x13/0xe0 [wlan]
43 > [<f01a1490>] ath_key_update_begin+0x0/0x70 [ath_pci]
44 > [<f0183a9f>] ieee80211_media_init+0x1f/0x4a0 [wlan]
45 > [<f01a198c>] ath_setslottime+0x2c/0x50 [ath_pci]
46 > [<f018453f>] ieee80211_watchdog+0x5f/0x90 [wlan]
47 > [<f0183699>] ieee80211_ifattach+0x159/0x2e0 [wlan]
48 > [<f01a1500>] ath_key_update_end+0x0/0x70 [ath_pci]
49 > [<f01a1490>] ath_key_update_begin+0x0/0x70 [ath_pci]
50 > [<f019f889>] ath_attach+0x889/0xb00 [ath_pci]
51 > [<f01a0b40>] ath_media_change+0x0/0x40 [ath_pci]
52 > [<f0184360>] ieee80211_media_status+0x0/0x180 [wlan]
53 > [<f01a6656>] ath_pci_probe+0x226/0x3e0 [ath_pci]
54 > [<c025b162>] pci_device_probe_static+0x52/0x70
55 > [<c025b1bc>] __pci_device_probe+0x3c/0x50
56 > [<c025b1fc>] pci_device_probe+0x2c/0x50
57 >
58 > if I try to connect I get:
59 >
60 > # /etc/init.d/net.ath0 start
61 > * Starting ath0
62 > * Bringing up ath0
63 > * Configuration not set for ath0 - assuming dhcp
64 > * dhcp
65 > * ath0 does not exist
66 >
67 > in some cases I just get: failed to connect.
68 > Checking a bit more, ath0 doesn't exist, and I can't even see it on lspci.
69 >
70 > When I unplug it, I get a kernel panic.
71 >
72 > I am loading the modules:
73 > ath_hal
74 > wlan
75 > wlan_acl
76 > wlan_ccmp
77 > wlan_tkip
78 > wlan_wep
79 > wlan_xauth
80 > ath_rate_amrr
81 > ath_rate_onoe
82 > ath_pci
83 > at boot thru /etc/modules.autoload.d/kernel-2.6.
84 >
85 > Any ideas what is going on ? Am I doing something wrong ?
86 >
87 > Thank you.
88
89 Which updates are you talking about- did you change kernels? Maybe you need to
90 reemerge all the wifi and dhcpcd stuff.
91
92 I have a D-link Atheros based card, and here's what I do:
93
94 1. compile into the kernel all support items for wifi (not modules)
95
96 2. emerge all madwifi stuff (tools, driver), and dhcpcd
97
98 3. As root, type
99
100 iwconfig ath0
101
102 This brings up the config list, but no essid, and the address is all zeros.
103
104 then I type
105
106 dhcpcd ath0
107
108 and it connects fine.
109
110 If I redo the iwconfig ath0 command, it now lists the essid name of my
111 wireless router (linksys), and the numerical isp address dhcpcd found.
112
113 Hope this helps.
114
115 Robert Crawford
116
117
118
119
120 --
121 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Problems with madwifi Pupeno <pupeno@××××××.com>