Do you think initrd+cramfs should be usable on 2.5.x kernels? I keep
getting "wrong magic". BTW. I applied a small patch to init/do_mount.c
(which is also used by Debian in their 2.4.x kernels) so that it sees
CRAMFS_MAGIC.
Unfortunately I can't give a complete log of the boot messages because
booting stops with a panic. I wrote down the last couple of lines.
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1016 blocks [1 disk] into ram disk...done.
Freeing initrd memory: 1016k freed
cramfs: wrong magic
Kernel panic: VFS: Unable to mout root fs on 03:02
After putting some debug printk I could see that in cramfs_fill_super() it
indeed fails to see a correct CRAMFS_MAGIC. But the loading seems to have
succeeded.
Since there were quite a few changes since 2.5.0 I am not really able to
compare with my working initrd+cramfs on 2.4.17.
I am nuts to even try this, or should it work? (Both can be true.)
-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:21 EST