Debian :: Compiling And Installing A New Kernel?

May 29, 2011

i downloaded the latest stable release of the linux kernel 2.6.39 and i did the following ran the command

Code:

make xconfig

and there were no errors so far so good

then i ran

Code:

make in the mix of all the command line and characters one of the lines said

Code:

stack protector enabled but no compiler support because of this the rest of the installation process is not going well i am unable to install the new linux kernel successfully. the kernel shows up on the grub boot menu but goes into a kernel panic when i try to boot it. how do i compile the new kernel in debian squeeze

View 9 Replies


ADVERTISEMENT

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

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

General :: Cannot Boot After Compiling And Installing Kernel

Apr 14, 2010

I have a virtual box running CentOS 5.3. I am experimenting with compiling and installing a kernel 2.6.33 on this.

However, the kernel compiled ok, but when I did the install it gave me these warning, not sure if they are important or not.

The steps I did was:

Code:

Code:

In my grub.conf I have the following:

Code:

When I try and boot I get the following problem:

Code:

View 11 Replies View Related

General :: How Much Size Should Give When Compiling And Installing A Kernel

Apr 13, 2010

I have downloaded the newest most stable Linux kernel, 2.6.33.2.

I thought I would test this using VirtualBox. So I create a dynamically sized harddisk of 4 GB. And installed CentOS 5.3 with just the minimum packages.

I setup the make menuconfig with just the default settings.

After that I ran make and got the following error:

The amount of space I have left is:

My virtual size is 4 GB, but the actual size is 3.5 GB.

How much size should I give when compiling and installing a Linux kernel? Are there any guidelines to follow when doing this? This is my first time, so just experimenting with this.

View 2 Replies View Related

General :: Compiling And Installing Kernel Into User's Own Folder

Mar 24, 2010

I am compiling kernel to learn it and as well as for edubook, a netbook I am working on. I wanted to put the compilation under my home directory and followed the syntax suggested in the README in /usr/src/linux,like,

Quote:

'make o=/home/pbhat/temp/kcompile menuconfig'

Like this I have gone through full compilation successfully,but see no output going to the specified folder.Could anybody point out where I went wrong? I was compiling under /usr/src/linux and in Opensuse 11.2.I followed the README apparently written by Linus where I saw the above make syntax.Maybe that is old and hold good no more.

View 3 Replies View Related

OpenSUSE Install :: Installing Kernel Through RPMs Without Compiling Sources?

May 10, 2010

Is there any way to install a kernel using rpms and avoid compiling its sources? I am using OpenSUSE 11.2.

View 7 Replies View Related

Software :: Compiling Patch - Installing With Full Kernel Sources?

Apr 8, 2011

I am trying to compile a patch for HDMI audio, reference this thread [URL]

Code:
Instructions:
- download alsa-driver-1.0.21 from alsa homepage
- unpack downloaded alsa:
$ tar jxvf alsa-driver-1.0.21.tar.bz2

- download and apply my patch
$ wget http: [URL]
$ cd alsa-driver-1.0.21
$ patch -p 1 < ../alsa-driver-1.0.21-nvidia-ion2-hdmi.patch

- compile alsa
$ ./configure
$ make
$ make install
when I do ./configure it outputs this

Code:
The file /lib/modules/2.6.33.7-pclos6.bfs/source/include/linux/autoconf.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.33.7-pclos6.bfs/source). How can I direct it to install with the 'full kernel sources' ?

View 8 Replies View Related

Debian :: Compiling A X86 Kernel From Amd64?

May 23, 2010

I tried to compile an x86 linux kernel from amd64 machine. It is giving errors even after installing "gcc-multilib" But I wonder, it should be simply doable becuase "gcc -m32" creates 32 bit binary . I would prefer to compile it natively on x86_64 rather than creating an exclusive x86 chroot for that. Has anyone tried this on native x86_64?

View 4 Replies View Related

Debian :: Custom Kernel Compiling.

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

Debian :: Compiling XIllybus Kernel Module

Sep 25, 2015

I'm having problems to compile XIllybus kernel module. As this guide explains, [URL] ..... (on the top of page 8 of 25) I unpackaged the tar.gz file and compiled the kernel module by typing the make command in the proper path. When I compile the module with make command, I get the following error:

make -C /lib/modules/3.16.0-0.bpo.4-amd64/build SUBDIRS=/home/xillybus/module modules
make: *** /lib/modules/3.16.0-0.bpo.4-amd64/build: No such file or directory. Stop.
make: *** [default] Error 2

/lib/modules/3.16.0-0.bpo.4-amd64/build path does not exist. What does it mean? Should I have to install some kernel packet? www does not work for me.

View 3 Replies View Related

Debian :: Compiling Kernel - File Locations?

Aug 1, 2011

I am completely new to compiling the kernel. Trying to compile on an old Dell C610 laptop that has Debian 6.01 installed and working. Here is what I have done so far:

Downloaded linux-3.0.tar.bz2 to home directory Also downloaded patch-3.0-git13 to home directory tar xjfv linux-3.0.tar.bz2 which uncompressed the tar ball in the created the linux-3.0 directory in my home directory

[Code]...

View 9 Replies View Related

Debian Configuration :: Compiling A Kernel To Be X86_64

Aug 2, 2011

So I completely fail at making a kernel x86_64, used to make them fine for just x86 but I haven't a clue on how to make them specifically for 64-bit systems.

View 3 Replies View Related

Debian :: Kernel 2.6.35.7 Annoying Bugs While Compiling?

Oct 9, 2010

this is my x-th attempt to compile the kernel on debian lenny. after solving the damn LGUEST issue, now i got an --append-to-version=-foobar issue?! damn... much time wasted, again. after make menuconfig and make-kpkg clean i start compiling with

Code:
fakeroot make-kpkg --initrd --append-to-version=-cpupmopt kernel_image kernel_headers
error log:
Code:
< ... snip ...>
H16TOFW firmware/edgeport/down.fw

[Code]...

EDIT: since this is debian specific and i used make -j5 etc. for # of jobs in other distros, is there an option on make-kpkg for that? && any chance for resuming?

View 2 Replies View Related

Debian Configuration :: Compiling Squeeze Kernel On Lenny ?

Jul 30, 2010

I just wanted to know if i download Debian Squeeze linux-source-2.6.32 from packages.debian.org and try and compile it in debian lenny using lenny's packages will the build succeed ?

View 6 Replies View Related

Debian Programming :: Cross-compiling A Kernel For I386-elf

Nov 14, 2013

I just finished building a cross-compiler for i386-elf. But when I try to use it, the terminal gives me this error:

Code: Select all/home/isaac/Cross-compiler/lib/gcc/i386-elf/4.8.2/../../../../i386-elf/bin/ld: cannot find crt0.o: No such file or directory
/home/isaac/Cross-compiler/lib/gcc/i386-elf/4.8.2/../../../../i386-elf/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status

View 13 Replies View Related

Debian Programming :: Compiling Linux Kernel Module

Aug 27, 2014

I'm trying to compile a Linux kernel module called hello-2.c using the command "make -C /lib/modules/$(uname -r)/build M=${PWD} modules" (without the quotes) (which I found online), and the following is the (seemingly successful) output.:

Code: Select allmake: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
  Building modules, stage 2.
  MODPOST 0 modules
make: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'

However, I don't see a hello-2.ko (in the same folder or anywhere else for that matter). I'm Using Debian GNU/Linux 7.6.

Everything I am doing is within a folder/directory called "thefolder" (without the quotes) in the "/tmp" directory (without the quotes).

Why I can't see a hello-2.ko, and what to do to get it?

View 2 Replies View Related

Debian Configuration :: Cannot Detect Newish Hardware After Compiling Kernel 4.5

Apr 2, 2016

I am not able to use the touchpad, etc. on my laptop because the hardware is not supported until kernel 4.5. (This was confirmed by installing fedora-rawhide with 4.5: all the hardware problems were cleared up.) So I tried to compile a 4.5 kernel and install that in a testing version of Debian, but the hardware is still not working.

What I tried: copied the kernel boot config from the testing installation to the directory where the kernel was to be compiled, in order to keep the configuration of the current system. After compiling the kernel the first time I thought that perhaps the issue was that the right options for the new i2c-based hardware had not been selected in menuconfig and were not the default in the kernel config, so I compiled the kernel again, selecting the necessary hardware to be installed (and not as a module). But after the second (and third) kernel compiles the hardware still does not function (appears not to exist).

This is the first few times I've tried to compile a kernel, so I may be missing something obvious. After the second compile, I was wondering how to tell if the right kernel was in use, but grub only saw one 4.5 kernel (besides the original one) and I don't know where to look to see if the kernel has the different --revision=xyz it was assigned when running fakeroot make-kpkg. I was also wondering if it is possible to add the missing hardware by compiling the modules separately and adding them as boot options.

View 10 Replies View Related

Debian :: Alsa - No Mixer Elems Found - Get No Sound After Compiling Kernel

Oct 18, 2010

After compileing my kernel i get no sound. I tried : alsaconf - choose my sound card - everything is all right, but when i try alsamixer i get : No mixer elems found

[Code]....

View 3 Replies View Related

Red Hat / Fedora :: Compiling And Installing The Custom Kernel Under Fedora

Jun 22, 2011

I am compiling and installing the custom kernel based on the instructions provided in Building_a_custom_kernel on fedoraproject.org/wiki site.

However, according to the instructions, anytime I change anything in the kernel source files(e.g /driver/ata/libata-core.c), I have to create a patch a rebuild the whole kernel and install this new kernel which takes 2 hours. Is there a simpler way of recompiling what has changed(without creating patch) and try that changed kernel? Since my changes are not in the drivers which can be dynamically loaded but is in the static code of the kernel, it is making life cumbersome.Are there any instructions for this? How does other kernel developers manage this?

View 2 Replies View Related

Debian :: Installing Kernel 2.6.32 Kernel On Lenny?

May 24, 2010

I would like to update my kernel to version 2.6.32 to see if it solves my tv-tuner card issues (not being recognized by the kernel Lenny uses 2.6.26-2 x64). What steps should I follow to accomplish this upgrade?

View 4 Replies View Related

Debian :: Installing Kernel 3.16 On Jessie

May 13, 2015

So, I did the upgrade to Jessie today and everything went fine and I do like the gray look of the Gnome Classic Desktop. Not much change here.

But it is impossible for me to install the 3.16 kernel.

When I try, I get the following error (sry, it's german, but you should get the point):

Code: Select allE: /var/cache/apt/archives/linux-image-3.16.0-4-amd64_3.16.7-ckt9-3~deb8u1_amd64.deb: Extrahierte Daten für »./lib/modules/3.16.0-4-amd64/kernel/drivers/media/rc/winbond-cir.ko« können nicht nach »/lib/modules/3.16.0-4-amd64/kernel/drivers/media/rc/winbond-cir.ko.dpkg-new« kopiert werden: Es konnte nicht geschrieben werden (Auf dem Gerät ist kein Speicherplatz mehr verfügbar)

It basically says, there is not enough space on /lib to copy the modules for the new kernel. (I have about 100M free there.)

df -h says:
Code: Select all/dev/dm-1               322M    209M   97M   69% /
udev                     10M       0   10M    0% /dev
/dev/dm-2               8,3G    5,6G  2,3G   72% /usr
/dev/sda1               228M     28M  188M   13% /boot
/dev/mapper/linux-var   2,8G    577M  2,1G   22% /var
/dev/mapper/linux-tmp   368M     11M  339M    3% /tmp
/dev/mapper/linux-home   58G     55G  628M   99% /home

So, as you can see, there isn't that much space on / at all - don't blame me, blame the Lenny Installer. Personally I can live with the 3.2 kernel but I wonder if there is any possibility to install the never one without a total re-partitioning.

View 3 Replies View Related

Debian Configuration :: Installing With A Later Kernel ?

Sep 10, 2010

My girlfriend got a 'new' (second hand) laptop, a HP Compaq 6715s. When I tried to install Debian on it, the install went immensely slow - glacial, even. It was a very minimal install but it tooks hours to get to nowhere.

I found out online that this was because of a problem between the current kernel and the hard drive (or HD bus, something hardware-y to do with the disk) which meant file operations were extremely slow. I thought "easy, patiently install Debian and then install newer kernel". Except that after six hours, the install wasn't even halfway.

So I install Arch Linux with the 2.6.35 kernel: no problems with the drive speed at all. After a lot of researching (I only played around with Arch once, more than a year ago) I got the system into a usable state. But now wlan0 has suddenly disappeared, together with some other problems - and a usable laptop wasn't exactly what I had in mind, it was supposed to be awesome (or at least good). Which, with Debian, it would be

So... is it possible to make a Debian installation use a later version of a kernel? I'd want to install Debian with the 2.6.35 kernel, not install Debian and then afterwards update the kernel (because I don't have 24 hours to install an OS, if it'll ever even install).

I've found some stuff online but it might well have been written in the Cyrillic alphabet. All I understand, I think, is that in theory it's possible.

View 11 Replies View Related

Debian Configuration :: Installing Kernel 2.6.28.9 Headers?

Feb 3, 2010

I'm trying to install vmware server 2 on my lenny and first I must install the kernel headers but I'm having troubels with it.

apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-2.6.28.9

I have even tried with apt-get install linux-headers-2.6.28.9 but same thing Searching apt-cache search linux-headers-2.6.28.9 shows nothing.

View 7 Replies View Related

Debian Installation :: Unmet Dependencies When Installing New Kernel

Mar 25, 2011

I am trying to upgrade a server I was put in charge of and keep running into a loop of errors.

uname -r
2.6.11.12

When I do apt-get -f install I get the error: WARNING: this version of the GNU libc requires kernel version 2.6.18 or later. upgrade your kernel before installing glibc.

Then when I try installing the kernel I get the error: You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies

[code]....

View 12 Replies View Related

Debian :: Installing Kernel Sources - Compile And List

Apr 5, 2010

I am not new to Debian and used to use commands like "apt-get install <package>", "apt-get update", "apt-get upgrade" and "apt-cache search <string>" regularly. But I never understood those Debian programs and the Debian package system with it's numerous programs and way to install things and work on software and configurations. Now, I just wanted to do something that I thought to be really easy. Get the source of an existing package. And despite spending over 3 hours - including reading the man-pages of commands - I cannot find a way!

Two things:
dpkg --get-selections | grep openvz
linux-image-2.6-openvz-amd64 install
linux-image-2.6.26-2-openvz-amd64 install

I already don't understand why I have two such packages installed. I would like to download the source of my kernel: apt-get source linux-image-2.6.26-2-openvz-amd64. This downloaded linux-2.6_2.6.26-21lenny4.dsc, linux-2.6_2.6.26.orig.tar.gz and linux-2.6_2.6.26-21lenny4.diff.gz

Then, I wanted to patch this - having found no explanation, I did:
cd linux
patch < ../linux-2.6_2.6.26-21lenny4.diff

That seemed to patch the kernel. But I am not sure - there are new files like this now_
[...]
Only in linux-2.6-2.6.26: xenctrl-capabilities.patch
Only in linux-2.6-2.6.26: xenctrl.patch
Only in linux-2.6-2.6.26: xenctrl-privcmd.patch
[...]

So, how can download the complete Debian kernel source? And what do I need to be able to compile it? And - HOW to just list all available sources and search in them?!? I found lots of webpages where tools like "make-kpkg" are used, which I do not understand again. Under SuSE, I could just select the package from a list, say "make oldconfig install modules modules_install" and be ready. Under Debian, I just find no way ...

View 14 Replies View Related

Debian :: Re-installing Video Drivers After Kernel Update?

May 31, 2010

I'm using the liqorix kernel and have been updating when new versions become available. However, every time I install a new version and restart, I have to re-install my video drivers. I don't think this is normal, but I could be wrong, I'm basing my past experience on updating Ubuntu kernels. So is this normal? Is there a way I can prevent myself from having to re-install my video drivers every time I update my kernel?

View 3 Replies View Related

Debian :: Installing Squeeze Kernel In Lenny System?

Apr 1, 2010

Was wondering if I can upgrade my kernel to squeeze without affecting or hurting my Lenny system?

I want to upgrade the kernel, but leave the system as stable lenny

I know the more recent kernels have better wireless detection,etc

View 1 Replies View Related

Debian Configuration :: Installing Specific Kernel As Boot Option?

Jul 29, 2011

I need to install any version of Debian with the Debian Kernel version 2.6.22-3-686. I don't mind what version of Debian it is, I just need it to have this specific kernel! Debian Etch comes with 2.6.18-4-686 and Lenny comes with 2.6.26-2-686 so the kernel I need is obviously somewhere in between.

I have tried using the following commands to see if kernel 2.6.22-3-686 is available for download via the apt-get method in both Debian Etch and Lenny but it is not...

apt-cache search linux-kernel
apt-cache search linux-source

So does anyone know where/how I can download specific kernels and install them for use? I have a computer sitting next to me that has multiple kernels as an option on boot, and they all boot into the same system, however I do not know the person who set up the computer so cannot ask them how they did it

View 2 Replies View Related

Ubuntu :: Compiling Kernel In 10.04?

Mar 2, 2011

so I am wanting to compile my own kernel to see if i can get my laptop to run a lill better. I found the how too's to do the compile, but what I want to know is.. what is the most complete way to find all the hardware and such that is in my laptop so i can build all the support into the kernel that i need and leave out EVERYTHING i dont need.

i figured lspci is a start but there has to be more info somewhere to find the exact needs of the laptop.

View 7 Replies View Related

Software :: Compiling Kernel 1.0.0 With Gas?

Jun 18, 2010

i want to compile and make kernel 1.0.0(the first kernel sources of linux) but its asking gas..... yup gnu assembler. i am using ubuntu 9.10 and if you ask why i am compiling this kernel.... because the truth is to study complete linux kernel.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved