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:
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.
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.
I can't find kmod so I'll go for the Nvidia installer from [URL]. I tried to run it Quote: su -c 'sh NVIDIA-Linux-x86-XYZ.AB.pkg1.run' but it wants me to kill xserver. How can I do that? " gdm stop" will kill Xserver too? How will I start it again?
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.
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):
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.
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.
I was trying to install VPN client for my Ubuntu 9.10 64-bit. During the installation process the terminal reads:
"Directory containing linux kernel source code [/lib/modules/2.6.31-21-generic/build]"
On that I pressed enter for the default option (in bold). After a few more steps I reached the following error:
Making module sh: Can't open ./driver_build.sh Failed to make module "cisco_ipsec.ko".
[/lib/modules/2.6.31-21-generic/build] is the location where the installer expects the kernel source to be (I am guessing). So unless I correct the terminal (by providing the location of the kernel source), I think I will keep on getting the same error message.
So to get the kernel source I visited: [URL]From there I copy pasted the command:
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.
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?
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
i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting
Just as the title says, where on earth is the source for the setup command during the install? I'm guessing that setup is a script, but I'm not sure (can't find it).
In short. I've cracked open the initrd file of the openSuSE installer to have a look - I've determined it's an initramfs which by default would execute ''/init''GREAT! But not so much... init should find the installation files et cetera - but I haven't a clue how it does this because it's a compiled binary So, my question is this - do anyone know where I can find the source for this file ?
If not, who should I contact to find it? I really, really need to look at it.. I'm trying to throw the installer over to a USB harddrive (with multiple other installers, each in their own directory etc. etc.) - the idea is to create a USB HDD with installation mediums for the OS's I use so the recommended methods of dedicating a partition to openSuSE is not going to work...
I spent quite a lot of time jumping from one thread to another trying to fix a problem with my NVIDIA drivers in Lucid. I was getting the error message on startup: NVIDIA: Failed to load the NVIDIA kernel module ...Failed to load module "nvidia" (module-specific error, 0) No drivers available".
After a lot of trial and error, this is what worked for me (I have updated this thread following [URL]):
- Download the latest NVIDIA driver from www.nvidia.com/page/drivers.html
- In the terminal cd to the directory where you downloaded the driver package (e.g., $ cd Downloads)and make it executable (e.g., $ sudo chmod +x ./NVIDIA-Linux-x86_64-256.53.run)
It sounds like he's making a difference between the kernel "source code" and the kernel itself(as in the downloaded file/ files) but the way he talks about both is the same.So then, if one had already "installed" the "kernel sources code," why would he need the "tarball with the newest Linux kernel?" He's already "installed" a kernel, right?
Due to some problems I have with the current nvidia driver in 10.10 I need to install the newest driver from nvidia using their installer. I do not have any problems with that. What I wonder is which packages I can safely remove when I use the nvidia driver from their site?
Trying to install virtualbox in F12 but fails when recompiling kernel module. Output of vbox-install log is:
Attempting to install using DKMS removing old DKMS module vboxdrv version 3.1.6 Deleting module version: 3.1.6 completely from the DKMS tree. Creating symlink /var/lib/dkms/vboxdrv/3.1.6/source -> /usr/src/vboxdrv-3.1.6
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.32.11-99.fc12.i686.PAE cannot be found at /lib/modules/2.6.32.11-99.fc12.i686.PAE/build or /lib/modules/2.6.32.11-99.fc12. code....
I am running an Hp Pavillion dv6000 with the Broadcom card that never seems to work for Linux. I recently talked with my friend who said he found a way to get it work.following his instructions I opened Synaptic and checked the package bmcwl-kernel-source to be installed.I went through the process of it all and it said it had install successfully. I restarted the computer and when I tried to enter my operating system I got this error "Kernel panic - not syncing : VFS : Unable to mount root fs on unknown - block(8,1)" I have previous versions of Linux on my computer so I can still get in to those if need be but I don't know how to undo what I did or why it isn't working for that matter. Does anyone have any ideas as to why I am getting this error and how I can fix it?
I've been trying to install nvidia drivers yesterday, so I went to runlevel 3, ran the .bin installer and it came up with error: missing kernel-devel and kernel-source.
So I go yum install kernel-devel, it does, but it doesnt find anything like kernel-source.
How do I fix this issue? I have Fedora 12, and I ran drivers from:[URL]..
Just wondering what the difference is between the official NVidia installer and kmod-nvidia? Does either have features the other does not or is there any reason to choose one over the other?
I updated kernel and everything seemed ok, except HD-PVR is locking up and recording only two minutes of every show it records. So, I have gone back to my previous kernel, but it seems that X isn't starting:
Code:
(II) NVIDIA dlloader X Driver 195.36.31 Thu Jun 3 08:27:29 PDT 2010 (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[code]....
Fatal server error:no screens found I had done a yum install kmod-nvidia for the newer kernel. I am thinking I need to get the kmod for the current kernel again (2.6.32.12-115.fc12.x86_64 #1 SMP Fri Apr 30 19:46:25 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux), but am not sure how that is done?
I'm running CentOS 5.3 and would like to know what the "best" or "proper" method is to build a custom kernel using the generic kernel sources from kernel.org. Most of the references I've found talk about modifying the current CentOS kernel using the RPM way. I really want to have the latest kernel due to some important security issues that haven't been addressed in the current CentOS 5.3 kernel.
I can install the nvidia driver for my card easily with yast but would like to try using nvidia's own installer. There is a paths problem. I've spent some time looking at 11.4 kernel build paths and they seem to be circular so the installer will not find what it needs. The installers help in this respect is as follows.
Code: --kernel-source-path=KERNEL-SOURCE-PATH The directory containing the kernel source files that should be used when compiling the NVIDIA kernel module. When not specified, the installer will use '/lib/modules/`uname -r`/build', if that directory exists. Otherwise, it will use '/usr/src/linux'. Obviously it will fail on the build directory and fall back to usr/............ where linux is a symbolic link linux -> linux-2.6.37.1-1.2
which must be the one in the same directory but it fails to find either type of auto conf file From this I assumed that it just needed pointing at the correct build directory but this turns out to be symbolic link
However when pointed here it still doesn't find what it needs and falls over looking for the kernel header this time. I thought that the idea of the /usr/src/linux link was to standardise kernel building but if suse use it for something else or nvidia make the wrong assumptions just where should the installer be pointed?
9.04 this morning updated my kernel to I believe it is 2.6.28.18 and upon the reboot I had no desktop. It booted wanting to go into low graphics.
So I drop to shell and stop the gdm and try to run the latest nvidia run file I have and it hangs saying I have a x server running.
Otherwise I am needing assistance with getting my desktop back! I can boot into an older kernel and if need be I would like to roll back that latest update this morning, but once again I am forgetting the command line for that.