Mandriva This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-15-2004, 07:10 AM
|
#1
|
LQ Newbie
Registered: Oct 2003
Location: UK
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
Please help!
|
|
|
08-15-2004, 07:18 AM
|
#2
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
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.
|
|
|
08-15-2004, 07:46 AM
|
#3
|
LQ Newbie
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10
Original Poster
Rep:
|
I patched the kernel to support a USB ADSL modem.
Ive configured it the same way I do all my kernels and normally i dont have problems.
Why won't it find my init.img? 
|
|
|
08-15-2004, 07:55 AM
|
#4
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
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?
|
|
|
08-15-2004, 07:57 AM
|
#5
|
LQ Newbie
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10
Original Poster
Rep:
|
"You must recompile and reinstall the kernel"
I have not yet been able to compile a kernel in mandrake, but I have managed to do it in gentoo and fedora core 1/2.
|
|
|
08-15-2004, 08:09 AM
|
#6
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
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.
Last edited by Proud; 08-15-2004 at 08:10 AM.
|
|
|
08-15-2004, 08:11 AM
|
#7
|
LQ Newbie
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10
Original Poster
Rep:
|
USB ADSL BT Voyager 105 using eciadsl's nortek driver. http://eciadsl.sourceforge.net
its insane
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
edit: and yes its 10.0 official with 2.6.3-7mdk
Last edited by noobist; 08-15-2004 at 08:13 AM.
|
|
|
08-15-2004, 08:34 AM
|
#8
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
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.
|
|
|
08-15-2004, 08:39 AM
|
#9
|
LQ Newbie
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10
Original Poster
Rep:
|
I will try that, ty.
I will get back to you later
Just a quick question.. how come gentoo compiles the kernel in 5 mins and mandrake takes about 40 minutes?
My custom kernel doesnt have that much more, surely?
Is there any way I can speed it up?
|
|
|
08-15-2004, 08:53 AM
|
#10
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
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.
|
|
|
09-04-2004, 10:10 AM
|
#11
|
LQ Newbie
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10
Original Poster
Rep:
|
I bought a router instead, it arrives on monday/tuesday.
I will be using gentoo 
|
|
|
All times are GMT -5. The time now is 03:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|