jlc Posted April 13, 2004 Report Share Posted April 13, 2004 1. su - 2. cd /usr/src 3. rm linux 4. wget http://www.kernel.org/pub/linux/kernel/v2....x-2.6.5.tar.bz2 5. tar xvjpf linux-2.6.5.tar.bz2 6. ln -s linux-2.6.5 /usr/src/linux 7. cp /boot/config-2.6.3 /usr/src/linux/.config #a,b,f 8. make oldconfig #b 9. make menuconfig #c 10. time make 11. time make modules_install 12. cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.5 #d 13. cp System.map /boot/System.map-2.6.5 #d 14. cp .config /boot/config-2.6.5 #d 15. edit lilo/grub #e 16. reboot #Notes# a. I keep a .config of my kernel configs in /boot and rename them to reflect the kernel b. If you don't have a 2.6.x kernel, skip this step. c. Make changes if you need to or if this is first 2.6 kernel d. Some have a config/System.map/vmlinuz link EXAMPLE below: e. If you are using lilo and you edit /etc/lilo.conf don't forget to run /sbin/lilo to install new kernel. f. If your using a distro like mdk/rh/suse chances are the config is all hacked up with patches and it wont work on a vanilla kernel so you can either try it or just start fresh with a vanilla kernel. # ls -la /boot total 7204 drwxr-xr-x 2 root root 4096 Apr 13 08:20 ./ drwxr-xr-x 16 root root 151 Apr 13 08:09 ../ lrwxrwxrwx 1 root root 21 Apr 13 08:02 System.map -> System.map-xfs.s-2.4.25 -rw-r--r-- 1 root root 609166 Sep 2 2003 System.map-ide-2.4.22 -rw-r--r-- 1 root root 620412 Feb 28 17:48 System.map-ide-2.4.25 -rw------- 1 root root 644781 Apr 13 07:44 System.map-xfs.s-2.4.25 -rw-r--r-- 1 root root 512 Apr 13 02:13 boot.0300 -rw-r--r-- 1 root root 179 Apr 13 02:13 boot_message.txt -rw-r--r-- 1 root root 1415946 Apr 13 07:43 bzImage-xfs lrwxrwxrwx 1 root root 17 Apr 13 08:02 config -> config-xfs.s-2.4.25 -rw-r--r-- 1 root root 38645 Sep 2 2003 config-ide-2.4.22 -rw-r--r-- 1 root root 40856 Feb 28 17:48 config-ide-2.4.25 -rw-r--r-- 1 root root 40700 Apr 13 07:43 config-xfs.s-2.4.25 -rw------- 1 root root 41984 Apr 13 08:20 map lrwxrwxrwx 1 root root 18 Apr 13 08:02 vmlinuz -> vmlinuz-xfs.s-2.4.25 -rw-r--r-- 1 root root 1226706 Sep 2 2003 vmlinuz-ide-2.4.22 -rw-r--r-- 1 root root 1251881 Feb 28 17:48 vmlinuz-ide-2.4.25 -rw-r--r-- 1 root root 1415946 Apr 13 07:43 vmlinuz-xfs.s-2.4.25 If that is the case, 17. rm System.map 18. rm vmlinuz 19. rm config 20. ln -s System.map-2.6.5 System.map 21. ln -s vmlinuz-2.6.5 vmlinuz 22. ln -s config-2.6.5 config Ok, so it's more than 12 steps! Oh, yeah ***WARNING*** If you blow up your system, blame your self I didn't force you to do anything you didn't want to do! /me hopes i didn't miss anything Quote Link to comment Share on other sites More sharing options...
sir_max Posted April 25, 2004 Report Share Posted April 25, 2004 (edited) i have tried your method and i have no sound nor mouse support... any pointer at this??? mouse serial on com1 sound sb awe 64 gold (this works perfectly on kernel 2.4.22-10mdk with alsa 1.0.4) i have also enabled alsa and sb support integrated on kernel how to fix the mouse, i don't have a clue, right now i'm searching with my friend www.google.com/linux :D thanks... Edited April 25, 2004 by sir_max Quote Link to comment Share on other sites More sharing options...
bvc Posted April 25, 2004 Report Share Posted April 25, 2004 If you're on an older mandrake with the 2.4 kernel you need other pks for the 2.6 kernel like, module-init-tool and others.....see kernel-2,6 related threads. Quote Link to comment Share on other sites More sharing options...
sir_max Posted April 25, 2004 Report Share Posted April 25, 2004 If you're on an older mandrake with the 2.4 kernel you need other pks for the 2.6 kernel like, module-init-tool and others.....see kernel-2,6 related threads. i had kernel 2.4.22-10mdk i have installed 2.6.0test9.5mdk and worked fine, but no nvidia driver (only compiling errors), no sound no mouse... uninstalled 2.6.0test9.5mdk compiled 2.6.5 from source on www.kernel.org compiled nvidia driver, OK but no sound no mouse... with sound i will check alsamixer.. i haven't checked that yet :unsure: for mouse i have changed XF86config-4 Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/input/mice" any hint would be helpful... Quote Link to comment Share on other sites More sharing options...
bvc Posted April 25, 2004 Report Share Posted April 25, 2004 do you have all required pkgs needed for a 2.6 kernel to run? There's no point in spinning your wheels til this is known. The best and easiest way to get them is to install a kernel-2.6 mdk.rpm. You don't have to use it.....other than to get the required pkgs needed for your own to run. You can then uninstall it. Modules changed a bit, in at least how they load. You need mousedev (maybe not in your case with a serial mouse) in /etc/modprobe.preload and get auto out of the XF86Config-4 and put an actual protocol. I don't know what to put for a serial mouse. :unsure: Quote Link to comment Share on other sites More sharing options...
sir_max Posted April 25, 2004 Report Share Posted April 25, 2004 do you have all required pkgs needed for a 2.6 kernel to run? There's no point in spinning your wheels til this is known. The best and easiest way to get them is to install a kernel-2.6 mdk.rpm. You don't have to use it.....other than to get the required pkgs needed for your own to run. You can then uninstall it. Modules changed a bit, in at least how they load. You need mousedev (maybe not in your case with a serial mouse) in /etc/modprobe.preload and get auto out of the XF86Config-4 and put an actual protocol. I don't know what to put for a serial mouse. :unsure: all pkgs needed are installed because i have installed kernel-2.6.0-test9.5mdk.rpm via urpmi then reboot to see if there was no kernel panic :D then uninstalled it... then compiled 2.6.5 but, as i said before i have no idea how to see if the system is recognizing my serial mouse.... although i've been searching through google.com i have found nothing yet... thanks for your help Quote Link to comment Share on other sites More sharing options...
bvc Posted April 25, 2004 Report Share Posted April 25, 2004 (edited) yes, but the pkgs functions used for the test and for the newer kernels are completely diff. Devfsd/udev/sysfsutils/initscripts etc....have all been updated/changed. Why? Mostly because udev/sysfs just wasn't cutting it so devfsd was hacked in order to make things work. I'd update them. Sorry, I don't have a clue about serial mice. Edited April 25, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
sir_max Posted April 29, 2004 Report Share Posted April 29, 2004 i have solved the serial mouse problem... without knowing why, i have to load the module 8250 for it to work, despite i compiled serial support into the kernel Greetings... Quote Link to comment Share on other sites More sharing options...
WilliamS Posted May 17, 2004 Report Share Posted May 17, 2004 Suggestions from a noobish point of view: Add line after line 7; should be: cd /usr/src/linux and an expanded explanation of how to change /etc/lilo.conf so that when running lilo -v, it doesn't skip, as it did for me. Still haven't figured how to make it boot. Quote Link to comment Share on other sites More sharing options...
Guest kjbuente Posted June 7, 2004 Report Share Posted June 7, 2004 (edited) lol, I screwed up with 2.6.6 Oh well, I did it not someone else B) Anyhow, Now I can not even boot my failsafe with out an Kernel Panic yay, I get to reinstall linux. AGAIN! ( for the 20th time) Edited June 7, 2004 by kjbuente Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.