Results 1 to 9 of 9

Thread: Ubuntu freezes after running a random amount of time

  1. #1
    Join Date
    Aug 2008
    Location
    Chandigarh,India
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Exclamation Ubuntu freezes after running a random amount of time

    I set up a dual boot with Windows XP and Ubuntu 8.04.
    After a random amount of time,Ubuntu freezes and there is no response of the keyboard/mouse events.Audio playback stops.A restart solves the issue.Can this be a problem with Ubuntu?(or just a coincidence and actually a hardware problem)

    How do I start with basic troubleshooting for this problem in Ubuntu.Please help.
    Happy to get over the age old Windows addiction..finally!

  2. #2
    Join Date
    Mar 2007
    Beans
    1,208
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu freezes after running a random amount of time

    It may be worth running a memtest (you can select this from the grub menu when you start your comp) to check for faulty RAM in your machine.

    Are there any sort of patterns you can identify in the freezing, such as a set time or certain actions you perform before it happens?

    Has this only just started happening, or has it been like this since install?

    Also, are you running compizfusion (desktop effects)?
    How To Use Ubuntu - Tips and guides for ubuntu
    How To Make A Band - Tips and ideas for anyone in a band

  3. #3
    Join Date
    Aug 2008
    Location
    Chandigarh,India
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Ubuntu freezes after running a random amount of time

    OK,I'll perform the memtest and update this thread.

    No,the system freezes just randomly without a set pattern.The applications running are usually Amarok,Pidgin,Utorrent through Wine,Firefox.

    I installed Ubuntu 8.04 a week ago and this has started happening since the past two days.(I install all updates as recommended by the update manager.Is that OK?)

    I ran compiz for a while which slowed the system down a bit..so I switched to No effects.
    Happy to get over the age old Windows addiction..finally!

  4. #4
    Join Date
    May 2007
    Location
    San Francisco, California
    Beans
    5,857
    Distro
    Ubuntu Development Release

    Re: Ubuntu freezes after running a random amount of time

    Yeah run a memetest and also post the following output:
    Code:
    top
    It could be a resource issue but I highly doubt that, but you never know.

  5. #5
    Join Date
    Aug 2008
    Location
    Chandigarh,India
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Ubuntu freezes after running a random amount of time

    Rebooted to run the memtest..It ran for 48 seconds and then the WallTime stopped clicking at Pass 3 - Test 37%. WallTime isn't supposed to stop clicking due to any errors in the RAM..right?
    Waited for a while and then restarted and selected the Ubuntu OS to boot.

    The system hung at Starting up..
    So I switched it off and rebooted after 7-10 minutes.The system started successfully then.

    Output of top :

    Code:
    top - 01:23:44 up 8 min,  2 users,  load average: 0.16, 0.29, 0.21
    Tasks:  99 total,   3 running,  96 sleeping,   0 stopped,   0 zombie
    Cpu(s):  2.6%us,  0.4%sy,  0.0%ni, 97.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:    766448k total,   619648k used,   146800k free,    16176k buffers
    Swap:        0k total,        0k used,        0k free,   324036k cached
    B
        1 root      20   0  2844 1688  544 S  0.0  0.2   0:01.26 init                                                            
        2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd                                                        
        3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0                                                     
        4 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0                                                     
        5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                      
        6 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 events/0                                                        
        7 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khelper                                                         
       41 root      15  -5     0    0    0 S  0.0  0.0   0:00.04 kblockd/0                                                       
       44 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid                                                          
       45 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpi_notify                                                    
      119 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod                                                         
      156 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                                         
      157 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                                         
      158 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kswapd0                                                         [319 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod                                                         
      156 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                                         
      157 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                                         
      158 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kswapd0                                                         
      199 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0                                                           
     1457 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ksuspend_usbd                                                   
     1461 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khubd                                                           
     1491 root      15  -5     0    0    0 S  0.0  0.0   0:00.06 ata/0                                                           
     1494 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ata_aux                                                         
     1670 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0                                                       
     1673 root      15  -5     0    0    0 S  0.0  0.0   0:00.10 scsi_eh_1                                                       
     2577 root      15  -5     0    0    0 S  0.0  0.0   0:00.02 kjournald                                                       
     2802 root      16  -4  2412  960  380 S  0.0  0.1   0:00.34 udevd                                                           
     3140 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused                                                       
     4445 root      20   0  1716  512  440 S  0.0  0.1   0:00.00 getty                                                           
     4446 root      20   0  1716  512  440 S  0.0  0.1   0:00.00 getty                                                           
     4450 root      20   0  1716  508  440 S  0.0  0.1   0:00.00 getty                                                           
     4451 root      20   0  1716  504  440 S  0.0  0.1   0:00.00 getty                                                           
     4455 root      20   0  1716  512  440 S  0.0  0.1   0:00.00 getty
    Happy to get over the age old Windows addiction..finally!

  6. #6
    Join Date
    Mar 2007
    Beans
    1,208
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu freezes after running a random amount of time

    It is beginning to sound like a hardware problem due to the memtest freezing. Do you have any spare RAM you can swap over?

    Alternatively it is possible that the CD image your installed from is corrupted somehow... try running an integrity check on the CD you installed with (if you still have it).
    How To Use Ubuntu - Tips and guides for ubuntu
    How To Make A Band - Tips and ideas for anyone in a band

  7. #7
    Join Date
    Aug 2008
    Location
    Chandigarh,India
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Ubuntu freezes after running a random amount of time

    No spare RAM but I am using two chips (256 MB and 512MB).So I can probably remove one at a time and check if the other is OK.

    I got the Ubuntu 8.04 CD from a friend(who got it through Shipit).Yes I have it and will run the check
    Last edited by sharad.sharma; August 7th, 2008 at 09:15 PM.
    Happy to get over the age old Windows addiction..finally!

  8. #8
    Join Date
    May 2007
    Location
    San Francisco, California
    Beans
    5,857
    Distro
    Ubuntu Development Release

    Re: Ubuntu freezes after running a random amount of time

    Quote Originally Posted by sharad.sharma View Post
    No spare RAM but I am using two chips (256 MB and 512MB).So I can probably remove one at a time and check if the other is OK.

    I got the Ubuntu 8.04 CD from a friend(who got it through Shipit).Yes I have it and will run the check
    That's what I was thinking, could be bad RAM.

  9. #9
    Join Date
    Apr 2008
    Beans
    4,377
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu freezes after running a random amount of time

    Mismatched ram caused random system freezes for me. Since I changed to all the same size ram about a month ago I have had zero system freezes.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •