hulio Posted August 26, 2008 Report Share Posted August 26, 2008 Following up with my continued problem I ran the below [root@localhost hal]# urpmi kernel-source-2.6.24.4-desktop586-1mnb No package named kernel-source-2.6.24.4-desktop586-1mnb yet [root@localhost hal]# urpmi wireless-tools Package wireless-tools-29-2mnb1.i586 is already installed Packages wireless-tools-29-2mnb1.i586, wireless-tools-29-2mnb1.i586 can not be install would a grep command be usefull? I have been working at solving the problem with little sucess, other than learning more unix commands. :wall: ? Thank you for your time huilo Quote Link to comment Share on other sites More sharing options...
daniewicz Posted August 26, 2008 Report Share Posted August 26, 2008 Your link is not working. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 26, 2008 Report Share Posted August 26, 2008 Just do: urpmi kernel-source and then choose the one you need from the list presented. EDIT: fixed your emoticon link as it was this rather than link to anything else that daniewicz mentioned. Quote Link to comment Share on other sites More sharing options...
hulio Posted August 26, 2008 Author Report Share Posted August 26, 2008 Just do: urpmi kernel-source and then choose the one you need from the list presented. Hello, thanks. This is the result ,I need to reload kernal? [hal@localhost ~]$ urpmi kernel-source bash: urpmi: command not found Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 26, 2008 Report Share Posted August 26, 2008 You will need to change to root first using su: su (enter root password when prompted) urpmi kernel-source Quote Link to comment Share on other sites More sharing options...
hulio Posted August 28, 2008 Author Report Share Posted August 28, 2008 Argh, I am regressing. su, forgot. In the following dir there are two listings for kernal/linux. Is ths a problem? [root@localhost src]# ls -l total 108 drwxr-xr-x 21 root root 4096 2008-08-27 18:53 kernel-linus-2.6.25.14-1mdv/ -rw-r--r-- 1 root root 88476 2008-08-27 19:02 kernel-linus-2.6.25.14-1mdv.config drwxr-xr-x 4 root root 4096 2008-08-23 18:12 kqemu-1.3.0pre11-15/ drwxr-xr-x 21 root root 4096 2008-08-27 18:03 linux-2.6.24.4-desktop586-1mnb/ drwxr-xr-x 21 root root 4096 2008-08-27 17:51 linux-2.6.24.7-desktop586-1mnb/ following http://linuxfornewbies.org/forum/index.php/topic,3.0.htm the dir for my machine is [root@localhost linux-2.6.24.7-desktop586-1mnb]# cd usr [root@localhost usr]# ls Kconfig Makefile [root@localhost usr]# pwd /usr/src/linux-2.6.24.7-desktop586-1mnb/usr cp /boot/config-[yourkernelversion] /usr/src/linux/.config && cd /usr/src/linux && make mr cp /boot/config-linux-2.6.24.7-desktop586-lmnb /usr/src/linux/.config && cd /usr/src/linux && make mr cp: cannot stat `/boot/config-linux-2.6.24.7-desktop586-lmnb': No such file or directory I did edit Makefile, now cannot get into Makefile E325: ATTENTION Found a swap file by the name ".Makefile.swp" owned by: root dated: Wed Aug 27 21:33:14 2008 file name: /usr/src/linux-2.6.24.7-desktop586-1mnb/usr/Makefile modified: no user name: root host name: localhost process ID: 6892 (still running) While opening file "Makefile" dated: Wed Aug 27 21:35:27 2008 NEWER than swap file! (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution. (2) An edit session for this file crashed. If this is the case, use ":recover" or "vim -r Makefile" to recover the changes (see ":help recovery"). If you did this already, delete the swap file ".Makefile.swp" to avoid this message. "Makefile" 55L, 1884C Press ENTER or type command to continue I did ZZ out of vi? Thank you for you time. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 28, 2008 Report Share Posted August 28, 2008 I have no idea what you're trying to achieve in your last post. You should have just installed the kernel source and done nothing else. Why are you copying the config files into /usr/src for? Just urpmi the kernel-source and then you have no problem. Either that, or explain what you're trying to do if you're trying to compile something? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 28, 2008 Report Share Posted August 28, 2008 He was probably trying to recompile the kernel- or he got confused about something he read and included a kernel recompile. Other than that, compiling your kernel as root is a big mistake which will surely lead to trouble. Quote Link to comment Share on other sites More sharing options...
hulio Posted August 30, 2008 Author Report Share Posted August 30, 2008 Hello Ian, that post was not very consise. I was trying to match the dir structure of the example I have been following, http://linuxfornewbies.org/forum/index.php/topic,3.0.html, to my dir structure. I have run urpmi kernal source rsync://carroll.cac.psu.edu/mandrakelinux/official/2008.1/i586/media/contrib /release/kernel-rt-source-2.6.24.3-1.rt3.2mdv-1-1mdv2008.1.i586.rpm installing kernel-rt-source-2.6.24.3-1.rt3.2mdv-1-1mdv2008.1.i586.rpm from /var/ cache/urpmi/rpms Preparing... ############################################# 1/1: kernel-rt-source-2.6.24.3-1.rt3.2mdv ############################################# [root@localhost hal]# [root@localhost hal]# uname -r 2.6.24.4-desktop586-1mnb [root@localhost hal]# Now do I need to modify the Makefile? I might have too many kernal versions? [root@localhost src]# pwd /usr/src [root@localhost src]# ls -l total 112 drwxr-xr-x 21 root root 4096 2008-08-27 18:53 kernel-linus-2.6.25.14-1mdv/ -rw-r--r-- 1 root root 88476 2008-08-27 19:02 kernel-linus-2.6.25.14-1mdv.config drwxr-xr-x 20 root root 4096 2008-08-30 10:21 kernel-rt-2.6.24.3-1.rt3.2mdv/ drwxr-xr-x 4 root root 4096 2008-08-23 18:12 kqemu-1.3.0pre11-15/ drwxr-xr-x 21 root root 4096 2008-08-27 18:03 linux-2.6.24.4-desktop586-1mnb/ drwxr-xr-x 21 root root 4096 2008-08-27 17:51 linux-2.6.24.7-desktop586-1mnb/ Thank you very much for your continued attention, Mandriva is great and I really like having more control over my computer vs Microsoft. I used unix at work some time ago and am learning still. huilo Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 30, 2008 Report Share Posted August 30, 2008 The "rt" (RealTime) kernels are specially tuned for DAW (Digital Audio Workstation) usage. Their performance for regular everyday usage is plain BAD - avoid them, and install a regular kernel (not an Enterprise one), or, after getting familiar with Linux, try rolling a kernel which suits your real needs in the most convenient way. Quote Link to comment Share on other sites More sharing options...
hulio Posted September 1, 2008 Author Report Share Posted September 1, 2008 / Hello, so do I have too many ? Thanks for the input Huilo Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted September 1, 2008 Report Share Posted September 1, 2008 Please provide output of this command so we can see what kernels you have installed, and then we can remove the unnecessary ones later and get you the correct kernel-source: rpm -qa | grep -i kernel then we'll remove the rt kernels, and put a standard Mandy kernel in place and work with that one. You will have to boot another kernel to remove the rt kernel, since we'll have problems otherwise, but I'll tell you how when you list what kernels you have installed. Quote Link to comment Share on other sites More sharing options...
hulio Posted September 2, 2008 Author Report Share Posted September 2, 2008 Nice I will let you know tonite Huilo Quote Link to comment Share on other sites More sharing options...
hulio Posted September 2, 2008 Author Report Share Posted September 2, 2008 This cannot be good, [root@localhost hal]# rpm -qa | grep -i kernel madwifi-kernel-2.6.24.4-desktop586-1mnb-0.9.3.3-5.r3114mdv2008.1 kernel-desktop586-devel-latest-2.6.24.7-1mnb1 kernel-desktop586-latest-2.6.24.7-1mnb1 vboxadd-kernel-2.6.24.7-desktop586-1mnb-1.5.6-1mdv2008.1 vboxvfs-kernel-desktop586-latest-1.5.6-1.20080729.1mdv2008.1 vboxadd-kernel-2.6.24.4-desktop586-1mnb-1.5.6-1mdv2008.1 hsfmodem-kernel-2.6.24.4-desktop586-1mnb-7.68.00.07-1mdv2008.1 kernel-rt-source-2.6.24.3-1.rt3.2mdv-1-1mdv2008.1 nvidia96xx-kernel-2.6.24.7-desktop586-1mnb-96.43.05-4mdv2008.1 madwifi-kernel-2.6.24.7-desktop586-1mnb-0.9.3.3-5.r3114mdv2008.1 vboxvfs-kernel-2.6.24.7-desktop586-1mnb-1.5.6-1mdv2008.1 hsfmodem-kernel-2.6.24.7-desktop586-1mnb-7.68.00.07-1mdv2008.1 slmodem-kernel-2.6.24.7-desktop586-1mnb-2.9.11-0.20070813.3mdv2008.1 vboxvfs-kernel-2.6.24.4-desktop586-1mnb-1.5.6-1mdv2008.1 nvidia-current-kernel-2.6.24.4-desktop586-1mnb-169.12-4mdv2008.1 unicorn-kernel-2.6.24.4-desktop586-1mnb-0.9.3-7mdv2008.1 slmodem-kernel-desktop586-latest-2.9.11-1.20080729.0.20070813.3mdv2008.1 unicorn-kernel-2.6.24.7-desktop586-1mnb-0.9.3-7mdv2008.1 fglrx-kernel-desktop586-latest-8.471-1.20080729.3mdv2008.1 vboxadd-kernel-desktop586-latest-1.5.6-1.20080729.1mdv2008.1 nvidia71xx-kernel-2.6.24.4-desktop586-1mnb-71.86.04-4mdv2008.1 slmodem-kernel-2.6.24.4-desktop586-1mnb-2.9.11-0.20070813.3mdv2008.1 kernel-desktop586-devel-2.6.24.7-1mnb-1-1mnb1 hsfmodem-kernel-desktop586-latest-7.68.00.07-1.20080729.1mdv2008.1 nvidia-current-kernel-2.6.24.7-desktop586-1mnb-169.12-4mdv2008.1 fglrx-kernel-2.6.24.7-desktop586-1mnb-8.471-3mdv2008.1 nvidia71xx-kernel-2.6.24.7-desktop586-1mnb-71.86.04-4mdv2008.1 unicorn-kernel-desktop586-latest-0.9.3-1.20080729.7mdv2008.1 kernel-desktop586-2.6.24.4-1mnb-1-1mnb1 nvidia96xx-kernel-2.6.24.4-desktop586-1mnb-96.43.05-4mdv2008.1 kernel-headers-2.6.24-6mnb1 kernel-linus-source-2.6.25.14-1mdv-1-1mdv2008.1 nvidia-current-kernel-desktop586-latest-169.12-1.20080729.4mdv2008.1 nvidia71xx-kernel-desktop586-latest-71.86.04-1.20080729.4mdv2008.1 fglrx-kernel-2.6.24.4-desktop586-1mnb-8.471-3mdv2008.1 kernel-desktop586-devel-2.6.24.4-1mnb-1-1mnb1 kernel-desktop586-2.6.24.7-1mnb-1-1mnb1 nvidia96xx-kernel-desktop586-latest-96.43.05-1.20080729.4mdv2008.1 madwifi-kernel-desktop586-latest-0.9.3.3-1.20080729.5.r3114mdv2008.1 [root@localhost hal]# Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted September 3, 2008 Report Share Posted September 3, 2008 [root@localhost hal]# rpm -qa | grep -i kernelkernel-desktop586-2.6.24.4-1mnb-1-1mnb1 I've filtered the results, and this is what you have in terms of kernels installed that can be removed. Now, what you can do is this, boot your system and choose the standard installed kernel which would be in the list on the lines of: desktop586-2.6.24.7 and once you've booted this, we can look at removing the other kernel. There were devel kernels listed, but we'll worry about them when you've just got one kernel installed, and then run the following command once more: rpm -qa | grep -i kernel so we can see what is left. It is important that you boot the correct kernel as I mentioned and remove the other kernel except the kernel-desktop586-latest-2.6.24.7 and kernel-desktop586-2.6.24.7 else you'll never boot your system again. Then, we'll remove the rest of the crap that has been installed which includes the kernel-devel and kernel-source packages that are the completely wrong ones. Remember, a kernel source has to match your installed kernel, so if you have a 2.6.24.7 kernel, you need the same kernel source for this. 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.