LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* /initrd.img
@ 2008-02-12 11:28 Yinghai Lu
  2008-02-12 17:53 ` /initrd.img H. Peter Anvin
  0 siblings, 1 reply; 3+ messages in thread
From: Yinghai Lu @ 2008-02-12 11:28 UTC (permalink / raw)
  To: Andrew Morton, Ingo Molnar, Christoph Lameter; +Cc: Linux Kernel Mailing List

any limitation about size of
/initrd.img that saved by populate_rootfs ?

i got

RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (-28 != 2048) 134217728
crc error
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 388k freed
init_special_inode: bogus i_mode (177777)
Warning: unable to open an initial console.
init_special_inode: bogus i_mode (177777)
init_special_inode: bogus i_mode (177777)
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

before that
checking if image is initramfs... it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 25735k freed.

that only happen one system (64G RAM) and SLUB.

if using SLAB, it works well.

somewhere the ramdisk or /initrd.img get corrupted..

YH

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /initrd.img
  2008-02-12 11:28 /initrd.img Yinghai Lu
@ 2008-02-12 17:53 ` H. Peter Anvin
  2008-02-13  5:55   ` /initrd.img Yinghai Lu
  0 siblings, 1 reply; 3+ messages in thread
From: H. Peter Anvin @ 2008-02-12 17:53 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Andrew Morton, Ingo Molnar, Christoph Lameter, Linux Kernel Mailing List

Yinghai Lu wrote:
> any limitation about size of
> /initrd.img that saved by populate_rootfs ?
> 
> i got
> 
> RAMDISK: Compressed image found at block 0
> RAMDISK: incomplete write (-28 != 2048) 134217728
> crc error
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 388k freed
> init_special_inode: bogus i_mode (177777)
> Warning: unable to open an initial console.
> init_special_inode: bogus i_mode (177777)
> init_special_inode: bogus i_mode (177777)
> Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
> 
> before that
> checking if image is initramfs... it isn't (no cpio magic); looks like an initrd
> Freeing initrd memory: 25735k freed.
> 
> that only happen one system (64G RAM) and SLUB.
> 
> if using SLAB, it works well.
> 
> somewhere the ramdisk or /initrd.img get corrupted..
> 

Assuming a 64-bit system, that's *supposed* to work.  Doesn't mean 
anything that weird has been tested.

It could be a SLUB bug, or it could be memory not being properly defended.

	-hpa

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /initrd.img
  2008-02-12 17:53 ` /initrd.img H. Peter Anvin
@ 2008-02-13  5:55   ` Yinghai Lu
  0 siblings, 0 replies; 3+ messages in thread
From: Yinghai Lu @ 2008-02-13  5:55 UTC (permalink / raw)
  To: H. Peter Anvin, James Bottomley
  Cc: Andrew Morton, Ingo Molnar, Christoph Lameter, Linux Kernel Mailing List

On Feb 12, 2008 9:53 AM, H. Peter Anvin <hpa@zytor.com> wrote:
>
> Yinghai Lu wrote:
> > any limitation about size of
> > /initrd.img that saved by populate_rootfs ?
> >
> > i got
> >
> > RAMDISK: Compressed image found at block 0
> > RAMDISK: incomplete write (-28 != 2048) 134217728
> > crc error
> > VFS: Mounted root (ext2 filesystem).
> > Freeing unused kernel memory: 388k freed
> > init_special_inode: bogus i_mode (177777)
> > Warning: unable to open an initial console.
> > init_special_inode: bogus i_mode (177777)
> > init_special_inode: bogus i_mode (177777)
> > Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
> >
> > before that
> > checking if image is initramfs... it isn't (no cpio magic); looks like an initrd
> > Freeing initrd memory: 25735k freed.
> >
> > that only happen one system (64G RAM) and SLUB.
> >
> > if using SLAB, it works well.
> >
> > somewhere the ramdisk or /initrd.img get corrupted..
> >
>
> Assuming a 64-bit system, that's *supposed* to work.  Doesn't mean
> anything that weird has been tested.
>
> It could be a SLUB bug, or it could be memory not being properly defended.

found the root case. something wrong ses.c
will send one patch to James.

YH

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-13  5:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-12 11:28 /initrd.img Yinghai Lu
2008-02-12 17:53 ` /initrd.img H. Peter Anvin
2008-02-13  5:55   ` /initrd.img Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).