← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 585765] Re: Ubuntu 10.04 random freezes

 

I spent about 3 month with my machine in single user recovery boot up which worked fine. 
As soon as I go past init S into init 2,3,4,5 system hangs. Total system lock up. 
If i tried to go back to init S after $ telinit 2,3,4,5 or $ init 2,3,4,5. it would still hang. 
It would consistintly freeze or restart at about 30 after xserver started.  Whether I logged in or not. 
Nothing of interest in the log files. no errors, just normal messages. 

I have not tried to ssh into the system.

I spent the last 2 days going through the /etc/init.d/ and /etc/rc*.d/ to try and figure out why this was limited to runlevel above single user. 
runlevel 2 through 5 are the same. Default in Ubuntu is init 2 
$who -r # will show you what init level your are currently in. 

I found the offending script to be in 
$ file /etc/rc2.d/S99ondemand 
/etc/rc2.d/S99ondemand: symbolic link to `../init.d/ondemand'

when i renamed it 
$cd /etc/init.d/
$mv ondemand bk.ondemand

Boot back into normal standard ubuntu every thing is going fine now
$uptime
 14:17:43 up  1:04,  2 users,  load average: 0.73, 0.68, 0.69

ondemand is the system CPU governor. 
$ cat /etc/init.d/ondemand | grep -i short
# Short-Description: Set the CPU Frequency Scaling governor to "ondemand" 

I hope that helps the debug team and give people a possible fix.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.
https://bugs.launchpad.net/bugs/585765

Title:
  Ubuntu 10.04 random freezes