-
Senior Member
registered user
Howto update to kernel 2.6.0-test4
The debian kernel-image-2.6.0-test2 didn't even boot on my machine. I have compile kernels before, with now and then a succes story. I encountered the following problems with 'deploying' kernel 2.6.0-test4:
- blank console (solved)
- aRtsd (KDE soundserver) will only use OSS-emulation API of ALSA (solved)
- network card won't work (solved)
- mousewheel (Logitech mouse) won't work in X (solved)
I downloaded the Linus-kernel, applied no patches. Used "make menuconfig" to configure the kernel. At first I was a bit overwhelmed by all the (already expanded) options. I did a "make defconfig" to get a quite minimal configuration to start editing on.
Some tips:
- use make defconfig to get an tiny default configuration without all/most options expanded.
- compile all framebuffer support (for graphics on consoles) you need into the kernel else you might end up with a blank screen like I did.
- apt-get install module-init-tools, to get a 2.4/2.5/2.6 compatible init. Testing and unstable have a newer version.
- compile ALSA as module, this might improve compatibility with older apps.
- apt-get remove knx-alsa ; apt-get install alsa-utils/testing alsa-base/testing alsaconf/testing, to get a 2.6 compatible ALSA-lib/utils.
Usefull docs:
"The post halloween doc" (list of known problems+solutions with late 2.5 kernels)
HowTo Upgrade To The 2.6 Kernel (decolapsing all comments can be helpfull)
Building:
Code:
make mrproper
make menuconfig or make xconfig
make
make modules_install
make install
Modify your lilo.conf
How I fixed the problems I encountered:
- Though I did compile the framebuffer as module, it didn't solve the blank console by compiling it into the kernel. Also enableing the nVidia Riva/GeForce support didn't help me either (i have a Geforce4 MX440). So after some fiddeling I disabled "VGA 16-color graphics support" and enabled "VESA VGA graphics support" in the "Graphics support" menu. If I enable 16-color VGA my console remains blank.
- Upgrade ALSA to fix the wierdness with aRtsd
I first tried to solve it by compiling ALSA als module, I read somewhere that ALSA is new in the kernel and that some apps still require ALSA modules like in the ol' 2.4.x days.
Code:
apt-get remove knx-alsa
apt-get install alsa-utils/testing alsa-base/testing alsaconf/testing
alsa-utils from unstable requires a new libc6 (>= 2.3.2-1), didn't want to upgrade...
One of the ALSa packages will ask what drivers to load, select the card(s) you have configured for your kernel.
- boot with "acpi=off" to get my sis900 networkcard working, or compile the kernel without any powermanagement. This seems like a gross bug to me.
- Apparently the autodetect of the "mouse-protocol" in X is broken for kernel 2.6, set the used mouse protocol from "PS/2" to "IMPS/2". Snippet:
Code:
Section "ServerLayout"
...
InputDevice "PS/2 Mouse" "CorePointer"
EndSection
...
Section "InputDevice"
Identifier "PS/2 Mouse" # Match this with InputDevice above
Driver "mouse"
Option "Protocol" "IMPS/2" # Change this
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
-
Junior Member
registered user
Code:
make bzImage && make modules && make modules_install
mv arch/i386/boot/bzImage /boot/bzImage-2.6.0-test4
mv System.map /boot/System.map-2.6.0-test4
cd /boot
ls -al System.map
rm System.map
ln -s System.map-2.6.0-test4 System.map
The above is the old way of making 2.4 the new way is to do the following:
make mrproper
make menuconfig or make xconfig
make
make modules_install
make install <------ this installs you kernel into /boot
Modify you lilo.conf
Go to http://www.minion.de/nvidia.html to get the patch for the nvidia driver from nvidia.
Follow the direction and you are off and running.
-
Senior Member
registered user
I'll update my post, thank you. People on kerneltrap.org already pointed out that this is the old way, but they weren't specific on what the new 'way' was.
The old one still works anyways
btw, can you be more specific on the lilo.conf? Do you know what is the diff between the different initrds?
And I might give nVidia a try again, last time I installed Knoppix the description from the forum didn't work (probably some change in the automated installer).
[Edit]nVidia driver works now to get Tuxracer to play nice with aRtsd[/Edit]
[Edit2]Quick googling revealed the command "artsdsp tuxracer"[/Edit2]
-
Junior Member
registered user
Because the symbolic link are already created for the copied vmlinuz files you only have to add or change following in your lilo.conf
# for your old image mlinuz-2.4.21-xfs
image=/boot/vmlinuz.old
label=Linux
initrd=/boot/initrd.gz
read-only
#new 2.6 kernel
image=/boot/vmlinuz
label=Linux-2.6-test4
read-only
I don't use initrd in my 2.6 kernel.
-
Junior Member
registered user
2.6.0-test4 the deb way
Just do it the debian way :
tar xvfj kernel-source*.tar.bz2
ln -fs kernel-source* linux
cd /usr/src/linux || exit
make menuconfig
REV=${HOSTNAME}.$(date +%Y%m%d%H%M)
make-kpkg kernel_image --revision=${REV}
dkpg -i ../*.deb
2.6.0-test4 worked for me on amilo laptop @ http://rzr.online.fr/linux
then how to select modules , to be loaded on next reboot ?
-
Also the debian way (CHANGED)
I am just installing the kernel-source-2.6.0-test9 on a Knoppix 3.3 HD-Install on ThinkPad R31 2656-G
First got the kernel-sources and thinkpad-sources:
Code:
apt-get install kernel-source-2.6.0-test9
apt-get install thinkpad-source
cd /usr/src
tar xzvf thinkpad.tar.gz
Now i am doing xconfig:
Code:
cd /usr/src/kernel-source-2.6.0
make xconfig
Now i am ready, to compile the kernel:
Code:
cd /usr/src
# Important for make-kpkg:
rm -rf linux
ln -s kernel-source-2.6.0 linux
# Remove the debs
rm -rf *.deb
# Build the kernel
cd linux
make-kpkg kernel-image
# Build the modules
make-kpkg modules-image
cd ..
# Install new kernel and modules
# Removes any files!!!
KERNEL=2.6.0
rm -rf /lib/modules/$KERNEL*
dpkg -i kernel-image-$KERNEL*.deb
dpkg -i thinkpad-modules-$KERNEL*.deb
# Absolute necessary!
reboot
The script finds its way and creates the appropriate debs (kernel***Custom.all.deb) in the directory /usr/src/. for install (-> dpkg -i kernel*Custom.all.deb), installs the kernel and modules and reboots the machine - works perfectly.
Nevertheless you an use the old way and This script works for me right now:
Code:
cd /usr/src
rm -rf linux
ln -s kernel-source-2.6.0-your-version linux
cd kernel-source-2.6.0-yourversion
make xconfig
#load your saved ".config" and change it
make
make modules
make modules_install
make install
reboot
Bye Axel
-
Senior Member
registered user
Dear apos,
please keep me informed about the installation and your impression of the 2.6 kernel....
Best Regards
Mike Kranidis
-
Hello again,
so with the above (changed!!) method I gained success and everything went o.k. Be sure not to compile fb-vga16 into the kernel, if you like to boot with vga=971.
Have fun.
Axel
-
Junior Member
registered user
I would suggest to those users of Knoppix out there,
NOT to install the 2.6.0 kernel just yet.
the kernel as it stands now, is VERY buggy, and even when its released rumor has it it will still be unstable for awhile.
so I would suggest to everyone out there, NOT To install the 2.6
kernel yet, unless you absolutely need it.
thanks
-
Junior Member
registered user
New kernel 2.6 test
bubazoo
I would agree except for people that are interested in activly interestred in reporting bugs. I know there is a fair amount of interest in getting some of the kernel bugs reported, but I have heard untill recenlty not enough people were putting it through its paces.
If you are willing to test and report bugs to the right people (NOT HERE) then please do get the 2.6 kernel.
Similar Threads
-
By powerbychanin in forum Customising & Remastering
Replies: 0
Last Post: 08-11-2004, 05:23 AM
-
By Bazou in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-14-2004, 09:12 AM
-
By fish_guy in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 10-22-2003, 03:11 AM
-
By WankelWannabe in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 02-10-2003, 03:50 PM
-
By my2cents in forum General Support
Replies: 2
Last Post: 01-28-2003, 11:32 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Extron RGB-160XI Analog Computer Video 60-378-01
$187.06
Analog Computing The Magazine Atari Computer Owners February 1984 No. 16
$12.00
NEW Aquarius+ Computer Signature Edition - 8Bit Retro System
$209.00
NEW Aquarius+ Mini 8Bit Retro Computer System - Assembled PCB ONLY
$89.00
Macintosh SE, SE/30 air box
$18.00
Vintage Goodyear Electronic GEDA Analog Computer Plug -- Extremely Rare
$195.00
Apple II V2 ANALOG VGA & Z80 PCPI Applicard Softcard PicoPal IIe Ralle version
$69.00
TRS80 Color Computer 1/2/3 Dragon 32/64 Atari Joystick Adapter
$25.49
Apple 661-0287 5.25" Unidisk Analog CD Card Vintage 1986 820-0190-A
$154.00
2004 Honda Civic Engine Computer ECM ECU 37820-PLR-A72 OEM (AA 108)
$88.99