On Friday 11 October 2002 09:23, Olaf Hering wrote: > Hi, > > I played with root on raid0 on a ppc64 pseries box. > The bootloader yaboot seems to be buggy and it corrupts the initrd. > > The kernel itself tries the filesystems compiled into the kernel, of > course, that fails because root=/dev/md0 and raid0.o is not yet > loaded. All other filesystems return with error, jfs seems to oops > the kernel. > > Well, you are dead anyway in this stage, but ... :)
If you're still in a position to test this, you can try this UNTESTED patch. I understand if you don't want to reproduce this one. :-) Index: linux24/fs/jfs/jfs_mount.c =================================================================== RCS file: /usr/cvs/jfs/linux24/fs/jfs/jfs_mount.c,v retrieving revision 1.20 diff -u -r1.20 jfs_mount.c --- linux24/fs/jfs/jfs_mount.c 13 Sep 2002 15:29:51 -0000 1.20 +++ linux24/fs/jfs/jfs_mount.c 11 Oct 2002 15:08:08 -0000 @@ -478,12 +478,12 @@ { /* read in primary superblock */ *bpp = sb_bread(sb, SUPER1_OFF >> sb->s_blocksize_bits); - if (bpp) + if (*bpp) return 0; /* read in secondary/replicated superblock */ *bpp = sb_bread(sb, SUPER2_OFF >> sb->s_blocksize_bits); - if (bpp) + if (*bpp) return 0; return -EIO; _______________________________________________ Jfs-discussion mailing list [EMAIL PROTECTED] http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion