KernelTrap logo
Advertise on KernelTrap
powered by

User login

Feature: HowTo Upgrade To The 2.6 Kernel

Posted by Jeremy on Friday, August 29, 2003 - 20:59
Linux feature article

Anyone who's been following Linux kernel development for the past several months has heard about one exciting feature after another being merged into the still un-released 2.6 kernel. New features that noticeably affect user experience include Robert Love's [interview] preemptible kernel work [story], Ingo Molnar's [interview] O(1) Scheduler [story], Rik Van Riel's [interview] reverse mapping VM [story], Nick Piggins' [interview] Anticipatory I/O scheduler [story], and much, much more...

Having some spare time a few nights ago, I decided to give the latest kernel, 2.6.0-test4, a trial run on my aging 550Mhz PIII desktop computer, and the result was nothing short of spectacular. As the final 2.6.0 release approaches, it is important that an increasing number of users (aka testers) give this kernel a try, especially as currently it's still a sexy task for developers to track down kernel bugs and stabalize their work. Once work starts on the 2.7 development tree, inevitably much talent will again be focusing on new features.

The purpose of this document is to provide some helpful tips to readers that currently compile their own 2.4 kernels, but haven't yet made the leap to 2.6. This is still a development kernel, so you may run into problems, but overall stability and performance is quite impressive and I can't recommend enough that you try it today.


Target Audience:
This article is targeted towards Linux users that are already comfortable with compiling their own 2.4 kernels. If you've never compiled a kernel before, I suggest that you start here:

Beyond that, it's also highly recommended that anyone new to the 2.6 kernel review Dave Jones' post-halloween document (aka "2.5 - what to expect").

Step 0: Make a backup of important data.
Before we get started, if you're going to be running a development kernel be sure that you have a current backup of any important data. While I've not run into any problems while running 2.6.0-test4, there are still bugs...

Step 1: Obtain the current 2.6 kernel.
All official versions of the Linux kernel source code can be found at http://kernel.org/. It is highly encouraged that you find the fastest local mirror to spread out the load among willing kernel source hosts. Find the kernel.org mirror list here: http://kernel.org/mirrors/.

At the time of this writing, the current version of the 2.6 kernel is 2.6.0-test4, a development version. The next release will be -test5, then -test6, and so on, until Linux creator Linus Torvalds decides that it's time to release 2.6.0, the first official release of the much-anticipated stable 2.6 tree.

Having downloaded the source, it's also a very good idea to download the GnuPG signature and use it to verify the authenticity and validity of your new kernel source. For more information, go to: http://www.kernel.org/signature.html.

Step 2: Review the provided documentation.
At absolute minimum, you should at least review the top-level README, and the Changes file inside the Documentation directory, both distributed with the Linux kernel source code.

The top-level README refers to itself as being for the 2.5 development kernel, as 2.6.0-test is still part of the development phase. (2.6.0, without a -test extension, will be the first 2.6 kernel) You'll find lots of good tips in this document regarding how to successfully compile a Linux kernel. The document begins:

"These are the release notes for Linux version 2.5. Read them carefully, as they tell you what this is all about, explain how to install the kernel, and what to do if something goes wrong."

The Documentation/Changes file lists the new requirements of the 2.5 development kernel, providing a list of software that must be upgraded to work properly with the new kernel. It begins:

"This document is designed to provide a list of the minimum levels of software necessary to run the 2.5 kernels, as well as provide brief instructions regarding any other 'Gotchas' users may encounter when trying life on the Bleeding Edge."

Step 3: Upgrade your system per the Changes file.
There are a number of utilities that you will have to upgrade for them to work properly with your new 2.6 kernel. Some of the utilities listed in 'Changes' you won't have to worry about, as for example they may be specific to certain filesystems. However, you will at least need to meet the minimum version requirements for the following (see 'Documentation/Changes' for the latest requirements -- they may have changed!):

    Name:              Minimum version:    How to find version:
Gnu C Compiler 2.95.3 gcc --version
Gnu Make 3.78 make --version
binutils 2.12 ld -v
util-linux 2.10o fdformat --version
module-init-tools 0.9.9 depmod -V
procps 2.0.9 ps --version
[procps 2.x] [procps 3.x]

The following utilities are filesystem specific. If you're running ext2 or ext3, be sure to update your e2fsprogs, if you're running jfs, be sure to update jfsutils, etc...

    Name:              Minimum version:    How to find version:
e2fsprogs 1.29 tune2fs
jfsutils 1.0.14 fsck.jfs -V
reiserfsprogs 3.6.3 reiserfsck -V 2>&1 | grep reiserfsprogs
xfsprogs 2.1.0 xfs_db -V
nfs-utils 1.0.5 showmount --version

And a handful of other utilities that you'll want to update if you use them:

    Name:              Minimum version:    How to find version:
pcmcia-cs 3.1.21 cardmgr -V
quota-tools 3.09 quota -V
PPP 2.4.0 ppd --version
isdn4k-utils 3.1pre1 isdnctrl 2>&1 | grep version
oprofile 0.5.3 oprofiled --version

If you're going to be running ALSA for the first time, also be sure to visit http://www.alsa-project.org/ to grab the latest alsa-lib and alsa-utils.

Step 4: Configure your new kernel.
One of the first changes you'll notice is the new build system [story]. The old Tk/Tcl 'xconfig' build method no longer exists, replaced by a new QT based 'xconfig'. Non-QT fans will be happy to find that a GTK based 'gconfig' is also available for their use.

2.6 build methods include:

  • make config

    This appears to be identical to 'config' in the 2.4 kernel. As the most simplistic configuration method, it simply asks you about each configuration option, one at a time... Requires the 'bash' shell.

  • make menuconfig

    This appears to be identical to 'menuconfig' in the 2.4 kernel. A simple curses based configuration method.

  • make xconfig

    This new default graphical configuration system uses the QT libraries. I found it to be quite functional and easy to use.

  • make gconfig

    This option is a clone of the new xconfig, however using the GTK libraries instead of the QT libraries. Unfortunately, in my brief testing I found it to be somewhat buggy. While running, it spews out the same error over and over, and crashed rather quickly. Here's a log to show you what I'm talking about.

  • make oldconfig

    This build option will prove extremely useful to you as you upgrade to newer and newer 2.6 kernels. At first glance it looks identical to the plain 'make config', however 'oldconfig' reads your current .config settings and automatically answers for you based on these settings, only prompting you for new configuration choices. To use, simply copy in your old .config file, then type 'make oldconfig'.

When configuring your 2.6 kernel for the first time, keep in mind the following tips from the top-level README file that came with your Linux source:

  • having unnecessary drivers will make the kernel bigger, and can under some circumstances lead to problems: probing for a nonexistent controller card may confuse your other controllers.
  • the "kernel hacking" configuration details usually result in bigger or slower kernel (or both), and can even make the kernel less stable by configuring some routines to actively try to break bad code to find kernel problems (kmalloc()). Thus you should probably answer 'n' to the questions for "development", "experimental", or "debugging" features.

ALSA:
For many people upgrading from 2.4 to 2.6, this will be your first time using the Advanced Linux Sound Architecture (ALSA) which has replaced OSS. Though it may be tempting to simply enable the deprecated OSS and go about your life as normal, it's probably worth your time to get ALSA working. Thanks to ALSA's OSS API Emulation, it's really not that hard. When configuring your kernel, be sure to enable the OSS emulation options (SND_OSSEMUL, SND_MIXER_OSS and SND_PCM_OSS) Also be sure to enable the appropriate sound driver (in PCI devices) - I compiled mine directly into the kernel. Finally, be sure to download and install the latest alsa-lib and alsa-utils.

Step 5: Build your new kernel.
Actually building the kernel is one step easier than in 2.4, as you no longer have to type 'make dep'. To build a new kernel, type 'make bzImage'. If you've chosen to compile any modules, you'll also need to 'make modules' and 'make modules_install'. Or, you can string it all together like 'make bzImage && make modules && make modules_install'.

When the build starts, you'll notice that the default build process is much quieter than it was in 2.4, providing simple summaries as opposed to all the compiler output.

Step 6: Install your new kernel.
Now that you've built your kernel, you need to copy it into place. For example, on x86 you'll find it in 'arch/i386/boot'. You'll want to copy this file and your new System.map into /boot. For example:

    # pwd
/usr/src/linux-2.6.0-test4
# mv arch/i386/boot/bzImage /boot/bzImage-2.6.0-test4
# mv System.map /boot/System.map-2.6.0-test4
# cd /boot
# rm System.map
# ln -s System.map-2.6.0-test4 System.map

I noticed that my new 2.6 kernel is bigger than the last 2.4 kernel I compiled with the same version of gcc, however it's possible that I have more options enabled:

-rw-r--r--    1 root     root      1094390 Aug 12 20:30 bzImage-2.4.21-ck3
-rw-r--r-- 1 root root 1639129 Aug 27 22:06 bzImage-2.6.0-test4

Having copied your new kernel into place, now you need to configure your boot loader. You're probably using grub [manual] or lilo [howto], refer to the appropriate documentation if you're unsure how your boot loader works.

Step 7: It's still not too late...
I'm not trying to scare you, but up to this point you've not done anything that could damage data on your hard drive. However, the next step involves booting the new kernel, so just to be safe one last time I'm going to recommend that you be sure you have a current backup of any important data that lives on your hard drive.

Step 8: Try your new kernel.
And now, the moment you've been waiting for.. It's time to reboot your computer, and test your newly compiled 2.6 kernel. If you've done everything correctly, you'll watch some friendly boot messages, and then be prompted to login. (If your booting to initstate=3, you'll notice the new kernel immediately...)

If you installed ALSA for the first time, you can verify that your sound driver has properly loaded by typing 'cat /proc/asound/cards'. For example:

    $ cat /proc/asound/cards
0 [Live ]: EMU10K1 - Sound Blaster Live!
Sound Blaster Live! (rev.5) at 0x18e0, irq 11

If you see something like that, but sound still isn't working, launch 'alsamixer' and be sure your device is turned up. I was confused at first in that turning up the 'Master' control wasn't enough, I also had to turn up 'PCM' (/dev/dsp) for sound to start working.

Once you've tried out your new 2.6 kernel, I'd love if you'd post a comment here with your reflections. I'm also open to suggestions on how to make the above directions more useful.

If you run into problems with your new kernel, once again refer to the top-level 'README' that came with your kernel source which has a useful section titled "IF SOMETHING GOES WRONG". Additionally, refer to the top-level 'REPORTING-BUGS' file if the need arises. Prior to posting problems to the high-traffic Linux kernel mailing list, be sure to search one or more of the many online lkml archives to see if someone else has already reported the problem, and better yet if someone else has already posted a fix. Last but not least, you may also try asking for help in the KernelTrap 2.6 kernel forum.

Additional tips/FAQs:
Thanks to a significant amount of reader feedback in the form of comments below and personal emails, I'm going to add a few random but hopeful useful tips to the end of this document. If you have additional tips, please feel free to send me an email. (If you've already sent a comment and I've note yet replied, please be patient...)

I'm already running 2.6.x, how can I easily upgrade to the next release?
The process is described here.

Does GCC 3.x work for compiling the Linux kernel?
Personally, I compiled the 2.6.0-test4 kernel that I'm currently using with gcc 3.2, and I'm not having any problems. The general consensus appears to be that this will work in most cases, but if you run into any compilation problems then try again with the preferred gcc 2.95.3.

Where can I learn more about ALSA?
There's a wealth of information on the Advanced Linux Sound Architecture home page: http://www.alsa-project.org/

Does the NVidia driver work with 2.6?
It has been pointed out that a working NVidia driver with 2.6 can be found at http://www.minion.de/.

How can I install and use the reiser4 filesystem?
The makers of reiser4, namesys, have a brief 'getting started' document.

Are there any special tips for RedHat 9 users?
You're in luck. I've been pointed to a couple of documents that walk you through the specific issues you may run into when upgrading RedHat 9 to the 2.6 kernel, here and here.

Are there any special tips for Debian users?
Several readers have pointed towards this article by linmagau.org, though it refers to compiling a 2.4 kernel. At this time, there's a debian package for 2.6.0-test2 here. adds, "A Debian Woody system will have module problems. But people running Debian Sid (and Sarge) can just 'apt-get install module-init-tools'. I was pleased that Debian figures out at boot time whether to use the new module-init-tools or the older modutils, though perhaps all distros do this.".

Why didn't you warn me about the problem with <xx>?
Actually, I didn't run into any problems or gotcha's when I upgraded to 2.6.0-test4. But as I learn of more issues (and solutions), I'll post them here.

Article translations:

[add new comment | printer friendly page]
Comment "Gui based tool" by Anonymous
GPG signature & Debian's kernel packager
Comment posted by andrel on Saturday, August 30, 2003 - 11:23

Debian users have (non-GUI) tools
to automate the process
.

When downloading a new kernel it is a good idea to
verify the GPG signature.

[ reply ]
"The Debian Way"
Comment posted by Anonymous on Sunday, August 31, 2003 - 19:45

Ive tried compiling the kernel using justa a stock 2.6 test 1 and 2 from kernel.org the debian way i used to do it before with the 2.4's and have no probs.. but the 2.6 the debian way wont even boot.. (gets to uncompressign the image and just hangs) the precompiled 2.6 tests in dselect dont initialise the network card right unfortunately :/

anyway gonna try the manual way described in this article and see what happens.. heres hoping its all good cos ive heard the 2.6 kernel is awesome

[ reply ]
Looks like a kernel hang
Comment posted by Anonymous on Monday, September 1, 2003 - 06:00

This looks like a kernel hang but I bet its actually the
kernel configuration with 2.6 you need console, mouse, keyboard
selected as options. Many people have hit this one when trying
2.6 for the first time.

[ reply ]
nah compiled it as per the ar
Comment posted by Anonymous on Tuesday, September 2, 2003 - 08:31

nah compiled it as per the article (the original kernel compile method) and the kernel actually boots in but then gets to initializing the mouse and then hangs i suspect its to do with the acpi=off option however when i use this it says something about cant mount device whatever and panics.. so am trying to fiddle with it to make it hopefully work.. here hoping it works :).. and this is the same cfg i used for the "debian way" and the debian way would just uncompress and hang..

[ reply ]
gcc 3.3?
Comment posted by Anonymous on Wednesday, November 5, 2003 - 03:47

Last time I saw a kernel hang right at boot time, it was because I compiled it with gcc 3.3. The same kernel (same config) compiled with gcc 3.2 worked just fine.

[ reply ]
Weird kernel hangs
Comment posted by Anonymous on Friday, November 28, 2003 - 22:02

I work on a university project (RoboCup for Ohio University) and have seen hangs similar to what you are describing in both our robots and my old desktop. After months of dealing with 2.2.x on our robots and my desktop (Sidestepped that problem by installing redhat 7.x) I finally traced the problem to using the wrong boot sector. Apparently, something changed between 2.2 and 2.4 and the old boot loader couldn't deal with the new kernel. I installed the boot sector that was built and patched for the Disk On Chip that our robots use and was merrily running around with 2.4.20. I just thought I'd throw this out there because it took me a long time to figure out and no-one seemed to know the problem. (Everyone I talked to said install redhat 9, redhat 9, won't fit on a 64Mb flash disk though ;)

I hope this helps someone and if I am incorrect in any of this, drop me a note. bitshftr @ frognet.net

http://zen.ece.ohiou.edu/~robocup

[ reply ]
redhat 9
Comment posted by Anonymous on Thursday, December 18, 2003 - 20:03

one thing i would say is steer clear of redhat, sure its easy and has lots of users etc etc BUT it is bloated!

maybe look at Debian/Gentoo/Slackware. All very good systems and all very lightwieght.

[ reply ]
Yep, RH 9 is a big mother...
Comment posted by Anonymous on Wednesday, April 14, 2004 - 22:59

but it's user-friendly enough that my mom (computer-savvy but no *NIX expert) is using it, after I set it up. Try the mom test with Slackware.

OTOH, I'm trying to cram a 2.6 kernel onto a 486 that I use as a serial console/network load generator - Slackware and Debian are the only distros left that still run on this old beast.

[ reply ]
What version modutils?
Comment posted by Mr_Z on Friday, August 29, 2003 - 22:49

In the text above, you state we need:

     module-init-tools  0.9.9               depmod -V

When I run depmod -V on my system, I show version 2.4.22.


I'm assuming the low version number (not even 1.0) reflects the "new module subsystem" that 2.6 sports, and the fact that the tools to use it are completely new. Is that correct? Where's the correct place to find these new modutils?

Also, any war stories (with explicit details) from RedHat users that have upgraded to 2.6.0-test are welcomed. (Hint... hint...) I'm anxious to try 2.6, but at the same time, I realize that RedHat ships a heavily modified kernel and has lots of interlocking dependences between RPMs. (Grrrr....) I think I might make my first distribution switch in 6 years pretty soon, as RedHat starts to get a little more onerous.

(FYI, I started with SLS 1.03, overlaid on that Slackware 1.1.1, and eventually did a few fresh installs of Slackware on new machines up through about 1995 or so. Then, tired of the bitrot that Slackware installs seem to get, I switched to RedHat 4.2. Since then, I've had a slightly easier time. At times, though, I've been in the Linux equivalent of DLL hell. Perhaps Debian is worth a look these days. Everyone raves about apt...)


--Joe

[ reply ]
you can get here
Comment posted by Anonymous on Saturday, August 30, 2003 - 04:17

ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/

[ reply ]
redhat + kernel 2.6
Comment posted by Anonymous on Saturday, August 30, 2003 - 04:36

using it for the fourth day without any problems. the rpm didnt work at the beginning. but passing "export LD_ASSUME_KERNEL=2.2.5" line clears the problems :D i think im going to update my rpm to rawhide (to a newer version), as it _should_ fix this problem. little googel'ing around showed it's a common problem for redhat users, not a kernel-2.6 specific.

[ reply ]
RPM and 2.6.0 kernels
Comment posted by Anonymous on Saturday, August 30, 2003 - 18:05

There is a known issue with the 2.6 kernels and RPM (its actually a db3 issue I think). Fetch rpm-4.2.1 from rpm.org and your problems will be solved.

[ reply ]
Try Gentoo
Comment posted by Anonymous on Saturday, August 30, 2003 - 07:27

I highly recommend any old-school linux hacker that misses the ease and flexibility and customization of old distros like Slackware but wants the power of bleeding edge software and a good package management system with dependencies to try out Gentoo - you'll never go back: www.gentoo.org

[ reply ]
Re.: Try Gentoo
Comment posted by Anonymous on Saturday, August 30, 2003 - 09:39

Amen ;-)

I born in Linux world with Slack (a long time ago), but since then I passed trought RedHat and Manrake.... when I realised was time to return to my roots, I tried Linux From Scratch, but I got some glitches with Ncurses (just monocromatic colors); Looking for a solution to my problem, I heard something (in the net) about a "new kind of distro", in expecial one called Gentoo.

I give a shot, and since then I probably will dont give up Gentoo ;-)

Gentoo is as powerfull as Linux From Scratch, but as easy as RPM distros (or DPKG)... probably the best of both worlds ;-)

[ reply ]
Gentoo is very cool
Comment posted by Anonymous on Saturday, August 30, 2003 - 14:28

I love it. I use it on all my machines..

I like the way a *lot* of the system works. Init scripts, managing installed packages, installing new ones, config file protection. And much more.

The only gripe of course is that it does kind of suck when you want to install something new and you have to wait for it to compile. Normally it's not bad, unless it's something kinda large.

If you have a very fast machine the compiling issue decreases significantly.

Portage rocks.

[ reply ]
Arch Linux
Comment posted by Anonymous on Saturday, October 25, 2003 - 12:28

I'm an ex-Gentoo user who moved to Arch Linux (www.archlinux.org) for this specific reason ;)
I also found portage a bit unstable from time to time with some broken builds.
Arch linux is a very simple distribution with a repository a la Debian but compiled for i686. It's really super fast, I'd describe it as a mix between slackware (for speed and simplicity) and debian (for the package management).
For example, the equivalent of "emerge -rsync && emerge -up world" would be simply "pacman -Suy".
If you want to install KDE, just type "pacman -S kde". Wonderful. It doesn't take 2 days to compile everything and it works just fine. So far, I haven't had any problems.
/etc is also very clean.
The only downside is the number of packages available since the distrib is not very popular (yet), but it's very easy to create your own ones and submitt them to the arch linux mainteners.
You should definitely give it a try.

-Flo

[ reply ]
2 days to compile KDE?
Comment posted by gebner on Thursday, April 15, 2004 - 18:24

"pacman -S kde". Wonderful. It doesn't take 2 days to compile everything and it works just fine.

You should consider getting a new system if it takes you 2 days to compile KDE. My laptop does that in a few hours.

[ reply ]
Comment "hooked on phonics" by Anonymous
ok
Comment posted by Anonymous on Thursday, November 6, 2003 - 05:25

ok

[ reply ]
ok ?
Comment posted by Anonymous on Tuesday, January 27, 2004 - 23:12

what do u mean by ok ?

[ reply ]
non-native english speaking folk
Comment posted by Anonymous on Saturday, December 6, 2003 - 05:28

Can you guess the meaning of the word "PERNACCHIA" ? (it's a low-frequency sound produced by pressing lips against one hand and blowing hard)

[ reply ]
Re.: Try Gentoo
Comment posted by Anonymous on Thursday, December 4, 2003 - 00:23

I also love the power and simplicity of Gentoo. And I love the great documentation and friendly user community.

[ reply ]
Linux From Scratch
Comment posted by mildnet (not verified) on Monday, December 12, 2005 - 10:59

RPM

[ reply ]
Re: Try Gentoo
Comment posted by kulp on Saturday, August 30, 2003 - 14:22

You're not kidding; unless you really don't like an incredibly flexible and smooth-running installation, you won't go back. I'm not even an old-school linux hacker, having used linux for only about two-and-a-half years, and Gentoo for about 6 months. And yes, I did try Debian...that's what I used before I switched to Gentoo -- I have a fetish for source-based Linux I guess...



--kulp

[ reply ]
apt-get source
Comment posted by Anonymous on Saturday, August 30, 2003 - 23:01

Whats worng with apt-get source? Not so fetish after all

[ reply ]
Gentoo Brutus? ;-)
Comment posted by Anonymous on Monday, September 1, 2003 - 04:55

I'll take a nice, flexible yet sane package management system anyday over 'patch kernel, move includes, install new libs, re-link this, re-name that, figure out the Nth make error' system of the much opined Slackware and similiar "old distros" :) Gentoo does seem pretty cool though. A nice thing about Debian is you can still install stuff in /usr/local/{src,lib,include} without fscking up your global distro dependencies and upgrading/downgrading is trivial. Plus ALL your changelogs can be easily tracked for you, plus etc.. etc.. :) DEBIAN FOREVER ^_^

Regards,
Old Fart

[ reply ]
Genoo
Comment posted by scawa on Thursday, November 6, 2003 - 10:56

Portage lets you do that also. The Gentoo Install Logs track everything and unmerging packages works quite well.

Boredom is a personal defect...

- Lamar Stephens

[ reply ]
I second that!
Comment posted by Anonymous on Monday, November 24, 2003 - 09:30

Coming from a Slackware background I found gentoo quite intuitive. I had never used a 'ports' system or anything like Debian's apt-get, and I tell you, gentoo's on-demand installation system is VERY sexy. I am running the 2.6 test 9 kernel, and it is purring!

[ reply ]
Please stop advertising
Comment posted by Anonymous on Thursday, April 15, 2004 - 03:36

Stop it. People will use whichever distribution they like. Go to /. and make your +5, "Insightful" comments there. Thanks.

[ reply ]
Comment "A-fucking-men" by Anonymous
module-init-tools, not modutils
Comment posted by Anonymous on Saturday, August 30, 2003 - 07:47

Hi there.

You probably have modutils version 2.4.22, not module-init-tools 0.9.9.

The module subsystem in 2.5/2.6 has changed from 2.4, and requires a new (and improved :) set of tools.

-Steve

[ reply ]
No more modutils
Comment posted by Anonymous on Saturday, August 30, 2003 - 07:56

A new package is used "modules-init-tools" in plcae of the old modutils, you will find it in the apt repository on debian.
The source shall be available from ftp.kernel.org in the utils section but I can't garanty

[ reply ]
Re: No more modutils
Comment posted by Anonymous on Saturday, August 30, 2003 - 13:01

That's "module-init-tools", without the "s" on "modules", as in:

# apt-get install module-init-tools

[ reply ]
module-init-tools
Comment posted by Anonymous on Saturday, August 30, 2003 - 10:34

Yes that's correct - 0.9.14 is the latest module-init-tools

The module-init-tools (various versions) are here: ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/

Trouble is, although the new tools are backward compatible with the 2.4 kernels, you will probably have to mess around a bit with your init scripts and the module and devfsd configs in /etc. The conversion script supplied with module-init-tools did not do a very good job on my Mandrake box. Once you've installed the binaries (modprobe,depmod etc) from module-init-tools they will still work with the unchanged 2.4 setup.

In fact I can't see the point of the above HOWTO since the only major difference to the build and install procedure that anyone's going to need help with is this modules issue, especially if running devfsd.

You need to watch out for stuff in your initscripts that refers to /proc/ksyms since that file is no more in 2.6.

[ reply ]
Apology to Jeremy
Comment posted by Wolfbone on Saturday, August 30, 2003 - 18:34

I cannot tell a lie - it was I who wrote the above comment. I retract what I said about there not being any point to your excellent HOWTO. I thought it was a fait accompli but you are modifying it in response to comments. Excellent.

[ reply ]
re: Apology to Jeremy
Comment posted by Jeremy on Saturday, August 30, 2003 - 21:44

No apology necessary. The usefulness very much depends on the audience. And my end goal has been met, in that at least a few more people have tried out the 2.6-test kernel... :)

[ reply ]
dfgsdf
Comment posted by Anonymous (not verified) on Wednesday, October 26, 2005 - 09:50

sdfgsdfgsfd
dsfasd fasdasdf

[ reply ]
Hang on just a sec - are you saying...
Comment posted by Anonymous on Thursday, February 5, 2004 - 23:11

Is this a caveat for us would be 2.6 users?
Are you saying that moving from 2.4.x to 2.6 necessitates migrating
to a module management system that is not transparently compatible?
This new module-init-tools does not exist on my 2.4.22-1.2149.nptl
version of Fedora. I tried to do a yum install module-init-tools and
it couldn't find it. I'm guessing that means that RedHat is not
supporting it at this point? What gives here? What's the whole
sordid story? And where can we find all the ultimate fallout for
when we do bite the bullet and switch to the newest kernels?
This all sounds a little too ominous for us week-kneed noobs.

[ reply ]
RH and new kernel
Comment posted by Anonymous on Saturday, August 30, 2003 - 16:04

For info the new modutils in Rawhide/Severn includes the new modules stuff.

Also running the 2.6 kernels will probably be smoother than using a stock 2.4

Lastly there are RPMs

http://people.redhat.com/arjanv/2.5

[ reply ]
I seem to find the RPMs too late
Comment posted by Anonymous on Thursday, October 16, 2003 - 12:40

I had usb module loading problems. I have every kind of usb host chipset supported in Linux (about 5 or 6 ports, on a pci card + mainboard)
I am running Severn test2
I also use a usb mouse and keyboard, The first reboot on 2.6, all usb cards were found except the keyboard and mouse usb ports. What I did was plug in a ps/2 keyboard and load the usb host drivers manually, then depmod -a.

Now they seem to load ok.
The Brooktree card is another story
Out of desperation I added a modprobe bttv onto the last line of rc.local, so now it works ok.
rc.local is not the nice way to do it, any suggestions?
This kernel is fast (I used the pre emptive)

Also, Someone, possibly, Andrew Morton has anonymously posted to the yahoo.com SCO stock message board, how do I find out if it was really him.
Andrew are you there? please visit groklaw.com or e-mail pj there.

ntmaddenatcfldotrrdotcom

[ reply ]
kernel.src.rpm
Comment posted by Anonymous on Saturday, February 14, 2004 - 21:45

Ok, so I have scoured the web looking for how to build a src.rpm
My dilemna is I have a clarkconnect box that uses redhat 9, but a 2.4 kernel. I want to upgrade to 2.6, just for the hey of it, and found the kernel.src.rpm. So i found out the hard way the prerolled 2.6.2 kernels in http://people.redhat.com/arjanv/2.5/RPMS.kernel/ do not include iptables, or nat, or second nic. So as my firewall does not have make and gcc I want to put together the rpm on my home redhat 9 box and the rcp it over to the firewall, type rpm -ivh and be done.
Any input on doing this email me at networking@charter.net

[ reply ]
ClarkConnect 2.1 and ALSA
Comment posted by Anonymous on Saturday, May 1, 2004 - 10:33

I hope someone has a solution for CC and ALSA as well, I am in the process of setting up my 10 channel Envy24(ICE) soundcard and am having a really hard time trying to find a ready-made rpm for this. I tried emailing the original poster about ClarkConnect networking@charter.net but it bounced. Please shoot me an email to gs1150e@netzero.net if you are still monitoring this thread.

[ reply ]
link to module-inintis in the article
Comment posted by Anonymous on Sunday, August 31, 2003 - 09:43

Right where he refers to your needing it.

[ reply ]
Comment "Slackware" by Anonymous
try Slackware 9.1
Comment posted by Anonymous on Wednesday, November 26, 2003 - 20:06

I first used Slackware back in 1994 and later on switched to Redhat and Mandrake. The recent RedHat move made me to switch all my Linux PCs back to Slackware 9.1 and I found that it is very well packaged, surprisingly up-to-date and stable, and still very easy to install and configure. And because it is already kernel 2.6 ready (module-init-tool is already there by default) I'm going to try upgrading soon.

Joseph

[ reply ]
getting 2.6.0-test11 working
Comment posted by Anonymous on Wednesday, December 10, 2003 - 03:02

just FYI:

I got 2.6.0-test11 running on my toshiba laptop (Redhat 9) with a little pain.
Some things I encountered not mentioned before:
- I had to upgrade mkinitrd (I used 3.5.7)
- I had to up the initial ram disk size to 8192 (but that may just be i had a lot of stuff compiled in)

other than that works a treat - now all i have to do is patch the nvidia drivers.

[ reply ]
Nvidia drivers?
Comment posted by Page Rank (not verified) on Monday, November 14, 2005 - 02:16

Nvidia drivers?

[ reply ]
modutils retired
Comment posted by Anonymous on Saturday, October 18, 2003 - 06:49

Modutils has been retired with 2.6.x. So, yes, module-init-tools being at version 0.9.9 (although they're up to 0.9.15) is correct.

Where the confusion comes in is, depmod and friends have the same names in the new package. However when do ask for the version id, the package name is written out, too.

Anyway.. Get yours today at,

http://www.kernel.org/pub/linux/kernel/people/rusty/modules/

[ reply ]
Comment viewing options
Select your preferred way to display the comments and click "Save settings" to activate your changes.

Advertisement

Colocation donated by:

Who's online

There are currently 10 users and 5084 guests online.