Dear Kernel Team,
I am facing a strange error after I compiled the Linux kernel-2.6.12(downloaded from kernel.org).
Please see the errors I get when I try to boot the newly built 2.6.12 kernel.
I found lot of members in the groups discussing this and no definite solution is suggestion.
Red Hat nash version 4.1.18 starting
mount: error 19 mounting ext3
ERROR opening /dev/console???: 2
error dup2'ing fd 0 of 0
error dup2'ing fd 0 of 1
error dup2'ing fd 0 of 2
switchroot: mount failed : 22
kernel panic - not syncing : Attempted to kill init
Please give your valuable inputs on this?
Regards,
Mukund Jampala
On Mon, 2005-12-12 at 12:44 +0530, Mukund JB. wrote:
> Dear Kernel Team,
>
> I am facing a strange error after I compiled the Linux kernel-2.6.12(downloaded from kernel.org).
> Please see the errors I get when I try to boot the newly built 2.6.12 kernel.
>
> I found lot of members in the groups discussing this and no definite solution is suggestion.
you forgot to make an initrd.
Dear Arjun,
Thanks for your quick response
After I compiled the kernel, I verified the 'initrd-2.6.12.img' and it was present.
But it is 10000 bytes less than the initial FC4 initrd img.
I did the following steps to build the kernel:
Copied the existing '.config' file from the old kernel and copied to the 2.6.12 kernel base directory.
Then,
# make
# make modules
# make modules_install
# make install
Is there is any thing additional needed for building the kernels in 2.6.x kernels?
I verified the support for inbuilt ext3 too and its present too.
What else could be the problem area?
Thanks & Regards,
Mukund Jampala
-----Original Message-----
From: Arjan van de Ven [mailto:[email protected]]
Sent: Monday, December 12, 2005 12:54 PM
To: Mukund JB.
Cc: [email protected]
Subject: Re: Errors while booting the newly built 2.6.12 kernel??
On Mon, 2005-12-12 at 12:44 +0530, Mukund JB. wrote:
> Dear Kernel Team,
>
> I am facing a strange error after I compiled the Linux kernel-2.6.12(downloaded from kernel.org).
> Please see the errors I get when I try to boot the newly built 2.6.12 kernel.
>
> I found lot of members in the groups discussing this and no definite solution is suggestion.
you forgot to make an initrd.
On 12/12/05, Mukund JB. <[email protected]> wrote:
>
[snip]
>
I wrote a small guide a while back. Perhaps it can help you :
http://www.linuxtux.org/~juhl/2.6-kernel-build.txt
--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
may be you have to see if your basic console devices are being created
in initrd , things like /dev/console /dev/null you have to add that to
ur init script if its not
On 12/12/05, Jesper Juhl <[email protected]> wrote:
> On 12/12/05, Mukund JB. <[email protected]> wrote:
> >
> [snip]
> >
> I wrote a small guide a while back. Perhaps it can help you :
> http://www.linuxtux.org/~juhl/2.6-kernel-build.txt
>
>
> --
> Jesper Juhl <[email protected]>
> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
> Plain text mails only, please http://www.expita.com/nomime.html
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Thanks and Regards
Digvijoy Chatterjee