Slashdot Mirror


Upgrading Your Current System To Kernel 2.6

An anonymous reader writes "This white paper provides an overview of the process of moving an existing desktop system to the 2.6 kernel. It will highlight other software requirements imposed by the new kernel and administrative changes that you must make when migrating an existing system to the 2.6 kernel. It supplements previous whitepapers in the same series about Customizing the 2.6 kernel [Slashdot discussion here(1)] and porting drivers to the 2.6 kernel [Slashdot discussion here(2)] to the 2.6 kernel."

50 of 442 comments (clear)

  1. I can't find it anywhere.... by MeanE · · Score: 5, Funny

    on Windows update?!? Where the heck is it?

    1. Re:I can't find it anywhere.... by stevesliva · · Score: 4, Informative
      Seriously, though, I found it amusing that neither the submittor or the editor found it necessary to mention that they were talking about Linux. Just "2.6 Kernel" as if there can be only one.

      Yeah, I know what they're talking about, yeah, there's the penguin and the topic, but still.

      Speaking of, can anyone help me upgrade from "Operating System 2000" to "Operating System XP?"

      --
      Who do you get to be an expert to tell you something's not obvious? The least insightful person you can find? -J Roberts
    2. Re:I can't find it anywhere.... by Hentai · · Score: 4, Insightful

      Speaking of, can anyone help me upgrade from "Operating System 2000" to "Operating System XP?"

      How about from "Operating System 9" to "Operating System X"?

      It's not like there's no precedent for just calling an OS 'OS'...

      --
      -Hentai [in vita non pacem est]
  2. I wish I had this two months ago by $calar · · Score: 5, Informative

    I had all kinds of trouble upgrading to 2.6. Sound and networking didn't work, as well as some of my filesystems. Luckily, I'm smart enough to setup lilo to run multiple kernels, so going back to 2.4 was no trouble to tweak my config file and recompile and try again. I never got everything totally working right. I was going to just wait until the next series of distro releases solved these problems for me, but maybe I should give it another shot.

    1. Re:I wish I had this two months ago by Bender+Unit+22 · · Score: 3, Informative

      Ditto, I guess if you only run it on the most common hardware, it might be easier.
      I played around with it also and found it to cause many problems.
      If you run Red Hat, check out this webcast 2.6 Linux Kernel in Red Hat Enterprise Linux v.3: A Technology Overview about them backporting features to 2.4.
      I run a great deal of IBM servers and I can see their ties with IBM. I hope this webcast will enlighten me to how they make sure that Red Hat gets the most of the IBM servers, since we have a company decision to run Red Hat.

    2. Re:I wish I had this two months ago by alienw · · Score: 4, Insightful

      How many times have you manually upgraded the kernel in Windows? This is not something that should be done by normal users, period. If you need a newer kernel, install a newer distribution.

    3. Re:I wish I had this two months ago by scrytch · · Score: 5, Funny

      Stories like this do nothing to help build a convincing argument to Windows users that Linux is in fact the better OS. If even seasoned Linux users have problems upgrading their kernel, think of how frustrating it would be for someone less technically-inclined.

      Tell me about it, the other day I just slapped the Win2k kernel into my win98 box and it just sailed right through, no problems at all...

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    4. Re:I wish I had this two months ago by El+Cubano · · Score: 5, Informative

      If you need a newer kernel, install a newer distribution.

      Really? apt-get install kernel-image-2.6.3-1-686, followed by a reboot didn't seem too overly difficult for my little brother (very much a non-techie).

    5. Re:I wish I had this two months ago by HoldmyCauls · · Score: 4, Insightful

      Stories like this are aimed at people who *might* build a kernel anyway. A person who wants to know *if* Linux is useful shouldn't be going near the kernel to begin with. That person should be reading articles on installing/test-driving Linux. That's why those of us in the know discuss the problems we have, which discussions can be made to improve the workings of the kernel, and the distro-makers will configure their own damned kernels.

      --
      Emacs: for people who just never know when to :q!
    6. Re:I wish I had this two months ago by petabyte · · Score: 4, Insightful

      Frankly, I wouldn't describe the parent as a seasoned Linux user. I upgraded 4 distros - Slackware, Gentoo, Debian, and a friends Fedora to 2.6 - probably not spending more than 30 minutes on any machine. Most of that was the new config file.

      "Less technically inclined" has nothing to do with it. Computer skills are largely a matter of experience. I've used linux as my desktop for roughly 6 years. I can do most day to day system's administration things much faster than other people. Does this mean I'm more skilled? Probably not. I can also do most systems' administration tasks in Windows much faster than other people. Why? Because I've already addressed the issues or fixed the problems before. 2.6 is a new experience for most people and until they gain experience building it, its going to be hard. The same if you've never built a kernel before. So practice. And, uh, keep a boot disk around :).

    7. Re:I wish I had this two months ago by squiggleslash · · Score: 3, Insightful
      Well, it's only an issue because Linux allows you to do it, in theory.

      Imagine a Windows 2000 user deciding they want to upgrade NTOSKRNL.EXE from 5.0 to 5.1. They wouldn't. They couldn't. They'd upgrade the entire operating system (ie they'd install Windows XP) And, simularly, the easiest way to upgrade from Linux 2.4 to Linux 2.6 is to install the latest version of whatever GNU/Linux distribution you use.

      The fact that the geekier of us can upgrade components of our GNU/Linux systems doesn't mean that it's the best solution for everyone. But only the geekiest of us would do that anyway, "ordinary" GNU/Linux users would upgrade the OS, not just the kernel.

      --
      You are not alone. This is not normal. None of this is normal.
    8. Re:I wish I had this two months ago by barawn · · Score: 5, Insightful

      Second, if you use debian, you have no right to bitch about Linux being difficult to use. It's not exactly the most user-friendly system around.

      No, it's not the most Windows-like system around. It is the most Linux-like system around, and it's absolute craploads easier to use than Windows. Everything is documented, and everything is modifiable.

      As a simple example: Windows XP doesn't handle wireless connections terribly well - if I standby my laptop with one wireless connection that uses DHCP, and then wake it up in an area where it has a different wireless connection, it doesn't release/renew the DHCP lease. I have to do it myself. This is stupid - on a Linux system, if the distribution was screwed up, I could just script it in a moment's notice.

      Windows's help system is also a joke - most of the programs don't properly document what things do (the number of times I've seen "There is no help available for this option...") and so you're left hoping that things work.

      Windows is by far one of the least user-friendly operating systems around. The problem is that it's so pervasive that everyone's used to believing that user-friendly = Windows-like = "everything just works". That's not true, because no operating system just works, because no operating system knows everything you could possibly do with it.

      Linux forces you to learn about a problem before solving it. That actually makes it very user-friendly, because it means that users can realize that they can do more than what they originally thought they could do - meaning the OS makes them more productive.

      Windows isn't user-friendly. The simplest way to illustrate that is to ask this: how much does it allow you, the user, to do, and how much does it try to do it for you? An operating system that does everything for you and allows you to do nothing isn't user-friendly, because what if you don't want to do what it wants? An operating system that allows you to do everything but does nothing for you isn't user-friendly, because, well, it's a computer. It can do things automatically. The best operating system is one that tries to do everything for you, but allows you to do everything as well, and that's Debian.

    9. Re:I wish I had this two months ago by kfg · · Score: 3, Insightful

      On the other hand, one makes the transition from normal user to abnormal user by trying things, breaking things, fixing the things you broke and then rinsing and repeating a few thousand times.

      The knowledge you yourself have was not channeled to your by some Atlantean spirit creature. You earned it the hard way.

      The mere fact that this person tried to upgrade their kernel in the first place places them outside of the "normal" catagory to begin with. Hell, he might even be a wizard larva given a bit of time to grow and pupate.

      If he wants to get his hands dirty and is willing to take the risks I'm on his side. Note that he didn't come on here saying "Linux sucks." He noted that he has had problems, but took proper precautions, he's been working them out and that maybe with the aid of this paper he'll give it another go.

      That's hacker spirit.

      KFG

    10. Re:I wish I had this two months ago by barawn · · Score: 5, Insightful


      Uh, yes it is. That's why so many people I try to introduce Linux to don't want to switch. Linux is too much of a hassle to use.


      Read the post again. I said

      The problem is that it's so pervasive that everyone's used to believing that user-friendly = Windows-like = "everything just works"

      and

      No, it's not the most Windows-like system around.

      People who start off using Windows learn its quirks and idiosyncracies and think of them as "normal". They're not. Linux isn't "Windows-ex-user-friendly", but I'm glad it's not, because Windows isn't userfriendly to begin with. In fact, there are quite a few different paradigms that Linux has that the Windows paradigm doesn't have that are far more user-friendly. See WindowMaker, for instance, with the NeXTSTEP interface, or Emacs with almost everything bound to keybindings, or LyX.

      A high learning curve does not make something non-user-friendly, especially when there are rewards for the high learning curve. There's absolutely no doubt that there are more powerful tools under Linux - Emacs was virtually designed from the ground up to allow people to edit files as fast and as easily as possible (hence the reason that cursor editing keys are all control-combinations of home row keys). A person who chooses not to go through the "hassle" of not climbing a learning curve which has obvious benefits is not avoiding the program because it's not user-friendly - they're avoiding the program because they're lazy .

      Start off with people who have never used a computer (or at least, never used Windows), and are willing to learn to use one, and they'll learn Linux rather easily. That's how most of us did.

      Only tech-nerds like us think that way. That's a made-up definition of user-friendly.

      Am I a user? Yes. Is an operating system that doesn't let me do what I want non-friendly to me? Yes. Then it's not user-friendly, now is it?

      Last time I checked the definition of user-friendly is "friendly to the user". If an operating system doesn't let the user do what he wants, it's not being friendly, now is it? :)

      why she should change from something that "already works."

      She already had a Windows mindset - that is, "Microsoft is smarter than you. You only want to do what Microsoft lets you do. You do not want to do anything else. Microsoft is good to you." She's not a user - she's a Windows user.

      Windows doesn't "work". No operating system works. There's at least one thing broken about every operating system/distribution in existence. The question as to whether or not it's user friendly is whether or not you can deal with the broken parts well.

    11. Re:I wish I had this two months ago by barawn · · Score: 3, Insightful

      I didn't say that Debian should steal software from OS X, just implementation ideas (i.e., make a pretty GUI for editing all of the conffiles, AND allow people to edit the conffiles as well).

      If you have software that's not open, and not free, fundamentally, it's not as user-friendly as software that is open source, because then, the user can change it, and the user is the only person who knows what his or her needs are.

      It's the one limitation of OS X, but, honestly, Apple spends a crapload of time with usability focus groups, and most people's needs aren't *that* different, so it's not a serious limitation of OS X. Microsoft probably does the same, but my God, they must do a terrible job, because in terms of usability, their products are so far behind it's crazy. Don't like Messenger as an AIM client - and who would? - try disabling it in Windows XP. It takes serious effort to kill the damned thing, as a ton of other programs launch it as well. Want to run a script every time a connection is detected (like updating a dDNS connection, or setting up an open port on a wireless router)? Ha! Good luck. We all know these things are a joke to do inside the OS, but to normal people, these things just "aren't possible". Windows is worse than just "not user-friendly" - by being so pervasive it makes people think that it defines what a computer can do, and therefore, Windows' limitations become a computer's limitations.

  3. What I'd like to see... by ageoffri · · Score: 5, Insightful

    I'd like to see a nice up to date list distributions that are built around the 2.6 kernel. Trying to update a Mandrake system to 2.6 didn't work for me and these days I don't have the time to track down errors.

    --
    -- Slashdot, making the Left look conservative since 1997.
    1. Re:What I'd like to see... by Anonymous Coward · · Score: 5, Funny

      On Gentoo anything that only takes a couple of hours *is* a breeze.

    2. Re:What I'd like to see... by revividus · · Score: 3, Insightful
      I know this is slashdot and I'm not suppose to give a Gentoo advice

      Yes you are. This is supposed to be "...Stuff that matters." Well, I read /. daily, and Gentoo information matters to me.

      The only thing I can figure is that Gentoo has become kind of the "macintosh" of the linux world. Everyone(tm) has just started saying "Yes, we realize you love Gentoo, but STOP TELLING US ABOUT IT." Which is fine, I suppose; zealots can be annoying. But just plain news, statements about Gentoo, shouldn't be modded down any more than news about any other distro.

      That being said, I think most of the Gentoo Howto should apply to any version of Linux; they would just have to download the kernel sources themselves instead of using "emerge", and compile it themselves rather than using "genkernel". Still a fine piece of documentation.

      My $.02, I'm done.

  4. Still conveniently igoring by Enry · · Score: 4, Informative

    The painful process of upgrading LVM1 to LVM2. Little documentation on the process, and installing Fedora Core 2 test 1 over an existing Fedora Core 1 gives all sorts of fun. Much hand-holding of your system and other hand-waving is required.

  5. This settles it. by revolvement · · Score: 3, Funny

    BSD^H^H^H2.4 kernel is dying.

  6. sound by spoonyfork · · Score: 4, Interesting
    I've been using Linux as a hobbyist since 1995. The one consistent thing over the releases that has always been a issue, at least for me, is getting sound to work. Various hardware, various distros, almost all require tweaking.

    Does anyone else have the same observation?

    --
    Speak truth to power.
    1. Re:sound by Just+Some+Guy · · Score: 4, Insightful
      I've never had problems, although I'd primarily used old ESS-1371 cards for my limited audio needs (anything can play an MP3 reasonably well).

      I recently bought an SB-Live and decided to switch to ALSA. Debian made this as easy as choosing my soundcard from a list, and it automagically worked. I had the same experience at the office with my PC's onboard Intel 8x0 sound - no manual configuration was necessary.

      Sound used to be a pain in the neck, but I pretty much consider it a solved problem now (except for maybe exotic boards). ALSA does an awesome job of getting it right with minimal user intervention.

      --
      Dewey, what part of this looks like authorities should be involved?
  7. It's worth it by MC68040 · · Score: 4, Informative

    With the preemptive kernel option enabled and the kernel module autoloader in 2.6 it does all you would ever need:
    Loads any modules you need
    Lets you do tasks preemtpively
    Boots in a much shorter time (from 2.4.23's 35 sec to ~14 sec in my case)

    It's also rock solid in my experience now, a good sound kernel choice that will fit virtually all workstations =)

  8. If you've got a... by cs02rm0 · · Score: 5, Informative

    ...laptop touchpad don't bother going near 2.6 if you don't know exactly what you're doing. I still haven't got the mouse working. I can't even find anyone who can tell me how to confirm if the touchpad is a synaptic.

    I'm not the only one suffering this.

    Works great on my slackware desktop.

    1. Re:If you've got a... by BenjyD · · Score: 3, Informative

      The touchpad on the laptop in front of me works fine - Linux 2.6.3(Gentoo) and a Synaptics Touchpad on a Compaq Armada M300. I didn't have to fiddle around with anything - I just put my mouse device as /dev/psaux in XF86config and it works fine. I can post my .config if you need it.

    2. Re:If you've got a... by levell · · Score: 4, Informative

      Have you been bitten by the /dev/psaux change? (Excuse me if you know about this and you have a different problem). Unless your kernel is compiled to specifically support the old /dev/psaux device, you'll need to change all references to it your X11 config file (stored in/etc/X11/) to its replacement: /dev/input/mice

      Hope this helps.
      --
      Struggling to find a day everyone can make? WhenShallWe.com
    3. Re:If you've got a... by Moloch666 · · Score: 3, Informative

      Try the Gentoo forums. Even if you don't use Gentoo, I almost always find an answer when I search on it. I'm sure you'll be able to ignore the gentoo specific stuff and pull out the non distribution specific answers. Just don't post any questions of course.

      --
      Understanding is a three-edged sword. -- Kosh Naranek
  9. There's are problems upgrading? by H0ek · · Score: 5, Insightful

    If there are, I didn't see them. All I did was:

    apt-get install kernel-image-2.6.2-1-686
    update-grub

    Two lines on the command line and a reboot and I've been happy ever since.

    Oh, wait, we're talking outside Debian. Nevermind.

    --
    H0ek
    Think you're smart? Prove you've got brains!
  10. Running smooth by Geccoman · · Score: 5, Interesting

    I upgraded to the 2.6 kernel about a month ago, and have been nothing but impressed. I got increased speed, my sound works great (ALSA) and with 1280x1024 Framebuffer and Bootsplash (85Hz refresh no-less) even my console is nice to look at.

    My NVidia drivers worked flawlessly with the new kernel, as well as my wireless network.

    I get oooh's and ahhh's from the co-workers with 3DDesk, and my boss is impressed with my setup, even though he's got a shiny new G5 under his desk.

    That's just my experience, though... YMMV

    --
    I'm on a chair.
  11. That's the long term point... by aug24 · · Score: 4, Insightful

    The purpose of Linus et al is not to beat Microsoft. That's statedly incidental. The ultimate purpose is to make a free (as in both) OS which 'just works'.

    To that end, sometimes things will have to be broken to improve. The alternative is to support legacy code till the end of days and end up with MS-like bloatware.

    Jo(e) average user doesn't want, need, or expect to upgrade their running kernel. So who cares how hard it is?

    Justin.
    Built my 2.6 kernel, won't run (kpanic), don't care, waiting for Red Hat or whoever to do it for me.

    --
    You're only jealous cos the little penguins are talking to me.
  12. Re:Yow. by eln · · Score: 4, Interesting

    The term "white paper" is meaningless these days. Now that the marketing departments have gotten ahold of it, "white papers" are usually nothing more than the same information included in the colored brochures, only on a white piece of paper in black text.

    The days of "white paper" meaning a strictly technical or educational document are gone. These days, "white papers" are just another form of advertising.

  13. Fast mouse? Check your XF86Config by Alan · · Score: 5, Informative

    One thing that was a blocker for me to move to 2.6 was my mouse would go a lot faster while in X. I finally found that it was the new input system. Under 2.4 the default XF86Config file would have two mouse input settings, one for ps/2 and one for USB. Under 2.6 both of these were picked up regardless of the mouse being ps/2 or usb so all mouse events, clicks, etc were picked up twice. Removing one of the mouse entries made everything work as normal.

    Probably everyone but me knew this, but thought I'd throw it out in case anyone else is in the same boat.

  14. My experiences with 2.6 by Cytlid · · Score: 5, Informative

    Here's my experience with 2.6 kernel (been running it since 2.6.0 was released).

    DVDs look awesome. I had to tweak the hdparms for DMA, but they work great.

    Ever since NVidia came out with the latest drivers, things like the UT2k4 Demo fun fantastic.

    I was a little hung up on modules... seeing as I rarely use them, it wasn't a show-stopper. The conversion from modutils to module-init-tools was mostly painless.

    Recently, I've been playing with MTD, and trying to get a test machine to use 12 out of the 16 megs of an AGP Voodoo3 3000 card's memory as a device I can format or use as swap. I have been unsuccessful. (2.6.3). This is also on a testing machine, not my "main" machine.

    On a slightly OT note, planning on building a Mini ITX system with a Via Epia board (one of the 800 mhz ones). Should have the case this week, jury's still out on the mb.

    Other than that, no complaints, it's been fantastic. I'm running 2.6.3 on 3 different machines (with different responsibilies) and it feels like there's no going back now!

    --
    FLR
  15. easier than 2.4 by rudog · · Score: 5, Informative

    I run gentoo on a dual pIII-600 with an ATI radeon7000 / SBlive / intelpro100. Kernels 2.4.18 through 2.4.22 took several hours of tweaking before I could even get the thing to boot correctly. ( 2.2 never had this problem )

    Last week I took about 30 minutes and grabbed 2.6.3 did a clean/config/make, which took about the majority of that time, and booted into the fastest Linux box I have ever had.

    2.6 booted with OpenGL without any tweaks pushing glgears to 1600fps and ALSA kicked in without errors on the emu10k1. Device drivers posed no issues for either the USB keyboard/mouse or hardrive or nework card.

    No 'migration' was necessary for either windowmaker / enlightenment / blender / JACK or any of my other 100 some odd apps.

  16. Debina and 2.6 Kernel module loading at boot by chivo · · Score: 3, Interesting

    The one problem I can't seem to find the answer to is how Debian tells the kernel which modules to autoload at boot. I know that for 2.4 kernels, there is a list in /etc/modules. However, with my 2.6 kernel. that file is ignored and I have to manually load all the modules I need after boot. A pain in the ass since I try to keep most of my device drivers as modules, like for my NICs, video card, USB, sound card, etc. Has anyone using Debian and 2.6 kernel found a solution to this?

    --
    Sometimes I feel like a nut... Ok so it's most of the time
    1. Re:Debina and 2.6 Kernel module loading at boot by Dionysus · · Score: 3, Informative

      Did you install modules-init-tool? My /etc/modules get read at bootup (running 2.6.3).

      --
      Je ne parle pas francais.
  17. Fedora Core 1 by SimplexO · · Score: 4, Informative

    Fedora Core 1 forum posting with people who have already done it. It seems pretty easy from the looks of it. I'm going to do it just as soon as I get some free time...

    And for the love of god, please read the whole thread. Don't ever install a kernel with rpm -Uvh. Leave yourself a backup (rpm -ivh).

    1. Re:Fedora Core 1 by mauryisland · · Score: 3, Informative

      Try reading the instructions here: HOWTO: Fedora Core 1 with kernel 2.6 Worked like a charm for me!

  18. ObOldSaw by sharkey · · Score: 5, Funny
    It's not exactly the most user-friendly system around.

    Sure it is. It's just picky about who its friends are.

    --

    --
    "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  19. How to upgrade 2.4 to 2.6 in Gentoo: by Lord+Ender · · Score: 3, Informative

    emerge development-sources
    rm /usr/src/linux
    ln -s /usr/src/linux-2.6.3 /usr/src/linux
    mount /boot
    genkernel all
    vi /boot/grub/grub.conf
    reboot

    That is ALL there is to it. It is pretty much the same as upgrading to any other kernel. The only trick I saw was that the kernel needs more parameters than 2.4. It needs "root=/dev/ram0 init=/linuxrc real_root=/dev/hda?" appended, which kernel 2.4 did not need. All the other tools (module autoloaders, etc.) are already 2.6 ready on a Gentoo system

    --
    A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
  20. My weird problem with 2.6 by Sark666 · · Score: 5, Informative

    I've tried all versions of 2.6 (2.6.1,2,3) but still get this problem. Everything seems smoother/more responsive except for a problem I have with a game (enemy territory). In 2.4 this game usually loads a map in 20-30 seconds. In 2.6 it takes about the same time but every map thereafter gets longer and longer, until they start taking several minutes. I did a test by launching my own server and just kept reloading the same map. 1st try 32 seconds, 5th try over 4 minutes. If anything it should be slightly quicker as some would be in memory/swap. The only other game I have in linux similar to enemy territory is quake3. It has the same normal load times in both 2.4 and 2.6, but it's maps are much smaller than enemy territory's so it doesn't stress the system as much. This leads me to believe that it's more a swap/memory issue than a graphics driver issue. I did hdparm tests and dma is enabled and I'm getting about the same speed in 2.4 as in 2.6. My system is a p4 1.6 with 128 megs ram gf4ti 4200. Now, I realize 128 megs is low these days, and would probably help aleviate this problem but it seems when a system is stressed in this way 2.4 performs better than 2.6. In 2.4 I can play on a server for as much as I want but with 2.6 I usually get kicked within a couple of new maps due to it timing out. Reconnecting to the server doesnt help, but quiting ET and restarting helps for that initial map, but then the cycle repeats. I don't see a way on this forum of attaching my config, I compiled the kernel myself and have gone over it several times to see if some option could be the cause of this. The first thing I tried was turning off the preemptive kernel option, but didn't help. My system is debian based (morphix distro) and as I mentioned I compile the kernel myself, not a precompiled kernel. I also made sure X doesn't have a negative nice value. You might suggest to throw more ram at the problem and even though it might help, I shouldn't have to as 2.4 seems to get by.

  21. Re:OT: Debian by dsouth · · Score: 3, Interesting

    Advice? The first install is the worst. :-)

    After that, debian gets much better -- my laptop has gone through three major debian releases (potato, woody, and now sid) using nothing more that apt-get commands. [Actually, I guess I'm not really qualified to comment on the debian install process since I haven't really installed it in the last three years -- I just keep updating the existing install.]

    At the time I did the initial install of potato, the installer dumped you into dselect, which is confusing if you've never seen it before. It may be better now, but even if it isn't, you can always apt-get anything you forgot. And building your own kernel is a snap (get the sources from kernel.org, make xconfig to select what you want, make-kpkg clean, make-kpkg kerne_image modules_image, then dpkg -i to install your shiny new kernel.

    I've also had good luck using alien to translate rpm->deb for the occasional time when I needed some software that wasn't available as a deb. YMMV. In a related vein, I've had good luck with the blackdown java debs (debian doesn't provide Java due to conflicts with Sun's license terms).

    Overall, I've had fewer problems with Debian than I have with Red Hat (which I maintain for my employer) and Mandrake (which was my personal distro of choice before Debian). In particular, I find maintenance and bug-fixes much much easier (just run apt-get update, apt-get upgrade) and everything ``just works''.

  22. Upgrading to RedHat 7.1's kernel to 2.6 by phasm42 · · Score: 3, Informative
    I upgraded the kernel on a Redhat 7.1 machine to 2.6 with SMP support recently, and ran into some trouble compiling fs/proc/array.c because of RedHat's gcc 2.96. I Googled around, and found a reference to a the problem at http://www.ussg.iu.edu/hypermail/linux/kernel/0311 .0/0886.html
    This is gcc 2.96 ?? This problem has been reported multiple times. Yes, you need a different gcc version, or there are a couple of patches around that split up the code around line 398 into smaller pieces that gcc 2.96 can handle.
    Basically, there is a really large sprintf there that gcc chokes on, and splitting it up into a few smaller chunks fixes the compilation problem. I've included a diff of the files:
    346,348c346
    < res = sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \
    < %lu %lu %lu %lu %lu %ld %ld %ld %ld %d %ld %llu %lu %ld %lu %lu %lu %lu %lu \
    < %lu %lu %lu %lu %lu %lu %lu %lu %d %d %lu %lu\n",
    ---
    > res = sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu ",
    358c356,357
    < task->min_flt,
    ---
    > task->min_flt);
    > res += sprintf(buffer + res, "%lu %lu %lu %lu %lu %ld %ld %ld %ld %d %ld %llu %lu %ld %lu %lu %lu %lu %lu ",
    378c377,378
    < esp,
    ---
    > esp);
    > res += sprintf(buffer + res, "%lu %lu %lu %lu %lu %lu %lu %lu %d %d %lu %lu\n",
    416a417
    >
    Oh, and another problem I had was "Error: Unknown pseudo-op: `.incbin'" -- this was fixed by upgrading binutils to the latest version. Aside from these two problems, the upgrade went smoothly.
    --
    "No one likes working in a hamster wheel, and your shop smells of cedar shavings from here." - TaleSpinner
  23. But on Slashdot by bonch · · Score: 3, Funny

    The purpose of Linus et al is not to beat Microsoft. That's statedly incidental. The ultimate purpose is to make a free (as in both) OS which 'just works'.

    Here on Slashdot, the purpose is to beat Microsoft.

  24. Easy easy easy by spaceyhackerlady · · Score: 3, Interesting

    I must live a charmed life, think pure thoughts or something, because my 2.6 experience has been nothing but positive.

    My first experience was with a Compaq laptop, Slackware 9.0 and 2.6.0-test4. I found that I broke the 2.4 modutils when I upgraded to module-init-tools, but since 2.6 worked so well, I really didn't care. Oh, and I've never had any trouble with that crazy mouse touchpad thingy.

    Slackware 9.1 says it's 2.6-ready, and it is. I've installed it on a number of systems and upgraded the kernel easily.

    My current challenge is my Sun Ultra 5, which currently runs Debian (woody) with the 2.4.18 kernel it came with. I ended up building 64 bit SPARC gcc and friends as cross compilers on an x86 box. But hello world still doesn't link... :-(

    ...laura

  25. [OT] Reinstall tip by rgmoore · · Score: 4, Informative
    all of my installs have been on a freshly formatted drive.

    As an aside, you can save yourself a lot of trouble in doing a fresh install with some intelligent partitioning. Most systems have an expert mode (or may offer nothing but expert mode, depending on the system) that lets you specify which partition corresponds to which mount point manually and decide which partitions should and should not be reformatted. If you set up /home on a separate partition, you can wipe everything else while leaving your user data alone. That can save you the trouble of having to restore all of your personal files when you install the new system. It's not necessarily perfect- some configuration files may change between versions of your favorite desktop environment, for instance- but it's a big improvement. You should obviously back up your data before doing the install just in case, but you should be doing periodic backups of your system already anyway.

    --

    There's no point in questioning authority if you aren't going to listen to the answers.

  26. My experience by Doug+Neal · · Score: 4, Interesting

    My setup - Debian on a Dell Inspiron 8100.

    First of all the menuconfig menus are a lot more well organised and there are a lot more options, too. Configured it up and it booted OK... I've upgraded to every version so far. The good things:
    * Much less work required with "external" device drivers. With 2.4 I had to separately compile ACPI, ALSA, the nVidia driver, PCMCIA and Lucent modem drivers. Now it's just the Lucent and nVidia drivers as the other three are now included already.
    * ACPI support is better. Won't bore you with the details, but it is ;)
    * Everything's faster, although I was using the new scheduler stuff as a patch to 2.4 so it didn't make too much difference.
    * probably lots of little things I can't think of right now

    The bad things - there seem to have been a few nasty bugs, but that's to be expected with such a big upgrade and most of them have been sorted. Currently ACPI battery support is doing funny things and occasionally reporting that the battery's empty, when it's not. Give it a couple of releases though and it should be all good :) With the addition of KDE 3.2 getting released this has been a really good upgrade and I would definitely recommend anyone else to do the same...

  27. For ATAPI cd burners by einer · · Score: 4, Informative

    cdrecord works with atapi burners now. (I make this blanket statement based only on the fact that I was able to burn a cd this morning).

    The trick is:

    cdrecord -scanbus dev=ATAPI
    cdrecord dev=ATAPI:1,0,0 isname.iso

    no boot time kernel options need to be passed (no more hdb=ide-scsi nonsense).

    Good luck.

  28. Re:OT: Debian by The_Dougster · · Score: 4, Informative

    I don't know... I've installed Debian on about half a dozen different laptops now, each with horribly undocumented chipsets and lcd systems. Managed to get X working in each case. If you think getting XFree86 v 4.x is rough, man you have no idea how hard it used to be with XFree86 v 3.x! xf86config used to consistently produce completely useless modelines for 99% of all monitors, it used to take days sometimes to find a mode that barely worked just enough so you could run xvidtune and fix it. It took me about a good evenings worth of messing around to convert my Debian system to a 2.6 kernel, and I use ALSA sound, nForce2 motherboard, GeForceFX graphics, lots of bleeding-edge hardware so I always have to roll my own kernels from source. My tip: install GRUB as your bootloader, it will save your butt. Debian's not a simple system but it really rewards those who take the time to learn it. It just feels like an old-time big iron system. I really can't quantify it but when I use other distros they seem really lightweight to me. Don't expect to slap Debian on your box and be an expert with it in 45 minutes. Its a heavyweight OS for people who demand a bit more.

    --
    Clickety Click ...
  29. Re:OT: Debian by cmacb · · Score: 3, Informative

    "One thing about Debian that is NOT simple is the install! I never have gotten X to work under Debian, and I DID get it to work under Slackware, and even FreeBSD."

    Been there. Debian does install automatically on a FEW machines, particularly older machines that were popular and used "standard" components. I'm using a Dell GX1 that I got for $99.

    Here s what I have done in the past when I got stuck without X-windows working...

    Install Debian and go through the X-windows set-up process. Do the best you can at guessing your card information, refresh rates and whether or not to use framebuffers.

    Locate the XF86Config(-4) file in /etc/X11 and take a look at where all of these decisions were recorded.

    Now boot a copy of Knoppix (the bootable CD version of Linux), and, assuming it did a better job of setting up X-windows than you did, check the same settings for it (same location). Differences are likely to be in the horizontal and vertical refresh rates, the use of framebuffers, or the driver being used, also the list of module options such as "glx", "dri".

    Surprisingly, X will fail to load properly even if your MOUSE settings are wrong. So you might have done everything right for video and gotten a trivial mouse parameter wrong and still have problems. (The systems DOES tell you this and tells you what log file to go read when this happens, but I remember being a bit intimidated by this process the first couple of times).

    There are also some command line utilities you can run to straighten out your X setup, but I'm lazy and would rather just SEE that the system can work (using Knoppix, and then just copy what works.

    Above process also works for diagnosing some network card and sound card problems.

    Future versions of Debian will probably have better automatic device detection and configuration. In the mean time Knoppix (which is based on Debian) is a handy thing to have around.