[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#700946: nouveau module blacklisting bites when upgrading from wheezy to jessie



I had the proprietary nvidia drivers installed in my Jessie machine
when I decided to move to Stretch.

During the upgrade process, there was a message that the open-source
driver was compatible with my hardware now, and did I want to switch
to the nouveau system.  I always prefer open-source when it works and
didn't know if the one I had would work with the new kernel, so I said
sure, go ahead and upgrade.

The upgrade went smoothly, but I got a message that my video drivers
were now incompatible with my configuration and I should fix this
by rebooting.

So I rebooted (x started just fine) and opened Synaptic to see
what packages were available, and Synaptic immediately crashed
with a message that said my software was unconfigured and I
should immediately run 'dpkg --configure -a'.

So I did that and a big bunch of messages went by -- apparently every
package installed in the upgrade needed configuration.  In the middle
of that huge bunch of messages (1500+ packages) I saw a message go by
that one of the packages being configured was the nouveau nvidia
driver.  So, after that was done, I rebooted again just to make
sure everything was okay.

It wasn't.

When I rebooted, the X server did not start.  I got a command-line
login though, so I did that (with my head tilted sideways; I have dual
displays in portrait orientation side by side).  I fixed it by
going back to the proprietary drivers using

'apt-get install nvidia-detect'

to get the script that detects what driver ought to be used, ran it,
and it (correctly) told me to go get the proprietary driver.  So I
did

'apt-get install nvidia-driver'

and it downloaded, and I rebooted again.

This time X started but it had lost my video config so my head was
still turned sideways until I fixed that (rotate both screens 90
degrees, put them side-by-side).

I'm attaching the log that Xorg made on the failed attempt to
start.  It looks as though the problem was that the kernel module
didn't start and therefore the nouveau driver didn't find any
screens.

I think this is the right bug to send this to; it sounds a
whole lot like the problem I'm having, anyway.

I'm running an AMD64 system with an Intel i7 processor and
64Gbytes memory.  (The large memory has outed a few bugs in
the past, but doesn't appear to be related to this.)

In case it helps, here is the output of lspci:

00:00.0 Host bridge: Intel Corporation Xeon E5/Core i7 DMI2 (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express
Root Port 1a (rev 07)
00:02.0 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express
Root Port 2a (rev 07)
00:03.0 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express
Root Port 3a in PCI Express Mode (rev 07)
00:05.0 System peripheral: Intel Corporation Xeon E5/Core i7 Address
Map, VTd_Misc, System Management (rev 07)
00:05.2 System peripheral: Intel Corporation Xeon E5/Core i7 Control
Status and Global Errors (rev 07)
00:05.4 PIC: Intel Corporation Xeon E5/Core i7 I/O APIC (rev 07)
00:11.0 PCI bridge: Intel Corporation C600/X79 series chipset PCI
Express Virtual Root Port (rev 06)
00:16.0 Communication controller: Intel Corporation C600/X79 series
chipset MEI Controller #1 (rev 05)
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network
Connection (rev 06)
00:1a.0 USB controller: Intel Corporation C600/X79 series chipset USB2
Enhanced Host Controller #2 (rev 06)
00:1b.0 Audio device: Intel Corporation C600/X79 series chipset High
Definition Audio Controller (rev 06)
00:1c.0 PCI bridge: Intel Corporation C600/X79 series chipset PCI
Express Root Port 1 (rev b6)
00:1c.1 PCI bridge: Intel Corporation C600/X79 series chipset PCI
Express Root Port 2 (rev b6)
00:1c.2 PCI bridge: Intel Corporation C600/X79 series chipset PCI
Express Root Port 3 (rev b6)
00:1c.3 PCI bridge: Intel Corporation C600/X79 series chipset PCI
Express Root Port 4 (rev b6)
00:1c.4 PCI bridge: Intel Corporation C600/X79 series chipset PCI
Express Root Port 5 (rev b6)
00:1c.5 PCI bridge: Intel Corporation C600/X79 series chipset PCI
Express Root Port 6 (rev b6)
00:1c.7 PCI bridge: Intel Corporation C600/X79 series chipset PCI
Express Root Port 8 (rev b6)
00:1d.0 USB controller: Intel Corporation C600/X79 series chipset USB2
Enhanced Host Controller #1 (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation C600/X79 series chipset LPC
Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation C600/X79 series chipset
6-Port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation C600/X79 series chipset SMBus Host
Controller (rev 06)
02:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT
610] (rev a1)
02:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller
(rev a1)
06:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB
Host Controller
07:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB
Host Controller
08:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB
Host Controller
09:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA
Controller (rev 01)
0a:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series
Firewire Controller (rev 01)
0b:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9128 PCIe
SATA 6 Gb/s RAID controller with HyperDuo (rev 11)
ff:08.0 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link 0
(rev 07)
ff:08.3 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link
Reut 0 (rev 07)
ff:08.4 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link
Reut 0 (rev 07)
ff:09.0 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link 1
(rev 07)
ff:09.3 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link
Reut 1 (rev 07)
ff:09.4 System peripheral: Intel Corporation Xeon E5/Core i7 QPI Link
Reut 1 (rev 07)
ff:0a.0 System peripheral: Intel Corporation Xeon E5/Core i7 Power
Control Unit 0 (rev 07)
ff:0a.1 System peripheral: Intel Corporation Xeon E5/Core i7 Power
Control Unit 1 (rev 07)
ff:0a.2 System peripheral: Intel Corporation Xeon E5/Core i7 Power
Control Unit 2 (rev 07)
ff:0a.3 System peripheral: Intel Corporation Xeon E5/Core i7 Power
Control Unit 3 (rev 07)
ff:0b.0 System peripheral: Intel Corporation Xeon E5/Core i7 Interrupt
Control Registers (rev 07)
ff:0b.3 System peripheral: Intel Corporation Xeon E5/Core i7 Semaphore
and Scratchpad Configuration Registers (rev 07)
ff:0c.0 System peripheral: Intel Corporation Xeon E5/Core i7 Unicast
Register 0 (rev 07)
ff:0c.1 System peripheral: Intel Corporation Xeon E5/Core i7 Unicast
Register 0 (rev 07)
ff:0c.6 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller System Address Decoder 0 (rev 07)
ff:0c.7 System peripheral: Intel Corporation Xeon E5/Core i7 System
Address Decoder (rev 07)
ff:0d.0 System peripheral: Intel Corporation Xeon E5/Core i7 Unicast
Register 0 (rev 07)
ff:0d.1 System peripheral: Intel Corporation Xeon E5/Core i7 Unicast
Register 0 (rev 07)
ff:0d.6 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller System Address Decoder 1 (rev 07)
ff:0e.0 System peripheral: Intel Corporation Xeon E5/Core i7 Processor
Home Agent (rev 07)
ff:0e.1 Performance counters: Intel Corporation Xeon E5/Core i7
Processor Home Agent Performance Monitoring (rev 07)
ff:0f.0 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Registers (rev 07)
ff:0f.1 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller RAS Registers (rev 07)
ff:0f.2 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Target Address Decoder 0 (rev 07)
ff:0f.3 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Target Address Decoder 1 (rev 07)
ff:0f.4 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Target Address Decoder 2 (rev 07)
ff:0f.5 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Target Address Decoder 3 (rev 07)
ff:0f.6 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Target Address Decoder 4 (rev 07)
ff:10.0 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Channel 0-3 Thermal Control 0 (rev 07)
ff:10.1 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Channel 0-3 Thermal Control 1 (rev 07)
ff:10.2 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller ERROR Registers 0 (rev 07)
ff:10.3 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller ERROR Registers 1 (rev 07)
ff:10.4 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Channel 0-3 Thermal Control 2 (rev 07)
ff:10.5 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller Channel 0-3 Thermal Control 3 (rev 07)
ff:10.6 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller ERROR Registers 2 (rev 07)
ff:10.7 System peripheral: Intel Corporation Xeon E5/Core i7 Integrated
Memory Controller ERROR Registers 3 (rev 07)
ff:11.0 System peripheral: Intel Corporation Xeon E5/Core i7 DDRIO (rev 07)
ff:13.0 System peripheral: Intel Corporation Xeon E5/Core i7 R2PCIe (rev 07)
ff:13.1 Performance counters: Intel Corporation Xeon E5/Core i7 Ring to
PCI Express Performance Monitor (rev 07)
ff:13.4 Performance counters: Intel Corporation Xeon E5/Core i7
QuickPath Interconnect Agent Ring Registers (rev 07)
ff:13.5 Performance counters: Intel Corporation Xeon E5/Core i7 Ring to
QuickPath Interconnect Link 0 Performance Monitor (rev 07)
ff:13.6 System peripheral: Intel Corporation Xeon E5/Core i7 Ring to
QuickPath Interconnect Link 1 Performance Monitor (rev 07)



And here is the output of lspci -v as it relates to my nvidia hardware:




02:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT
610] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ZOTAC International (MCO) Ltd. Device 5215
	Flags: bus master, fast devsel, latency 0, IRQ 58
	Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
	Memory at f0000000 (64-bit, prefetchable) [size=128M]
	Memory at f8000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	[virtual] Expansion ROM at fb000000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [b4] Vendor Specific Information: Len=14 <?>
	Capabilities: [100] Virtual Channel
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Kernel driver in use: nvidia

02:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller
(rev a1)
	Subsystem: ZOTAC International (MCO) Ltd. Device 5215
	Flags: bus master, fast devsel, latency 0, IRQ 56
	Memory at fb080000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Kernel driver in use: snd_hda_intel



I'm not interested in breaking my video configuration to reproduce
the bug, but I hope this helps.

Bear

[   146.671] 
X.Org X Server 1.17.3
Release Date: 2015-10-26
[   146.671] X Protocol Version 11, Revision 0
[   146.671] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[   146.672] Current Operating System: Linux excessive 4.3.0-1-amd64 #1 SMP Debian 4.3.3-2 (2015-12-17) x86_64
[   146.672] Kernel command line: BOOT_IMAGE=/vmlinuz-4.3.0-1-amd64 root=/dev/mapper/excessive--vg-root ro quiet
[   146.672] Build Date: 27 October 2015  11:41:02PM
[   146.672] xorg-server 2:1.17.3-2 (http://www.debian.org/support) 
[   146.672] Current version of pixman: 0.33.4
[   146.673] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   146.673] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   146.674] (==) Log file: "/home/bear/.local/share/xorg/Xorg.0.log", Time: Sat Jan  2 12:14:09 2016
[   146.674] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   146.675] (==) No Layout section.  Using the first Screen section.
[   146.675] (==) No screen section available. Using defaults.
[   146.675] (**) |-->Screen "Default Screen Section" (0)
[   146.675] (**) |   |-->Monitor "<default monitor>"
[   146.675] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   146.675] (==) Automatically adding devices
[   146.675] (==) Automatically enabling devices
[   146.675] (==) Automatically adding GPU devices
[   146.675] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   146.675] 	Entry deleted from font path.
[   146.675] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[   146.675] (==) ModulePath set to "/usr/lib/xorg/modules"
[   146.675] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   146.675] (II) Loader magic: 0x55bb6f126de0
[   146.675] (II) Module ABI versions:
[   146.675] 	X.Org ANSI C Emulation: 0.4
[   146.675] 	X.Org Video Driver: 19.0
[   146.675] 	X.Org XInput driver : 21.0
[   146.675] 	X.Org Server Extension : 9.0
[   146.683] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
[   146.684] (II) xfree86: Adding drm device (/dev/dri/card0)
[   146.684] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[   146.689] (--) PCI:*(0:2:0:0) 10de:104a:19da:5215 rev 161, Mem @ 0xfa000000/16777216, 0xf0000000/134217728, 0xf8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   146.689] (II) LoadModule: "glx"
[   146.689] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   146.691] (II) Module glx: vendor="X.Org Foundation"
[   146.691] 	compiled for 1.17.3, module version = 1.0.0
[   146.691] 	ABI class: X.Org Server Extension, version 9.0
[   146.691] (==) AIGLX enabled
[   146.691] (==) Matched nouveau as autoconfigured driver 0
[   146.691] (==) Matched nv as autoconfigured driver 1
[   146.691] (==) Matched nouveau as autoconfigured driver 2
[   146.691] (==) Matched nv as autoconfigured driver 3
[   146.691] (==) Matched modesetting as autoconfigured driver 4
[   146.691] (==) Matched fbdev as autoconfigured driver 5
[   146.691] (==) Matched vesa as autoconfigured driver 6
[   146.691] (==) Assigned the driver to the xf86ConfigLayout
[   146.691] (II) LoadModule: "nouveau"
[   146.691] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[   146.692] (II) Module nouveau: vendor="X.Org Foundation"
[   146.692] 	compiled for 1.17.3, module version = 1.0.12
[   146.692] 	Module class: X.Org Video Driver
[   146.692] 	ABI class: X.Org Video Driver, version 19.0
[   146.692] (II) LoadModule: "nv"
[   146.692] (WW) Warning, couldn't open module nv
[   146.692] (II) UnloadModule: "nv"
[   146.692] (II) Unloading nv
[   146.692] (EE) Failed to load module "nv" (module does not exist, 0)
[   146.692] (II) LoadModule: "modesetting"
[   146.692] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   146.692] (II) Module modesetting: vendor="X.Org Foundation"
[   146.692] 	compiled for 1.17.3, module version = 1.17.3
[   146.692] 	Module class: X.Org Video Driver
[   146.692] 	ABI class: X.Org Video Driver, version 19.0
[   146.693] (II) LoadModule: "fbdev"
[   146.693] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   146.693] (II) Module fbdev: vendor="X.Org Foundation"
[   146.693] 	compiled for 1.17.1, module version = 0.4.4
[   146.693] 	Module class: X.Org Video Driver
[   146.693] 	ABI class: X.Org Video Driver, version 19.0
[   146.693] (II) LoadModule: "vesa"
[   146.693] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   146.693] (II) Module vesa: vendor="X.Org Foundation"
[   146.693] 	compiled for 1.17.3, module version = 2.3.4
[   146.693] 	Module class: X.Org Video Driver
[   146.693] 	ABI class: X.Org Video Driver, version 19.0
[   146.693] (II) NOUVEAU driver Date:   Tue Dec 8 15:52:25 2015 +1000
[   146.693] (II) NOUVEAU driver for NVIDIA chipset families :
[   146.693] 	RIVA TNT        (NV04)
[   146.693] 	RIVA TNT2       (NV05)
[   146.693] 	GeForce 256     (NV10)
[   146.693] 	GeForce 2       (NV11, NV15)
[   146.693] 	GeForce 4MX     (NV17, NV18)
[   146.693] 	GeForce 3       (NV20)
[   146.693] 	GeForce 4Ti     (NV25, NV28)
[   146.693] 	GeForce FX      (NV3x)
[   146.693] 	GeForce 6       (NV4x)
[   146.693] 	GeForce 7       (G7x)
[   146.693] 	GeForce 8       (G8x)
[   146.693] 	GeForce GTX 200 (NVA0)
[   146.693] 	GeForce GTX 400 (NVC0)
[   146.693] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   146.694] (II) FBDEV: driver for framebuffer: fbdev
[   146.694] (II) VESA: driver for VESA chipsets: vesa
[   146.694] (++) using VT number 2

[   146.694] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   146.694] (EE) [drm] Failed to open DRM device for (null): -22
[   146.694] (EE) [drm] Failed to open DRM device for (null): -22
[   146.694] (EE) [drm] Failed to open DRM device for (null): -22
[   146.694] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -22
[   146.694] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -22
[   146.694] (WW) Falling back to old probe method for modesetting
[   146.694] (II) Loading sub module "fbdevhw"
[   146.694] (II) LoadModule: "fbdevhw"
[   146.694] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   146.694] (II) Module fbdevhw: vendor="X.Org Foundation"
[   146.694] 	compiled for 1.17.3, module version = 0.0.2
[   146.694] 	ABI class: X.Org Video Driver, version 19.0
[   146.694] (EE) open /dev/fb0: No such file or directory
[   146.694] (WW) Falling back to old probe method for fbdev
[   146.694] (II) Loading sub module "fbdevhw"
[   146.694] (II) LoadModule: "fbdevhw"
[   146.695] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   146.695] (II) Module fbdevhw: vendor="X.Org Foundation"
[   146.695] 	compiled for 1.17.3, module version = 0.0.2
[   146.695] 	ABI class: X.Org Video Driver, version 19.0
[   146.695] (EE) open /dev/fb0: No such file or directory
[   146.695] vesa: Ignoring device with a bound kernel driver
[   146.695] (WW) Falling back to old probe method for vesa
[   146.695] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   146.695] (EE) Screen 0 deleted because of no matching config section.
[   146.695] (II) UnloadModule: "modesetting"
[   146.695] (EE) Screen 0 deleted because of no matching config section.
[   146.695] (II) UnloadModule: "fbdev"
[   146.695] (II) UnloadSubModule: "fbdevhw"
[   146.695] (EE) Screen 0 deleted because of no matching config section.
[   146.695] (II) UnloadModule: "vesa"
[   146.695] (EE) Device(s) detected, but none match those in the config file.
[   146.695] (EE) 
Fatal server error:
[   146.695] (EE) no screens found(EE) 
[   146.695] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   146.695] (EE) Please also check the log file at "/home/bear/.local/share/xorg/Xorg.0.log" for additional information.
[   146.695] (EE) 
[   146.697] (EE) Server terminated with error (1). Closing log file.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: