Re: RFC: initramfs unpack point and rules

2007-04-13 Thread Krzysztof Halasa
Al Viro <[EMAIL PROTECTED]> writes: > Nope. The point is to have it as early as possible, so that we had more > or less normal environment when drivers, etc. are being initialized. But traditionally the "normal environment" is a root fs not yet mounted. Do the drivers need initramfs? Which

Re: RFC: initramfs unpack point and rules

2007-04-13 Thread Krzysztof Halasa
Al Viro [EMAIL PROTECTED] writes: Nope. The point is to have it as early as possible, so that we had more or less normal environment when drivers, etc. are being initialized. But traditionally the normal environment is a root fs not yet mounted. Do the drivers need initramfs? Which drivers?

Re: RFC: initramfs unpack point and rules

2007-04-12 Thread Al Viro
On Thu, Apr 05, 2007 at 02:34:39PM +0200, Krzysztof Halasa wrote: > First problem: initramfs is unpacked way before console drivers > are initialized, so you aren't going to see the panic(): > > init/initramfs.c:static int __init populate_rootfs(void) > ... > printk(KERN_INFO

Re: RFC: initramfs unpack point and rules

2007-04-12 Thread Al Viro
On Thu, Apr 05, 2007 at 02:34:39PM +0200, Krzysztof Halasa wrote: First problem: initramfs is unpacked way before console drivers are initialized, so you aren't going to see the panic(): init/initramfs.c:static int __init populate_rootfs(void) ... printk(KERN_INFO Unpacking

Re: RFC: initramfs unpack point and rules

2007-04-05 Thread Krzysztof Halasa
> I wonder why is initramfs unpacked that early, before most drivers? > I'd expect it much later in the boot sequence, just before userspace > and initial devices (/dev/console etc) are needed. Should it be moved > there? populate_rootfs() unpacks both builtin and external initramfs. I mean

RFC: initramfs unpack point and rules

2007-04-05 Thread Krzysztof Halasa
Hi, I recently got a BSOD bootup problem with external initramfs (it's ARM but it seems it doesn't matter). -- First problem: initramfs is unpacked way before console drivers are initialized, so you aren't going to see the

RFC: initramfs unpack point and rules

2007-04-05 Thread Krzysztof Halasa
Hi, I recently got a BSOD bootup problem with external initramfs (it's ARM but it seems it doesn't matter). -- First problem: initramfs is unpacked way before console drivers are initialized, so you aren't going to see the

Re: RFC: initramfs unpack point and rules

2007-04-05 Thread Krzysztof Halasa
I wonder why is initramfs unpacked that early, before most drivers? I'd expect it much later in the boot sequence, just before userspace and initial devices (/dev/console etc) are needed. Should it be moved there? populate_rootfs() unpacks both builtin and external initramfs. I mean something