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


ADVERTISEMENT

Ubuntu :: Modify The Source Code Of The Kernel?

Oct 4, 2010

I want to modify the source code of the kernel so that the new compiled kernel should disable USB ports.

View 4 Replies View Related

CentOS 5 :: Create A Custom Kernel Using 2.6.31.5 Kernel Source?

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

Debian Configuration :: How To Modify Source.list From Shell?

Jan 27, 2011

how can i manually modify source.list to include debian repository from shell.since xorg isn't installed yet and the cd doesn't work well.

View 5 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 Installation :: Kernel Liquorix And Nvidia Driver / Error Doesn't Found The Kernel Source Tree?

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

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 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

General :: Modify A File Like /etc/gdm/custom.conf From The Shell Or A Script?

Jun 22, 2010

I want to modify a file like /etc/gdm/custom.conf from the shell or a script.

# GDM configuration storage
[xdmcp]
[debug]
[daemon]
AutomaticLoginEnable=true;
AutomaticLogin=username;

But the idea is that I can add a line to a section and it check if the section is defined, (add the definition if not), the property is defined, let it undefine (erase the line), (and delete the section header if there is no property defined), etc...

I didn't find anything except gconftool-2 but it do not explain how to modify other files. (there is a shema file there).

there isn't a program/script to achieve this, but can easyly be made for every config file, If someone do something like that, with a little database of which markup use each file, it could become really popular.

View 3 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 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

Ubuntu :: Modify Gnome 3 From Source?

Jul 2, 2011

i want to modify gnome 3 from source and i was wondering

if ya wanna know more about what i want to do just ask me

View 1 Replies View Related

Debian Configuration :: Where Does Lenny Keep Kernel Source?

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

Debian :: Re-compile My Current Kernel's Source?

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

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

Ubuntu :: Compile Application From Source In Order To Modify?

Sep 1, 2011

I have the source of the application I want to modify, as well as the list of dependencies I need in order to compile. I got the source code for those and compiled/installed them. I'm fairly sure that all of the dependencies are installed. However, when I go to run the compiler it crashes while parsing some of the code.

I had the application installed before, and it ran. After tinkering around trying to get the source to compile, the app no longer runs either. It crashes, and if run from the CLI, spits out something about not finding one of the files from the SDL library.

So obviously I did something wrong to mess everything up, because I'm in a deeper hole than when I started. Anyone know how I would go about fixing this? Or even starting with a clean slate so that I can have another go at it?

View 3 Replies View Related

Debian :: New Kernel Source Compile Missing Firmware

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

Debian Configuration :: Kernel From Source And Firmware Packages

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

Debian :: Blank Screen After A Kernel Build From Source?

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

Networking :: Modify Ftpd Source Code To Work With Xinetd?

Sep 23, 2010

I read that xinetd listens on the service port and passes incoming traffic to the service (ftpd) via stdin. However, the ftpd source code reads its input from a socket not from stdin.

Am I to conclude that in order to be managed by xinetd, the source code for ftpd (or telnetd etc..) must be modified or recompiled to take its input from stdin??

View 1 Replies View Related

Debian Configuration :: Squeeze: Can't Find Source For 2.6.32-trunk Kernel

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

Debian Configuration :: Nvidia-kernel-source Was Not Built Successfully

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







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