> > > hi
> > >
> > > i have the same problem:
> >
> > OK I am going back to try and reproduce this here, I think I know how
> > to I was building the kernel when I hit it.
>
>
> Yep, this was very simple to hit, running with /dev inside of XFS appears
> to be part of it - I am running on an ide root, not sure how that factors
> in to it. I suspect a problem in dev handling inside XFS, so a workaround
> would be to run devfs with the mount at boot time option (ok I know that is
> not always an option) or a non-xfs /dev directory in some other way. If you
> have redhat 7 devfs is not actually painful to get going.
>
> Steve
>
OK, I have to go off the air for a while here, but I think the problem is
due to opening the console read/write before the filesystem is read/write,
a very basic work around would be to comment out this check:
if ((mode & IWRITE) && !WRITEALLOWED(XFS_ITOV(ip)))
return XFS_ERROR(EROFS);
at line 3486 of fs/xfs/xfs_inode.c
This is a guess and is not the correct final solution. It all has to do
with xfs doing its own permission checks I think. Can someone try and
let me know.
Steve
|