Public bug reported:

Binary package hint: linux-restricted-modules-common

I encountered this bug after updating from 8.04 to 9.10.
When trying to use the "nvidia" non-free video driver, the log file Xorg.0.log 
contains the following
message:

(==) Using config file: "/etc/X11/xorg.conf"
....
modprobe: invalid option -- 'Q'
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] 
[-o <modname>] [ --dump-modversions ] <modname> [parameters...]
modprobe -r [-n] [-i] [-v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]
FATAL: Error running install command for nvidia
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.


After many wild-goose chases, I found that the /sbin/lrm-video script is 
apparently using an outdated
syntax in the generated modprobe commands.       

The following change eliminated this message, and allowed the "nvidia"
driver to load and initialize successfully:

--- lrm-video.orig      2009-10-14 10:33:08.000000000 -0700
+++ lrm-video   2009-11-13 19:48:49.000000000 -0800
@@ -23,9 +23,9 @@
   sed -n -e '/^[ \t]*section[ \\t]*"device"/I,/^[ \t]*endsection/I{/^[ 
\t]*driver[ \t]*/I{s/^[ \t]*driver[ \t]*"*//I;s/"*[ \t]*$//;p}}' | \
   grep -q -w $XORG; then
     if [ -e /etc/default/envy-dkms ]; then
-      modprobe --ignore-install -Qb $@ $XORG
+      modprobe --ignore-install -b $@ $XORG
     else
-      modprobe --ignore-install -Qb $@ $MODULE
+      modprobe --ignore-install -b $@ $MODULE
     fi
   else
     echo "Not loading $MODULE module; not used in /etc/X11/xorg.conf" 1>&2


It is possible that the current modprobe option "q" should be substituted for 
the errant "Q".

ProblemType: Bug
Architecture: i386
Date: Sat Nov 14 00:59:44 2009
DistroRelease: Ubuntu 9.10
Lsusb:
 Bus 003 Device 002: ID 0a48:3239 I/O Interconnect Multimedia Card Reader
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: eMachines Product Name
NonfreeKernelModules: nvidia
Package: xorg 1:7.4+3ubuntu10
ProcCmdLine: root=UUID=e912ce8e-e1d4-4e21-b70a-cc68f38b429a ro quiet splash 
vga=791
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu10
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
SourcePackage: xorg
Uname: Linux 2.6.31-15-generic i686
XsessionErrors: (polkit-gnome-authentication-agent-1:2240): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed
dmi.bios.date: 08/06/2004
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: TCB432C
dmi.board.name: AU31
dmi.board.vendor: First International Computer, Inc.
dmi.board.version: PCB 1.x
dmi.chassis.asset.tag: Asset Tag Number xxxxxx
dmi.chassis.type: 3
dmi.chassis.vendor: Manufactory Name
dmi.chassis.version: Version xx
dmi.modalias: 
dmi:bvnPhoenixTechnologies,LTD:bvrTCB432C:bd08/06/2004:svneMachines:pnProductName:pvrSYS-xxxxxx:rvnFirstInternationalComputer,Inc.:rnAU31:rvrPCB1.x:cvnManufactoryName:ct3:cvrVersionxx:
dmi.product.name: Product Name
dmi.product.version: SYS-xxxxxx
dmi.sys.vendor: eMachines
fglrx: Not loaded
system:
 distro:             Ubuntu
 architecture:       i686kernel:             2.6.31-15-generic

** Affects: linux-restricted-modules (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
lrm-video script uses incorrect modprobe option when trying to load nvidia 
driver
https://bugs.launchpad.net/bugs/482549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to