Installing the kernel 3.4.0-1.2 fails to build the nvidia-current module due to missing kernel header files.
Workaround: Copy the missing header files from arm
cd /usr/src/linux-headers-3.4.0-1/arch sudo cp arm/include/asm/system.h x86/include/asm/ sudo cp arm/include/asm/compiler.h x86/include/asm/ sudo cp arm/include/asm/system_info.h x86/include/asm/ sudo cp arm/include/asm/system_misc.h x86/include/asm/
and then reinstall the kernel.
Those header files are missing from all but the arm arch.
ProblemType: Package DistroRelease: Ubuntu 12.10 Package: nvidia-current 295.40-0ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 NonfreeKernelModules: nvidia .proc.driver.nvidia.gpus.0: Error: [Errno 21] Är en katalog: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 295.40 Thu Apr 5 21:37:00 PDT 2012 GCC version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) .tmp.unity.support.test.0:
ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell] CompositorRunning: compiz CurrentDmesg: [ 30.885876] vboxdrv: fAsync=0 offMin=0x217 offMax=0x19a1 [ 30.885956] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'. [ 30.885959] vboxdrv: Successfully loaded version 4.1.14 (interface 0x00190000). [ 31.134421] vboxpci: IOMMU not found (not registered) [ 34.610424] wlan0: no IPv6 routers present DKMSKernelVersion: 3.4.0-1-generic Date: Wed May 2 21:45:18 2012 DistUpgraded: Fresh install DistroCodename: quantal DistroVariant: ubuntu DkmsStatus: nvidia-current, 295.40, 3.2.0-23-generic, x86_64: installed nvidia-current, 295.40, 3.2.0-24-generic, x86_64: installed vboxhost, 4.1.14, 3.2.0-24-generic, x86_64: installed vboxhost, 4.1.14, 3.4.0-1-generic, x86_64: installed GraphicsCard: NVIDIA Corporation GT216 [GeForce GT 330M] [10de:0a29] (rev a2) (prog-if 00 [VGA controller]) Subsystem: Samsung Electronics Co Ltd Device [144d:c06a] InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120421) JockeyStatus: xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use) xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use) MachineType: SAMSUNG ELECTRONICS CO., LTD. R580/R590 PackageVersion: 295.40-0ubuntu1 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=d290b749-dff5-4155-936a-23e3effc21a8 ro quiet splash SourcePackage: nvidia-graphics-drivers Title: nvidia-current 295.40-0ubuntu1: nvidia-current kernel module failed to build UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 06/22/2010 dmi.bios.vendor: Phoenix Technologies Ltd. dmi.bios.version: 11JB.M044.20100622.hkk dmi.board.asset.tag: Tag 12345 dmi.board.name: R580/R590 dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD. dmi.board.version: Not Applicable dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 9 dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD. dmi.chassis.version: N/A dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr11JB.M044.20100622.hkk:bd06/22/2010:svnSAMSUNGELECTRONICSCO.,LTD.:pnR580/R590:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnR580/R590:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvrN/A: dmi.product.name: R580/R590 dmi.product.version: Not Applicable dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. version.compiz: compiz 1:0.9.7.8-0ubuntu1 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.32-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3 version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.1 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2
Installing the kernel 3.4.0-1.2 fails to build the nvidia-current module due to missing kernel header files.
Workaround:
Copy the missing header files from arm
cd /usr/src/ linux-headers- 3.4.0-1/ arch asm/system. h x86/include/asm/ asm/compiler. h x86/include/asm/ asm/system_ info.h x86/include/asm/ asm/system_ misc.h x86/include/asm/
sudo cp arm/include/
sudo cp arm/include/
sudo cp arm/include/
sudo cp arm/include/
and then reinstall the kernel.
Those header files are missing from all but the arm arch.
ProblemType: Package ature: Ubuntu 3.2.0-24.37-generic 3.2.14 dules: nvidia nvidia. gpus.0: Error: [Errno 21] Är en katalog: '/proc/ driver/ nvidia/ gpus/0' nvidia. registry: Binary: "" nvidia. version: support. test.0:
DistroRelease: Ubuntu 12.10
Package: nvidia-current 295.40-0ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 295.40 Thu Apr 5 21:37:00 PDT 2012
GCC version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
.tmp.unity.
ApportVersion: 2.0.1-0ubuntu7 ,opengl, compiztoolbox, decor,vpswitch, snap,mousepoll, resize, place,move, wall,grid, regex,imgpng, session, gnomecompat, animation, fade,unitymtgra bhandles, workarounds, scale,expo, ezoom,unityshel l] current - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use) current_ updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use) /boot/vmlinuz- 3.2.0-24- generic root=UUID= d290b749- dff5-4155- 936a-23e3effc21 a8 ro quiet splash graphics- drivers 20100622. hkk asset.tag: Tag 12345 asset.tag: No Asset Tag version: N/A echnologiesLtd. :bvr11JB. M044.20100622. hkk:bd06/ 22/2010: svnSAMSUNGELECT RONICSCO. ,LTD.:pnR580/ R590:pvrNotAppl icable: rvnSAMSUNGELECT RONICSCO. ,LTD.:rnR580/ R590:rvrNotAppl icable: cvnSAMSUNGELECT RONICSCO. ,LTD.:ct9: cvrN/A: version: Not Applicable libgl1- mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3 libgl1- mesa-dri- experimental: libgl1- mesa-dri- experimental N/A libgl1- mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3 nvidia- graphics- drivers: nvidia- graphics- drivers N/A xserver- xorg-core: xserver-xorg-core 2:1.11. 4-0ubuntu10. 1 xserver- xorg-input- evdev: xserver- xorg-input- evdev 1:2.7.0-0ubuntu1 xserver- xorg-video- ati: xserver- xorg-video- ati 1:6.14. 99~git20111219. aacbd629- 0ubuntu2 xserver- xorg-video- intel: xserver- xorg-video- intel 2:2.17.0-1ubuntu4 xserver- xorg-video- nouveau: xserver- xorg-video- nouveau 1:0.0.16+ git20111201+ b5534a1- 1build2
Architecture: amd64
CompizPlugins: [core,composite
CompositorRunning: compiz
CurrentDmesg:
[ 30.885876] vboxdrv: fAsync=0 offMin=0x217 offMax=0x19a1
[ 30.885956] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[ 30.885959] vboxdrv: Successfully loaded version 4.1.14 (interface 0x00190000).
[ 31.134421] vboxpci: IOMMU not found (not registered)
[ 34.610424] wlan0: no IPv6 routers present
DKMSKernelVersion: 3.4.0-1-generic
Date: Wed May 2 21:45:18 2012
DistUpgraded: Fresh install
DistroCodename: quantal
DistroVariant: ubuntu
DkmsStatus:
nvidia-current, 295.40, 3.2.0-23-generic, x86_64: installed
nvidia-current, 295.40, 3.2.0-24-generic, x86_64: installed
vboxhost, 4.1.14, 3.2.0-24-generic, x86_64: installed
vboxhost, 4.1.14, 3.4.0-1-generic, x86_64: installed
GraphicsCard:
NVIDIA Corporation GT216 [GeForce GT 330M] [10de:0a29] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device [144d:c06a]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120421)
JockeyStatus:
xorg:nvidia_
xorg:nvidia_
MachineType: SAMSUNG ELECTRONICS CO., LTD. R580/R590
PackageVersion: 295.40-0ubuntu1
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: nvidia-
Title: nvidia-current 295.40-0ubuntu1: nvidia-current kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/22/2010
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 11JB.M044.
dmi.board.
dmi.board.name: R580/R590
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: R580/R590
dmi.product.
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
version.compiz: compiz 1:0.9.7.8-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.