[pkg-fso-maint] Kernel and wifi

Christian Adams morlac at morlac.de
Tue Mar 3 08:46:17 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

moinmoin,
Am 02.03.2009 um 20:32 schrieb gregor herrmann:

[..]

> 2) boot with wicd disabled in runlevel 2
> As we already know :) there's no oops in this case. Status after
> everything has come up and before I did anything (except entering the
> PIN):
> * ifconfig and iwconfig don't know about eth0, o-p-p has the "wifi
>   disabled" icon.
> * No eth0 in /proc/net/dev.
> * ar6000 loaded.
>
> Now let's try to produce a kernel oops:
> * Turn on wifi (o-p-p): eth0 shows up in /proc/net/dev and in
>   i(w|f)config output. No oops.
> * /etc/init.d/wicd start: no changes, no oops.
> * Start wicd-client: no changes, no oops.
> * Open the wicd-client GUI; it scans for wireless networks; still no
>   changes/problems.
> * Connect to a (WPA encrypted) network via the GUI: wpa_supplicant
>   and dhclient get called, both succeed, no problems. dmesg output:
>
> [  584.355000] ar6000_ioctl_giwscan(): data length 0
> [  587.245000] AR6000 disconnected
> [  587.630000] channel hint set to 2462
> [  590.105000] eth0: no IPv6 routers present
> [  592.135000] channel hint set to 2462
> [  592.150000] AR6000 disconnected
> [  592.225000] AR6000 connected event on freq 2462 with bssid  
> 00:18:84:29:9a:57  listenInterval=100, beaconInterval = 100,  
> beaconIeLen = 26 assocReqLen=60 assocRespLen =59
> [  592.230000] Network: Infrastructure
>
> * Turn off wifi (o-p-p): Here we are: the kernel oopses; last lines
>   of dmesg output attached.

i think i know now why i don't get the oops here:
in o-p-p you have options for pre/post enable/disable - and for wifi
i use the following:
* post-enable: sleep 2 && iwlist scan && ifup eth0
* pre-disable: ifdown eth0

@mickey:
whouldn't it be an idea that frameworkd ensures the interface is down
(via 'ifdown eth0') before 'disabling' it?

cheesr,
	christian (morlac) adams
- --
- -----BEGIN CONTACT BLOCK-----
   eMail:	morlac at morlac.de
   Jabber:	morlac at skavaer.homelinux.org
- ------END CONTACT BLOCK------

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS$/IT;d-;s:;a?;C++(+++)>++++;UL++++;P++(+++)>++++;
L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+>;!V;PS(+);PE;
Y+;PGP++;t+(++);5(+)>++;X(+);R*;tv->+;b++(+++);DI++;
D++(+++)>++++;G(+)>++;e+>+++;h-()>++;r++;y++;
- ------END GEEK CODE BLOCK------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFJrO5Zr81gVylJyzERAv5cAJ9AJE8MyVegjtaos1gP5AgsKAzxzgCghh2d
CC73dKvLyRfjmGl9uxpxAPs=
=HTLe
-----END PGP SIGNATURE-----



More information about the pkg-fso-maint mailing list