Random Freezes

Bug #17763 reported by Tyler
24
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-173 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Standard install of Kubuntu on an AMD64 platform.
Seems to freeze after a few minutes running. More often than not, it happens
when the system is busy doing something (like using kynaptec, or konqueror)
By 'freeze', I mean the mouse still moves, but the system is otherwise
unresponsive (keyboard doesn't work, mouse clicking is ineffective,
CTRL+ALT+F1/BS/DEL do nothing.. need to physically restart the machine)

At first, it seemed to be one of these bugs:
https://bugzilla.ubuntu.com/show_bug.cgi?id=10805 (Random freezes)
https://bugzilla.ubuntu.com/show_bug.cgi?id=10668 (System freezes whilst
powernowd stepping up AMD64 freq (intermittent/hoary))
However, it is not as usable enough to be called random freezes (it's unusable),
and disabling powernowd has no effect.

I have tested using the amd64 standard install and the x68 standard install,
both have the same effect, even when upgraded.

AMD64 3200+
Asus A8V Deluxe
1Gig Kingston Dual Channel DDR400
XFX 6600GT
30Gb Maxtor
(Promise RAID0 array with 2 36Gb Raptors) not used
D-Link 530T

Revision history for this message
Tyler (y36zu6d02) wrote :

Tried removing much of the hardware until only 30Gig Harddrive, Video card,
Mobo, CPU, RAM, and PSU were installed. No effect, it still freezes.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Please follow the instructions at
http://www.ubuntu.com/wiki/DebuggingSystemCrash to get more information

Revision history for this message
Tyler (y36zu6d02) wrote :

Created an attachment (id=2720)
kernel log including the boot and trace

Memory Test: Pass
Control+Alt+F1: This didn't work work when frozen
Alt+SysRq+1/t: Pressed the keys, no output occured (was tailing the kern.log),
but upon a reboot, it was written into the log.
BIOS safe defaults: My BIOS had no such option, so I reset it to factory
defaults and went around disabling almost everything manually.

I attached the kern.log, which consists of:
1. The boot sequence for 'safe defaults'
2. The Alt+SysRq+1/t trace
3. The boot sequence for what I would regularly run

Revision history for this message
Tyler (y36zu6d02) wrote :

Another user with the same issue:
http://www.ubuntuforums.org/showthread.php?t=40845

They suggest that it's a video problem (that occurs during heavy I/O, only in
X). Like the poster, I require my video card to do hardware acceleration & 3D.
I too have upgraded to the nvidia driver

He has a completely different video card than I, and a different Motherboard and
processor. This sounds like a problem with X in Kubuntu.
(I have successfully installed an older version of Ubuntu on my system, without
this problem)

Revision history for this message
Chuck Short (zulcss) wrote :

Which kernel version?

Revision history for this message
Tyler (y36zu6d02) wrote :

Linux version 2.6.10-5-386 (buildd@terranova) (gcc version 3.3.5 (Debian
1:3.3.5-8ubuntu2)) #1 Tue Apr 5 12:12:40 UTC 2005

Revision history for this message
Tyler (y36zu6d02) wrote :

I had an itch to try Linux on my desktop again, so I formatted and installed Kubuntu 5.10 (Breezy
). It appears to have the same issue, but is running KDE3.5 and a newer kernel. Whatever it is
is still around.

If I excessively use KDE's menus, or simply after a while of regular usage, the system will freeze
as previously stated (mouse works fine, except nothing else responds.. the only thing that has an
effect is Alt+SysRq+1/t. I'll post the results of that tonight.

This does seem to freeze less often than my last install did. Also, right before freezing, all of
the title bars (Qt widgets?) seem to stop working.. leaving big white rectangles in the title
bars.

This is also a regular install of Kubuntu amd64, this time using the DVD installer.

Revision history for this message
Tyler (y36zu6d02) wrote :

Formatted and installed x86 version instead of amd64 version.. everything seems to work fine here. Must be an amd64-specific issue.

Revision history for this message
Ben Collins (ben-collins) wrote :

Can I get some confirmation of this bug on dapper's 2.6.15 kernel, please?

Revision history for this message
Phil Bull (philbull) wrote :

*** Bug 26582 has been marked as a duplicate of this bug. ***

Revision history for this message
Philipp A. Baer (phbaer) wrote :

I'm currently facing this bug on my system as well:

x86_64, 2.5G, ATI 9600 2xDVI, the latest Dapper (04.02.2006) with Kernel 2.6.15-14-amd64-k8. It is a fresh install from yesterday. Before, I used the radeon driver and everything worked just fine.

Now everything runs fine only for a while, then suddenly the system freezes. I can't provide any log output ... because there is no log output (kmesg).

It seems to be gone once I boot the 2.6.15-14-amd64-server kernel. With this kernel, however, DRI cannot be initialized. Thus I suppose, the problem is related to the ATI fglrx acceleration code ... don't actually know.

Thanks and ciao, phb

Revision history for this message
Ben Collins (ben-collins) wrote :

Based on the last comment, seems to be related to fglrx on amd64.

Revision history for this message
Philipp A. Baer (phbaer) wrote :

It might also be related to lm-sensors. If no lm-sensors module is loaded, everything seems to be working just fine.

Revision history for this message
Tyler (y36zu6d02) wrote :

If lm-sensors is loaded by default, then that could be the solution... if it's not, then I didn't load it and this is different.

Revision history for this message
Jonathan Carter (jonathan) wrote :

Does this problem persist with Kubuntu 6.06 LTS?

Revision history for this message
hans-lothar (hans-lothar) wrote :

This workaround helpt me:
Just before login --> restart X-Server

Revision history for this message
jondee (jonathandilks) wrote :

I used to have the same sort of issue before I passed the irqpoll to the kernel (at bootup). Now it stills crashes randomly (When playing an MPG in Kaffiene it plays for a couple of seconds then system freezes). I have no idea what causes is it but I am an AMD64 user with an NVIDIDA graphics card (with NVIDIA binary driver). Also I don't think it's anything to do with high CPU usage as I regularly rip off CD's (takes up 100% CPU) and it doesn't crash.

Revision history for this message
sparky64 (mail-ae-electrical) wrote :

I'm suffering the same probs as well.
I am running 32 bit version of kubuntu with standard kernel, lm-sensors are installed but it still happens without.
I can sometime restart x-server with ctrl-alt-back but i usually end up with no screen output at all and moniter shuts down.
If i press off button (not reset) logoff splash then shows and comp shuts down normally.
If Juk is playing sound still plays.
It's not frozen when watching tv (using kaffeine with win nova tv card).
It usually occurs if i haven't moved mouse for 20-30 mins with or without screen saver running. (not had a single lock up while using computer.)
Ran memory test and found no problems.
Have not installed any desktop effects beryl or compiz and am running nvidias latest drivers.(3d enabled)
System is Amd x2 939 3800+ Sparkle 7950gt 2 gig pny duel channel DDR400 win nova t digital tv card Primary drive western digital 300 gig sata2 Back up drive 160 gig ide maxtor
Processor temps are cool at 25 - 40 degrees graphics card runs about 70 degrees.
This is also a clean install not upgrade (also had simaler problem in dapper and edgy but not as frequent.

Revision history for this message
buntunub (mckisick) wrote :

This problem carries over to Gutsy. STILL NOT FIXED. amd Turionx2 system with an integrated nvidia 6150 card.

Revision history for this message
DajomU (dmuren) wrote :

Got the same problem, at least with gusy beta. I haven´t tried with kubuntu RC1 i386 yet, but I suppose the same problem will arise.
Got a laptop with AMD64 x2 TL-56 and nvidia geforce 7300 Acer Aspire 9304. I will try to install 64-bit OS and see if the problem persist.

Revision history for this message
ThorbjørnTux (martsummsw) wrote :

me2 (if it is teh same problem - there are a lot of reports with freezes).

Mine seems (also) to be a video problem. (And maybe only with KDE - anyone who has this problem with Gnome?)
downgrading to nvidia 100.14.09 helped (that was also from a bug in here) - but still freezes occur. I did not have freezes when I used driver "nv".
Maybe it is a bug in the nvidia-driver (But I had an ATI X800XL before - and I think there were also freezes (among a lot of other problems))

Chipsset crossfire 3200
Nvidia 7800Gt
AMD Dual Opteron 2 GHz
2 GB Ram

Is Ubuntu the only dist with these freezes ?

Revision history for this message
ThorbjørnTux (martsummsw) wrote :

Forgot to say Kubuntu Feisty Fawn - 32 bit (I have not tried Gutsy Gibbon yet)

Revision history for this message
Antti Miranto (software-antti) wrote :

Relating to bug reports #17763 and #16961 on Ubuntu

I too had these random Freezes on my system. It worked fine on old configuration, but when I changed cpu and memory, cpu frequensy scaling didn't work any more. And it hanged system randomly so I had to reset. Those errors were printed on terminal and keyboard stopped functioning. Little later everything freezed.

My working system was:
Ubuntu Edgy
Motherboard: Abit KN9 Ultra
CPU (old): AMD 64 AM2 3500+
Memory (old):2x 512MB Kingston 667Mhz DDR2 ECC
Video C: Asus 7600GS Top-silent
PSU: Korsair vx450w

New components added which created freezes:
CPU: AMD 64 AM2 x2 4600+
Memory: 2x 1GB Kingston 667Mhz DDR2 ECC

I ran memtest overnight without hit. BIOS flashing didn't change a thing and system was stable on any single cpu frequensy. I wrote this shell script to test cpu frequensy scaling: http://www.antti.miranto.fi/cpu.freq.test/cpu.frequensy.tester.sh This generated error messages or freezed my computer on minutes instead of hours. More on that script at the end.

Next I changed new prosessor to other motherboard and run same script and same Ubuntu release (Feisty live-cd) for few hours without single hit. I got same results with using Gutsy's latest available kernel on Edgy system.

I send motherboard to waranty repair so currently I can't do any tests. I should have tested this on other linux distro too...

I put my error-logs and other stuff to web: http://www.antti.miranto.fi/cpu.freq.test/ (file: "ohjeet..." is a finnish guide to script which I wrote for the company where I bought this motherboard.)

Back to the script. Script runs gzip and bzip2 on every core and checks md5sums for compressed output. Md5sums should be same all the time! At the same time it changes cpu frequensy about every 0.1 second. This script doesn't use powernowd but cpufreq-selector command from gnome-applets package.

If you want to run it ($ sings means commands) follow forward.
***DO NOT USE THIS IN PRODUCTION ENVIRONMENT***
Broken hardware can do anyting except erase your data. :)

boot to Ubuntu live cd.

Script requires taskset program on schedutils package and tries to install it. Apt method doesn't work directy on live-cd for repository reasons so get the package and plase it to /tmp with root as a owner.

get the script and deb-file:
$ wget -nH -r --no-parent -A.sh -A.deb -A.txt http://www.antti.miranto.fi/cpu.freq.test/

change dir:
$ cd cpu.freq.test/

Change permissions and copy schedutils-package to beter place (last may ask your passwd):
$ chmod 775 cpu.frequensy.tester.sh
$ cp schedutils_1.5.0-1_i386.deb /tmp/
$ sudo chown root: /tmp/schedutils_1.5.0-1_i386.deb

Run the test (this may ask your passwd):
$ sudo ./cpu.frequensy.tester.sh

Results:
This script should run days without hit! If your computer locks up, some
program freezes partially or totally or you get md5sum missmatch there
might be hardware problem on your system or Ubuntu has a trouble to
handle your hardware.

Questions and comments: <email address hidden>

Revision history for this message
sparky64 (mail-ae-electrical) wrote :

 Philipp Baer wrote on 2006-03-07: (permalink)

It might also be related to lm-sensors. If no lm-sensors module is loaded, everything seems to be working just fine.

Have reinstalled gutsy without lm-sensors configured. Been perfectly stable all week.
With sensors installed i get random freezes.(System was unusable).
tried having several firefox open all playing flash/java and using bit torrent and tv all at once with no problems.

Revision history for this message
sparky64 (mail-ae-electrical) wrote :

dmesg log if usefull.

Uname -a
Linux andy-desktop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Revision history for this message
ThorbjørnTux (martsummsw) wrote :

I still have this problem in Kubuntu 7.10.
However I noticed that it mostly happens when minimizeing or closing a full-screen window.

Timo Aaltonen (tjaalton)
Changed in linux-restricted-modules-2.6.15:
assignee: ben-collins → nobody
status: Incomplete → New
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi y36zu6d02,

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with the latest development release of Ubuntu? (ISOs are available from cdimage.ubuntu.com)

If it remains an issue, could you also attach a new /var/log/Xorg.0.log?
Thanks in advance.

The output of lspci -vvnn would also be worth having.

Changed in nvidia-graphics-drivers-173:
status: New → Incomplete
Revision history for this message
Sancho (ichsan) wrote : Re: [Bug 17763] Re: Random Freezes

On Fri, Nov 7, 2008 at 3:25 PM, Bryce Harrington
<email address hidden> wrote:
> Hi y36zu6d02,
>
>
> Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with the latest development release of Ubuntu? (ISOs are available from cdimage.ubuntu.com)
>
> If it remains an issue, could you also attach a new /var/log/Xorg.0.log?
> Thanks in advance.
>
>
> The output of lspci -vvnn would also be worth having.
>
>
> ** Changed in: nvidia-graphics-drivers-173 (Ubuntu)
> Status: New => Incomplete
>
> --
> Random Freezes
> https://bugs.launchpad.net/bugs/17763
> You received this bug notification because you are a direct subscriber
> of the bug.
>

I've never been in such condition anymore. So, I don't know if the
problem has been fixed in the latest version 8.10. I'm currently using
8.04 but I got no freeze at all.

--
~A useful man to others is a lucky man
http://michsan.blogspot.com

Rzqies, Order now! http://rzqies.wordpress.com

Revision history for this message
Bryce Harrington (bryce) wrote :

Alright great, let's assume it's been fixed.

Changed in nvidia-graphics-drivers-173:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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