Kernel sometimes won't boot to login screen

Bug #1492934 reported by Kristoffer Grundström
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

I'm using 3.19.0-26-generic as kernel.

Ubuntu version is:
Description: Ubuntu 15.04
Release: 15.04

Version of the nouveau driver is:
  Installed: 1:1.0.11-1ubuntu2build1
  Candidate: 1:1.0.11-1ubuntu2build1
  Version table:
 *** 1:1.0.11-1ubuntu2build1 0
        500 http://ftp.acc.umu.se/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status

I expected the module to be able to work without freezing the entire system.
This issue prevents me from getting to the login session.

I have installed Ubuntu on my brand new laptop which is a Asus N550JK.
It has Hybrid Graphics (Intel 4th Generation + nVidia GeForce GTX 850M so I was told to nvidia-prime for Optimus.
Sometimes when I boot the kernel it stops before I see the login window and the computer is completely frozen.

However if I switch to the proprietary driver for nouveau the computer doesn't lock completely anymore.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2build1
ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 346.59 Tue Mar 31 14:10:31 PDT 2015
 GCC version: gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
ApportVersion: 2.17.2-0ubuntu1.3
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Sep 7 09:19:38 2015
DistUpgraded: Fresh install
DistroCodename: vivid
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.7, 3.19.0-26-generic, x86_64: installed
 nvidia-346, 346.59, 3.19.0-26-generic, x86_64: installed
GraphicsCard:
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:11cd]
   Subsystem: ASUSTeK Computer Inc. Device [1043:11cd]
InstallationDate: Installed on 2015-09-05 (1 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: ASUSTeK COMPUTER INC. N550JK
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-26-generic.efi.signed root=UUID=28c2cc37-e8b5-4f1d-8a4a-33f26e77b390 ro quiet splash vt.handoff=7
SourcePackage: xserver-xorg-video-nouveau
UdevLog: Error: [Errno 2] Filen eller katalogen finns inte: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/26/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: N550JK.208
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: N550JK
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrN550JK.208:bd09/26/2014:svnASUSTeKCOMPUTERINC.:pnN550JK:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnN550JK:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: N550JK
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
version.compiz: compiz 1:0.9.12.1+15.04.20150410.1-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.60-2
version.libgl1-mesa-dri: libgl1-mesa-dri 10.5.9-2ubuntu1~vivid2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.5.9-2ubuntu1~vivid2
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.17.1-0ubuntu3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2build1
xserver.bootTime: Mon Sep 7 09:16:28 2015
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:
 intel(G1): [drm] failed to set drm interface version: Permission denied [13].
 intel(G1): Failed to claim DRM device.
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 16971
 vendor SDC
xserver.version: 2:1.17.1-0ubuntu3

Revision history for this message
In , Rémi Verschelde (rverschelde) wrote :

+++ This bug was initially created as a clone of Bug 15734 comment 39 +++

I tried to install Mageia 5 on my new laptop (UEFI) an ASUS N551J with two graphical cards (intel and nvidia). I have tried every option mentioned in the errata (hybrid graphics). I have tried the Live KDE 64 DVD and the classical 64 DVD. Nothing works. I am now 'doomed' to use Mint, that works at once, but I like Mageia much better (if it is installable).

LiveKDE64DVD:

Sometimes at boottime (LiveDVD) I get many nouveau errors and after a while I get a KDE desktop (intel detected?). I can than install it and after reboot I sometimes can configure a user and can log in into KDE. After a few seconds everything freezes. Poweroff and poweron and than it freezes already at boottime (blank screen or with nouveau errors with sometimes I see kernel panic).

Sometimes at boottime (LiveDVD) I get less nouveau errors and it freezes already (no KDE).

I tried boot options as suggested 'optimus' and/or 'rd.blacklist=nouveau rd.blacklist=nvidia xdriver=intel' –> No effect. Still nouveau errors at boottime and/or freezes.

ClassicalKDE64DVD:

Installation works until after reboot. Same problems as with the LiveDVD.
I tried the boot options, no effect. At the point of the installer to configure the graphics, it suggested 'Intel 810 and later' and not 'use intel only' as told in the errata. Even with Intel selected I get nouveau errors at boottime, with or without boot options.

It seems a problem like mentioned in the errata with the hybrid graphics (Intel+Nvidia), but the suggested options does not work.

Linux Mint 17.1:

No problem, works at once. No errors.

Revision history for this message
In , Rémi Verschelde (rverschelde) wrote :

Please also refer to:

attachment 6786 boot screen LiveKDE64DVD on ASUS N551J nouveau errors (part1)

attachment 6787 boot screen LiveKDE64DVD on ASUS N551J nouveau errors (part2)

attachment 6788 Xorg log of LiveKDE64DVD on ASUS N551J (if I am lucky to get so far)

Revision history for this message
In , Isis2000 (isis2000) wrote :

Same issues on my new laptop:
MSI GE70 2PC

4th Gen Core Processor Integrated Graphics Controller
GeForce GTX 850M

Went back to Mageia 4, no issues there, as there never were.

Revision history for this message
In , Mageia-g (mageia-g) wrote :

A quick search found this:

https://lists.archlinux.org/pipermail/arch-general/2015-March/038729.html

My recollection is that using rd.blacklist didn't work for me, because the nouveau driver got loaded later in the boot sequence. You could try adding

  blacklist nouveau

to /etc/modprobe.conf on the installed system to see if that helps.

I see in Peter's log that he is also experiencing bug 16033, although that is probably not important at this stage.

Revision history for this message
In , Mageia-g (mageia-g) wrote :

Just done some experiments on my laptop, and I need both the boot option *and* the entry in /etc/modprobe.conf to prevent the nouveau module being loaded.

Furthermore, the required boot option is "rdblacklist=nouveau", not "rd.blacklist=nouveau".

Revision history for this message
In , Info4pwo (info4pwo) wrote :

It is working now :-)

I use the boot options 'rdblacklist=nouveau nouveau.runpm=0 xdriver=intel'

nouveau.runpm=0 is a tip from doktor500, with this the LiveDVD/USB gives nouveau errors but I get at least at every boot a KDE desktop.

The same boot options I use for the installed system.
Right after install with the first boot I selected 'Safe Mode' and added 'blacklist nouveau' to /etc/modprobe.conf.

After this I get no errors and get a beautiful Mageia KDE desktop.

Thanks for all the help.

Revision history for this message
In , Isis2000 (isis2000) wrote :

Same here.
Installed Mageia 5 in a free partition, so i could leave Mageia 4 in place, in case of.

But, so far the abovementioned workaround worked.

Revision history for this message
In , Anaselli (anaselli) wrote :

Acer aspire 5750g installed on external usb3.0 disk, same problem here
black listed nouveau workarounded here also

Revision history for this message
Kristoffer Grundström (umeaman) wrote :
Revision history for this message
Kristoffer Grundström (umeaman) wrote :

I couldn't find Mageia which is forked from Mandriva in the list of affected distros so I chose the closest one.

Revision history for this message
Kristoffer Grundström (umeaman) wrote :

Here's a bugreport that affects MY laptop with the same (I think?) issue: https://bugs.mageia.org/show_bug.cgi?id=16691

Revision history for this message
Kristoffer Grundström (umeaman) wrote :

The only way for me to be able to send this report in for the nouveau driver module is to use the proprietary. If I switch back to xorg version of nouveau I won't be able to use any terminal as the keyboard stops working when the computer freezes.

Changed in xserver-xorg-video-nouveau (Mandriva):
importance: Unknown → Critical
status: Unknown → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Kristoffer Grundström, any change with http://cdimage.ubuntu.com/daily-live/current/ ?

tags: added: latest-bios-208
affects: xserver-xorg-video-nouveau (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
In , Kristoffer Grundström (umeaman) wrote :

I have the model from Asus called N550JK and I have the exact same problem.

My fix was to add blacklist=nouveau the kernel boot line.

Is there an ETA on this fix?

Before the release of Mageia 6?

Revision history for this message
In , Kristoffer Grundström (umeaman) wrote :

Created attachment 7386
Here's my Xorg.log

penalvch (penalvch)
no longer affects: linux (Ubuntu)
affects: xserver-xorg-video-nouveau (Mandriva) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Critical → Undecided
status: Confirmed → New
importance: Undecided → Medium
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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