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


ADVERTISEMENT

Ubuntu :: Compiling A Custom 64 Bit Kernel With BFS?

Aug 1, 2010

I would like to try and optimize my kernel a bit. Since I am doing this on a fresh install, I don't really care if the os gets bricked in the process, and I am sure I can bring it back if I can boot into a recovery console from the old kernel. So, I followed thispost. I patched it and copied and edited a config file from /boot/, saved it as .config, I tried it several times with both removing and not removing /debian and /debian.master directories from the source, yet I always get the same error when I run "make oldconfig".

Code:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
*** Error during writing of the kernel configuration.
make[1]: *** [oldconfig] Error 1

[Code]...

View 1 Replies View Related

Ubuntu Installation :: Compiling A Custom Kernel With Kernelcheck?

Dec 18, 2010

I am thinking about compiling a custom kernel with Kernelcheck. I would like to know if I do compile my kernel will future kernel updates from Canonical replace my custom kernel? Please explain this in simple terms. This would be my first time compiling a kernel.

View 1 Replies View Related

CentOS 5 Hardware :: Compiling Custom Kernel For Apple Intel XServe

Jul 7, 2009

I need to compile a custom kernel for my xserve1,1. Or are there people who already managend using centos on their intel xserve? The current centos 5.3 kernel configuration does not support EFI. Right now I am able to boot the installation of centos to the welcome screen
and get stuck at the part where I need to skip or run the cd test. (keyboard and mouse won't work)

Just the boot screen
Screen where I pick option 2, the cd installer
Image shows ubuntu but it is centos. forgot to change the menuentry description name in grub.conf
ROMimage present
The screen that I see after image 3
The screen that I see after image 3
The window of centos

I tried the centos 5.3 86_64 DVD and netinstall. I already managed to run debian/ubuntu on my xserve1,1 with use of refit + grub2 but I need centos to use cpanel...

My xserve specs:
Xserve1,1
Dual-Core Intel Xeon
Processor Speed: 2 Ghz
Number of processors: 2
Total number of cores: 4
L2 Cache (per Processor): 4 MB
Memory: 8 GB
Bus Speed: 1.33 GHz
Boot Rom version: XS11.0080.B01
SMC Version (system): 1.11f5
LOM Revision: 1.2.8

Installed:
OSX 10.5.7 server
Developertools: 3.1.2
refit: 0.13

View 6 Replies View Related

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

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 Configuration :: Nvidia Kernel Module With Custom Kernel

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

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 :: 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 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 :: Modify The Source Of A Custom Kernel?

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

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 :: 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 View Related

Debian Configuration :: Compile A Custom Xen Dom0 Kernel?

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

Debian Configuration :: Boot With Custom Kernel Automatically?

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

Debian Hardware :: Intel GPU Hangs With Custom Kernel

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

Debian :: Change The Module And Create Custom Kernel

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

Debian :: Ext3-fs Unable To Load Using Custom Kernel?

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

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 Configuration :: Compile Custom Kernel Without Debugging Symbols

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

Debian Configuration :: Slow Custom Kernel Build Amd64

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

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

Debian Configuration :: Change The Driver File And Compile Custom Kernel

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

Debian Configuration :: Apply Driver Diff Patch Into A Custom Kernel

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

Hardware :: 3d Won't Initialize With Radeon 5470 And Debian Lenny With Custom Kernel

May 13, 2010

I recently got a new dell studio 1558 with radeon hd 5470 video card. So far have had lot of small problems and such but been able to fix the via google and a lil luck but now I'm stumped with this one and decided to try and turn here for some possible help. Now on to the details.

Distro - Debian lenny with 2.6.33.3 custom kernel propriatory lgrfx 10.4 drivers installed direct from ati (installed no problem)after compiling the kernel and installing the drivers from ATI my card IS recognized and X will boot up with the proper resolution, but that's where all the problems start. I can no longer switch to virtual terminals (ctrl-alt-F1,F2,F3,F4 etc) and graphics performance in X is extremely poor due to the fact that 3D fails to initialize, and catalyst control fails to load (it tries to but then just disappears)

View 7 Replies View Related







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