Slashdot Mirror


Configuring the 2.6 Linux Kernel

An anonymous reader writes "This article is the first in a series by William von Hagen on using the new Linux 2.6 kernel, with a special emphasis on the primary issues in migrating existing drivers, applications, and embedded Linux deployments to a Linux distribution based on the 2.6 kernel. Bill is the author of Linux Filesystems, Hacking the TiVo, SGML for Dummies, Installing Red Hat Linux 7, and is the coauthor of The Definitive Guide to GCC (with Kurt Wall) and The Mac OS X Power Users Guide (with Brian Profitt)." This looks to be a good series for anyone planning to migrate to Linux 2.6, and having done just that myself, I'll attest to wanting more documentation along the way.

64 of 279 comments (clear)

  1. Do it the easy way : Get Manadrake 10-beta2 by Anonymous Coward · · Score: 5, Informative

    Mandrake 10 will be the first major distro use Kernel 2.6. Download the beta here.

    Easy to install, just download the ISOs, burn to disk, reboot and the installer will appear.

    Make sure to REPORT ALL BUGS, unless you want to see the LG incident again.

    1. Re:Do it the easy way : Get Manadrake 10-beta2 by 77Punker · · Score: 4, Informative

      Yeah yeah...Debian has had kernel 2.6 binaries for a while now in apt-get.

    2. Re:Do it the easy way : Get Manadrake 10-beta2 by Anonymous Coward · · Score: 5, Insightful

      I think that downloading, configuring, and compiling a new kernel (which will take under 20 minutes for most) is a lot easier than downloading an ISO, burning it, and starting over from scratch.

      I stick to the "hard" way.

    3. Re:Do it the easy way : Get Manadrake 10-beta2 by tunah · · Score: 5, Funny

      At the risk of sounding like yet another gentoo zealot:
      Gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo!

      --
      Free Java games for your phone: Tontie, Sokoban
    4. Re:Do it the easy way : Get Manadrake 10-beta2 by Anonymous Coward · · Score: 5, Informative

      Yes, but Mandrake 10 has a lot of other new stuff, that is optimized for Kernel 2.6. Here are some other reasons to try Mandrake 10.

      XFree86 4.4 (better GUI)
      KDE 3.2
      NPTL
      Mozilla 1.6
      And most improtantly, Improved Usabillity

      Kernel 2.6 is like a new engine, but the experiance is a lot nicer when you get a whole new car to go with it.

    5. Re:Do it the easy way : Get Manadrake 10-beta2 by rokzy · · Score: 2, Informative

      I've tried beta 2 so the following is simply The Truth, but doesn't mean I won't be modded Troll:

      I hate the way Mandrake makes KDE look disgusting whereas SUSE makes it look beautiful, and also functional as opposed to Mandrake's default usless patterns around all the windows.

      I couldn't find any links to my drives on the desktop or elsewhere, and so was unable to get the CD out (not counting rebooting or command-line unmounting which are both unacceptable for a modern OS aimed at the public).

      the configuration panel seemed nice but very slow and several of the options would cause a crash and the system wouldn't even restart.

      so back to SUSE 8.2 for me until the next version with KDE 3.2 comes out.

    6. Re:Do it the easy way : Get Manadrake 10-beta2 by QuMa · · Score: 2, Insightful

      Who's to say? It hasn't been released yet.

    7. Re:Do it the easy way : Get Manadrake 10-beta2 by crywolf · · Score: 2, Funny

      gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo gentoo mandrake MANDRAKE aah hat ooh red hat

      with many apologies to everyone.

      --
      CAUTION: Product may be hot after heating
    8. Re:Do it the easy way : Get Manadrake 10-beta2 by dan+the+person · · Score: 4, Informative

      I couldn't find any links to my drives on the desktop or elsewhere, and so was unable to get the CD out (not counting rebooting or command-line unmounting which are both unacceptable for a modern OS aimed at the public).

      Did you try pressing the eject button on the CD drive?

      I release that might not be obvious for a seasoned linux user, but for the rest of the planet it is.

      Mandrake has had supermount for removeable media for a long time now.

    9. Re:Do it the easy way : Get Manadrake 10-beta2 by waster · · Score: 2, Informative

      its a little bit more than driver updates
      X4.4 includes autoconfguration (bye bye XF86Config) and ipv6, as well as a host of bugfixes.

    10. Re:Do it the easy way : Get Manadrake 10-beta2 by atomic-penguin · · Score: 5, Funny

      I thought debian was still using the 2.2 tree :)

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    11. Re:Do it the easy way : Get Manadrake 10-beta2 by ktanmay · · Score: 2, Interesting

      Let's see, apt-get install kernel-bla bla and then there's emerge sys-kernel/development-sources so if we fill in the bla bla, gentoo's the shortest.
      But wait I think there's also emerge gentoo-sources-dev

    12. Re:Do it the easy way : Get Manadrake 10-beta2 by Jameth · · Score: 4, Informative

      Slackware has been 2.6 ready since 9.1 Just install 2.6 and your good to go. Mandrake 10 may be the first major distro to ship with 2.6 included, but that's just because Slackware's release schedule was ahead of the kernel, so it added proactive support, as any good distro would do.

    13. Re:Do it the easy way : Get Manadrake 10-beta2 by McGarnacle · · Score: 2, Funny
      You can see a working gentoo today at: gentoo.poorfolks.org or www.poorfolks.org...click on gentoo to go to Enterprise Edition.

      Um, I *have* a working gentoo, today. Or do you mean a working gentoo using NPTL? If that's the case, then yeah, your apache test page appears to be working very well.

      --

      I disagree with what you say, but will defend to the death your right to tell such LIES!

    14. Re:Do it the easy way : Get Manadrake 10-beta2 by golgotha007 · · Score: 3, Funny

      I thought debian was still using the 2.2 tree :)

      ya, only if you're using the unstable packages... /me ducks!

    15. Re:Do it the easy way : Get Manadrake 10-beta2 by Lord+of+Ironhand · · Score: 4, Funny

      I'm supposed to be installing a virus scanner on my father's PC right now, but bursting into hysterical laughter is a pretty convincing sign to everyone here that I'm reading that "stoopid geek site" again. Damn you!

    16. Re:Do it the easy way : Get Manadrake 10-beta2 by passthecrackpipe · · Score: 2, Insightful

      If the lack of an (already available) modem applet for KDe is what makes your LUG proclaim "KDE is only for experienced users!" then your LUG is full of idiots. Anybody who falls for the (Sun Microsystems induced) "no options is good, some options is bad/Microsoft's interface choices are all great because they are the defacto standard" mantra that the Gnome crowd have been chanting is totally out of touch with how IT is actually applied in the field, be it at home or at work. I would be happy to learn about the missing key functions in KDE for the (linux) newbie, though. With my regards to your LUG.

      --
      People who think they know everything are a great annoyance to those of us who do.
  2. Misinformation by Gothmolly · · Score: 5, Insightful

    Firstly, s/summerize/summarize/, and secondly, the 'funky X configuration interfaces' you talk about are nothing more than GUI applications which have nothing to do with the kernel.

    This recent trend in GUIfication of Linux is troubling, and your post illustrates exactly why. It's the same 'logic' that allowed MS to call Windows an 'Operating System' before it really was. It's the same logic that lusers use when they say that they 'can't get into the Microsoft' when they really mean there's an application problem.

    Computers are NOT monolithic, they are NOT black boxes. They are boxes of legos, where you can build what you want, when you want it, and leave out the crap. You have control.

    Unless you cede responsibility and control to someone else.

    --
    I want to delete my account but Slashdot doesn't allow it.
  3. They need a tutorial on this stuff? by after · · Score: 4, Insightful

    > make menuconfig

    I have never compiled my kernel before, and today I jsut compiled the 2.4 version, installed and later compiled 2.6.1 and installed... all without any problems.

    Enough rant ;)

    I just like the config file method. Does this mean that I can keep my config file (for compiling the kernel) when I upgrade to the next stable? (keeping in mind that I have it customized)

    1. Re:They need a tutorial on this stuff? by zonix · · Score: 3, Informative
      I just like the config file method. Does this mean that I can keep my config file (for compiling the kernel) when I upgrade to the next stable? (keeping in mind that I have it customized)

      Yes, that's what the "make oldconfig" is for. You need to overwrite the .config file first. This goes for the 2.4 series kernels - I don't know if it has changed in the 2.6 series?

      z
      --
      What would an EWOULDBLOCK block, if an EWOULDBLOCK could block would? -- me
    2. Re:They need a tutorial on this stuff? by forlornhope · · Score: 5, Informative

      copy your /boot/config-2.x.y to the source directory as ./.config and then make oldconfig. It will go through all the old options setting them and present you with only the new options. Its a text only interface, but its pretty simple to choose between y/n/m/? and each option is pretty self explanitory. I think you can also step back a version using the same method, but Im not sure about that.

      --
      "We Don't Need No Truthless Heros!" - Project 86
    3. Re:They need a tutorial on this stuff? by PatrickThomson · · Score: 2, Informative

      Yeah, if you copy over .config and run "make oldconfig" it'll only ask you new questions - could be problematic for large changes, but for little kernel upgrades it's worked fine for me (2.4.22 -> 23 -> 24; 2.6.0 -> 6.1 -> 6.2)

      IANAKH, so feel free to correct me.

      --
      I am one of many. My idea is not unique, nor do I expect my voice alone to sway you. I speak in a chorus of opinion.
    4. Re:They need a tutorial on this stuff? by Anonymous Coward · · Score: 4, Informative

      by the way, while you're at it, there is an option to have a compressed configuration file included inside the kernel image itself, and to be read from /proc/config.gz ( applies only to 2.6 kernels and some patched 2.4 kernels only )

    5. Re:They need a tutorial on this stuff? by Guido+von+Guido · · Score: 2, Insightful

      I think it's useful to run "make oldconfig" to keep me from forgetting to enable important options. For instance, for some reason I always used to forget at least one of the kernel options required for DHCP, so I'd always wind up compiling the kernel for my laptop at least twice.

    6. Re:They need a tutorial on this stuff? by atomic-penguin · · Score: 2, Interesting

      If you compile /proc/config support in the 2.6 kernel you can

      `zcat /proc/config.gz > /path/to/2.6.x/.config`

      You have your old config in place, I used it to upgrade from 2.6.1 to 2.6.2 very handy indeed.

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
  4. slackware users out there by mfivis · · Score: 5, Informative

    I found this sticky at linuxquestions.org's forums to be most helpful in doing an easy and straightforward 2.6 compile on a slackware system. LinuxQuestions.org

  5. Default by Grey_14 · · Score: 5, Interesting

    Whats with the default config for the kernel, it's not blank, it's a specific setup that looks like it's for a P4 with a specific network card and chipset, shouldnt the kernel config be bare? this is referring to source downloaded directly from kernel.org,

    1. Re:Default by Torne · · Score: 5, Informative

      The default x86 kernel config always used to be Linus's machine; I don't know if this is still the case. =)

  6. Usability? by polyp2000 · · Score: 4, Interesting

    Is the 2.6 kernel "Usable" yet? By this I mean getting obscure hardware to work such as my USB Midi Interface, and what about proprietary drivers such as Nvidia's, will existing code compiled for 2.4 kernel work? or will you have to recompile stuff (IPTables for example). Im running a gentoo box. I've been toying with updating the kernel to 2.6 and I've been hearing that there are a lot of radical changes to the kernel, the performance enhancements are very exciting to say the least. But what kinds of headaches am I going to have with a real world (used as a desktop as well as a server) system?

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
    1. Re:Usability? by lokedhs · · Score: 3, Informative

      Well, nVidia has support for their graphics cards on 2.6. As for the other hardware you'll have to google yourself. The nVidia link wasn't paticularily hard to find.

    2. Re:Usability? by Anonymous Coward · · Score: 2, Interesting

      (A +5 Troll ? ..... anyway...)

      AFAIK, for drivers, if it works in 2.4, it's supposed to work in 2.6.

      iptables support is pretty much the same aside from having a gazillion new options to play with, and of course you'll need to recompile the iptable support in the kernel (what else? you're compiling the kernel anyway)

      Well, as far as I've been using 2.6, it's very much "usable", there aren't any show-stopping problems that I've encountered on any 2.6.0 + kernels of yet, and it's quite stable. (I have a 32 day uptime 2.6 server (*) with non-trivial loads) though the more sophisticated features (eg. LVM/RAID) might need some polishing.

      (*): It's basically a testing/miscellaneous-use server, the production servers will probably have to wait a few months.

    3. Re:Usability? by Weird+O'Puns · · Score: 4, Informative

      Kernel 2.6 is very usable and stable. I've been running mm-sources since 2.5.5x and haven't had any major problems with it. There's hardly any need for recompiling packages (there are few exceptions though, mostly packages that install some kind of kernel module, svgalib for example). One thing you must do is to replace modutils with module-init-tools.

      Gentoo forums are relly your friend. There are tons of threads concerning 2.4 to 2.6 upgrade, including some howtos.

    4. Re:Usability? by Spoing · · Score: 4, Informative
      1. Is the 2.6 kernel "Usable" yet?

      In sum, yes. As with any major kernel update you have to have the matching user space parts or many devices will not work. Required documentation is included with the kernel;

      1. README (case sensitive) and

        ./Documentation/Changes (as noted in README)

      Keep in mind that if you don't need support for specific hardware -- say, ISDN or PC-Card/PCMCIA -- you can skip updating those packages.

      Specific comment: Alsa is now the default sound system, and it needs updated supporting tools if you want to get a peep out of your audio. Point for point comments;

      1. By this I mean getting obscure hardware to work such as my USB Midi Interface, -- USB MIDI support is included, though I haven't tried it.

      2. and what about proprietary drivers such as Nvidia's, will existing code compiled for 2.4 kernel work? There are updates, and they work fine; install the same way as with 2.4. Check the normal places on Nvidia's site.

      3. or will you have to recompile stuff (IPTables for example). Im running a gentoo box. I haven't, though I don't have Gentoo (Fedora Core 1).

      4. I've been toying with updating the kernel to 2.6 and I've been hearing that there are a lot of radical changes to the kernel, the performance enhancements are very exciting to say the least. It's better for average use, and low latency apps should work much better (ex: sound processing), though I haven't noticed much of a speed boost. 2.4 was snappy already.

      5. But what kinds of headaches am I going to have with a real world (used as a desktop as well as a server) system? Rebooting. Checking the software versions. Looking at all the possible options in the 2.6.x kernel -- though this is much easier with the updated menus in the confiuration screens ('make xconfig' (QT)/'make gconfig' (GTK)).

      Normal precautions, nothing special.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    5. Re:Usability? by bdeclerc · · Score: 2, Funny

      Soooo... you wouldn't want me to say he had a MIDI interface connected to the USB Bus of his PC Computer? ;-)

  7. KernelWiki by Bruha · · Score: 4, Interesting

    I've considered setting up a wiki for the Kernel to give people a place to file what they've learned about it and share with the general public. Anyone think this would help anyone?

  8. is it so much different than 2.4? by locknloll · · Score: 4, Interesting

    I've only recently started using Linux on a day-by-day basis, and after installing Debian unstable I switched directly to 2.6, without ever compiling a 2.4 kernel. That worked without a hitch, so now I'm wondering if the difference is so big. I still have an old Pentium I around the house, and I'm thinking of making this one a firewall/IDS... and so far I'm not sure if 2.6 was a little overkill for that one...

    --
    -- Power corrupts, but PowerPoint corrupts absolutely.
    1. Re:is it so much different than 2.4? by Tongue+In+A+Box · · Score: 2, Funny

      You need 2.6 on a P1 about as much as you'd need a 500-hp enginge in a Yugo

    2. Re:is it so much different than 2.4? by Trelane · · Score: 4, Informative

      Speaking from experience (P1 100MHz, no MMX, 16MB RAM, 500MB disk), going from 2.4 to 2.5 was a beautiful, beautiful thing. Sure, it'll give you a ton more performance on a high-end box, but it makes a low-end box much more usable.

      --

      --
      Given enough personal experience, all stereotypes are shallow.
    3. Re:is it so much different than 2.4? by sparrow_hawk · · Score: 2, Interesting

      I'll second that. I'm running a Pentium III 667MHz with hardware specs pretty much in line for a system of that vintage. My sister has an AMD Athlon 2200+, decent specs. My system is running 2.6.0, hers runs Windows XP and 2.4.22 (she likes the games on Linux :). Care to guess which system *feels* faster?

      It's mine. Even when I'm compiling the latest kernel or listening to MP3s or running SETI@Home, or even doing all three at once, I have nary a skip or a hitch. The mouse and keyboard stuff is always smooth, and I never have to wait for my system to respond because the processor is tied up. 2.6 rocks -- Linux has extended the usable life of this system by *years*...

  9. 2.6 breaks KVM support by Bill+Hayden · · Score: 4, Interesting

    As far as I can tell, there is no way to use a KVM with kernel 2.6 and still have mouse wheel support. It works until you switch away and back to Linux, at which point the mouse goes completely nuts and cannot be revived. Back in 2.4, there were two hacks to revive the mouse in this situation (switch VCs, or set the mouse protocol in X to "AUTO") but neither of these work in 2.6. Windows, needless to say, has no problems. You can supposedly pass a psmouse.noext parameter to the kernel at boot time to fix the craziness, but a) this would remove mouse wheel support, and b) I never got it work anyway. If you know a workaround, please post!

    --
    Protect your browser with the Force Safe Search add-on
    1. Re:2.6 breaks KVM support by boredMDer · · Score: 2, Informative

      I've used 2.6.0 through 2.6.2 on my machine with a KVM for a while now, never had an issue.

      Probably just a problem with your KVM or setup.

    2. Re:2.6 breaks KVM support by The+Irish+Jew · · Score: 5, Informative

      I've used a KVM w/ both 2.6.0 and 2.6.1 and have had no problems. The trick was to use "IMPS/2" as the mouse protocol instead of "Auto". That, along with your ZAxisMapping option should be all you need to get it to work. Assuming of course your KVM is ps/2.

    3. Re:2.6 breaks KVM support by Nerant · · Score: 5, Informative

      There is a 2.6 Input Drivers Faq . It covers some of the more common issues, including some KVM problems.

      --
      Be kind. There are too many mean people out there already.
    4. Re:2.6 breaks KVM support by bdeclerc · · Score: 4, Funny

      Yes, it's ready for the masses, but the masses shouldn't be installing their own kernels, they should wait for the distro's to provide them with install CD's, and you can be pretty sure that this stuff wil work there...

      Could you please point me to the click-n-drool option button in Windows2000 that allows me to enable command-line completion? What, I have to manually edit the registry? D00d, Windoze isn't ready for the masses...

    5. Re:2.6 breaks KVM support by Espectr0 · · Score: 3, Interesting

      Could you please point me to the click-n-drool option button in Windows2000 that allows me to enable command-line completion?

      I dont know about w2k, but winxp supports command-line completion out of the box. Just hit tab as you would on linux

  10. Importance of Documentation by osewa77 · · Score: 4, Insightful

    If more people put up articles like this to make it easier to use the popular open source software products it'd speed up rate of adoption a lot. If there was one on writing kernel modules ... ;-)

  11. Configure your own kernel by runen · · Score: 4, Interesting

    The problem with building your own kernel is that you will always make it as slim as possible. Then each time you buy a new piece of hardware (USB-mouse, SATA hd, etc) you'll need to build it again (and you've thrown away the original .config of course :). Is there a configure everything (besides what's been specified as built-in) as modules?

    1. Re:Configure your own kernel by blackrider · · Score: 4, Informative

      It wont solve the main problem, but you can enable the /proc/config.gz option in the 2.6 kernel, so you can access the old config at any time through the /proc interface.

    2. Re:Configure your own kernel by Anonymous Coward · · Score: 2, Informative

      You can always include almost everything as modules.

      Or alternatively you can take a kernel configuration of your favorite distribution and tweak it to your liking. Most distributions will include drivers for all common hardware as modules.

    3. Re:Configure your own kernel by Neil+Watson · · Score: 4, Informative

      When you add new hardware that is not needed at boot (e.g not a bood device), simply build the kernel feature to support your new device as a module. Install the module and you are ready to go. No rebuild or reboot needed. You don't throw away config files. You save them for later use. The config procedure gives an option to save your config to an alternate location.

  12. ITS AN ADVERT!!! by Anonymous Coward · · Score: 5, Informative

    This is just a very loosly disguised advert for TimeSys Linux

    Nothing any monkey cant work out in about five minutes (and if they cant they should not be cross compiling for embedded devices)

    Since most people dont RTFA this isnt a problem, if you are one of the many... dont bother - its S**T

  13. Re:SCTP support by noselasd · · Score: 3, Funny

    Yes. I'm using it. Its in 2.6 and the latest 2.4..

  14. More binaries needed by inf0mike · · Score: 5, Interesting

    I think this will turn out to be a great series of white papers helping people get to grips with the process of configuring and compiling their own kernels, but I have to say that I think there would be faster progress on new kernels if the was some central repository of precompiled binary packages for the major distros throughout the development cycle.

    The truth of the matter is that now linux is gaining wider acceptance, the community is filling up with more and more noobs and we should be doing more to help them understand the "new" (to them) technology. We also need to remember that not everyone who wants to use the software needs to be some sort of guru.

    This article is a great start to moving more people to the new code quicker, but regular up to date debs/rpms for all the current distributions will push that long even faster. I know someone will probably post saying "but there are packed versions for xxxx at somewhere.org", but they are often difficult to find for the noobs who just don't know where to look.

  15. 2.6, X, and stuff by NixLuver · · Score: 5, Informative
    The 'GUIFication' of the Linux kernel is interesting, but not mandatory. Make menuconfig still works, so you don't have to have X. Also, most of the bells and whistles related specifically to application space can be de-selected, so runaway featuritis is at least controlled.

    The 2.6 kernel is noticeably faster on my dual Athlon 2100+mp, at the user interface; X is faster than I've ever seen it before; the realtime scheduling is awesome.

    In short, as soon as you can reasonably do so, I recommend you migrate to the 2.6.x kernel.

  16. Re:The Communist-Linux Connection by boudie · · Score: 3, Funny

    We all know that China will bury the United States within ten years. It's a fact of life. Either get used to it or stop buying their shoes. And if using Microsoft is patriotic, I guess there just isn't any hope for the whole goddamned United States of Amerika.

  17. just in time by POds · · Score: 2, Funny

    Seems like just in time, hopfuly some future articles will give some insight into how to get ISAPNP sounds cards to work. For some reason my ISAPNP OPL3SA2 cards can not be found when i either compile support into the kernel or into loadable modules...

    seems like a few other people have this problem. Does anyone know the solution? Will i have to write the addresses of all the ports manualy and switch off ISAPNP for OPL3SA2?

    --


    Giving IE users a taste of their own medicine since 2005 - http://pods.-is-a-geek.net/
  18. Re:The Communist-Linux Connection by drooling-dog · · Score: 5, Insightful
    Have you considered that providing software for free to countries such as China is essentially tacit support for oppressive regimes?

    As opposed to, say, Microsoft or Oracle providing the software? And you don't think that the Chinese (or Indians, or Russians, or whatever) have the ability to write software themselves, that programming is somehow a uniquely American talent? If you get your head out of whatever other anatomical place it's parked in, you'd see how silly that is.

    One of the advantages of Windows never mentioned in the article is the ability of Microsoft to remotely deactivate Windows XP in the case of a national emergency.

    And you wonder why the rest of the world is moving away from it. Whether it's true or not, just making statements like this hurts the U.S. software industry more than anything that Stallman can say.

    A known proponent of socialism, the Chinese government and RMS are natural allies.

    Well golly, Bubba, it seems that the Bush administration has been getting pretty cozy with the Chinese government, too. If anyone's looking to sell out Taiwan, there's where you want to direct your vitriol. Are you aware that the President's brother, Neil Bush, is getting rich lobbying for China? No, I didn't think so...

    Oops... I think I got baited!

  19. Re:The Communist-Linux Connection by Sire+Enaique · · Score: 2, Funny

    Yeah, it's perfectly clear now. The FSF is a secret society filled with mutant commies!

    Send in the clones!

    The Computer is your friend!

  20. One major problem in migration... by ThogScully · · Score: 3, Informative

    The foremost problem I had in migration was that SCSI emulation with ide-scsi is no longer used for CD burning. I expect many people making the upgrade will run into a problem with that.

    You can use the standard ATAPI ide-cdrom driver now to burn your CDs, but the userspace programs haven't caught up to this in all distros, especially the GUI ones. cdrdao just doesn't work last I checked, and while cdrecord works alright in the newer versions, many GUI frontend burners simply use cdrdao too much to be useful.

    Other problems I had were that lm_sensors changed a bit and I didn't find it important enough to upgrade to newer userspace stuff, but anyone who's relying on them for anything will likely want to know that it's changed and upgrades to userspace are necessary. The only other issue, which was fixed by a quick Googling was that the module system is changed and module-init-tools is now necessary for loading and unloading kernel modules.
    -N

    --
    I've nothing to say here...
  21. That's great by Apreche · · Score: 3, Interesting

    I didn't know about xconfig before! I really have to spruce up my install. I'm still using kernel 2.6.0 and I should probably up it to 2.6.2. My problem is I use gentoo and I have to configure the kernel manually. I know HOW to do it as in what make commands to issue in order to get a binary kernel out of the thing. And how to put the kernel in /boot and point my lilo at it. What I'm not always sure on is exactly which configure options I want on and off. The important ones are obvious. Yes I have an athlon. Yes I need my nfornce network card, emu10k1, silicon image sata, pre-emptible kernel etc. etc. But a lot of them I just have no clue. Some options have useful help messages like "if you don't know, just say Y (or N) it wont slow you down". But there are still a zillion modules and options in there that I have no clue if I should use Y M or N.

    We should make a repository of hardware configurations and which options should be turned on depending how you will use it. People should just say hey, I got this machine here with this hardware. I'm using it as a web server, and this is my kernel config. If enough people put there configs in, then people like me could find others with similar or identically matching hardware and use those configs. I'm sure it would also bring to light better configs for most people. I'm sure there's some guy out there not selecting a certain option who should be. And if he posts his config online some geek will be sure to point it out to him.

    --
    The GeekNights podcast is going strong. Listen!
  22. Stay with ide-scsi if you want by michich · · Score: 2, Informative

    Well, you can still use the ide-scsi emulation in 2.6, although it's not optimal. Recently there have been some fixes to ide-scsi in 2.6, that have made it usable again.

  23. kernel 2.6 and gentoo 1.4 by Frogg · · Score: 3, Informative

    I'm using kernel 2.6.x and gentoo 1.4, and I'm fairly new to linux. All my h/w (nvidia, sblive, adaptec-compat scsi, usb mouse + mp3 player) works very well.

    It wasn't as smooth an upgrade as I'd've liked, but, like I said, I'm fairly new to all this.

    When I first upgraded, I did get a lot of errors/warnings on boot, but I have since fixed them all.

    Ensuring you have the latest versions of hotplug and module-init-tools will help your migration to 2.6, as there are changes to h/w detection and module loading.

    Take care when doing make oldconfig from an earlier gentoo kernel - gentoo kernels have had various performance patched in them for some time, but -- if I recall -- these settings didn't all magically migrate across, as the gentoo kernel build flags and the official kernel build flags have differing names for these features between 2.4 and 2.6. Just remember to check all your options with make menuconfig or similar. Some other build flags have changed names too, including stuff for usb devices and (IIRC) framebuffers -- this will probably only catch you out if you're migrating settings from an older kernel.

    After building and installing my 2.6 kernel, I also installed the latest nvidia package from nvidia's website, and alsa-lib and alsa-utils (both 1.0.2, from portage)

    Also, there are changes to how some system stats/info is handled/reported - ensure you have an up-to-date version of procps, or top might give some cranky info... some tools that monitor memory levels (gkrellm, various gdesklets) will stop working because the output of /proc/meminfo has changed (the first few summary lines have been removed) -- fixes for this don't seem to exist yet.

    Other than the meminfo issue, kernel 2.6 hasn't broken anything (that I've noticed) on my gentoo system, and it appears to work very well.

    (Oh, kernel 2.6 did cause one of my drives to give warnings about unexpected DMAs every few mins, but that totally fixed itself once I stopped overclocking the CPU. The drive was running slower with a mis-firing DMA, but other than the warnings, no problems occured (YMMV). Something in 2.6 must be more timing sensitive or less tolerant of overcranked h/w speeds. NBD: my system is a few years old, the extra ~20% speed increase cannot is insignificant when compared to speeds of a modern CPU - it seemed a lot at the time!)

  24. 2.6 on NForce-based motherboards by FuzzyBad-Mofo · · Score: 4, Informative

    If you are upgrading an NForce-based machine to 2.6.x, save yourself some headaches and add "noapic nolapic" to the Kernel append string. I experienced repeatable hard lockups when doing disk intensive I/O until adding those parameters.

    Also, NVIDIA's nforce package is no longer necessary. The experimental forcedeth driver in 2.6.2 works quite well in my experience, and apparently an Intel sound driver works for the NForce onboard sound.

    See my latest journal entry for my account of migrating MDK 9.1 to a vanilla 2.6.1 kernel.

    1. Re:2.6 on NForce-based motherboards by motown · · Score: 2, Informative

      I experienced the same problem and solved it by excluding APIC support in the kernel configuration alltogether.

      I recall reading somewhere that disabling ACPI while keeping APIC enabled should also solve the issue. In other words: the problem apparantly only occurs when BOTH ACPI AND APIC are enabled on systems with Nforce2 chipsets.

      Wasn't there supposed to be a patch out there fixing this issue already? And if so, why hasn't it been merged in the tree by now? I know, I know, the 2.6 tree is still quite young, but then again: the patch has been around since before the official 2.6.0 kernel was released.

      By the way: does anyone know if we're missing out on much by disabling APIC support? Is there any downside to having shared interrupts (performance- or otherwise)?

      --
      "Oooh, does that mean we get to kick some puffy white mad zionist butt?"