Gentoo Archives: gentoo-user

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

Replies

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