ndiswrapper in modprobe.d causes system to semi-hang during login

Bug #60313 reported by JosephWoodbridge
4
Affects Status Importance Assigned to Milestone
ndiswrapper (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I use ndiswrapper for my broadcom wifi. It works fine.. except when i type:

ndiswrapper -m

to write it to /etc/modprobe.d ... because if i do the system will stall for about 5 minutes the next boot up while loading gnome (after the loginpassword screen)

if i modprobe after gnome loads it works instantly and everything is fine.

Revision history for this message
Jason Conti (jconti) wrote :

I have the same problem with ndiswrapper and my linksys wusb54g. The problem only seems to affect gnome though (in edgy), for me at least.

If I leave the network card plugged in when I boot up and try to log into gnome, I just get a blank screen and gnome never loads. But if I boot up with the network card unplugged, gnome loads fine, and I can then plug in the card and it will connect to the network. Everything works fine in gnome after that until I log out and try to log back into gnome.

I have fluxbox installed as well, and it has no issues whether or not I leave the card plugged in, but if I try to run a gnome terminal from within fluxbox if I boot with the card plugged in or log out and back in after I've connected, I just get a blank black screen. Other apps seem to work fine: xterm, firefox, gaim all have no problem.

Revision history for this message
Jason Conti (jconti) wrote :

After a bit of experimentation I found the problem. (my problem anyway) For the heck of it I decided to run an strace on gnome-terminal from inside fluxbox to see if I could find the exact spot where the program would hang for 5 minutes until it would finally decide to load.

It seemed to be hanging on connecting a socket to localhost. I tried to ping localhost and nothing.

Apparently the loopback interface wasn't added to /etc/network/interfaces during installation. I'm guessing this is because I skipped network setup during the install because I knew I had to install ndiswrapper and the linksys drivers before it would work. Adding:

iface lo inet loopback

to /etc/network/interfaces fixed the problem. Gnome now loads up just fine.

Revision history for this message
Christer Edwards (christer.edwards) wrote :

Thank you for submitting your bug and helping to make Ubuntu better. I am going to close this bug as it appears to be solved. If this problem is still occurring please re-open the bug and include more information. Thank You.

Changed in ndiswrapper:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.