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:
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.
This appears to be identical to 'menuconfig' in the 2.4 kernel. A simple curses based configuration method.
This new default graphical configuration system uses the QT libraries. I found it to be quite functional and easy to use.
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.
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:
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 11If 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:
Re: Boot Problem
Is ext3 support compiled into the new kernel?
yes, I debug init/do_mounts.c
yes, I debug init/do_mounts.c ... and error is in function do_open
in init/block_dev.c (return -6, I don't know why)
thanks
Haris Peco
I'm sorry - file is fs/block_
I'm sorry - file is fs/block_dev.c line 590
pointer p is null and do_open return -ENXIO
Thanks
Another boot problem
I've been compiling the kernels since 2.5.6x. I've also had the same boot problem (cannot mount root VFS) with every one of them I tried. My root is ext3 (hdb3). It also works fine with all the 2.4 series kernels up to 2.4.23-rc2. My distro is RH9. The system is an Athlon XP 2800+ processor running on an nVidia2-based motherboard (Chaintech Zenith 7NJS). Ext3 support is built-in.
Keyboard repeating
When I boot 2.6.0-test4, it gets to the login screen, but when I try to type my username, it echoes at least 2 characters for every one I type.
So "root" may become "rrroooott", for instance.
I don't have any clue why this happens. The only keyboard driver I have enabled, is the standard "AT or PS/2"-thing.
However it seems to boot much faster than my 2.4.22 kernel (thats how far my testing can go at the moment :-).
More things to consider
fails to compile:
drivers/media/video/zr36120.c:2043: warning: implicit declaration of function `i2c_unregister_bus'
make[3]: *** [drivers/media/video/zr36120.o] Error 1
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
fails to compile: (again)
drivers/net/fc/iph5526.c: At top level:
drivers/net/fc/iph5526.c:4473: warning: `io' defined but not used
drivers/net/fc/iph5526.c:4474: warning: `irq' defined but not used
drivers/net/fc/iph5526.c:4475: warning: `bad' defined but not used
make[3]: *** [drivers/net/fc/iph5526.o] Error 1
make[2]: *** [drivers/net/fc] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
fails to compile (3rd found)
drivers/net/wan/cosa.c: In function `cosa_sppp_close':
drivers/net/wan/cosa.c:729: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:494)
make[3]: *** [drivers/net/wan/cosa.o] Error 1
make[2]: *** [drivers/net/wan] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
One day too late :)
Nice initiative - the step-by-step guide. Unfortunately I've just this week spend hours of time on getting 2.6.0 to work. I succeeded just as you posted this :)
Anyway... I have these comments which might be og value:
My goal was to installe 2.6.0-test4 on Debian with the Aug 26th snapshot of the Reiser4 file system. (on an old i486 machine)
This page is an overview of the process:
http://www.namesys.com/install_v4.html
Getting 2.6.0-test4 is easy. Compiling it is another matter :)
I didn't have gcc 2.95.3 and would prefer to use 3.2.x og 3.3.x.
Configuring the kernel so it would compile with gcc-3.2.2 was a difficult task. Too many or too few options gave compile errors. (like: don't disable ACPI, but do disable ISDN)
Luckily I could compile on my AthlonXP 1700+, which made it possible to try many configurations. I now have one which works.
If you want the reiser4-patch, apply it with:
path -p1 < ../download/reiser4.diff
IMPORTANT: As mentioned in another post you'll need the new module-tools. Users of Debian "sid" can do:
apt-get install module-init-tools
Anyway... All new users of 2.6.0 are urged to read this:
http://www.codemonkey.org.uk/post-halloween-2.5.txt
.. which will tell you things like that and other gotchas.
So - I upgraded to Debian testing, which also gets you all the needed versions of the software you mentioned.
Finally the kernel compiled with modules. It didn't generate a System.map though... but it works fine without - for me anyway.
There were some aditional problems with reiser4. libaal is installe in /usr/local/lib, which ldconfig didn't see per default, so I needed to add it to /etc/ld.so.conf.
Also, I used NFS to install the kernel. It seems NFS is a little more picky in 2.6.0. (giving permision denied due to my export configuration).
All in all...
Debian testing looks great and 2.6.0 looks great. I haven't felt the great performance, since the old 486 is slooooooow ... but Reiser4 looks amazing.
ahh.. btw...
I couldn't compile with ACPI disabled, so I boot with kernel argument "acpi=off".
append="acpi=off" in LILO.
fails to compile (4th)
drivers/scsi/ini9100u.c:507: structure has no member named `address'
drivers/scsi/ini9100u.c:516: structure has no member named `address'
make[2]: *** [drivers/scsi/ini9100u.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
Yeahh.. I know.
I guess you don't compile with 2.95.3 ?
I used gcc 3.2.2 and had the exact same problem. (and a lot of others).
If you don't have a "ini9100u scsi thing", then disable the driver.
You'll have to do that with a lot of stuff, but somethings you can't disable, like ACPI in my case.
fails to compile (5th)
drivers/scsi/dpt_i2o.c: In function `adpt_scsi_to_i2o':
drivers/scsi/dpt_i2o.c:2118: structure has no member named `address'
make[2]: *** [drivers/scsi/dpt_i2o.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
same answer...
disable it.
If you need the driver, use gcc 2.95.3
fails to compile (6th)
(the dpt compile error -5th- was the Adaptec i2o driver)
make[2]: *** [drivers/scsi/AM53C974.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
fails to compile(nth)
OK, no sense in posting any more - there are many more compile errors where drivers fail to compile. All I did was use my redhat9 config, typed 'make oldconfig' and selected a few new modules.
I will still plod through it because I can make the time to do it. However, I'm certain a lot of people will think, "If a number of drivers won't even _compile_ then 2.6 is a looong way off". I personally wonder why a driver maintainer hasn't been able to submit a patch to their driver to make it compile. Very befuddling.
In fact, given the huge driver API changes (and module API changes) it would seem a driver has a lot work/testing to do after it is simply made to compile.
Did you _read_ the answers to your postings???
??
There's more to it than that
The above is very basic and you will likely have to do many other
things before your kernel works well.
For one thing, I found many of my modules did not atuoload and I had to
write a script to load them after booting. This meant running some of the init.d scripts after loading the modules as well.
You'll need to modify your initscripts. Hotplugging will be tricky.
The mods involve changing /proc/bus to /sys/bus, and stuff with
usb keyboards and mice as module names changed for those devices.
Having done all that, I'm loving the new kernel!!!! I had to slow down my mouse.
Re: There's more to it than that
> For one thing, I found many of my modules did not atuoload and I had > to write a script to load them after booting.
2.6 uses /etc/modprobe.conf instead of /etc/modules.conf. Try this...
/sbin/generate-modprobe.conf
2.6.0-test4 & nvidia drivers
does the 2.6.0-test4 affect the compilation of the nvidia kernel module ?
nVidia drivers and kernel 2.6
HOWTO at
http://www.minion.de/
nvidia & linux 2.6.0-test 4
thanx you saved my ass
If you enable devpts, remember to mount it too
When I updated to kernel 2.6.0-test2 I had wierd problems of not being able to start some programs - usually ones which tried to open a virtual terminal. After some head scratching I traced the problem back to inability to open pseudoterminal devices which always failed. (I tried a couple of different (dev)pts options in the kernel until I found one which worked with me (including devpts enabled - some combinations of pts options seem to cause non-working system, thought I didn't do any detailed investigation) after I had mounted it).
Summa summarum.
If you are going to enable devpts or have some problem with virtual terminals remember/try to mount devpts.
devpts /proc/pts devpts defaults 0 0
No serial module ?? No ATI driver ??
Compiles and boots fine here with Debian testing... except:
setserial complains about not being able to load the serial module. And indeed there is none. Just these:
/lib/modules/2.6.0-test4/kernel/drivers/serial/core.ko:
/lib/modules/2.6.0-test4/kernel/drivers/serial/8250_pnp.ko: /lib/modules/2.6.0-test4/kernel/drivers/serial/8250.ko: /lib/modules/2.6.0-test4/kernel/drivers/serial/8250_pci.ko:
Went through the config file and no serial module exists anymore.
Perhaps create an alias called serial for ... 8250_pci ??
Also the proprietary ATI video driver doesn't work. Hopefully they'll fix it soon.
Bruce
ATI driver does work
The Gentoo ebuild has patchs for the latest driver to fix it for 2.6.
LIRC serial module
Hi
Have anyone tried to compile the LIRC serial module under 2.6?
lirc module
I was searching the web for a solution...
I got it to compile fine, but the kernel won't load it. I found another place on google that mentions something about *.ko files versus *.o files. Lirc seems to output the ones for 2.4 only.
I may be wrong, but that's what I've come to understand.
lvm and 2.6-test
All my partitions are on logical volumes 2.6 kernel did not read the partitions, is there a lvm patch or updated utilities for 2.6?
LVM was re-written to use device mapper
AFAIK the logical volume format is completely incompatible.
There may be a forward compatability utility at Sistina for LVM users, but I don't think you can use LVM1 with 2.6.
I actually installed without LVM in 2.4 for a while to avoid this problem.
The 2 biggest things...
When I tried out the 2.6.0-test2 kernel I found the two biggest problems were module-init-utils (had trouble compiling them) and dhcp client.
I had to upgrade to dhclient3 in order for it to work, and I had trouble getting module-init-utils to compile using the kernel headers for 2.6 instead of the 2.4 headers I had in my system include directory.
Other than that it was really nice. It seemed to go faster than my 2.4 kernels between post and running init.
Problem: No Bugs :(
I've been running 2.6.0-testX (up to test3) for a few weeks now and haven't come across any bugs (other than scheduler problems already documented by Colin Kolivas).
It just runs and runs and never crashes and supports all my hardware perfectly. You call this a development kernel!?!?!?
;^)
Er, the kernel?
I've actually been pleasantly surprised with the stability of the development kernel. I'm actually using -test3 being it was the most recent on on Gentoo at that time, and it's worked like a charm so far. I'm running a pretty minimal set of programs and on pretty standard hardware (except the awfully supported ATI display card) and with minimal loads (just an old AMD 650 dual-booting Some Other System, me as the only user.) The only thing I've been wanting is the reiser4 support. Any guesses as to when it'll appear?
AMD Athlon 650
128 SDRAM 100
GCC 3.2.3
X + Fluxbox
Debian (Testing) upgraded to kernel 2.6.0-test4
I've just successfully compiled and installed 2.6.0-test4 on a debian system (testing). A couple of things I've noted:
sysklogd v1.4.1-10: Reports "kernel: process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT" - This seems to be mostly harmless, as syslogd and klogd appear to still be recieving reports from the local and remote systems here.
exim 3.36 / xinetd 2.3.11 / mozilla 1.5b (so far) are causing "
modprobe: FATAL: Module ipv6 not found." reports even though I've added "alias net-pf-10 off" to /etc/modutils/alias" and run update-modules.
The above link re:Nvidia drivers works like a charm (Thanks to the poster of this info).
I've compiled I2C drivers for my system, but haven't been able to get the hardware sensors working (yet). Using an ASUS A7N8X Motherboard. Anyone?
On the whole, I'm pretty pleased with the performance. I've not had much time to play with the system under a load yet, but so far it kicks!
Thanks for reading :-)
modules!
RE:exim 3.36 / xinetd 2.3.11 / mozilla 1.5b (so far) are causing "
modprobe: FATAL: Module ipv6 not found." reports even though I've added "alias net-pf-10 off" to /etc/modutils/alias" and run update-modules.
I saw the note about modprobe, but and have disabled net-pf-10 but am still recieving fatal messages.
Solutions
To get rid of the net-pf-10 warnings, try the following:
echo "install net-pf-10 /bin/true" >> /etc/modprobe.conf
and
I use gkrellm to monitor my i2c hardware, be sure you have created a
directory called /sys and your fstab file contains the following line:
none /sys sysfs defaults 0 0
Reboot and you should find these problems fixed.
afs in 2.6?
It would be great to see some work progress on getting the AFS module ready for 2.6. Other than that, there is nothing really holding me back :-)
Great Work
system.map
What is system.map and what's it good for? I've never installed this file after compiling a kernel, yet it has worked.
Xterm not working ?
Perhaps, for all the people that are having problems starting a terminal in X (xterm, eterm, wterm, aterm,...)
check that you have following line in your /etc/fstab
none /dev/pts devpts gid=5,mode=620 0 0
Regards
Xfree mouse/touchpad problems
I'm having a problem with getting my serial mouse (which is actually a touchpad) to work. Under 2.4 it works fine with device /dev/ttyS0 and protocol MS. However, under 2.6 /dev/ttyS0 has disappeared.
I tried fiddling with /dev/input/* but that didn't result to a working mouse.
What more could I try?
BTW, on my laptop 2.6 the thingy is working fine, using /dev/psaux. I also tried the synaptics driver, which recognized my hardware, but refused to work properly...
Iain
I tried to compile the test4 kernel, but the modules spewed so many undefined functions when running depmod I chickened out of finishing the install
RedHat 9 Issues..
Most seems to have gone well, except for me figuring out grub.conf, but i was lazy, and didnt read :) Well, I can now boot 2.6.0-test4 which im running now. One thing ive noticed is my wheel on my mouse has stopped working now, and i did all the patches for usbmouse and usbkbd as suggested by thomer.com. My other problem is during boot, i see alot of errors about EXT3 filesystem not being loaded, and ideas on this?
Also, he noted that (If your booting to initstate=3, you'll notice the new kernel immediately...) however nothing looked diffrent to me except the kernel version in the login area.
Thanks for any help!
2.6 is fast! Screw RPMS i built from scratch, this is my first kernel upgrade, and after several kernel panic's i finally got it running :)
devfs & 2.6
I tried booting 2.6-test3 on my Debian testing/sarge box. It boots fine for the normal virtual consoles. However X (using Gnome and KDE)
both crash. X is complaining about not finding the /dev/pty's. I'm puzzled as I'm using devfs. When I boot it under 2.4.22, devfs works as advertised.
Is there something "different" to using devfs under 2.6?
A bit
They've obsoleted devfs, in favor of some other thing which I cannot remember the name of... Because of this, devfs is stripped somewhat down, so now you have to mount /dev/pts again... Select "Unix98 pty's" in Character Devices and "/dev/pts filesystem" in Filesystems/Pseudo Filesystems...
oggenc/grip/cdparanoia and 2.6.0-test4-bk3
I don't know if any body cares but I noticed massive lag with the ppp interface when ripping cds (ones i bought myself) using grip. Grip was configured to use oggenc and cdparanoia with no paranoia disabled. I even tried the ck patches but the problem presisted.
Try unmasking IRQs.
If you're using an ATAPI CD drive, try unmasking the IRQs for that interface and see if that helps. "hdparm -u1 /dev/hdc". Replace "hdc" with the hdX device that corresponds to your CD drive.
Step 6 - Alternatives
For Step 6, I didn't do all the moving, removing, etc. All I did was type "make install" and done. Just reboot and see select the apropriate kernel at the GRUB. BTW, I did this on Red Hat 9.0.
May be Step 6 is useful to replace Linux 2.6 with another version of Linux 2.6, e.g. 2.6.0-test3 with 2.6.0-test4.
What about LVM?
Is 2.6 compatible with existing installations of LVM? I heard that the devicemapper is only compatible with LVM2. Last time I looked, that was still under development, and not well documented. Is it stable? Is it necessary?
ALSA on SuSE 8.2
well, to begin with, not all has been successful for me, i manage to get a working 2.6.0-test4-mm4 kernel running, but with a few down falls. ie consider the following:
using alsa-0.9.6 under yast2
xdm fails in runlevel 5
i was able to nitch down alot of services failing, and so far, to me, i've done a wonderful job, got down to only 1 failing, but my goal is to stablize it, also i have some problems with;FATAL module' failures (tmdc, cdrom,joydev) etc, if anyone knows about this, please like me know, i have enable all the right opts in my kernel, and still get them, maybe the system.map is picking up the wrong module, but anyhow, i have
SB audigy 2
Intel 82801DB
sound cards, i've built them directly into my kernel, but everytime i go to configurate them, yast tells me 'kernel module *opt* couldnt be loaded' etc, anyone know a work around for this?
Little problem
I've got a little problem. If you got ATI 3D RAGE PRO and X11 gatos driver installed you can't use mplayer with -vo xv or -vo xvidix - it doesn't see property card. :(