Debian :: Theory On Customizing Kernel From Source
Feb 11, 2009
linux-2.6.18-6-686 (etch)
# make menuconfig
I am customizing a kernel and am wondering if there is any advantage to excluding drivers/modules I will not need. My goal is to have a very stable file/web server that boots quickly. The only reason I am customizing this one is to add the SATA drivers for the motherboard I am using.
Here is what will be on it:
Apache / PHP
MySQL
DHCP
NTP
View 3 Replies
ADVERTISEMENT
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
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
Dec 29, 2010
For sake of a clear picture of the problem, pretend I don't know anything about compiling.
How would I re-compile my current kernel's source? It's the i686 optimized kernel I selected from the install disc.
View 10 Replies
View Related
May 1, 2011
I'd like to create a custom squeeze kernel. Is it a really bad idea to edit to edit the kernel config file directly instead of using "make config", "make menuconfig" or "make gconfig"? My problem is I missing a search function, for example in "make menuconfig" and cannot find some entries.
View 2 Replies
View Related
Dec 21, 2015
So I am new to linux and i upgraded my kernel to 4.3.3 and to add the bfq patch. When i enter the command make install I get the following Code:
Select allupdate-initramfs: Generating /boot/initrd.img-4.3.3
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169
[Code] ....
Now my ethernet drivers are not working.
View 8 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
Oct 15, 2010
I had a debian installation with kernel 2.6.32 I had a set of instructions to apply a patch to kernel which I followed to the T. The grub now shows the Debian installation with the old kernel and the Debian installation with the patched kernel.
The trouble is the system goes blank after attempting to start gdm3.
I have tried running in recovery mode and then typing startx but it only shows a blank screen.
Code: lspci | grep -i display
00:02.1 Display controller : Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) If i boot with the old kernel, everything works fine. Is this an "X" window configuration issue. I tried X -configure but still nothing changed.
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 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
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 11, 2011
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
View 1 Replies
View Related
Apr 23, 2010
Shouldn't a virtual windows running on linux allow that in theory?
View 3 Replies
View Related
Mar 21, 2011
I'm trying to find a GUI program (not a terminal command) to bind the 4th and 5th buttons on my mouse to ALT+Tab and Escape. I tried BTNX however I encountered the error "btnx-config needs the file /etc/btnx/events to run". A good example of what I'm looking for with screenshots on it's site is X-Mouse Button Control which I've been using on XP however it's not available for Linux.
View 2 Replies
View Related
Apr 21, 2010
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....
View 6 Replies
View Related
Jun 25, 2010
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?
View 2 Replies
View Related
Mar 11, 2010
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]..
View 14 Replies
View Related
Jul 3, 2011
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?
View 3 Replies
View Related
Oct 31, 2009
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.
View 6 Replies
View Related
Feb 23, 2011
I have installed the fedora 14, but there is no kernel source tree.I read the doc "building a custom kernel".But I don't want to rebuild a new kernel.I just want to install the source tree of current kernel.Could someone tell me the way?
View 6 Replies
View Related
Sep 16, 2010
i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?
View 2 Replies
View Related
Aug 19, 2009
I have the kerne-devel and kernel-headers installed
How can i see the source code from the kernel?
View 2 Replies
View Related
Sep 5, 2009
Trying to get the kernel source ...
rpm -ivh kernel-2.6.29.6-217.2.16.fc11.i686.PAE.src.rpm
error: open of kernel-2.6.29.6-217.2.16.fc11.i686.PAE.src.rpm failed: No such file or directory
rpm -ivh kernel-2.6.29.6-217.2.16.fc11.i686.PAE.src.rpm
No package kernel-2.6.29.6-217.2.16.fc11.i686.PAE.src.rpm available.
What am I doing wrong?
View 1 Replies
View Related
Feb 20, 2010
probably an obvious error so I apologise in advance - trying to install vmware player, and it needs the kernel-source to build drivers. I've gone out and downloaded kernel-source for my running kernel.
However it's complaining that the kernel-source (2.6.31.12-0.1) does not match the running kernel (2.6.31.12-0.1-desktop).
Presumably there's something I need to do in order to get the 2.6.31.12-0.1 aligned to 2.6.31.12-0.1-desktop?
View 2 Replies
View Related
Mar 23, 2010
I just recently installed SUSE onto my computer because I'm sick of Windows crashing frequently.
Now I'm trying to setup my hardware, seems like everything is fine except for my graphics card.
I have an NVIDIA Quadro FX 540, and I'd downloaded the suitable driver from their site.
However, upon installation, I received some kind of error that mentioned it can't find my kernel.h or something like that. Someone said I would need the kernel source to proceed.
What is the best way for me to set this up?
Here is my system info when uname -a is ran: Linux namid 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64x86_64 GNU/Linux
View 7 Replies
View Related
Oct 21, 2010
How to install kernel-source and gcc? Because if i want to compile module for installing Linux* Base Driver i've to install them first.
View 5 Replies
View Related
Nov 12, 2010
During installation of one of driver i needed to
Remove any earlier version drivers using
make clean -r command.
Where i m getting following error code...
View 6 Replies
View Related
Jan 20, 2010
Which is the best way to install kernel from source?
I want to download it here:
http://kernel.org/
But it is tar.bz2
How can I install it to my debian?
I know I have kernels in backports and repos, but I want to test and install it from source.
It is good idea to convert it to deb and install it with dpkg -i kernel.deb?
O maybe there are better way?
View 9 Replies
View Related
Mar 7, 2011
In particular i'd like to know where is the kernel source code in slackware 13.
View 2 Replies
View Related
Jun 22, 2010
I am trying to install set up of wanpipe for E1/T1 card. First of all downloaded the source code from [URL] and did all step needed for rpmbuild and copy the source code into /usr/src/kernels. Below is kernel information uname -r 2.6.18-194.3.1.el5
rpm -q kernel-devel
kernel-devel-2.6.18-194.3.1.el5
uname -a
Linux localhost.localdomain 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
Now point is when I run the ./Setup install for wanpipe its ask for path of kernel source which is present in /usr/src/kernels. its show : Kernel source 2.6.18-prep in /usr/src/kernels/kernel-2.6.18/linux-2.6.18.i686 is not supported! and set up is halted.So can somebody guide me why kernel source is not supported.
View 7 Replies
View Related