public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.30-rc5: reiserfs is broken on parisc (bisected)
@ 2009-05-12 16:40 Alexander Beregalov
  2009-05-12 17:20 ` Jeff Mahoney
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Beregalov @ 2009-05-12 16:40 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Kernel Testers List, linux-parisc,
	Jeff Mahoney, Al Viro, reiserfs-devel

Hi

ab17c4f02156c4f75d7fa43a5aa2a7f942d47201 is the first bad commit
(reiserfs: fixup xattr_root caching)

Kernel panics when init tries to remount rootfs (reiserfs) with
read-write access.
Read-only access works fine.

No more messages on the screen before panic.

Is it endianess related?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.30-rc5: reiserfs is broken on parisc (bisected)
  2009-05-12 16:40 2.6.30-rc5: reiserfs is broken on parisc (bisected) Alexander Beregalov
@ 2009-05-12 17:20 ` Jeff Mahoney
  2009-05-14 11:04   ` Alexander Beregalov
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Mahoney @ 2009-05-12 17:20 UTC (permalink / raw)
  To: Alexander Beregalov
  Cc: Linux Kernel Mailing List, Kernel Testers List, linux-parisc,
	Al Viro, reiserfs-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Beregalov wrote:
> Hi
> 
> ab17c4f02156c4f75d7fa43a5aa2a7f942d47201 is the first bad commit
> (reiserfs: fixup xattr_root caching)
> 
> Kernel panics when init tries to remount rootfs (reiserfs) with
> read-write access.
> Read-only access works fine.
> 
> No more messages on the screen before panic.
> 
> Is it endianess related?

No, not at all. There was a problem with the xattr code if the kernel
was built with xattrs disabled. It assumed that
REISERFS_SB(s)->xattr_root would be available, which isn't the case when
xattrs aren't enabled. Part of it has been cleaned up in -git1, and I've
sent Al some additional patches to fix the rest of it up.

There's a thread called "reiserfs xattr fixups" that contains 4 patches.
The patch marked with * is the one I believe will fix your problem.

- - reiserfs: cleanup ifdefs
- - reiserfs: deal with NULL xattr root w/ xattrs disabled *
- - reiserfs: fixup perms when xattrs are disabled
- - reiserfs: allow exposing privroot w/ xattrs enabled

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkoJr9EACgkQLPWxlyuTD7JbfACfSV+WiMxReRCr/YRDT8IBf7M8
jVkAn3fhf3R1i5cyi/YJ+vtO/WTd6Lre
=90Xq
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.30-rc5: reiserfs is broken on parisc (bisected)
  2009-05-12 17:20 ` Jeff Mahoney
@ 2009-05-14 11:04   ` Alexander Beregalov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Beregalov @ 2009-05-14 11:04 UTC (permalink / raw)
  To: Jeff Mahoney
  Cc: Linux Kernel Mailing List, Kernel Testers List, linux-parisc,
	Al Viro, reiserfs-devel

2009/5/12 Jeff Mahoney <jeffm@suse.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alexander Beregalov wrote:
>> Hi
>>
>> ab17c4f02156c4f75d7fa43a5aa2a7f942d47201 is the first bad commit
>> (reiserfs: fixup xattr_root caching)
>>
>> Kernel panics when init tries to remount rootfs (reiserfs) with
>> read-write access.
>> Read-only access works fine.
>>
>> No more messages on the screen before panic.
>>
>> Is it endianess related?
>
> No, not at all. There was a problem with the xattr code if the kernel
> was built with xattrs disabled. It assumed that
> REISERFS_SB(s)->xattr_root would be available, which isn't the case when
> xattrs aren't enabled. Part of it has been cleaned up in -git1, and I've
> sent Al some additional patches to fix the rest of it up.
>
> There's a thread called "reiserfs xattr fixups" that contains 4 patches.
> The patch marked with * is the one I believe will fix your problem.
>
> - - reiserfs: cleanup ifdefs
> - - reiserfs: deal with NULL xattr root w/ xattrs disabled *
> - - reiserfs: fixup perms when xattrs are disabled
> - - reiserfs: allow exposing privroot w/ xattrs enabled
>
It works!
Thanks Jeff.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-14 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-12 16:40 2.6.30-rc5: reiserfs is broken on parisc (bisected) Alexander Beregalov
2009-05-12 17:20 ` Jeff Mahoney
2009-05-14 11:04   ` Alexander Beregalov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox