Migrating to Linux Kernel 2.6 in Debian
This document is intended for people running Debian on an x86 machine. If
your hardware is supported straightaway by kernel 2.4, I *guess* there
should not be much of a problem in upgrading to 2.6. My system is a P4
machine with no fancy hardware.
A system running the unstable version of
the Debian GNU/Linux operating
system. (I guess you could be using testing and still be
able to follow the same procedure given here.)
Access to the packages in the repository either through a set of CDs
or HTTP or FTP.
It is really simple to migrate to the 2.6 version of the Linux kernel in
Debian. This document is to show that the process is really simple. I
spent a few days asking other people what the issues were, what actions I
need to take, whether there are any caveats, etc. It turned out that
there are none. But, please do read the README coming along with the
A few issues from the README are given below.
Here is what one needs to do (as root).
A few issues to be considered (straight out of the README).
- PS/2 Mice
- If your PS/2 mouse does not work, make sure that the modules
psmouse and mousedev are loaded.
- AMD 768 erratum 10
- If you have a motherboard with the AMD 768 chipset, and you are
experiencing IDE errors or lock ups, then you should either connect a
PS/2 mouse to the system or disable APIC. Refer to the following
link for details:
- mem= on 2.4.19 and later
- mem=xxxM can no longer be used to enlarge the RAM that the kernel
uses. You must specify the exact memory map. For example, Compaq
Proliant users can specify mem=48M@16M if they 64M of memory.
- 80386 compatibility
- DRM modules will not work on true 80386 processors. These
drivers all assume that cmpxchg is available.
- IDE bswap option
- The bswap option is obsolete and may disappear in future. For
the moment it does work provided that you disable dma with the nodma
Baurjan Ismagulov <ibr AT ataCsHunEduTr> (replace upper
case letters in the domain name with DOT and the lower case letter) says
that in his case, PPPoE stopped working after upgrading. But the problem
was solved on using new ppp, pppoe, and pppoeconf packages. Earlier, I
had a note about using devfs. Thomas Stewart <thomas AT
stewartsOrgUk> points out that devfs has been deprecated, and
suggests using udev
instead. apt-get install udev should work fine.
The following piece of information comes from Dr R (Chandra)
Chandrasekhar <chandra AT eeUwaEduAu>. You might find this
useful, if you are compiling your own kernel.
If you intend to use flash drives, de-select the following during
Block Devices -> Low Performance USB Block driver (BLK_DEV_UB)
There are clear explanations here
on why this is advisable until further development of the ub module.
If you have an nVidia card, de-select the following during "make
Graphics Support -> nVidia Riva support (FB_RIVA)
Kernel Hacking -> Use 4Kb for kernel stacks instead of 8Kb (4KSTACKS)
Processor Type and Features -> Local APIC support on uniprocessors (X86_UP_APIC)
To install the nVidia drivers, follow this HOWTO,
and compile the drivers from the Debian packages after applying the
vmalloc_reserve.patch during kernel build.
Last modified: Tue Jan 11 07:09:00 CST 2005