MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10
Rep:
Kernel nightmare
Hi folks,
I have installed the 2.63-7mdk kernel sources, cleaned, configured, made and installed bzImage modules etc etc
And made an initrd.img .. but i STILL get a kernel panic, saying no init found, try passing an init= argument to bla bla (ive tried doing this kernel quite a few times).
It's driving me mad and I know im probably missing something simple
Firstly, had you been booting the stock 2.6.3 kernel?
Then, try just recompiling the kernel sources given without making any changes.
Then if that works and you dont need to do this recompile to apply some driver patch or something, try simply disabling things you know you dont need, eg maybe HAM radio support.
Trying to get every config option correct first time is very hard, better to start with the working system and strip it down slowly.
Well if you've had no problems recompiling the 2.6 kernel source before then I suggest the problem is with the driver patch. What modem is it and what instructions are you following to install the driver? Are you sure it requires a kernel recompile or just a module compile against the sources?
Edit: You seem to have updated your profile.
I just wanna confirm is that Mandrake 10.0 Official with 2.6.3-7mdk?
Have you tried compiling from clean/unpatched mandrake kernel sources first?
Which modem are you trying to install? Some have userspace drivers as well as kernel ones.
I havent tried an unpatched kernel, Ive had the same problem with the standard 2.6.7 kernel from kernel.org... and i dont think that was patched actually
So you've got the 2.6.x-usb.patch from here and read the Readme.txt
Quote:
**** KERNELS 2.6.x: ****
Only versions >= 0.9 are compatible with 2.6 kernels.
WARNING: your 2.6.x (<= 2.6.6) kernel should be patched with this patch:
(kernels 2.6.7 and above are ok without patch)
2.6.x-usb.patch
To apply the patch, go to /usr/src/linux-2.6.x directory
and issue this command:
patch -p1 </path/to/2.6.x-usb.patch
If all is ok you should see:
patching file drivers/usb/core/devio.c
Then you have to RECOMPILE and REINSTALL the kernel.
You need to create again your driver config with eciconf.sh
or eciconftxt.sh
I strongly suggest you try to compile a freshly installed copy of the kernel sources without doing anything to them. If that works then we know the problem is to do with the modem patch.
I'm not sure, I doubt gentoo can cause that much of a performance increase-are you sure that's not due to reusing sources that have been compiled in before. Eg. if you just patched a gentoo kernel it wouldnt have to recompile most of the code?
I'm sure 9.2 compiled faster than 9.1 but I havent tried 10.0 yet. Modules takes a while too, but I havent done many recompiles in a while.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.