Upgrade to Ubuntu 8.10 Alpha 3 stops Nvidia driver working

Bug #252160 reported by Peter Jones
26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-173 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I reported a bug '248497' relating to upgrading from 8.04 to 8.10 Alpha 2 which seemed to related to the Nvidia driver when looking at the logs.

I have tried the upgrade with the new Alpha 3 and it seemed to work OK, but now I have no Nvidia driver. The Nvidia card does not even appear in System > Administration > Hardware Drivers.

I am stuck at 640 x 480!

Help!

peter@peter-desktop:~$ lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10

Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please attach your X server configuration file (/etc/X11/xorg.conf) and X server log file (/var/log/Xorg.0.log) to the bug report as individual uncompressed file attachments using the "Attachment:" box below. Could you please also try to run without any /etc/X11/xorg.conf and let Xorg autodetect your display and video card? Please also attach the /var/log/Xorg.0.log from this attempt. Thanks in advance.

Revision history for this message
Connor Imes (ckimes) wrote :

Marked as incomplete until requested information is provided. Thank you.

Changed in xorg:
status: New → Incomplete
Revision history for this message
Peter Jones (jonesypeter) wrote :

Hi, unfortunately before the reply I had already booted into recovery mode and tried the fix xorg. I now have a higher resultion but still no Nvidia driver. This is the latest xorg.conf, I will also enclose the backup which I assume is the one prior to me running the recovery mode.

To run within any xorg.conf do I just move the file out of the directory?

Thanks for making such a great Linux OS!

Revision history for this message
Peter Jones (jonesypeter) wrote :

xorg backup file enclosed. Thanks

Revision history for this message
Peter Jones (jonesypeter) wrote :

xorg backup file enclosed. Thanks

Revision history for this message
Connor Imes (ckimes) wrote :

If you move the xorg.conf file to something like xorg.conf.backup so that no xorg.conf file exists, then restart X, that is the same as not having an xorg.conf file.
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
then restart X.
You can also try reconfiguring X with
 sudo dpkg-reconfigure xserver-xorg -phigh
then restart X.

Generally you are supposed to uninstall restricted video drivers before doing upgrades, though most people don't do this.

Revision history for this message
Peter Jones (jonesypeter) wrote :

I moved the xorg.conf as requested and restarted 'X'.

The is the new xorg.conf

Revision history for this message
Alberto Milone (albertomilone) wrote :

What's the model of your graphics card?

Revision history for this message
Peter Jones (jonesypeter) wrote :

Asus Geforce 6200 128MB DVI-D 1 X Vga Tv-out AGP

Cheers

Revision history for this message
Alberto Milone (albertomilone) wrote :

type:
sudo apt-get install nvidia-glx-173

and restart your computer.

Revision history for this message
Peter Jones (jonesypeter) wrote :

Seemed to install but still no Nvidia. See screenshot.

Revision history for this message
Alberto Milone (albertomilone) wrote :

please post:
1) your /var/log/Xorg.0.log
2) the output of this command:
glxinfo

Revision history for this message
Peter Jones (jonesypeter) wrote :

peter@peter-desktop:~$ glxinfo
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig

Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
3 GLXFBConfigs:
   visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
 id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Segmentation fault
peter@peter-desktop:~$

Revision history for this message
Alberto Milone (albertomilone) wrote :

Peter the log says that you're using the "nv" driver.

Set the driver to "nvidia" in the Device section of your xorg.conf, restart the Xserver and then attach the following files:
1) /var/log/Xorg.0.log
2) /var/log/Xorg.0.log.old

Revision history for this message
simonjames (simon-james-gervais) wrote :

I am having the exact same problem. I have a nvidia Geforce 7300 LE card.

If I enable the nvidia driver (instead of nv), when I logoff I get a window saying "could not detect monitor or graphic card, server will run in low graphics mode" (something like that) with configure/shutdown/continue buttons. I tried to configure my monitor and card with all the correct settings but it stays in low graphics mode.

I get the same error every time I boot until I removed the xorg.conf file or change nvidia to nv. But by doing so, the driver returns to nv and I still can't run 3D (compiz) applications.

Thanks

Revision history for this message
egbrod (kaffetrakter) wrote :
Download full text (53.2 KiB)

I have the same problem in alpha 5.
It seems like the system does not recognize that I have Nvidia card. I have nVidia Corporation Quadro NVS 140M (rev a1)
At first reboot after upgrading (from 8.04) I got the messages that the system did not find information about my card...

I then installed:
sudo apt-get install nvidia-glx-173
nvidia-xconfig

then I tried to start x but I got error messages.
------------------------------------------------------------
/var/log/messages:
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.035074] PCI: bridge 0000:00:1c.4 32bit mmio: [cdffffffcc000000, f713d65800000122]
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.035103] PCI: bridge 0000:00:1c.4 64bit mmio pref: [df4fffffdf400000, f7117600f713d658]
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.035310] pci 0000:15:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.035329] pci 0000:15:00.0: PME# disabled
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.035633] pci 0000:15:00.1: PME# supported from D0 D1 D2 D3hot D3cold
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.035652] pci 0000:15:00.1: PME# disabled
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.035958] pci 0000:15:00.2: PME# supported from D0 D1 D2 D3hot D3cold
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.035977] pci 0000:15:00.2: PME# disabled
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.036292] pci 0000:15:00.3: PME# supported from D0 D1 D2 D3hot D3cold
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.036311] pci 0000:15:00.3: PME# disabled
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.036616] pci 0000:15:00.4: PME# supported from D0 D1 D2 D3hot D3cold
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.036635] pci 0000:15:00.4: PME# disabled
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.036940] pci 0000:15:00.5: PME# supported from D0 D1 D2 D3hot D3cold
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.036959] pci 0000:15:00.5: PME# disabled
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.037136] pci 0000:00:1e.0: transparent bridge
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.037153] PCI: bridge 0000:00:1e.0 io port: [bfff00008000, f713ea5800000122]
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.037172] PCI: bridge 0000:00:1e.0 32bit mmio: [fbfffffff8100000, f713ea5800000122]
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.037201] PCI: bridge 0000:00:1e.0 64bit mmio pref: [f7fffffff4000000, f7117800f713ea58]
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.068475] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 *10 11)
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.069811] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.071137] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.072503] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.073845] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.075179] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11)
Sep 14 21:09:05 thinkpad-laptop kernel: [ 1.076544] ACPI: PCI Interrupt Link [LNKG] (IR...

Revision history for this message
Pete Stucke (pstucke) wrote :

I had the very same problem. It turns out that each time the kernel was upgraded on my machine, I chose to keep the current file rather than using the package maintainer's version. After manually editing /boot/grub/menu.lst to include the most-recent kernel, I rebooted and voila - the problem was fixed using the kernel 2.6.27-4-generic.

On a side note, prior to updating the grub list, I received the following error in xorg.conf (file is abbreviated) each time I ran sudo nvidia-xconfig:

Section "Module"
 Load "type1"
EndSection

Revision history for this message
ButterflyOfFire (butterflyoffire) wrote :

I Upgraded yesterday from Ubuntu 8.04 to 8.10 Beta then the Nvidia Driver dont works fine.

When I restard my PC after the installation finished, the display seems to be larger then the surface of the screen. But the screen still black but when I type my username and password, I can log in the system (alway the Screen still Black)

The only solution I found is to reduce the resolution by reconfiguring the xserver.
So :
CRTL+F1 then login.
sudo dpkg-reconfigure xserver-xorg
sudo dpkg-reconfigure xserver-xorg -phigh (wont work for me)

And finaly I sacrificed Compiz and the effects since the driver is not loaded.
My Graphic Card is Nvidia GeForce 6100

I know that in all the beta versions of Ubuntu, I've the same problem ... but it is solved in the final :)
Please accept my oppoligize for my crappy english

Friendly,
ButterlyOfFire

Revision history for this message
love bill (lovebille) wrote :

Hi,
I had install Ubuntu 8.04 64bits with NVIDIA 6100 cards.
Everythings worked fine.

After upgrading to Ubuntu 8.10 alpha (and now to the latest beta version), I have the same problem as described above. Now there is now way to make this card recognised.
I just has once the luck to get a higher resolution than 800*600, but after trying to install again Nvidia driver I'm back to 800*600..

That would be so nice if it worked again :)

Thanks for your great work.

Love Bill

Revision history for this message
Nicolae Istratii (tallman9) wrote :

Upgraded from ubuntu 8.04.1 to 8.10 beta. My video card is nvidia GF6150.
Nvidia driver doesn't work anymore. Tried installing via Restricted Driver Manager a few times, manually installing through apt-get/aptitude and through envyng, also tried the today's final release (177.80) of the driver supplied by nvidia from their official website. Nvidia module doesn't compile.

I even tried to compile it manually and still no luck.
http://paste.ubuntu.com/55353/
Main reason seams to be *** Unable to determine the target kernel version. ***

Revision history for this message
Alberto Milone (albertomilone) wrote :

Nicolae: can you attach your /var/lib/dkms/nvidia/177.80/build/make.log ?

Revision history for this message
Nicolae Istratii (tallman9) wrote :

It is the same as output.

Revision history for this message
Alberto Milone (albertomilone) wrote :

type:
sudo apt-get install --reinstall nvidia-177-kernel-source

and attach your new /var/lib/dkms/nvidia/177.80/build/make.log

Revision history for this message
Nicolae Istratii (tallman9) wrote :

Same thing.

Revision history for this message
Alberto Milone (albertomilone) wrote :

1) attach the output of this command:
sudo aptitude search linux-headers

2) type:
sudo apt-get install linux-headers-generic

sudo apt-get install --reinstall nvidia-177-kernel-source

and see if it solves the problem

Revision history for this message
Nicolae Istratii (tallman9) wrote :

$ sudo aptitude search linux-headers | grep generic
p linux-headers-2.6.27-5-generic - Linux kernel headers for version 2.6.27 on
i A linux-headers-2.6.27-6-generic - Linux kernel headers for version 2.6.27 on
i linux-headers-generic - Generic Linux kernel headers

The headers were installed all of the time.
Today I experimented more with the official drivers. I used --kernel-source-path option. Seems like the problem is that it can't find the version.h (or it is empty) in the kernel sources. I attached the nvidia-installer.log

PS
I asked on the russian ubuntu mailing list. Nobody has any similar problems with nvidia drivers in 8.10, but they have installed 8.10 from scratch.

Revision history for this message
Alberto Milone (albertomilone) wrote :

Please do not use the installer from NVIDIA's website as it will break the nvidia packages in Ubuntu.

Type:
sudo dkms add -m nvidia -v 177.80 -k $(uname -r)
sudo dkms build -m nvidia -v 177.80 -k $(uname -r)
sudo dkms install -m nvidia -v 177.80 -k $(uname -r)

Post all the errors you get (try all these commands).

Revision history for this message
Nicolae Istratii (tallman9) wrote :

Before experimenting with the installer from NVIDIA's website I removed the nvidia packages. Anyway, it didn't work.

Here are the errors I got from the commands you supplied above.

Revision history for this message
Alberto Milone (albertomilone) wrote :

can you attach the output of these commands?
ls /lib/modules/2.6.27-6-generic
ls /usr/src/linux-headers-2.6.27-6-generic

Revision history for this message
Nicolae Istratii (tallman9) wrote :

Strange, isn't it?

Revision history for this message
Alberto Milone (albertomilone) wrote :

Does this command work?
cat /usr/src/linux-headers-2.6.27-6-generic/include/linux/version.h

(differently from what you've done so far I have added "-generic" to the name of the directory)

Revision history for this message
Nicolae Istratii (tallman9) wrote :

$ cat /usr/src/linux-headers-2.6.27-6-generic/include/linux/version.h
#define LINUX_VERSION_CODE 132635
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

$ ls -l /usr/src/linux-headers-2.6.27-6-generic/include/linux/version.h
-rw-r--r-- 1 root root 97 2008-10-07 08:44 /usr/src/linux-headers-2.6.27-6-generic/include/linux/version.h

$ cat /usr/include/linux/version.h
#define LINUX_VERSION_CODE 132635
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

$ ls -l /usr/include/linux/version.h
-rw-r--r-- 1 root root 97 2008-10-07 09:11 /usr/include/linux/version.h

Revision history for this message
Alberto Milone (albertomilone) wrote :

Mario, any ideas on this? Could it depend on DKMS?

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 252160] Re: Upgrade to Ubuntu 8.10 Alpha 3 stops Nvidia driver working

Hi Alberto:

There was a bug preventing DKMS from rebuilding if it didn't run in the post
inst scripts. I uploaded a new DKMS yesterday that should have fixed it.
Can the bug poster please post /var/log/dpkg.log and ls -alhR /var/lib/dkms?

On Fri, Oct 10, 2008 at 07:58, Alberto Milone <email address hidden>wrote:

> Mario, any ideas on this? Could it depend on DKMS?
>
> --
> Upgrade to Ubuntu 8.10 Alpha 3 stops Nvidia driver working
> https://bugs.launchpad.net/bugs/252160
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
Nicolae Istratii (tallman9) wrote :

I upgraded to new dkms version yesterday and I get the same errors today.

ls -alhR /var/lib/dkms
http://paste.ubuntu.com/56006/

Revision history for this message
Mario Limonciello (superm1) wrote :

With that version of DKMS, the autorebuilding service should have happened
on reboot. Can you try again to reboot now and see if it does?

On Fri, Oct 10, 2008 at 09:31, Nicolae Istratii <email address hidden> wrote:

> I upgraded to new dkms version yesterday and I get the same errors
> today.
>
> ls -alhR /var/lib/dkms
> http://paste.ubuntu.com/56006/
>
> ** Attachment added: "dpkg.log"
> http://launchpadlibrarian.net/18399457/dpkg.log
>
> --
> Upgrade to Ubuntu 8.10 Alpha 3 stops Nvidia driver working
> https://bugs.launchpad.net/bugs/252160
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
Nicolae Istratii (tallman9) wrote :

Just did a reboot, as you requested.
I don't have usplash installed so I saw a clear red failed to autorebuild the nvidia module.
I looked into dmesg, syslog, messages and other log files but didn't notice anything about DKMS.
Anyway,
tallman@tallman:/var/log$ lsmod | grep nvidia
tallman@tallman:/var/log$ modprobe nvidia
FATAL: Module nvidia not found.

Revision history for this message
Mario Limonciello (superm1) wrote :

Nicolae:

Can you attach the output of this then:

ls -alhR /etc/rc*.d

Also, try to do this:

sudo /etc/init.d/dkms_autoinstaller start

On Fri, Oct 10, 2008 at 11:17, Nicolae Istratii <email address hidden> wrote:

> Just did a reboot, as you requested.
> I don't have usplash installed so I saw a clear red failed to autorebuild
> the nvidia module.
> I looked into dmesg, syslog, messages and other log files but didn't notice
> anything about DKMS.
> Anyway,
> tallman@tallman:/var/log$ lsmod | grep nvidia
> tallman@tallman:/var/log$ modprobe nvidia
> FATAL: Module nvidia not found.
>
> --
> Upgrade to Ubuntu 8.10 Alpha 3 stops Nvidia driver working
> https://bugs.launchpad.net/bugs/252160
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
Nicolae Istratii (tallman9) wrote :

$ sudo /etc/init.d/dkms_autoinstaller start
[sudo] password for tallman:
 * Running DKMS auto installation service for kernel 2.6.27-6-generic
 * nvidia (177.80)... [fail]

Revision history for this message
Mario Limonciello (superm1) wrote :

Nicolae:

OK, we're getting closer. So we know DKMS itself is not the issue at hand.
It's starting up, just fails to compile.

Look in /var/lib/dkms/nvidia for a log in the build directory. Post that
log and hopefully this should stand out.

On Fri, Oct 10, 2008 at 11:48, Nicolae Istratii <email address hidden> wrote:

> $ sudo /etc/init.d/dkms_autoinstaller start
> [sudo] password for tallman:
> * Running DKMS auto installation service for kernel 2.6.27-6-generic
> * nvidia (177.80)...
> [fail]
>
>
> ** Attachment added: "init_listing"
> http://launchpadlibrarian.net/18408760/init_listing
>
> --
> Upgrade to Ubuntu 8.10 Alpha 3 stops Nvidia driver working
> https://bugs.launchpad.net/bugs/252160
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
Nicolae Istratii (tallman9) wrote :

Here it is, but I posted the same log 2 days ago by Alberto's request.

Revision history for this message
Mario Limonciello (superm1) wrote :

That's really odd, so if you've got all the right headers installed, this shouldn't be happening, or at least if it is happening, it should be happening to everyone using NVIDIA drivers.

Revision history for this message
Nicolae Istratii (tallman9) wrote :
Revision history for this message
Alberto Milone (albertomilone) wrote :

Nicolae: there's no evidence that the user who wrote those comments have the same problem. The fact that a "driver doesn't work" (which is by itself a very vague description) can depend on a number of things.

Revision history for this message
Nicolae Istratii (tallman9) wrote :

I agree, let's hope I'm the only one with this kind of problem. Anyway, I'm satisfied with "nv" and mesa for opengl acceleration.

Revision history for this message
Alberto Milone (albertomilone) wrote :

maybe you could try removing linux-headers-2.6.27-6-generic and reinstalling it.

Revision history for this message
kosmoz (kosmoz) wrote :

I have all the same problems as described by Nicolae Istratii but with an nvidia Geforce 6800.
I've tried to remove and reinstall linux-headers-2.6.27-8-generic as suggested by Alberto Milone. BTW, thanks Alberto for EnvyNG.. that's what enabled me to get my display working in the first place. I knew I shouldn't have tried to upgrade to 8.10!!

Setting up linux-headers-2.6.27-8-generic (2.6.27-8.17) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms
 * Running DKMS auto installation service for kernel 2.6.27-8-generic
 * nvidia (169.12)... nvidia (169.12): Installing module.
.........(bad exit status: 10)
  Build failed. Installation skipped.
                                                                         [fail]
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common
/etc/kernel/header_postinst.d/nvidia-common: line 2: /usr/share/debconf/confmodule: No such file or directory
run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 1
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.27-8-generic.postinst line 110.
dpkg: error processing linux-headers-2.6.27-8-generic (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-headers-2.6.27-8-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
kosmoz (kosmoz) wrote :

If that helps, here is the link to the automatically generated bug report:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/299460

Revision history for this message
kosmoz (kosmoz) wrote :

Couldn't wait.. I've reinstalled my server from scratch and it all went smoothly. It actually worked way better than the 8.04 CD that wouldn't detect my keyboard, would crash if my network cable was connected and would not properly configure my graphic card and end up on a black screen.

Revision history for this message
Tony (u-launchpad-cronos-ts-gatech-edu) wrote :

I had the same problem with dkms being unable to build my nvidia driver. I found that the problem for me was the kernel-headers package.

I am running 2.6.25-2-386. When I installed the linux-headers-2.6.25-2-386 package it created the proper /usr/src/linux-headers-2.6.25-2-386 directory tree. That directory has number of symlinks, for example:

drivers -> ../linux-headers-2.6.25-2/drivers

However, my OS did not have a /usr/src/linux-headers-2.6.25-2. Instead I have a /usr/src/linux-ports-headers-2.6.25-2.

Thus every reference in /usr/src/linux-headers-2.6.25-2-386 was pointing to nowhere.

I resolved this manually by creating a symlink /usr/src/linux-headers-2.6.25-2 -> /usr/src/linux-ports-headers-2.6.25-2 and this fixed my problem. DKMS will now properly build the nvidia (and who knows what other) driver and I am back up and running.

I don't know if this is an ubuntu issue or a package maintainer issue or a kernel issue. My manual fix is probably not the right thing to do, but I had to get back up and working. YMMV

Revision history for this message
Jason (jason-willson) wrote :

The bug this is a duplicate of, seems very vague, but this bug actually demonstrated exactly what I'm experiencing:

sudo /etc/init.d/dkms_autoinstaller start
 * Running DKMS auto installation service for kernel 2.6.27-12-generic * kqemu (1.3.0~pre11)... [ FAIL]
 * nvidia (177.82)... [ FAIL ]
 * vboxdrv (2.0.4)... [FAIL ]
 * virtualbox-ose-guest (2.0.4)... [ FAIL ]

I upgraded my kernel from 2.6.27-11-generic to 2.6.27.11-generic. When I attempted to build the kernel module manually with dkms, this is what happened:

dkms build -m nvidia -v 177.82 -k 2.6.27-12-generic

Error! Your kernel source for kernel 2.6.27-12-generic cannot be found at
/lib/modules/2.6.27-12-generic/build or /lib/modules/2.6.27-12-generic/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.

Looking at /lib/modules/2.6.27-12-generic/source gave me this:

ls /lib/modules/2.6.27-12-generic/
initrd modules.dep modules.ofmap modules.usbmap
kernel modules.ieee1394map modules.pcimap updates
modules.alias modules.inputmap modules.seriomap volatile
modules.ccwmap modules.isapnpmap modules.symbols

Question: is there a directory that exists that has the source so I can build this manually? I used a solution from a forum the last time this happened, only I don't exactly remember the solution. I'm sorry if I'm wrong about this being a duplicate!

Jason

Revision history for this message
Karl Larsen (klarsen1) wrote :

Jason wrote:
> *** This bug is a duplicate of bug 251832 ***
> https://bugs.launchpad.net/bugs/251832
>
> The bug this is a duplicate of, seems very vague, but this bug actually
> demonstrated exactly what I'm experiencing:
>
> sudo /etc/init.d/dkms_autoinstaller start
> * Running DKMS auto installation service for kernel 2.6.27-12-generic * kqemu (1.3.0~pre11)... [ FAIL]
> * nvidia (177.82)... [ FAIL ]
> * vboxdrv (2.0.4)... [FAIL ]
> * virtualbox-ose-guest (2.0.4)... [ FAIL ]
>
> I upgraded my kernel from 2.6.27-11-generic to 2.6.27.11-generic. When I
> attempted to build the kernel module manually with dkms, this is what
> happened:
>
> dkms build -m nvidia -v 177.82 -k 2.6.27-12-generic
>
> Error! Your kernel source for kernel 2.6.27-12-generic cannot be found at
> /lib/modules/2.6.27-12-generic/build or /lib/modules/2.6.27-12-generic/source.
> You can use the --kernelsourcedir option to tell DKMS where it's located.
>
> Looking at /lib/modules/2.6.27-12-generic/source gave me this:
>
> ls /lib/modules/2.6.27-12-generic/
> initrd modules.dep modules.ofmap modules.usbmap
> kernel modules.ieee1394map modules.pcimap updates
> modules.alias modules.inputmap modules.seriomap volatile
> modules.ccwmap modules.isapnpmap modules.symbols
>
> Question: is there a directory that exists that has the source so I can
> build this manually? I used a solution from a forum the last time this
> happened, only I don't exactly remember the solution. I'm sorry if I'm
> wrong about this being a duplicate!
>
> Jason
>
 Jason I'm not a good kernel guy. But I think your home made kernel IS
the problem.

Karl

--

 Karl F. Larsen, AKA K5DI
 Linux User
 #450462 http://counter.li.org.
    PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7

Revision history for this message
Jason (jason-willson) wrote :

On Wed, 2009-02-18 at 23:30 +0000, Karl Larsen wrote:
> *** This bug is a duplicate of bug 251832 ***
> https://bugs.launchpad.net/bugs/251832
>
> Jason wrote:
> > *** This bug is a duplicate of bug 251832 ***
> > https://bugs.launchpad.net/bugs/251832
> >
> > The bug this is a duplicate of, seems very vague, but this bug actually
> > demonstrated exactly what I'm experiencing:
> >
> > sudo /etc/init.d/dkms_autoinstaller start
> > * Running DKMS auto installation service for kernel 2.6.27-12-generic * kqemu (1.3.0~pre11)... [ FAIL]
> > * nvidia (177.82)... [ FAIL ]
> > * vboxdrv (2.0.4)... [FAIL ]
> > * virtualbox-ose-guest (2.0.4)... [ FAIL ]
> >
> > I upgraded my kernel from 2.6.27-11-generic to 2.6.27.11-generic. When I
> > attempted to build the kernel module manually with dkms, this is what
> > happened:
> >
> > dkms build -m nvidia -v 177.82 -k 2.6.27-12-generic
> >
> > Error! Your kernel source for kernel 2.6.27-12-generic cannot be found at
> > /lib/modules/2.6.27-12-generic/build or /lib/modules/2.6.27-12-generic/source.
> > You can use the --kernelsourcedir option to tell DKMS where it's located.
> >
> > Looking at /lib/modules/2.6.27-12-generic/source gave me this:
> >
> > ls /lib/modules/2.6.27-12-generic/
> > initrd modules.dep modules.ofmap modules.usbmap
> > kernel modules.ieee1394map modules.pcimap updates
> > modules.alias modules.inputmap modules.seriomap volatile
> > modules.ccwmap modules.isapnpmap modules.symbols
> >
> > Question: is there a directory that exists that has the source so I can
> > build this manually? I used a solution from a forum the last time this
> > happened, only I don't exactly remember the solution. I'm sorry if I'm
> > wrong about this being a duplicate!
> >
> > Jason
> >
> Jason I'm not a good kernel guy. But I think your home made kernel IS
> the problem.
>
> Karl
>
>
> --
>
> Karl F. Larsen, AKA K5DI
> Linux User
> #450462 http://counter.li.org.
> PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
>

Karl,
 That's very possible. I did find the solution though:
http://www.linux-archive.org/ubuntu-kernel-team/143927-bens-2-6-27-failed-install-intrepid-nvidia.html
Alberto Milone's solution, that is installing the linux-headers, fixed
my problem. For some reason, the linux-headers are not being installed
when I install kernel updates. Not sure why.

Thanks!
Jason

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.