Re: Why can't I build a running Kernel?

From: Jiri Slaby
Date: Mon Feb 12 2007 - 06:29:06 EST


albcamus napsal(a):
2007/2/9, Jiri Slaby <jirislaby@xxxxxxxxx>:
Reg Clemens napsal(a):
> Why can't I build a running Kernel?
> I have in the past, but since some time in the 2.6.19 series,
> I have got the following series of errors.
> Same thing now with 2.6.20.
>
> I build with:
>
> make xconfig
>
> changing only the Processor type to Pentium4,
> then I
>
> make bzImage
> make modules
> make modules_install
> make install
>
> Fine everything builds, no errors.
> I then try booting, and I get 4 or 5 lines and then
>
> Unable to access resume device (/dev/sda5)
> mount: could not find filesystem '/dev/root'
> < 4 more lines with setuproot and switchroot >
>
> and then
>
> Kernel panic - not syncing: Attempting to kill init!
>
> Sigh.
> What has changed, what do I need to do to get this thing to boot?

I have the same problem with 2.6.19 and later. The previous kernel with
same .config works, but it's not true for 2.6.19 and 2.6.30.




Re-enable sata/scsi/usb/whatever is your root behind stuff back again? What
does
your .config look like?

regards,

I selected everything about ATA to <*> or <M>, and made initrd for the
newly-built kernel, still unable to boot.

The .config was attached, I have kdb-4.4 patched.

Config seems to be fine. Please post
lspci -vvvxx

and lines from your boot loader.

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/