Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed Ubuntu as wubi (next to windows 7). When I expect the computer to shut down, it doesn't, it freezes instead.

I've found this elsewhere:

sudo modprobe -rf rt2860sta; sudo modprobe rt2860sta; echo blacklist rt2800pci | sudo tee -a /etc/modprobe.d/blacklist.conf

Is there some way for me to figure out, whether this is right for me? This fixes "wrong driver loaded", but how can I check which driver I have, and whether it is wrong?

share|improve this question
2  
Please provide us with a little more information as to which version you are using. –  nitstorm Sep 21 '11 at 15:38
    
is there anything interesting in your logs? –  madmaze Sep 21 '11 at 15:57
    
System: Ubuntu 11.04. Not sure which logs to look in. –  Lise A Sep 23 '11 at 8:10
    
Laptop, HP 620. –  Lise A Sep 25 '11 at 16:49
    
I've found this elsewhere: sudo modprobe -rf rt2860sta; sudo modprobe rt2860sta; echo blacklist rt2800pci | sudo tee -a /etc/modprobe.d/blacklist.conf -- Is there some way for me to figure out, whether this is right for me? –  Lise A Sep 27 '11 at 1:17
show 2 more comments

3 Answers

You may try to run from the terminal window:

sudo halt

or

sudo init 0
share|improve this answer
    
sudo halt leads to freeze. –  Lise A Sep 23 '11 at 9:38
    
sudo init 0 also leads to freeze. –  Lise A Sep 23 '11 at 21:52
    
Could you please describe how exactly it freezes ? I doesn't respond to anything ? Does the display go black ? What does it do ? –  Marc Boisvert Sep 23 '11 at 22:40
    
It doesn't respond to anything. My impression is, that it goes through house keeping (e.g. panel disappears), and at some random time during this freezes. Sometimes a picture will be left, sometimes the screen will be black. And then it does nothing, until I press and hold the power button, and it powers down that way. –  Lise A Sep 25 '11 at 16:51
    
Are you running any other operating system along-side Ubuntu ? Also, here are a few more commands for you to try but I doubt it'll do anything. sudo shutdown -h now Or sudo poweroff –  Marc Boisvert Sep 26 '11 at 8:26
show 4 more comments

Okay, current state of affairs:

lisea@ubuntu:~$ bin/rtcheck.sh 
-----------------------------------------------
SUSPEND_MODULES="rt2800pci"
-----------------------------------------------
blacklist rt2800pci
-----------------------------------------------
parport_pc             32111  0 
rt2860sta             494649  1 
crc_ccitt              12595  1 rt2860sta
parport                36746  3 parport_pc,ppdev,lp
-----------------------------------------------
lisea@ubuntu:~$ 
lisea@ubuntu:~$ cat bin/rtcheck.sh 
#/bin/sh

echo "-----------------------------------------------"
cat /etc/pm/config.d/config 
echo "-----------------------------------------------"
tail -n 1 /etc/modprobe.d/blacklist.conf
echo "-----------------------------------------------"
lsmod | grep rt
echo "-----------------------------------------------"

In part this was achieved through these commands:

sudo modprobe -rf rt2800pci
sudo modprobe -rf rt2860sta
sudo modprobe rt2860sta

I blacklisted rt2800pci first (meaning it won't be loaded in the future), then removed it right now with the 3 commands above. The computer froze as a result of the last command, but after boot it finally did what it was supposed to do.

Success! My computer finally understands how a shutdown works!

share|improve this answer
add comment

I could not follow this advice. My system did not have the same files. I finally just reloaded with Ubuntu 11.10 32bit rather than 64 bit. seems to be working.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.