Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Howto update to kernel 2.6.0-test4

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298

    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

  2. #2
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    22
    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.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298
    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]

  4. #4
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    22
    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.

  5. #5
    Junior Member registered user
    Join Date
    Apr 2003
    Location
    france
    Posts
    20

    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 ?

  6. #6
    Junior Member
    Join Date
    Oct 2003
    Location
    Worms - Germany
    Posts
    3
    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

  7. #7
    Senior Member registered user
    Join Date
    Jun 2003
    Location
    Piraeus / Hellas
    Posts
    121
    Dear apos,

    please keep me informed about the installation and your impression of the 2.6 kernel....

    Best Regards
    Mike Kranidis

  8. #8
    Junior Member
    Join Date
    Oct 2003
    Location
    Worms - Germany
    Posts
    3
    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

  9. #9
    Junior Member registered user
    Join Date
    Apr 2003
    Location
    Warsaw, IN
    Posts
    23
    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

  10. #10
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    10

    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.

Page 1 of 2 12 LastLast

Similar Threads

  1. How to update kernel 2.4.xx to 2.6.xx
    By powerbychanin in forum Customising & Remastering
    Replies: 0
    Last Post: 08-11-2004, 05:23 AM
  2. Kernel update
    By Bazou in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-14-2004, 09:12 AM
  3. Knoppix Release 9-5-03 and Debian Stock Kernel 2.6.0 test4
    By fish_guy in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 10-22-2003, 03:11 AM
  4. apt-get to update kernel?
    By WankelWannabe in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 02-10-2003, 03:50 PM
  5. kernel update with apt-get?
    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
  •  


Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$249.99



Cisco Catalyst WS-C3750X-48PF-L picture

Cisco Catalyst WS-C3750X-48PF-L

$59.99



Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver picture

Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver

$24.99



Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5) picture

Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5)

$24.99



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



Cisco QSFP-40G-SR-BD BiDi Short-reach Transceiver, 1 Year Warranty picture

Cisco QSFP-40G-SR-BD BiDi Short-reach Transceiver, 1 Year Warranty

$17.25



Cisco SFP-10G-LR-S SFP+ 1310nm 10km DOM Transceiver Module 10-3107-01 - 1 Year  picture

Cisco SFP-10G-LR-S SFP+ 1310nm 10km DOM Transceiver Module 10-3107-01 - 1 Year

$41.59



Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF picture

Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF

$29.99



LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture

LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module

$89.00