Viewing the default kernel options
Hi, I'm new to GNU/Linux (that's fun to say, for a couple of reasons).
Bear with me, I can't post URLs (haven't reached 5 posts yet). Add `www' to the front of each address. I have Mandrake10.0 official working well. I was hoping to utilize the newest kernel (2.6.7) from a fresh compile, though I have some issues. I think the easiest way to sort out the issues is looking at the .config file (or whatever is relevant) when Mandrake ``put together" my kernel on installation. Where can I find this file/information? I think I'll need almost the same info as that contained in my .config file I've created through `make xconfig'. My computer is a dual-boot with that other OS, and I'm fond of IceWM. Those experienced might think what's above isn't the right course of action for solving my problems. If that's the case, here are the specific issues I'd like to resolve:
If you think it's an issue with my .config, check it out: tc.umn.edu/~frye0031/config These are my systems specifications: tc.umn.edu/~frye0031/comp-specs Here is my dmesg: tc.umn.edu/~frye0031/2.6.7-dmesg The kernel built fine, so I assume it's not that process causing the problems. Here's my build process just in case: tc.umn.edu/~frye0031/ker-howto Let me know if you need any more info. Thanks! |
If you want to get the .config of the default Mandrake kernel, reboot and run the 2.6.3 kernel and then run something like
Code:
cp /proc/config.gz /usr/src/linux/.config --mascdman |
Thanks so much! I actually had installed the kernel source and the .config was in there (/usr/src/linux)...so I used that. I tried "make oldconfig" but it didn't prompt about newer options, so I exited out of all that and just did "make xconfig".
Secondly, I tried using the /proc/config.gz but "make oldconfig" couldn't use it and neither could "make xconfig". I had no idea that /proc/config.gz even existed or why it was .gz, so I also tried unzipping it with tar -xvf but that didn't work either. Most importantly though, your post gave me a new train of thought. The "make xconfig" with the .config file from /usr/scr/linux (version 2.6.3-7mdk) worked well, and the kernel built fine and I'm running it now without any problems. I wonder if the 2.6.3-7mdk patched kernel was equivalent to the 2.6.7 I downloaded, spent time with, and got working? :rolleyes: Oh well, I've learned how to compile a kernel at least. |
Oops -- my bad. That's what I get for posting while tired. The command I should have posted is
Code:
zcat /proc/config.gz >/usr/src/linux/.config Code:
cp /proc/config.gz /tmp --mascdman |
hey ppl, another newbie here :)
I have Mandrake 10 discovery 10, i am attempting to install some usb wireless lan dirvers and i need to make sure that the kernel has got the correct configuration. Following the read me file it says i need to go to /usr/src/linux as this is where the config filles be, but when going into /usr/src all i can see if a foler called RMP, there isnt a folder for the linux config files. Is it located in a diffrent place with certain versions of mandrake, if so where? Or is the folder some how hidden from me if so how can i get to it :study: Thanks for the help |
You just need to install the kernel sources. As root, run urpmi kernel-source.
--mascdman |
Quote:
Anyone any ideas (total newbie at work here) :newbie: |
Have you run the updater in the Mandrake Control Centre? If not, run this (no need to update anything) and then run the command again. This will then download the latest version of the kernel and should put the files in the correct place.
|
Quote:
|
Does running rpm -q kernel-source show anything? If it does, run rpm -q kernel-source --list to see where all the files have been installed.
--mascdman |
All times are GMT -5. The time now is 02:21 PM. |