Debian Configuration :: Nvidia-kernel-source Was Not Built Successfully
Apr 26, 2011
Squeeze-beta was my first foray into Debian, and I love it. I changed my setup to a rolling setup with testing (Wheezy), and have done that for several months. Lately, I got a new kernel, but it reboots to a terminal rather than GUI (I'm a simple laptop user). I think it's because of the NVIDIA drivers, and here is what I've tried (meanwhile, I'm using the previous kernel):
# apt-get install module-assistant nvidia-kernel-common
# m-a auto-install nvidia-kernel${VERSION}-source
A blue screen appears that says:
module-assistant error message Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use.
You can try:
module-assistant prepare
or
apt-get install linux-headers-2.6.38-2-amd64
I have done both, rebooted, and I still get the blue screen. I also see this message:
nvidia-kernel-source was not built successfully, see:
/var/cache/modass/nvidia-kernel-source*buildlog*
...and I have copy/pasted the file below (which omits lines 101-200 because this message is too long then):
/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
test -f debian/control || cp debian/control.template debian/control
[code]....
View 1 Replies
ADVERTISEMENT
Jul 30, 2011
I've posted here before (viewtopic.php?f=5&t=66322) about problems arising from my attempts to get an nVidia driver to work with my custom kernel. Now those problems are all fixed, and I'm back to where I was: the built kernel boots fine, but the nVidia driver fails.
The custom kernel is as near to the stock one as I can make it, I'm just trying to find a working build process at present, before trying to build a later-version kernel.
I used sgfxi with "-! 40" to build the nVidia driver for my custom kernel; it reported that everything was fine.
With stock kernel - 2.6.32-5-amd64 ...
Extracts from /var/log/Xorg.0.log:
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
code....
View 6 Replies
View Related
Jun 26, 2010
Is there a way to programmatically determine whether a particular driver support is built-in rather than a loadable module? I'd be grateful if somebody would share how. I have written a shell script using the RTC (real time clock). I can check whether the rtc-cmos kernel module exists and load the module accordingly as needed, but I don't know how to determine when the driver is built-in. Of course, if the driver is built-in then the module does not exist.
I seem to recall there is a method to query the kernel config file (/proc/config.gz), through which I probably could grep for the CONFIG_RTC_DRV_CMOS parameter. I also can check whether /proc/driver/rtc exists. If that file exists then either the driver is built-in or the module was loaded.I realize the rtc-cmos driver is built-in with the standard Debian kernel build, but I still would like a way to query where the driver is supported.Is there a straightforward or direct method to query the kernel whether a particular driver is built-in?
View 3 Replies
View Related
Oct 1, 2010
I installed the latest kernel liquorix (2.6.35) but when i want to install the Nvidia driver downloaded on the Nvidia website (256.53), i have an error message because Nvidia doesn't found the kernel source tree.
I install linux-image-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb, linux-headers-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb and build-essential. I don't understand why the installation doesn't works.
View 1 Replies
View Related
Jan 24, 2010
I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.
View 2 Replies
View Related
Feb 25, 2010
So I'm building a custom kernel cuz I want the fbcondecor patch in my kernel. I use the same .config that 2.6.32 debian kernel package comes with. This kernel runs perfectly. I pass --initrd to make-kpkg when building the package but no initrd is built when I install it so I have to make it using "mkinitramfs -o /boot/initrd.img-2.6.33 2.6.33" to get it to boot. Now when I try to build the nvidia drivers it complains it can't find the source. I did build kernel_headers and installed them also the source is in /usr/src/linux. I also tried to specify the path by passing --kernel-source-path= to the nvidia script but no change. What is going on? I've done this fifty times before and never had any problems. Has there been some changes to how debian kernel packages are built? EDIT: Just thought I'd add some info about the steps I took.
Code:
tar xjvf linux-2.6.33.tar.bz2
ln -s linux-2.6.33 linux
cd linux
patch -p1 < ../fbcondecor-0.9.6-2.6.33-rc7.patch
cp /boot/config-2.6.32-trunk-686 ./.config
make menuconfig Loaded .config then I removed support for maxtorfb, tile blitting and some sirrusfb thing, nothing thats relevant to my system. Changed cpu from Pentium 4 to Core 2 and added framebuffer decor
support from my patch, exited and saved. Then:
[Code]....
EDIT2: I have now tried to build 2.6.32.8 in the same way with the same strange results, anyone have any thoughts as to what I'm doing wrong just throw it at me, I'm getting desperate and running out of ideas. I've checked all the kernel source symlinks and everything looks good.
View 7 Replies
View Related
Apr 30, 2010
I am using Lenny kernel version 2.6.26-2-686.I am trying to install some drivers and they need kernel source. I installed kernel source through Synaptic, but the driver installer doesn't find it at the place it expects.
1) Where does Lenny keep the kernel source?
2) Are the kernel sources from Debian and www.kernel.org the same?
3) If I want to download the kernel source manually, where do I get it from?
View 7 Replies
View Related
Jul 16, 2011
If I want to compile a kernel from source (from kernel.org), including all the drivers I need regardless of their origin, I would not need any firmware-*.deb packages, right? Do the firmware packages add anything that is not present in the latest kernel?
View 3 Replies
View Related
Apr 30, 2010
I'm attempting to install ndiswrapper-dkms package. The installation fails due to the following error:Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed. dpkg reports that the source is installed
[code]....
I've been searching google for the past couple of days but haven't found anything specific. Any ideas to get me going in the right direction?
uname -a reports
Linux debtop 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux
View 5 Replies
View Related
Apr 20, 2011
How do I determine which nVidia kernel to use with my system? I'm running a GeForce9800GT
View 11 Replies
View Related
May 10, 2011
I'm encountering a problem running X and Gnome from a Xen-enabled Kernel with NVIDIA Binary driver compiled with IGNORE_XEN_PRESENCE=y on debian squeeze
Hardware:
NVIDIA NVS 5100M
Kernel:
Debian Squeeze : 2.6.32-5-xen-amd64
NVIDIA Kernel from the official package
Boot and module loading are successful, but when X starts, I only get a black screen. I attached here my Xorg.0.log, however it doesn't seems to have any problem.
View 5 Replies
View Related
May 19, 2010
I've built a new kernel (2.6.34) on our workstation at work. It boots and runs beautifully, but there is one minor problem. I created the kernel as a Debian package along with the kernel headers. Upon installing both and attempting to build the nVidia driver for said kernel, the installer tells me that it cannot determine the version and quits. This happens even if I manually specify the path to the headers. What's going on here, did I miss something during my compilation of the new kernel?
View 14 Replies
View Related
May 28, 2010
Iwhen I get my 32 bit build machine upgraded to 13.1 I was going to to try building GSB 2.30.
View 14 Replies
View Related
Mar 15, 2010
I'm trying to install the nvidia drivers but it is not working.
lspci | grep VGA
02:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX - nForce GPU] (rev a3)
My xorg.conf looks like this:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
[code]...
And after that my X is not working. And when i try sudo modprobe nvidia I get this:
FATAL: Error inserting nvidia (/lib/modules/2.6.26-2-686/nvidia/nvidia.ko): No such device
View 2 Replies
View Related
May 25, 2010
I got last night debian 5 stable, but it has an older version of kernel, I think 2.6.26, which doesn't have my network card drivers. I tried to install myself the kernel, but I a newbie in linux, so something failed and I give up until next time. Is this version: [URL] a safer one for a desktop computer, daily usage? How to I know it has the latest kernel?
View 3 Replies
View Related
Mar 7, 2010
First my uname -a
Code: Linux quad 2.6.33 #1 SMP Sun Mar 7 18:22:02 CET 2010 x86_64 GNU/Linux I am using Trisquel GNU/Linux 3.0. I am asking my questions here, since this involves non-free drivers. I succesfully installed the nvidia driver on the default kernel. But the default kernel has removed all support for DVB USB sticks, so I had to compile my own kernel.
I got the newest version from kernel.org. Saved the archieve to /usr/src/. unzipped the file in the directory (so my kernel source is now in /usr/src/linux-2.6.33/.) Made a symlink with ln -s linux-2.6.33 linux. I compiled the kernel succesfully. Did a "make install" and "make modules_install" and ran "update-grub". Restarted system. Cd'ed to my source directory and ran "make headers_install" succesfully. Looking at my timestamps, it looks like the kernel headers has been installed to /usr/src/linux-2.6.33/usr/include/linux/. I downloaded the latest x86_64 drivers from nvidias website. Went to console 1 and closed up X. If I start the installer without any parameters (sh NVIDIA*.run) I get the following error:
Code: ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.33/source'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option. lib/modules/2.6.33/source is a symlink which point to /usr/src/linux-2.6.33
I get the same error if using --kernel-source-path=/usr/src/linux/, /usr/src/linux-2.6.33/ and similar options which link to this directory through symlinks. If I use --kernel-source-path=/usr/src/linux-2.6.33/usr/include, I get the following error:
[Code]....
View 6 Replies
View Related
Aug 20, 2011
i would like to install the newest nvidia driver NVIDIA-Linux-x86-280.13 on my Suse 11.1 with kernel. kernel-pae-2.6.27.56-0.1.1
however the nvidia driver installer claims that kernel source and devel are missing and I don' know how to get and install them for this kernel.
View 1 Replies
View Related
Feb 9, 2010
I have a problem with PAE kernel sources and builing nvidia driver. uname -a returns Linux myX 2.6.31.12-174.2.3.fc12.i686.PAE #1 SMP Mon Jan 18 20:06:44 UTC 2010 i686 athlon i386 GNU/Linux
1. I run ./NVIDIA-Linux-x86-173.14.22-pkg1.run and I get an error message that kernel sources cannot be found.
2. My folders: /lib/modules had these two subfolders 2.6.31.5-127.fc12.i686.PAE 2.6.31.12-74.2.3.fc12.i686.PAE so what I did, I run: yum install kernel and got inside /lib/modules this extra 3rd subfolder (no PAE) 2.6.31.12-174.2.3.fc12.i686 On the other hand /usr/src/kernels has one subdirectory (no PAE): 2.6.31.12-174.2.3.fc12.i686
3. Now, when I build nvidia driver, it still gives me the error, that no sources found, so I do
./NVIDIA-Linux-x86-173.14.22-pkg1.run --kernel-source-path /usr/src/kernels/2.6.31.12-174.2.3.fc12.i686 and get an error that this seems to be the incorrect version. And I guess this is true as I have no PAE sources.
4. Further, when I look at
[Code]...
View 5 Replies
View Related
Jul 25, 2011
I have made a full install of Slack 13.37.0. When I try to run the installer of the NVIDIA GF 8400GS card (NVIDIA-Linux-x86-180.29-pkg1.run) downloaded from [URL], I receive an error message. It says that the kernel source cannot be indetified/found. /lib/modules/2.6.37.6-smp/source and .../build links to /usr/src/linux-2.6.37.6-smp, which contains the full kernel source (can be compiled), including the header .h files in include/linux. The same NVIDIA installer can be run successfully on my previous Slack 11.
View 6 Replies
View Related
Jun 18, 2011
In order to configure a dual display in a fresh 11.4 installation, I am attempting to install the nVidia driver according to the instructions in SDB:NVIDIA the hard way - openSUSE. I have not previously compiled or configured a kernel so I largely followed the instructions from OpenSUSE 11.2 - How to compile a Kernel for Newbies.The currently installed kernel is 2.6.37.1-1.2-desktop. The graphics card is an ASUS EN9600GSO (512MB).
In Yast, I installed gcc, make, kernel-devel (v. 2.6.37.1-1.2) and kernel-desktop-devel (v. 2.6.37.1-1.2). Per the "hard way" instructions, I did not install kernel-source.
View 9 Replies
View Related
May 12, 2010
So after getting around the Fakeraid bug, and the grub bug, and all the other bugs killing my system fixed and then i moved on to install my video driver. There was nothing in Administration>Hardware Drivers, so i downloaded the latest driver for my two 8600m gt cards. Did the whole ctrl+alt+f2 and then stopping xserver and then running the driver install only to run into yet another damn bug(see log below)
I have tried fixing it by doing what other threads have said to do e.g:[URL] still nothing. Below is the Nvidia log.
[Code]....
View 9 Replies
View Related
Oct 12, 2015
I've followed the guide at URL.... but my computer is unable to find any Bluetooth devices. Whether I'm using the command line or gnome-bluetooth, I don't get any results. If I plug in a cheap USB adapter, I'm able to connect and use the devices.My computer is a HP ProBook 4330s running Debian Jessie. And as far as I can tell the Bluetooth adapter is a Ralink rt3592 combination Wi-Fi and Bluetooth PCI card. The Wi-Fi works fine, but when i try to connect to a Bluetooth device, I get no search results.
View 9 Replies
View Related
Sep 7, 2010
wants some sort of logging capability on the system. to have a log of every change to every file, although that might be a bit unwieldy. perhaps a simpler compromise would be some way of monitoring a few specific folders, and tracking all changes to them, including the user that did so. Particularly important is that it should be possible to work with access through samba, as we want to track what users on the network are creating or changing files. Is there functionality like this already built into debian or samba? is there a useful additional app to gather this information? or am I going to need to be grep'ing log files to present something useable?
View 2 Replies
View Related
Jun 27, 2011
When trying to install the nvidia graphics driver I get the following error-message:
ERROR: The kernel header file '/usr/src/linux/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been configured. How do I configure the kernel source files?
View 3 Replies
View Related
Feb 19, 2011
how to install Dropbox for Debian Squeeze from source.Please read everything before you begin. I prepared it as I installed Dropbox for my own system. Please Note: I use sudo, you may have to use root or 'su' from the command line. If you don't know the difference between sudo and su, then you shouldn't try this until you know. At the time I did this, the lastest dropbox version was 0.6.7.
View 7 Replies
View Related
Jan 24, 2010
I recently installed debian squeeze 32bit on a second partition of my amd athlon 64 X2 dual core machine.Currently it is using linux-image-2.6.32-trunk-686 kernel.But linux-image-2.6.32-trunk-amd64 is available.on the repository.Is it a 64bit kernel or 32bit kernel optimized for amd64 architecture?
View 12 Replies
View Related
May 13, 2011
I am using DEBIAN 6.0 and I wannna update my kernel from 2.6.32 to 2.6.38. Every time, I do it but after the installation & rebooting into the new kernel it gives me error "UNABLE TO BOOT INTO THE KERNEL".
View 1 Replies
View Related
Feb 21, 2010
I just finished installing Debian 2.1 on a very old laptop for some light word processing and web browsing, and am trying to get apt working so I can use it and dselect to install packages. Whenever I run apt-get update as a first step, I get stuck at 0% with an eventual timeout (this also happens when running the update step of dselect).
I know that my network card (a Farallon EtherWave) is working because I can ping my local gateway and remote sites. In my sources.list, I have this line for the Debian archive for this release: deb [url]contrib main non-free
Can anyone think of why I can ping the archive successfully, but apt will not read it? Do I need to change some network configuration, or my source line?
View 4 Replies
View Related
Jul 9, 2011
I have a fresh install of Debian Squeeze AMD64 which I'm trying to install KVM on. I have no idea what I'm doing so I figured someone on these forums might be able to explain it. I have already verified VT support and enabled it in the bios. I have googled and read about KVM installation but everything I can find is either confusing or doesn't work. Also I am trying to install it from source because I want to experiment with modifying it later.
View 10 Replies
View Related
May 25, 2010
I have downloaded the source code of bochs. and I use make install command to install it onto my box. But how could I uninstall it? I run the sudo apt-get remove bochs, but it said I didn't install the bochs...
View 2 Replies
View Related