Vanilla 2.6.0-test9 on MDK 9.2= WOW!
I'd been waiting for this!
Just compiled a vanilla 2.6.0-test9 on my new updated 9.2 install, and all I can say is, WOW! I've been on Gentoo for the last 3 months, fooling around with all the 2.6.0-test versions, so I pretty much have my kernel .config files down perfectly for any of my three Linux boxes.I've only been having problems with the last test9-mm1 and mm2, with ps/2 mouse, and Radeon DRM broken (seems a common flaw with these mm patches). Anyway, I edit my kernel Makefiles with these flags: HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -march=athlon-xp -falign-functions=16 -falign-loops=16 -falign-jumps=16 -falign-labels=1 -fomit-frame-pointer I did do a few 2.6 kernels on Mandrake 9.1, with good results, but this is even better. I always compile as user in my /home directory (Gentoo or Mandrake), then su to root for the make modules_install stage, and copy bzImage (renamed) over to /boot, then edit lilo appropriately. I dispense with System.map & initrd files- in my case they aren't needed. Makes trying new kernels a breeze. wrc1944 |
Glad to hear it works for you!
I tried the 2. 6 test 5 kernel on mdk 9.2 and man it flies!! I cant seem to get test 9 because there is no mdk compilation for it yet and i have never recompiled a kernel :( |
i like the easy way to compile new kernels offer, just one command.
test5 locked lots on my system, including my mouse!!! im trying again with test9... |
you want to tell us what that command is? lol
|
I know Gentoo has a single command (genkernel), but was unaware that something similar existed for Mandrake. What is the Mandrake command for this "easy way", or were you referring to Gentoo?
|
I think hulkt means that typing 'make' does 'make dep', 'make bzimage' and 'make modules'. After that you still have to install the modules and copy your bzimage.
HC |
its new kernel's command, nothing to do with mdk.
yes, make makes everything then you just have to enter the diff. install command... life is getting easier ;-) |
so, what can I do to try mdk with 2.6 test 9?
|
OK- Here's a short description of how I do it (this is for Mandrake, Gentoo is slightly different):
This assumes you have all the required devel tools installed, and a working 9.2 install. 1. You need to know your hardware, so you can get your kernel .config file correct. This is the main reason for failure! "make xconfig" might take a few tries. Best to make it as lean as possible, and compile every needed thing into the kernel your hardware requires, not as modules (for the first time). Remember, this is cutting edge stuff. 2. Create a /home/user/kernels directory. 3. Download 2.6.0-test9 to that directory, and unpack. 4. Open a konsole (as user), and cd (as user) to the new linux-2.6.0-test9 directory. 5. make mrproper 6. make xconfig, and try to get it lean, and right- at this point, you want 2.6 to at least boot, and then recompile things you might have missed, later, and refine your config after you have gotten a 2.6 to boot, and RUN! 7. Skip make dep, but do make clean. 8. make bzImage- (if it fails, your config is wrong, or you don't have the required packages installed). 9. make modules (will be quick, if you didn't select "m" too much) 10. SU to root, then: make modules_install 11. Then: cp arch/i386/boot/bzImage /boot/linux-2.6.0-test9 12. Edit lilo/grub as required, to create the stanza for the 2.6 kernel. At this point, what I do is omit the initrd, and System.map. (This might cause problems if you hac scsi devices, but usually is not needed- the point is to get 2.6 to boot, and run)) Just copy the original Mandrake kernel stanza to the bottom of your /etc/lilo.conf file, and edit- remove the initrd line, and edit for linux-2.6.0-test9. Here's an example stanza, edited from the original copied Mandrake 9.2 install (But, this is based on my hardware setup, as reflected in my fstab- yours might be slightly different, but if you wish to compile kernels, this will be understandable): image=/boot/linux-2.6.0-test9 label="2.6.0-test9" root=/dev/hda10 vga=788 read-only 13. Save your edited lilo (as root), and then at root command line run "lilo" to update lilo bootloader (no quotes). 14. Reboot, and the new kernel option will appear. If it fails, you have made a mistake in xconfig, or have a conflict that is as yet unknown. Good luck! If you have problems, I'll try and help if posssible. wrc1944 |
All times are GMT -5. The time now is 04:59 AM. |