System freeze after login in 11.04

Bug #769911 reported by sandook
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-nv

System locks up after login and doesn't respond to mouse or keyboard. Alt + SysRq + REISUB is also unsuccessful.
On reboot it will crash multiple times at boot before booting successfully without freezing. After that, the system runs normally until next boot. It generally takes 5-7 attempts to get the system running. I upgraded to Natty a few days ago, but this has been an issue in 10.10 as well.

Video card is Nvidia 8600GT with most recent proprietary driver.
The ram memory test showed no problems and after adding 'blacklist=nouveau' to etc/default/grub the problem persists.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xserver-xorg-video-nv 1:2.1.17-3ubuntu7
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86 Kernel Module 270.41.06 Mon Apr 18 14:54:25 PDT 2011
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,resize,compiztoolbox,wall,imgpng,unitymtgrabhandles,place,move,grid,gnomecompat,regex,vpswitch,animation,session,workarounds,wobbly,expo,ezoom,staticswitcher,fade,scale,unityshell]
CompositorRunning: compiz
Date: Sun Apr 24 10:05:35 2011
DistUpgraded: Log time: 2011-04-16 12:50:37.527271
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 270.41.06, 2.6.38-8-generic, i686: installed
 virtualbox-ose, 4.0.4, 2.6.38-8-generic, i686: installed
GraphicsCard:
 nVidia Corporation G84 [GeForce 8600 GT] [10de:0402] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: eVga.com. Corp. Device [3842:c756]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
JockeyStatus:
 xorg:nvidia_173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
 xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, Not in use)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Gateway GT5654
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=9b65ff67-794b-4394-9e93-4261ef413655 ro quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xserver-xorg-video-nv
UpgradeStatus: Upgraded to natty on 2011-04-16 (7 days ago)
dmi.bios.date: 11/01/2007
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: MCP61PM-AM
dmi.board.vendor: ELITEGROUP
dmi.board.version: 1.0A
dmi.chassis.asset.tag: Unknow
dmi.chassis.type: 3
dmi.chassis.vendor: Gateway
dmi.chassis.version: MCP61PM-AM
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd11/01/2007:svnGateway:pnGT5654:pvrUnknow:rvnELITEGROUP:rnMCP61PM-AM:rvr1.0A:cvnGateway:ct3:cvrMCP61PM-AM:
dmi.product.name: GT5654
dmi.product.version: Unknow
dmi.sys.vendor: Gateway
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
sandook (sboese3) wrote :
Bryce Harrington (bryce)
affects: xserver-xorg-video-nv (Ubuntu) → fglrx-installer (Ubuntu)
Revision history for this message
Felix Kuehling (felix-kuehling) wrote :

Why was this queued to fglrx-installer? This is on NVidia hardware.

Timo Aaltonen (tjaalton)
affects: fglrx-installer (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Revision history for this message
LaunchpadUser (lpusr) wrote :

I have the same effect, but never had problems with former Ubuntu editions like 10.10 or 10.04. As soon as I log in, the mouse pointer changes to "working" (circle spins) for about 5 to 10 seconds and then everything freezes! Rebooted a dozen times and always the same effect. I can log in with "Ubuntu (Abgesicherter Modus)" (safe mode) but then there is no window manager, i.e. all windows don't have a frame to change the window size/position/close/etc.

Revision history for this message
ubfreak (myr-access) wrote :

I upgraded my UB 10.10 to 11.04 and have the same issue. Just after the login the OS freezes and does not respond to keyboard or mouse movements.
As a work around i booted in failsafe X mode and selected Ubuntu classic (no effects) and currently I am able to login.
My video card is Nvidia FX 5500.

Revision history for this message
David Flemström (david-flemstrom-gmail) wrote :

This bug happens on my system as well. Everything worked fine in 10.10, and now the system freezes after 5-10 seconds when I log into a window manager that uses compositing (kwin, compiz, ...). Rebooting is the only option.

Using xorg-edgers doesn't solve the problem. Disabling ACPI doesn't solve the problem. There are no newer nVidia drivers available at the time of writing.

Every 3D application I have tried so far works fine, from glxgears to the Phoronix test suite benchmarks.

I am using an nVidia 560 Ti card.

Revision history for this message
Dave Drouin (davedrouin) wrote :

Yes this happened to me as well last night all of a sudden. No resolution aside from logging in safe mode. Had been running 10.4 then a few days ago upgraded to 10.10 then to 11.04 right after. Had no trouble for a few days then it froze while playing EVE Online and switching to another window that was running Firefox.

Lots of reboots and hacking around - still no luck. Tried reinstalling the video driver via NVIDIA-Linux-256.53.run (same as I had before) but now that fails to complete successfully. Ran it with --sanity and there were various chksum mismatches. Tried the -uninstall and it said it tried to uninstall what it could - reinstall still fails.

Went and marked all the NVidia related packages via Synaptic that were already installed for reinstallation. Did nothing to help.

So I'm stuck installing EVE on my wife's iMac while I await a solution to this annoying bug. Fortunately failsafe mode works for non-3D Gaming related things so it's not totally disastrous.

Revision history for this message
Dave Drouin (davedrouin) wrote :

NVidia GeForce 210 1GB DDR2

Kernel Linux 2.6.38-8-generic

Memory: 2 GiB
Processor 0: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Processor 1: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+

Available disk space: 124.1 GiB

Revision history for this message
Dave Drouin (davedrouin) wrote :

Completed uninstalled and removed the following:
nvidia-common 0.2.30
nvidia-current 270.41.06-0ubunutu1
xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7
xserver-xorg-video-nv 1:2.1.17-3ubuntu7

Restarted in recovery mode and dropped into terminal mode with networking.
Ran telinit 3.
Logged in and switched to the directory containing the latest commercial NVidia driver: 256.53
> sudo sh NVIDIA-Linux-x86-256.53.run -uninstall results in no driver installed so fine.
> sudo sh NVIDIA-Linux-x86-256.53.run complained about nouveau hence why I installed that. Afterwards it seemed to work until it failed to build the kernel module.

Error log from the installer is attached.

Revision history for this message
Rockroehre (rockroehre) wrote :

Hi all,

I have the same problem with a RadeonHD graphics card (ATI Technologies Inc Mobility Radeon HD 3400 Series).

System information:
- Natty (Ubuntu 11.04) with Unity
- clean install
- no proprietary graphics drivers installed
- added medibuntu packages to software sources (not sure if this is relevant)

I'll try to describe my case as exactly as possible:
As often as 2-3 out of 5 times, one of the following happens after logging in:
1) Natty just freezes on the splash screen. In this case, if I have the sound turned on, I can usually hear Skype connecting (not always), but I don't see anything. I can move my mouse pointer.
2) Natty freezes on the splash screen, which then goes black, comes back, goes black again, ... and
  a) finally stays black or
  b) shows my desktop, but with distorted graphics, mostly no top panel. This case is rare.
In all cases except for 2b, hard drive activity stops after a while.

While the screen is frozen (splash screen or black)
- Ctrl+F2, ... , Ctrl+F8 doesn't get me anywhere.
- Ctrl+Alt+Del doesn't do anything either.

It has taken me up to 5 or 8 consecutive tries until the system boots correctly. After that, everything works as usual.
Waking up from hibernation usually works fine, too.

Let me know if I can do anything to help narrowing down the problem or if you need more information on my system.

Revision history for this message
Patrick Schultz (schultz-patrick) wrote :

May 24 20:57:56 patrick-server kernel: [ 3950.896194] INFO: task Xorg:934 blocked for more than 120 seconds.
May 24 20:57:56 patrick-server kernel: [ 3950.896198] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
May 24 20:57:56 patrick-server kernel: [ 3950.896201] Xorg D f3440b00 0 934 904 0x00400004
May 24 20:57:56 patrick-server kernel: [ 3950.896206] f07a7da4 00203086 00000004 f3440b00 f07a7d58 f07a7d58 ed0a028c c1877680
May 24 20:57:56 patrick-server kernel: [ 3950.896212] 69c83ed5 00000374 ed0a0288 c1877680 c1877680 f7847680 ed0a0000 f74d0000
May 24 20:57:56 patrick-server kernel: [ 3950.896219] 000000ff f07a7d78 c144c948 f7402180 00000000 000000c0 efa6c000 ed0a0000
May 24 20:57:56 patrick-server kernel: [ 3950.896225] Call Trace:
May 24 20:57:56 patrick-server kernel: [ 3950.896234] [<c144c948>] ? __alloc_skb+0x58/0x100
May 24 20:57:56 patrick-server kernel: [ 3950.896240] [<c1035908>] ? default_spin_lock_flags+0x8/0x10
May 24 20:57:56 patrick-server kernel: [ 3950.896247] [<c15319af>] ? _raw_spin_lock_irqsave+0x2f/0x50
May 24 20:57:56 patrick-server kernel: [ 3950.896251] [<c153006d>] schedule_timeout+0x1ed/0x260
May 24 20:57:56 patrick-server kernel: [ 3950.896256] [<c14d3505>] ? unix_stream_sendmsg+0x365/0x3b0
May 24 20:57:56 patrick-server kernel: [ 3950.896261] [<c152fbf0>] wait_for_common+0xa0/0x130
May 24 20:57:56 patrick-server kernel: [ 3950.896266] [<c1053430>] ? default_wake_function+0x0/0x20
May 24 20:57:56 patrick-server kernel: [ 3950.896270] [<c152fd57>] wait_for_completion+0x17/0x20
May 24 20:57:56 patrick-server kernel: [ 3950.896558] [<fac58c47>] os_acquire_sema+0x77/0x90 [nvidia]
May 24 20:57:56 patrick-server kernel: [ 3950.896835] [<fac2e4db>] _nv022874rm+0xa/0x21 [nvidia]
May 24 20:57:56 patrick-server kernel: [ 3950.897032] [<fa7b18a2>] ? _nv003714rm+0x1e1/0x22f [nvidia]
May 24 20:57:56 patrick-server kernel: [ 3950.897248] [<fa7b190f>] ? _nv002328rm+0x1f/0x23 [nvidia]
May 24 20:57:56 patrick-server kernel: [ 3950.897438] [<fa798435>] ? _nv002009rm+0x2b/0x4e [nvidia]
May 24 20:57:56 patrick-server kernel: [ 3950.897713] [<fac3b484>] ? _nv002413rm+0x5d8/0x611 [nvidia]

Revision history for this message
Patrick Schultz (schultz-patrick) wrote :

I don't always see the bug immediately after login but It does occur randomly.
I posted relevant information from my syslog above.

Revision history for this message
quequotion (quequotion) wrote :

I have Natty freezing after login every try.

I can only use X11 in safe mode.

Is this an Nvidia problem, a kernel vs nvidia problem or a Unity problem?

I've tried different versions of the driver (there are three out for natty) but nothing changed.

I haven't tried different kernels.

I don't know a thing about Unity. Who does?

Revision history for this message
Dave Drouin (davedrouin) wrote :

I decided to give the latest Pre-released updates a try and voila it worked. Fixed everything.
Synaptic Package Manager: Settings -> Repositories -> Updates -> checked Pre-released updates (natty proposed). Reloaded the packages, marked and applied all upgrades. Hail Mary.

I'm running the NVidia drivers supplied with the ubuntu distribution. No more freeze ups and the other highly annoying issue that occurred even in failsafe mode where the computer would fail to wake up after going into sleep mode no longer happens.

Revision history for this message
sandook (sboese3) wrote :

Yes, the problem seems resolved for me now too. I haven't had any freeze ups in a little while now.

Revision history for this message
ubfreak (myr-access) wrote :

Unfortunately for me, even after doing everything, the problem remains. However it's intermittent. Atleast once in a day after enabling Unity the desktop would freeze.

Revision history for this message
Rockroehre (rockroehre) wrote :

I had pre-released updates enabled from the start, so that didn't help me. But I've given up now and installed the proprietary ATI graphics drivers. That fixed it for me. At least I haven't encountered any problems during the last 10 or so startups. It still takes pretty long though until the desktop shows.

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

Hey sboese3,

You filed this bug report against natty, but I see it's still open and
doesn't appear to have much activity recently. So, now that oneiric
is released and stable, this may be a good point for you to upgrade
and re-test if this issue is still present there.

If it's solved in the new release and you think it's worth backporting
the fix, please indicate that. Or if having the fix in the new release
is good enough, feel free to close out the bug (or let us know and we'll
close it.)

If it's not solved, leave the bug report open. I can't promise we'll
get to it (we get way more bugs filed than we can usually get to), but
your testing and feedback can help out if and when we do.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Incomplete
Revision history for this message
bugbot (bugbot) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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