Bug 13321

Summary: kernel crash with NULL pointer when boot
Product: File System Reporter: Martin Bammer (mrb74)
Component: ReiserFSAssignee: Jeff Mahoney (jeffm)
Status: CLOSED CODE_FIX    
Severity: blocking CC: rjw, stefanr
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.30-rc6 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 13070    
Attachments: Picture of kernel crash

Description Martin Bammer 2009-05-16 12:37:38 UTC
When booting the system with reiserfs as root it crashes with a NULL pointer (see attachement). Last "working" kernel was 2.6.30-rc5 (which had a regression with xattrs).
Comment 1 Martin Bammer 2009-05-16 12:38:29 UTC
Created attachment 21374 [details]
Picture of kernel crash
Comment 2 Rafael J. Wysocki 2009-05-16 20:22:13 UTC
References : http://lkml.org/lkml/2009/5/16/100
Comment 3 Stefan Richter 2009-05-16 21:35:23 UTC
There are some more reiserfs xattr patches pending:
http://lkml.org/lkml/2009/5/10/91
http://git.kernel.org/?p=linux/kernel/git/viro/vfs-2.6.git;a=shortlog;h=for-next
(see also bug 13122)

One of these patches fixes a potential oops when a file is deleted and xattrs are disabled.  I don't know though if this is this bug here.
Comment 4 Stefan Richter 2009-05-17 20:48:38 UTC
Jeff wrote:
> Yes, this bug is known and is fixed with "[patch 2/4] [PATCH] reiserfs:
> deal with NULL xattr root w/ xattrs disabled"

Linus committed this now.  Martin, could you give latest git a try?
Comment 5 Martin Bammer 2009-05-18 20:10:11 UTC
Hi,

the patches seem to have solved this issue. The kernel boots now.

Martin

Am Sonntag, den 17.05.2009, 20:48 +0000 schrieb
bugzilla-daemon@bugzilla.kernel.org:
> http://bugzilla.kernel.org/show_bug.cgi?id=13321
> 
> 
> Stefan Richter <stefan-r-bz@s5r6.in-berlin.de> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |NEEDINFO
> 
> 
> 
> 
> --- Comment #4 from Stefan Richter <stefan-r-bz@s5r6.in-berlin.de> 
> 2009-05-17 20:48:38 ---
> Jeff wrote:
> > Yes, this bug is known and is fixed with "[patch 2/4] [PATCH] reiserfs:
> > deal with NULL xattr root w/ xattrs disabled"
> 
> Linus committed this now.  Martin, could you give latest git a try?
>
Comment 6 Stefan Richter 2009-05-18 20:33:57 UTC
Thanks Martin.