LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-28-2013, 09:27 AM   #1
Garibaldy
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Rep: Reputation: Disabled
Kernel installation


Hi, new to this forum and needing a bit of help.
I have installed Slackware 14 on a machine and have copied, compiled and build linux kernel 2.6.34.14 having used the command "make KCONFIG_ALLCONFIG=mini.config O=/home/user/build allnoconfig". In the file "mini.config" I set the symbol CONFIG_MK7=y. As a consequence I have received on bootup the message. "No filesystem could mount root tried". "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (8,1).
I'm trying to install the kernel to understand better how to make modules. Can anyone help please?
 
Old 04-28-2013, 09:31 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
maybe you didn't compile in support for your particular filesystem, and or the drive controller and chipset need to access the drive.
 
Old 04-29-2013, 05:55 AM   #3
Garibaldy
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
"maybe you didn't compile in support for your particular filesystem, and or the drive controller and chipset need to access the drive."

Hi Sorry I'm maybe on the wrong forum to ask this question but I'm kind of new to Linux Questions. I do not know enough about the linux kernel to program a solution to a drive controller or chipset problem. Can you maybe point at some documentation that may help me?
 
Old 05-02-2013, 03:28 AM   #4
subhajitnaha
LQ Newbie
 
Registered: May 2013
Location: Pune
Distribution: Ubuntu
Posts: 7

Rep: Reputation: Disabled
I dont understand the aim of
"make KCONFIG_ALLCONFIG=mini.config O=/home/user/build allnoconfig"

just have a copy of you present kernel configuration and build your test kernel for your test Image.
grep for the modules option in the .config file, it should be "y" by default!
 
Old 05-02-2013, 08:28 AM   #5
Garibaldy
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Kernel installation from source problem

I dont understand the aim of
"make KCONFIG_ALLCONFIG=mini.config O=/home/user/build allnoconfig"

I'm trying to install one of the kernels from www.kernel.org which has the source code. To use it you have to configure it, then build it, then boot it up having put it in a boot loader such a lilo. The above command makes the .config file with as many of the options set to "no" as is possible (allnoconfig) putting the output files in the directory /home/user/build (O=/home/user/build) but sets values in the .config file (that have been set to no) according to the file called mini.config. The values I have set in the mini.config file are as follows:
CONFIG_IDE=y
CONFIG_MK7=y
CONFIG_EXT3_FS=y
 
1 members found this post helpful.
Old 05-02-2013, 09:13 AM   #6
subhajitnaha
LQ Newbie
 
Registered: May 2013
Location: Pune
Distribution: Ubuntu
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by Garibaldy View Post
I dont understand the aim of
"make KCONFIG_ALLCONFIG=mini.config O=/home/user/build allnoconfig"

I'm trying to install one of the kernels from www.kernel.org which has the source code. To use it you have to configure it, then build it, then boot it up having put it in a boot loader such a lilo. The above command makes the .config file with as many of the options set to "no" as is possible (allnoconfig) putting the output files in the directory /home/user/build (O=/home/user/build) but sets values in the .config file (that have been set to no) according to the file called mini.config. The values I have set in the mini.config file are as follows:
CONFIG_IDE=y
CONFIG_MK7=y
CONFIG_EXT3_FS=y
Ok.. Fine I got you!
I was unaware of this option!
Anyways I am into the same path, where i have configured manually, the entire .config file, my host system being UBUNTO 10.04, bootloader being the Grub. Need to proceed with the config file for the bootloader to enter my own kernel Image entry.

Will keep you posted on any further info that i come across!

Last edited by subhajitnaha; 05-02-2013 at 09:14 AM. Reason: wrong answer
 
  


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
[SOLVED] Kernel Panic on kernel installation rahul.identity Linux - Newbie 18 09-14-2010 12:13 AM
Kernel header installation - advisable with every kernel upgrade? Olaus Slackware 4 08-30-2009 11:21 PM
messed up at kernel installation: can't boot from either new or old kernel frankie_DJ Slackware 3 08-26-2006 10:36 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM


All times are GMT -5. The time now is 10:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration