checkroot.sh remount unionfs causes hang
On Thu, Aug 02, 2007 at 09:17:24AM +0200, Daniel Baumann wrote:
> Justin Pryzby wrote:
> > The following command from checkroot.sh hung apparently forever during
> > boot, shortly after the "INIT" line, immediately after "activating
> > swap: done\n" was output:
>
> checkroot.sh?
etc/init.d/checkroot.sh [11]admin/initscripts
> > I'm using grub, unstable, 2.6.22, live-initramfs.
>
> for 2.6.22, there are no unionfs modules atm in the archive. i suspect
> you were not building them on your one, so this is the reason why it failed.
This was a custom-compiled kernel; the squashfs-source package
compiled okay after applying the 3-lines-removed patch to deal with
the SLUB changes or such. However the unionfs-source package didn't,
so I used the patch from their website.
For 2.6.22 I got intermittent unionfs oops during boot, otherwise the
checkroot.sh hang.
2.6.18 works though (compiled with the normal unionfs-source iirc).
Justin
-------------- next part --------------
--- /usr/src/modules/squashfs/linux-2.6/inode.c.orig 2007-07-11 09:34:00.000000000 -0400
+++ /usr/src/modules/squashfs/linux-2.6/inode.c 2007-07-30 16:03:17.000000000 -0400
@@ -2298,9 +2298,7 @@
{
struct squashfs_inode_info *ei = foo;
- if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
- SLAB_CTOR_CONSTRUCTOR)
- inode_init_once(&ei->vfs_inode);
+ inode_init_once(&ei->vfs_inode);
}
Reply to: