LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2011, 08:07 AM   #16
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45

Quote:
Maybe (otherwise) the system of the OP needs an initrd which was not yet installed.
Because md drivers are essential @boottime and most big linux OS's come with an initrd and the md drivers are build as modules, they should probably be inside the intrd.[img|gz|.*] . To check this you have to mount -o loop /boot/initrd.img /FOLDER or to unarchive it , change the drivers inside and repack it .
 
Old 06-06-2011, 12:37 AM   #17
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by markush View Post
Hi,

are you sure, that you can boot with your old kernel? After your last post I'm not sure if the problem actually is the new kernel.

BTW, I read the announcement for kernel 3.0-rc1 at linux.kernel and Linus Torvalds states that there is no big changes in the kernel:

Note that if you have any drivers which are compiled with the old kernel, for example firmware-network-drivers, you'll have to rebuild them with the new kernel. But this requires that you can boot your system and has (as well) nothing to do with kernel 3.0

Markus
Thanks for the help .I will keep this in mind.Currently i have formatted the disk with No LVM support (With old kernel) .Now i will try to upgrade it with New kernel If i would be successful in doing that i will definitely come to the inclusion that it was a LVM driver issue.
Other wise I will have to explore more options.

Yes i can boot with old kernel .

Last edited by pinga123; 06-06-2011 at 12:44 AM.
 
Old 06-06-2011, 12:42 AM   #18
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by markush View Post
Hi,

are you sure, that you can boot with your old kernel? After your last post I'm not sure if the problem actually is the new kernel.

BTW, I read the announcement for kernel 3.0-rc1 at linux.kernel and Linus Torvalds states that there is no big changes in the kernel:

Note that if you have any drivers which are compiled with the old kernel, for example firmware-network-drivers, you'll have to rebuild them with the new kernel. But this requires that you can boot your system and has (as well) nothing to do with kernel 3.0

Markus
Not sure about all this as this is my 1st exp in compiling the kernel .However i suppose

Code:
make mrproper
cp /boot/config-`uname -r` ./.config
change all *_md* to yes in newly copied config
then
Code:
manu menuconfig
should do the trick
If something else is required then please let me know.
 
Old 06-06-2011, 12:43 AM   #19
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by evo2 View Post
Just want to point out that while there are only small changes between 2.6.39 and 3.0-rc1, there are some very significant changes between 2.6.18 and 2.6.39.

Evo2.
Ohhh Should i first upgrade to 2.6.18 to 2.6.39 ---> kernel 3.0
 
Old 06-06-2011, 01:24 AM   #20
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
Originally Posted by pinga123 View Post
Not sure about all this as this is my 1st exp in compiling the kernel .However i suppose

Code:
make mrproper
then
Code:
make oldconfig
which generates a .config for the new kernel and asks for new options.
Quote:
Code:
cp /boot/config-`uname -r` ./.config
change all *_md* to yes in newly copied config
don't do that, .config is an automatically generated file, you must not make any changes manually.
Quote:
then
Code:
make menuconfig
should do the trick
If something else is required then please let me know.
The md-settings are in the section "Device-Drivers->LVM...."

Markus
 
Old 06-06-2011, 02:18 AM   #21
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by pinga123 View Post
Ohhh Should i first upgrade to 2.6.18 to 2.6.39 ---> kernel 3.0
Not necessarily, I just thought it worth pointing out that problems you are having are likely not specific to the 3.0 kernel.

Evo2.
 
Old 06-06-2011, 07:10 AM   #22
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 36
I have tried compiling the kernel from a machine with no LVM support .Its still giving me the error.

The exact error message is posted as an image here.
https://lh3.googleusercontent.com/-J...ernelError.jpg

I have no clue what the error message is saying that it is unable to load /dev/root.

This time i have not set all _md to y as the compilation is done using old kernel config as the old kernel is able to boot so the new should do the same( In an ideal scenario).

Also after selecting the old config file using menuconfig i m getting following error .

Code:
.config:656:warning: symbol value 'm' invalid for IP_DCCP_CCID3
.config:657:warning: symbol value 'm' invalid for IP_DCCP_TFRC_LIB
#config:1353:warning: symbol value 'm' invalid for FIXED_PHY
# configuration written to .config 'm' invalid for IWL4965
#config:1619:warning: symbol value 'm' invalid for ISDN
.config:2721:warning: symbol value 'm' invalid for RTC_INTF_SYSFS
.config:2722:warning: symbol value 'm' invalid for RTC_INTF_PROC
*** End of Linux kernel configuration. invalid for RTC_INTF_DEV
*** Execute 'make' to build the kernel or try 'make help'._LOCKING_DLM
Not sure what the problem is.
Need an expert help here.

Last edited by pinga123; 06-06-2011 at 11:56 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
new kernel giving problems? luqman Red Hat 5 03-04-2005 12:24 PM
LIDS not giving all options in kernel subt13 Linux - Security 1 08-11-2004 01:39 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM


All times are GMT -5. The time now is 06:59 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration