> Hi, I did some more testings with using XFS as root filesystem. By
> inserting some printk
> into the kernel, I was able to ascertain that the kernel hanged at the
> last stage of
> the booting process. It seem to not able to exec the init command. But,
> it does not
> seem to have failed to do so, but rather hang there trying.
> I am not sure how else to debug further, any suggestion?
The root filesystem is mounted by mount_root in fs/super.c there is a loop
which walks through calling read_super for different filesystem types.
This is probably the place to add printks.