LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-15-2004, 07:10 AM   #1
noobist
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10

Rep: Reputation: 0
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!
 
Old 08-15-2004, 07:18 AM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
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.
 
Old 08-15-2004, 07:46 AM   #3
noobist
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 08-15-2004, 07:55 AM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
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?
 
Old 08-15-2004, 07:57 AM   #5
noobist
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10

Original Poster
Rep: Reputation: 0
"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.
 
Old 08-15-2004, 08:09 AM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
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.
 
Old 08-15-2004, 08:11 AM   #7
noobist
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 08-15-2004, 08:34 AM   #8
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
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.
 
Old 08-15-2004, 08:39 AM   #9
noobist
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 08-15-2004, 08:53 AM   #10
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
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.
 
Old 09-04-2004, 10:10 AM   #11
noobist
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Mandrake 10 / Windows XP Pro / Notorious linux dist. swapper :p
Posts: 10

Original Poster
Rep: Reputation: 0
I bought a router instead, it arrives on monday/tuesday.

I will be using gentoo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Soundcard nightmare fought Linux - Hardware 10 12-28-2005 11:29 PM
kernel nightmare! norkers Linux - Software 19 04-26-2005 04:01 PM
Kernel Rebuild Nightmare squirellplaying Linux - General 2 01-20-2005 04:31 PM
ML 8.2 Nightmare! descras Linux - General 2 08-22-2002 04:06 AM
Kernel Compile Nightmare rootlinux Linux - General 11 05-08-2002 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration