astrobabe Posted June 10, 2004 Report Share Posted June 10, 2004 Okay I just finally managed to get the kernel-2.6.3.13mdk-1-1mdk.src.rpm file. As per the FAQ, I moved it to /usr/src and tried to rpm -ivh the sucker. When I tried that I got: [root@maeve src]# rpm -ivh kernel-2.6.3.13mdk-1-1mdk.src.rpm warning: kernel-2.6.3.13mdk-1-1mdk.src.rpm: V3 DSA signature: NOKEY, key ID 26752624 1:kernel-2.6.3.13mdk warning: user qateam does not exist - using root warning: group qateam does not exist - using root warning: user qateam does not exist - using root warning: group qateam does not exist - using root warning: user qateam does not exist - using root warning: group qateam does not exist - using root warning: user qateam does not exist - using root warning: group qateam does not exist - using root warning: user qateam does not exist - using root%) warning: group qateam does not exist - using root ########################################### [100%] warning: user qateam does not exist - using root warning: group qateam does not exist - using root warning: user qateam does not exist - using root warning: group qateam does not exist - using root then when I cd to llinux and try a make mrproper I get [root@maeve linux]# make mrproper make: *** No rule to make target `mrproper'. Stop. Am I doing anything wrong? Do I need to give up and throw the laptop into the ocean? Is it normall? Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted June 10, 2004 Report Share Posted June 10, 2004 skip that part You don't need to do the make mrproper step with the 2.6.x kernel For the 2.6.x kernels, once you're in the linux folder the steps you need are: make menuconfig (or config, or xconfig) make && make modules_install cp arch/boot/bzImage /boot/vmlinuz-VERSION cp System.map /boot/System.map-VERSION cp .config /boot/config-VERSION mkinitrd /boot/initrd-VERSION VERSION edit and re-run lilo Quote Link to comment Share on other sites More sharing options...
astrobabe Posted June 10, 2004 Author Report Share Posted June 10, 2004 hmmm tried skipping right ahead to make menuconfig and got: [root@maeve linux]# make menuconfig make: *** No rule to make target `menuconfig'. Stop. Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted June 10, 2004 Report Share Posted June 10, 2004 try this: From within that directory cp /boot/config-LATESTKERNELVERSION .config for LATESTKERNELVERSION, look for something like 2.6.3-4 (10.0CE default) or 2.6.3-9 (recommended update shortly after CE was released) Then try running it again and see what you get. Quote Link to comment Share on other sites More sharing options...
astrobabe Posted June 10, 2004 Author Report Share Posted June 10, 2004 (edited) hmmm okay in /boot I had config-2.4.21-0.13mdk (from 9.1) and config-2.6.3-7mdk (from 10.0). Copied config-2.6.3-7mdk to /usr/src/linux/.config and tried make menu config again and got the same error. . . . [edit] Just tried make xconfig and make config and got the same make: *** No rule to make target `config'. Stop. error. Edited June 10, 2004 by astrobabe Quote Link to comment Share on other sites More sharing options...
bvc Posted June 10, 2004 Report Share Posted June 10, 2004 (edited) are you root? you're nissing the necessary devel pkgs for compiling Edited June 10, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted June 10, 2004 Report Share Posted June 10, 2004 hmm... Ok. Try this. cd to /usr/src and issue the command ls -la Post the results please. I want to verify something. Quote Link to comment Share on other sites More sharing options...
astrobabe Posted June 10, 2004 Author Report Share Posted June 10, 2004 (edited) [root@maeve src]# ls -la total 37684 drwxr-xr-x 4 root root 4096 Jun 9 17:31 ./ drwxr-xr-x 13 root root 4096 Jun 7 10:46 ../ -rw-r--r-- 1 root root 38526562 Jun 9 17:31 kernel-2.6.3.13mdk-1-1mdk.src.rpm drwxr-xr-x 2 root root 4096 Jun 9 18:05 linux/ drwxr-xr-x 5 root root 4096 Jun 9 17:31 RPM/ [root@maeve src]# Edited June 10, 2004 by astrobabe Quote Link to comment Share on other sites More sharing options...
scoopy Posted June 10, 2004 Report Share Posted June 10, 2004 Post the results please. I want to verify something. wrong source file perhaps ? Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted June 10, 2004 Report Share Posted June 10, 2004 I thought so. What is inside the linux/ folder? You should see folders for each of the kernel-sources and a symlink from the latest one to the linux/ folder. You don't have that. What I would do is delete the linux/ folder you have, download the kernel-source-2.6.3.13 file (the rpm, not the srpm), rpm -ivh it, then try again. Also, check what bvc said. You might not have the right devel packages; although I'm not sure what packages you need. Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted June 10, 2004 Report Share Posted June 10, 2004 Post the results please. I want to verify something. wrong source file perhaps ? no, I was afraid that the symlink wasn't pointing to the right place. Looks like there's no symlink at all. Quote Link to comment Share on other sites More sharing options...
astrobabe Posted June 10, 2004 Author Report Share Posted June 10, 2004 there's nada in the linux folder. . . so nuked that. . .here's what I get now. . . [root@maeve src]# rpm -ivh kernel-source-2.6.3-13mdk.i586.rpm error: Failed dependencies: glibc-devel is needed by kernel-source-2.6.3-13mdk ncurses-devel is needed by kernel-source-2.6.3-13mdk gcc is needed by kernel-source-2.6.3-13mdk Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted June 10, 2004 Report Share Posted June 10, 2004 ok, that's a start at least. Try this: urpmi glibc-devel ncurses-devel gcc Then try the rpm -ivh again and it should work. Anytime you get a failed dependency, try to get it with urpmi. Chances are the file you need is on your disks, so it's always a great place to start. Quote Link to comment Share on other sites More sharing options...
astrobabe Posted June 10, 2004 Author Report Share Posted June 10, 2004 ehh i just installed those and started the rpm -ivh kernel-source again. (though I am annoyed as I've tried multiple times with Mandrake's package tool to get gcc on my computer) It was preparing just a second ago and now is displaying something about 1-kernel-souce. ohhh now it's done and has spit me a command line again. . . Quote Link to comment Share on other sites More sharing options...
scoopy Posted June 10, 2004 Report Share Posted June 10, 2004 Or, if all we want to do is upgrade our kernel... why not just download the latest .mdk kernel and rpm -ivh kernel-2.6.3-13mdk.i586.rpm and reboot into the new kernel then ? Don't really need the sources (or those dev packages), unless you plan on compiling more stuff or a nvidia kernel. 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.