Disappearance of /sbin/lrm-video

Bug #84674 reported by posi
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Undecided
Unassigned
linux-restricted-modules-2.6.17 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

The above file (/sbin/lrm-video) is used by modprobe to load modules for the proprietary graphics drivers (ati and nvidia). It was been noted in the forums, with no solution. On the forums, most users have an Ubuntu kernel with the restricted modules package installed. I have a custom kernel, and built the kernel module. For me, /sbin/lrm-video does not 'disappear' until after a full system update. Rebuilding the module does not solve the problem.

At first, I wrote it off as a temporary bug in feisty, but I have since had the same bug occur twice in edgy. Unfortunately, this means I do not have a date for when this started.

Modprobing the fglrx module outputs:

$ sudo modprobe -fv fglrx
install /sbin/lrm-video fglrx
sh: /sbin/lrm-video: not found
FATAL: Error running install command for fglrx

Tags: lp-bugs
Revision history for this message
James Henstridge (jamesh) wrote :

This is an Ubuntu bug, rather than a bug in the Launchpad code.

Changed in malone:
status: Unconfirmed → Rejected
Revision history for this message
Michael Magua (m-magua) wrote :

I know this is not a proper fix. I have an Nvidia card... In /etc/rc.local I have a linux which reads:

find /lib/modules/2.6.20-11-generic/ | grep -i nvi | grep -v fb | grep ko$ | xargs insmod

With this command I'm able to load Nvidia module without getting any error messages. I'm using Feisty with latest updates (amd64).

Revision history for this message
Michael Magua (m-magua) wrote :

Sorry not a linux but a line.

Revision history for this message
stefan (stefan-willems) wrote :

I have the same Problem with my NVIDIA-Card, just for fun i have touched the file ("touch /sbin/lrm-video"), and it worked!

Revision history for this message
Janna (horsecrazyinca) wrote :

Confirmed the problem on Kubuntu Feisty, running a NVidia Geforce4 MX on-board card. I started a clean install. I attempted to build the latest driver for my card - NVIDIA-Linux-x86-1.0-9639, available on NVidia's website. I uninstalled linux-restricted-modules* and nvidia-kernel* packages per instructions (they were installed by default, I guess). I then attempted to install the driver. It completed "successfully", however, when I tried to start X with "nvidia" instead of "nv" I got lrm-video not found.

I managed to get rid of the message...but probably not the underlying problem, by following some instructions posted in the comments at

http://kmandla.wordpress.com/2007/03/25/success-compiling-nvidia-8776-driver-on-feisty-2620-12-386/

"sh: /sbin/lrm-video: not found
FATAL: Error running install command for nvidia

To get around it I commented out the “install nvidia …” line in /etc/modprobe.d/lrm-video:

# Make nvidia/nvidia_legacy and fglrx use /sbin/lrm-video to load
install fglrx /sbin/lrm-video fglrx $CMDLINE_OPTS
#install nvidia /sbin/lrm-video nvidia $CMDLINE_OPTS
install nvidia_legacy /sbin/lrm-video nvidia_legacy $CMDLINE_OPTS
install nvidia_new /sbin/lrm-video nvidia_new $CMDLINE_OPTS"

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Janna:
You have effectively already told us what the cause of the problem you are seeing is:
:~$ dpkg -S /sbin/lrm-video
linux-restricted-modules-common: /sbin/lrm-video

/sbin/lrm-video is installed as part of the linux-restricted-modules-common. If you go on to pull linux-restricted-modules-common up (as I have noticed many guides tell people to do) then this file will be removed too. I just want to add that any problems that occur after you start commenting out things in /etc/modprobe.d/lrm-video or puling up linux-restricted-modules-common and installing drivers not provided by Ubuntu repositories should not be reported to the launchpad bug area. If the drivers were downloaded from the NVIDIA web site then the NVIDIA Linux web forum (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14 ) is an appropriate place to report issues. Other places for manual driver support can be found on the Community Support page (http://www.ubuntu.com/support/communitysupport ).

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

(Subscribing horsecrazyinca to this bug so reply is seen)

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

We don't generally support custom kernels, closing the bug.

Changed in linux-restricted-modules-2.6.17:
status: New → Won't Fix
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.