Re: [lwlan-devel] Linux-wlan-ng and xen

Richard Kennedy <[email protected]> Wed, 14 Jun 2006 21:18:54 +0100
Newsgroups gmane.linux.linux-wlan.user,gmane.linux.linux-wlan.devel
Message-ID <[email protected]>
On Tue, 2006-06-13 at 09:07 +0100, Gee, David wrote:
> Hi,
>  
> I'm running Fedora Core 5, and I have a Netgear MA111 prism2_usb
> device, which has been working quite happily up to now. Last night I
> tried using the Xen virtualisation engine as I wanted to play around
> with it. However, it seems as soon as I start the xend (Xen daemon)
> service, my wlan0 connection dies. The /proc/net/p80211/wlan0 entry
> disappears, and for some reason a /proc/net/p80211/wlan1 entry appears
> in its place. However, wlan1 will not start, and restarting the wlan
> service has no effect. Neither does removing and reinserting the
> wireless adapter. The only way to get the network back up is to reboot
> the entire box.
>  
> I'm running kernel-2.6.16-1.2133_FC5xen0, with linux-wlan-ng 0.2.3,
> with the udev patch necessary to make it work on FC5.
>  
> Has anyone else observed this behaviour with Xen? Any pointers as to
> how I might resolve this?
> 
> Regards,
> David
Hi David,

I've not run Xen, so can't help you there, but are you using the usb
device reference counting patch I posted a while ago ?

My machine would hang on the resume after a suspend, and the patch fixed
it. I'm guessing that as your device changes number 0 -> 1, that it's
not getting cleaned up properly and may be the same sort of issue.

Is the wlan module getting unloaded properly when you start Xen? Are you
seeing anything useful/unusual in the log ?

BTW -- my wlan device doesn't work immediately after a resume , but the
laptop restarts and I can sometimes unload /reload the wlan device to
get it back. So it's not a full solution but might help a bit :)

Cheers
Richard