Freezes of the environment for 5-10 seconds.

Asked by topgunbg

From time to time my ubuntu freezes and i can't select or click anything, sometimes the mouse is moving, sometimes it's not. It happens for 5-10 seconds. One of my friends has the same problem and we've spotted that it happens only with the newest kernels. Last year we used ubuntu 9.10, and we've had no problem, but now we do.
We both use the gnome environment with compiz.
I'm not sure what should i present you as log, but ask and i'll do it xD.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Hold shift at boot and select the memtest to make sure your RAM is healthy. If it is ok then let us know and we can continue diagnosing.

Revision history for this message
topgunbg (topgunbg) said :
#2

no errors

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ok then after a freeze, run:

lsb_release -a; dmesg | tail

What is output?

Revision history for this message
topgunbg (topgunbg) said :
#4

root@topgun-desktop:/home/topgun# lsb_release -a; dmesg | tail
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
[ 2494.421143] usbcore: registered new interface driver usb-storage
[ 2494.421150] USB Mass Storage support registered.
[ 2495.428598] scsi 4:0:0:0: Direct-Access LGE Android Platform ffff PQ: 0 ANSI: 2
[ 2495.431855] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 2495.449581] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ 2498.297615] sd 4:0:0:0: [sdb] 15818752 512-byte logical blocks: (8.09 GB/7.54 GiB)
[ 2498.298233] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 2498.299746] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 2498.299764] sdb: sdb1
[ 3188.856535] usb 1-1: USB disconnect, address 4

This LG is my Android Phone (gt540), i plugged it in for data transfer maybe 20 minutes ago.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

I have a GT540 too
=D

ok, can you give the output of:

sudo lshw -C display

Thanks

Revision history for this message
topgunbg (topgunbg) said :
#6

  *-display
       description: VGA compatible controller
       product: C61 [GeForce 6100 nForce 405]
       vendor: nVidia Corporation
       physical id: d
       bus info: pci@0000:00:0d.0
       version: a2
       width: 64 bits
       clock: 66MHz
       capabilities: pm msi vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:23 memory:de000000-deffffff memory:c0000000-cfffffff memory:dd000000-ddffffff memory:dffc0000-dffdffff

!offtopic: a great phone right? :)
what version are you running? any custom rom? :P

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

!offtopic it's ok but i do a tonne of IRC using AndChat which doesn't really lend itself to the small screen, specially on busses etc. 2.1 ROM

Try:

sudo nvidia-xconfig

Then reboot, may help

Revision history for this message
topgunbg (topgunbg) said :
#8

I've typed it an hour ago, and it gave me an error of the first (backup) file that it was not full. Aaaaand just a minute ago it freezed again. :Х

Revision history for this message
topgunbg (topgunbg) said :
#9

anyone?

Revision history for this message
Best Sam_ (and-sam) said :
#10

> happens only with the newest kernels

Reinstall nvidia driver and check if nvidia-common is installed.
If it still doesn't work with newest kernel, but with previous one, consider to report a regression against it.
Comment on nvidia.
https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/703553/comments/53

Or
- try nouveau
- disable visual effects (compiz)

Reference.
https://wiki.ubuntu.com/X/Troubleshooting/Freeze
https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia
https://wiki.ubuntu.com/X/Troubleshooting/NvidiaDriverSwitching

Revision history for this message
topgunbg (topgunbg) said :
#11

I purged all nvidia packages and then install them again. It works fine now.

Thank you, all! :)

Revision history for this message
topgunbg (topgunbg) said :
#12

Thanks Sam_, that solved my question.