Compiling kernel
Hi all,
I have a problem when I try to compile the latest kernel for my FC6. I downloaded kernel-2.6.22.14-72.fc6.src.rpm. I'm following the instructions in http://fedoraproject.org/wiki/Docs/CustomKernel?highlight=%28kernel%29 as I did successfully before. However, now, when I reach point 6 under "Configuring kernel options" I see, there are not config-<arch> files anymore (as there were with the kernel-2.6.22.9-61) but only these two files: config-rhel-generic config-rhel-x86-generic What are these two RH Enterprise files for? Why this changed? Can any of you give me some ideas on how to compile the kernel in the "Fedora way"? Thanks in advance... and Merry Christmas! -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list |
Compiling kernel
Hello
I have a doubt about kernel compilation. Two days ago I compiled by hand 2.6.31.6 and it crashed during the boot process. The configuration was made by hand, starting from the default configuration and perhaps I missed something. Since I had to restore my old slackware bakcup to recover some files and information, I got a copy of the already running (at slack) 2.6.31.6 kernel configuration that is finely tuned for my desktop... my question is: can I simply load such kernel configuration in the 'make xconfig' that is working (same desktop and cpu configuration) and compile it with debian? I mean, it is the same computer and hardware, the same kernel version, etc. More specific: Does Debian require a special kernel configuration due to its libraries/configuration or am I able just to load the kernel config and install it now on Debian? In theory it should work with any distribution, as far as I know it should match only the hardware... Thanks, Miguel -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
Compiling kernel
On Sat, Dec 05, 2009 at 06:59:48AM -0700, debian@toursbymexico.com wrote:
> I have a doubt about kernel compilation. Two days ago I compiled by hand > 2.6.31.6 and it crashed during the boot process. The configuration was > made by hand, starting from the default configuration and perhaps I missed > something. > > Since I had to restore my old slackware bakcup to recover some files and > information, I got a copy of the already running (at slack) 2.6.31.6 > kernel configuration that is finely tuned for my desktop... my question > is: can I simply load such kernel configuration in the 'make xconfig' that > is working (same desktop and cpu configuration) and compile it with > debian? I mean, it is the same computer and hardware, the same kernel > version, etc. Yes. In addition, I would highly recommend using kernel-package to compile your kernel to generate a deb. Here's a nice primer: http://newbiedoc.sourceforge.net/system/kernel-pkg.html > More specific: Does Debian require a special kernel configuration due to > its libraries/configuration or am I able just to load the kernel config > and install it now on Debian? In theory it should work with any > distribution, as far as I know it should match only the hardware... No. I use vanilla kernels with not problems. But I use kernel-package to build a deb and install it, so that it does grub installation etc. automagically. HTH. Kumar -- The chat program is in public domain. This is not the GNU public license. If it breaks then you get to keep both pieces. (Copyright notice for the chat program) |
Compiling kernel
Kumar Appaiah wrote:
On Sat, Dec 05, 2009 at 06:59:48AM -0700, debian@toursbymexico.com wrote: I have a doubt about kernel compilation. Two days ago I compiled by hand 2.6.31.6 and it crashed during the boot process. The configuration was made by hand, starting from the default configuration and perhaps I missed something. Since I had to restore my old slackware bakcup to recover some files and information, I got a copy of the already running (at slack) 2.6.31.6 kernel configuration that is finely tuned for my desktop... my question is: can I simply load such kernel configuration in the 'make xconfig' that is working (same desktop and cpu configuration) and compile it with debian? I mean, it is the same computer and hardware, the same kernel version, etc. Yes. In addition, I would highly recommend using kernel-package to compile your kernel to generate a deb. Here's a nice primer: http://newbiedoc.sourceforge.net/system/kernel-pkg.html I would recommend using the 'make-kpkg' command from the "kernel-package" package as well. But I would not recommend following this old web page document -- it is WAY out of date. Read the documentation in /usr/share/doc/kernel-package after installing it, or Google for a tutorial that is more recent. Dave W. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
Compiling kernel
On Sat, Dec 05, 2009 at 11:11:08AM -0500, Dave Witbrodt wrote:
>> Yes. In addition, I would highly recommend using kernel-package to >> compile your kernel to generate a deb. Here's a nice primer: >> >> http://newbiedoc.sourceforge.net/system/kernel-pkg.html > > I would recommend using the 'make-kpkg' command from the > "kernel-package" package as well. But I would not recommend following > this old web page document -- it is WAY out of date. > > Read the documentation in /usr/share/doc/kernel-package after installing > it, or Google for a tutorial that is more recent. Thanks for pointing this out. Kumar -- Old MacLinus had a stack/l-i-n-u-x/and on this stack he had a trace/l-i-n-u-x with an Oops-Oops here and an Oops-Oops there here an Oops, there an Oops, everywhere an Oops-Oops. -- tjimenez@site.gmu.edu, linux.dev.kernel |
Compiling Kernel
Hi,
Did anyone ever had the need to compile kernel for specific reasons? I'd like to know of possible scenarios where a company requires something specific. I'm guessing this would be beyond web and email hosting. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
Compiling Kernel
If you'd like a kernel containing only the drivers specific to the
hardware and excluding all others, for performance reasons perhaps, this would be one example of kernel recompile. -----Original Message----- From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com] On Behalf Of Masoom Siddiqui Sent: Wednesday, 15 September 2010 4:08 a.m. To: redhat-list@redhat.com Subject: Compiling Kernel Hi, Did anyone ever had the need to compile kernel for specific reasons? I'd like to know of possible scenarios where a company requires something specific. I'm guessing this would be beyond web and email hosting. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list ================================================== ======== For more information on the Television New Zealand Group, visit us online at tvnz.co.nz ================================================== ======== CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
Compiling Kernel
On 09/14/2010 11:07 AM, Masoom Siddiqui wrote:
Hi, Did anyone ever had the need to compile kernel for specific reasons? I'd like to know of possible scenarios where a company requires something specific. I'm guessing this would be beyond web and email hosting. There are a few scenarios where this is done. If you need a specific patch due to security issues or added functionality ( fye GRSEC). Or if you need to remove or add features from the kernel (there are a million options in the kernel, some needed and not needed for various implementations) Or if you want to just have the latest stable kernel. On 32 bit systems, a recompile can be needed for hugemem support. The last time I recompiled my kernel, it was due to a specific bug that affected the kernel I was running. I didn't want to roll back though due to secuity implications, so I compiled the latest stable kernel. Keep in mind though, in the RedHat world if you recompile your kernel I believe the OS is unsupported until you are using a stock kernel, so use it only when necessary. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
Compiling Kernel
Masoom Siddiqui wrote:
> Did anyone ever had the need to compile kernel for specific reasons? I'd > like to know of possible scenarios where a company requires something > specific. I'm guessing this would be beyond web and email hosting. Yes, I currently recompile the kernel for my laptop because I want the ps2 mouse driver to be a module. My laptop will not power on correctly unless the module is unloaded at shutdown, and it can't be unloaded if it's not a module. I also compiled a kernel for a computer that had a specific wireless interface. Although there were instructions for how to compile just the module, it didn't work correctly with a Red Hat kernel. I found that if I downloaded the kernel source from kernel.org I was able to compile the module. Obviously these are unusual circumstances and I wouldn't ever recommend compiling a kernel for a production system. However I must say that I learned a lot in the process. c -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
Compiling Kernel
Also I recall on one occasion I had big problems with a particular raid
controller which wouldn't work with the Redhat kernel. Downloading the kernel source from kernel.org, manually including the raid controller driver into the build, and recompiling, worked. -----Original Message----- From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com] On Behalf Of Carl T. Miller Sent: Wednesday, 15 September 2010 11:52 a.m. To: General Red Hat Linux discussion list Subject: Re: Compiling Kernel Masoom Siddiqui wrote: > Did anyone ever had the need to compile kernel for specific reasons? I'd > like to know of possible scenarios where a company requires something > specific. I'm guessing this would be beyond web and email hosting. Yes, I currently recompile the kernel for my laptop because I want the ps2 mouse driver to be a module. My laptop will not power on correctly unless the module is unloaded at shutdown, and it can't be unloaded if it's not a module. I also compiled a kernel for a computer that had a specific wireless interface. Although there were instructions for how to compile just the module, it didn't work correctly with a Red Hat kernel. I found that if I downloaded the kernel source from kernel.org I was able to compile the module. Obviously these are unusual circumstances and I wouldn't ever recommend compiling a kernel for a production system. However I must say that I learned a lot in the process. c -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list ================================================== ======== For more information on the Television New Zealand Group, visit us online at tvnz.co.nz ================================================== ======== CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list |
| All times are GMT. The time now is 04:48 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.