Debian Configuration :: Install Custom Kernel Image
Mar 11, 2016
I've a problem running jessie on a XEN supervisor; my running kernel and the installed kernel image differ, because the host system forces the kernel at boot time. Current loaded kernel is
Code:
Select all$ uname -r
3.18.12
But I'm not able to install this version from the standard repository.
Code:
Select all# apt-cache search linux-image
linux-headers-3.16.0-4-amd64 - Header-Dateien für Linux 3.16.0-4-amd64
linux-image-3.16.0-4-amd64 - Linux 3.16 für 64-Bit-PCs
linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
nvidia-kernel-3.16.0-4-amd64 - NVIDIA binary kernel module for Linux 3.16.0-4-amd64
linux-image-2.6.32-5-xen-amd64 - Linux 2.6.32 for 64-bit PCs, Xen dom0 support
Now I'm facing issues loading kernel modules for iptables, because the module path does not exist. Is there an easy way to install a proper kernel image from the standard repositories?
View 5 Replies
ADVERTISEMENT
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
Apr 21, 2011
I would like to compile a custom xen dom0 kernel. I installed a Debian Squeeze with precompiled xen kernel, and it works fine, but i would like to compile a custom dom0 kernel from source. I tried install kernel source apt-get source linux-2.6 how can I patch this kernel source with xen? but i alway see only the domU kernel params.
View 3 Replies
View Related
May 19, 2011
I have squeeze and I've created my own custum kernel. Howto configure grub 2 to boot with this custom kernel automaticaly?
View 5 Replies
View Related
Aug 3, 2010
I've compiled 2.6.35 for my eeepc, but I have noticed that resulting .deb file is 30mb large. After investigating i saw that modules (and maybe kernel) are compiled with debugging symbols enabled.I've checked my lenny router and modules there are without debugging symbols.So stock 2.6.26 from lenny comes without debugging symbols and linux-image .deb file is around 20mb.Stock 2.6.32-5-686 from squeeze comes with debugging symbols enabled - linux-image .deb here is 26mb. (I have used 2.6.32's .config file to build my kernel, then i did make oldconfig.)I guess this is what increase my kernel size, but how to disable it?Or maybe enable stripping of debugging symbols.
View 3 Replies
View Related
Aug 17, 2011
I used make-kpkg to build the 3.0.0 source debian wheezy on a dual 3.4GHz Xeon/L1-16k/L2-1mb/800Mhz bus with 4GB PC2-3200 ECC ram and Ultra 320 SCSI, using CONCURRENCY_LEVEL=4 (2 hyperthreading cpus=4 cores). The build was slower than molasses in January! Top reported cpu usage total between 10% and 25%. Why won't the build use the amount of machine it has available. One footnote: I wasn't using swap space. It literally took over an hour to build the deb kernel package.
My notebook from 2003 is at least three times faster building the 3.0.0 debian kernel source. Is it possible that this might cause improvement: make -j4 KDEB_PKGVERSION=version deb-pkg
over
CONCURRENCY_LEVEL=4 make-kpkg --initrd --revision=123x kernel_image?
Could amd64 vs. i386 have some influence? Could the small processor caches on the XEON cpus have an effect. The 64-bit machine absolutely flies doing everything else. I'm miffed! I've used debian since woody, although I am not an expert, but I'm no slouch!
View 1 Replies
View Related
May 3, 2011
When I only change a driver file manually, for example /newkernel/linux-source-.6.32/drivers/gpu/drm/i915_drv.h, do I need to run "make config" or similar like "make menuconfig" or can I just skip? I mean these steps:
1.) apt-get install linux-source-2.6.32
2.) mkdir ~/newkernel/
3.) cp /usr/src/linux-source-2.6.32.tar.bz2 ~/newkernel/
4.) cd /newkernel/
5.) tar xjf linux-source-2.6.32.tar.bz2
6.) cd linux-source-2.6.32
7.) cp /boot/config-$(uname -r) ./.config yes "" | make oldconfig
8.) change the driver file /newkernel/linux-source-2.6.32/drivers/gpu/drm/i915_drv.h manually
8.) make-kpkg clean
9.) make-kpkg --rootcmd fakeroot --initrd --revision=custom.001 kernel_image kernel_headers
10.) dpkg -i *.deb
Is this way OK or do I miss something?
View 14 Replies
View Related
May 21, 2011
I' d like to apply this patch into my squeeze: [URL] Can someone pls explain howto apply driver diff patch into a custom kernel?
View 9 Replies
View Related
Aug 27, 2010
I configure my system in a long time and now I have a suitable system! But I install all directories in one partition and now I like install again, but I need make an image of my configuration for install from it and after install I don't spend time for again configuration.
View 2 Replies
View Related
Apr 26, 2010
I have the Debian Testing CD1 (20100228). How can I find out the kernel version it will install?
View 4 Replies
View Related
May 31, 2015
I'm working on a custom Debian "spin" (one customized for personal/work use). I did this once before with an Ubuntu build, but attempting it with Debian has loaded me with a steady flow of walls (everyone loves debugging!). Despite a variety of approaches, none of my images seem to boot. I've tried the following with both SysV and systemd. the search results I find are vague, at best. I'll attempt to categorize and explain this as intelligently as possible.
A variety of ISOs were tried in Virtualbox, so these are the errors they're yielding; I'm currently down on removable media since I loaned my flash disks to a couple students for their finals, so I can't boot that way until Tuesday. I really hope that the error is something that can be identified regardless of whether or not I'm using a virtual environment.
Method 1: This Guide
This appealed to me the most at first because I run a stripped-the-hell-down version of Ubuntu on my work laptop. (Wheezy/Haswell yielded unfavorable results, and at the time Jessie's SysV compatibility was undesirable, but I'll probably switch back by the end of the week if possible.) I have a feeling that this guide may simply be obsolete, or maybe I'm just neglecting a crucial step. Here's the output: a lovely kernel panic.
Method 2: refractasnapshot
With it properly configured (and with syslinux-utils installed -- head-on-a-stick and fsmithred), I tried two different approaches: the first, I ran it within the chroot environment mentioned above; the second, I created a Virtualbox build and ran it within that. Both yielded the same errors:
For each, I received two complains: about piix_smbus and no valid rapl domains, and the system hangs indefinitely (ie, all night). Following some search results, I blacklisted i2c_piix4 and paevm, then rebuilt the image, and mounted it in VirtualBox. At boot:
Code: Select allEDD: Error 0c00 reading sector 276375
No DEFAULT or UI configuration directive found!
boot: _
View 5 Replies
View Related
Aug 20, 2010
is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...
View 14 Replies
View Related
Sep 28, 2010
I'm trying to install nfs-kernel-server on my squeeze and have strange error.
Here the console output:
The following NEW packages will be installed:
I tried to google for this errors and find that manually restarting nfs-common, portmap should help but no luck.
View 1 Replies
View Related
May 13, 2011
Which is the correct procedure to install a new kernel into a machine which is running a old kernel in DEBIAN ?
View 2 Replies
View Related
May 11, 2011
I'm using Squeeze amd64, installed latest kernel 2.6.38 from backport yesterday. Just now try to check for any update but failed, these messages show.
View 2 Replies
View Related
Jun 16, 2011
I'm running Debian wheezy on a Toshiba NB505 and I've noticed that the wireless connectivity can be painfully slow at times. I know it's not our home network because my desktop flies (running Windows).Currently, I have the driver from this guide installed. I went to Realtek's site to download the latest driver for this wireless card (RTL8188CE, the Linux/UNIX version) thinking maybe this more up-to-date driver would operate better than the one used in the guide above.Is there a possible way to install this driver, or should I just stick with the current driver I'm using from the guide above?
View 11 Replies
View Related
Feb 23, 2010
I been trying all day to compile a kernel i downloaded from http://www.kernel.org/ (2.6.32.8 )Following this help thread viewtopic.php?t=4468.When i invoke make xconfig i'm just kinda lost at that point. Not really sure what to do, so i just save it as is and then compile/install.when i try to boot the kernel, a kernel panic happens saying it can't not mount the root partition.So i am sure i am missing a step with the xconfig part but not sure what.
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 21, 2011
WTF why is it with every update the devs try to break something. Might as well be using Ubuntu at this point and No I do not want to install Stable. Todays updqate would bring in linux-image-2.6.39-1-686-pae linux-image-686-pae, but my CPU Single core Intel Pentium M (-UP-) cache 1024 KB flags (sse sse2) bmips 1196.07 clocked at 600.00 MHz doesn't use PAE so it told me to remove linux-image-686 and to install linux-image-486. So more shiny crap that doesn't support older hardware, it is getting to be as bad as Microsoft.
Why don't I just go upgrade or buy new hardware with every new shiny crap that wants to upgrade. If it isn't broken do NOT fsck with it.
[Code]...
View 14 Replies
View Related
Aug 4, 2015
On macbook air 6.2, i've installed a Debian jessie mate DE, dual boot using refind. I'm currently fine-tuning it. I've made a script following powertop advice:
Code: Select all[newb@debian /etc/systemd/system]$ cat mba_kb_sp.sh
#!/bin/sh
echo 'auto' > '/sys/bus/usb/devices/1-3.1/power/control';
echo 'auto' > '/sys/bus/usb/devices/1-3.2/power/control';
echo 'auto' > '/sys/bus/usb/devices/1-5/power/control';
exit 0
[Code] ....
All seems to work fine, however when i check the sys file it didn't change. But I can start manually the systemd service and, this time, it works.
View 2 Replies
View Related
Feb 24, 2016
I'd like to create my own custom Debian live CD — the idea being to have my own rescue CD with my favorite Debian tools installed. I read about bootcd and was going to give that a try, after creating the ideal system in a qemu virtual machine.
How much exactly can you install on a system so that bootcd can still fit it on a CD? I'm presuming there is some kind of compression involved. When I tried to create my VM, I coudln't get Jessie + LXDE to install onto a 2GB virtual drive (net install) so naturally I'm wondering what I'm going to be able to put on a 700MB CD.
View 7 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
Sep 26, 2010
I've setup my own repository which I want to use SSH as the protocol. I managed to get everything working with an SSH key using port 22. Now, I would like to change the SSH port. I've already changed it on the SSH/repo server. Now I can't figure out how to change apt to use a custom port on the client computer.
My sources.list file line which worked over port 22: deb ssh://user@1.1.1.1/home/user/repo lenny main contrib non-free I've tried: deb ssh://user@1.1.1.1:12345/home/user/repo lenny main contrib non-free and it fails and actually says "failed connecting to port 22"
Can this be done? I've searched google for hours and I getting nothing but unrelated data. I've read the man pages. The man page for apt.conf specified that you can set the port this way for HTTP, but doesn't mention anything about ssh ports.
View 1 Replies
View Related
Jul 2, 2011
I want to build my own binary package that replaces several from the repositories.But then whenever I install something that depends on libffado2, aptitude wants to uninstall mypkg and install libffado2. Why doesn't Provides work here?
View 3 Replies
View Related
Aug 13, 2011
My university has a secure wireless network that has the following specs: WPA2, 1st Authentication TTLS, 2nd Authentication PAP, Encryption CCMP or AES, Thawte_Premium_Server_CA certificate and username and password.
I have never gotten this to work with wicd. First of all, wicd does not have a default template for this configuration. This led me in the past to quickly install Network-Manager (on top of XFCE...). While this has worked for me just fine. Recently I found out that this functionality is possible in wicd by creating your own template. So I did and here it is!
name = WPA2 Enterprise TTLS
author = Andres Cimmarusti
version = 1
[code]....
I did everything outlined here: [URL] (that is I saved the file as wpa2-ttls and then added this entry to the active file in /etc/wicd/encryption/templates/).
Sadly wicd's gui does not load my template!, the logs show no errors!...it simply refuses to take it. I cannot see any mistake in the above... do you?Is this some debian bug perhaps?This is the most important issue for me, before accepting to use wicd instead of NM.
View 1 Replies
View Related
Jan 2, 2016
I'm using a custom kernel but the Intel Broadwell GPU hangs and gives the following error messages:
Code: Select allJan 2 19:24:06 debian kernel: [ 34.734460] [drm] stuck on render ring
Jan 2 19:24:06 debian kernel: [ 34.735563] [drm] GPU HANG: ecode 8:0:0x85dffffb, in Xorg [1925], reason: Ring hung, action: reset
Jan 2 19:24:06 debian kernel: [ 34.735566] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[Code]....
View 4 Replies
View Related
May 7, 2011
I'd like to change the existing kernel module (driver) file and compile a custom kernel.
Is this the correct way:
View 9 Replies
View Related
Mar 11, 2010
I compiled a 2 custom kernels so far (many custom kernels just 2 that I have used) however, both of the kernels display an error message about EXT3-Fs and unable to load custom options even though all my partitions are ext4.
I have looked around and the only reason I find for those are that the file systems are corrupt beyond repair,However the problems always ments EXT3-fs is a ext3 file system problem and EXT4-fs is a ext4 file system poblem. Why is mine saying EXT3 and some times EXT2 when im using EXT4?
Custom Kernels
Debian 2.6.26.Something with RT patch
Debian 2.6.33 with Rt patch
View 5 Replies
View Related
Jul 4, 2009
When I build the kernel 2.6.30 source, the rpm package is very big and needed or root filesystem 800-900 Mb. I use "make rpm" as described in Configure, Build and Install a Custom Linux Kernel - openSUSE.
View 7 Replies
View Related
Mar 3, 2010
I have compiled and created a kernel rpm kernel-2.6.18165.11.1.el5-3.i386.rpm
then created initrd image
I have installed the above via kickstart installation
%post
mount xxx.xxx.x.xx:/var/www/html/os/i386 /mnt/tmp
cd /mnt/tmp
rpm -uvh kernel-2.6.18165.11.1.el5-3.i386.rpm
cp initrd-2.6.18-165.11.1.el5.img /boot
[Code]....
View 2 Replies
View Related