Bug#497133: initramfs-tools: explodes when kernel is booted

2008-11-04 Thread Andres Salomon
Hi, Along with an earlier submitted patch to include the mtd and jffs modules in the initrd image, the attached patch is needed for booting with root=mtd0. Basically, the init scripts assume the root device should have a special device file somewhere, and if not will wait for it to appear. This p

Bug#497133: initramfs-tools: explodes when kernel is booted with root=mtd0

2008-09-09 Thread maximilian attems
On Tue, 02 Sep 2008, Andres Salomon wrote: > I'm still trying to figure out how to deal w/ root=mtd0 (and wondering > whether it's even worth dealing with, or if I can do something > clever with UBI or flash partitioning) how does fedora kernel boot it? does nash have some hacks one could look at

Bug#497133: initramfs-tools: explodes when kernel is booted with root=mtd0

2008-09-01 Thread Andres Salomon
On Mon, 1 Sep 2008 17:37:28 +0200 maximilian attems <[EMAIL PROTECTED]> wrote: > On Mon, Sep 01, 2008 at 11:22:34AM -0400, Andres Salomon wrote: [...] > > > --- /usr//share/initramfs-tools/scripts/functions.orig > > 2008-09-01 11:14:11.0 -0400 > > +++ /usr//share/initramfs-tools/scripts/

Bug#497133: initramfs-tools: explodes when kernel is booted with root=mtd0

2008-09-01 Thread maximilian attems
On Mon, Sep 01, 2008 at 11:22:34AM -0400, Andres Salomon wrote: > How about something like the following (untested) patch? It's not foolproof, > but it at least ignores things that can't possibly be hex strings. looks good to me, i'll apply it, tested on dash, right you can still have non hex

Bug#497133: initramfs-tools: explodes when kernel is booted with root=mtd0

2008-09-01 Thread Andres Salomon
On Mon, 1 Sep 2008 15:58:15 +0200 maximilian attems <[EMAIL PROTECTED]> wrote: > On Sat, 30 Aug 2008, Andres Salomon wrote: > > > Package: initramfs-tools > > Version: 0.92f > > > > On OLPC machines, root is a nand device that is mounted as mtd0 (it > > is neither a block device nor a char devic

Bug#497133: initramfs-tools: explodes when kernel is booted with root=mtd0

2008-09-01 Thread maximilian attems
On Sat, 30 Aug 2008, Andres Salomon wrote: > Package: initramfs-tools > Version: 0.92f > > On OLPC machines, root is a nand device that is mounted as mtd0 (it is > neither a block device nor a char device). The arguments passed to the > kernel are "ro root=mtd0 rootfstype=jffs2". could you try

Bug#497133: initramfs-tools: explodes when kernel is booted with root=mtd0

2008-08-29 Thread Andres Salomon
Package: initramfs-tools Version: 0.92f On OLPC machines, root is a nand device that is mounted as mtd0 (it is neither a block device nor a char device). The arguments passed to the kernel are "ro root=mtd0 rootfstype=jffs2". Unfortunately, attempting to use an initrd based upon initramfs-tools