* Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?)
@ 2002-11-30 15:45 Colin Slater
0 siblings, 0 replies; 9+ messages in thread
From: Colin Slater @ 2002-11-30 15:45 UTC (permalink / raw)
To: linux-kernel
Upon compiling and booting 2.5.50, there seemed to be a flurry of
messages regarding /etc/mtab and /etc/mtab~77 or ~32 or some other
random numbers. ls in /etc seems to look good, but upon opening mtab
up in vi, I get a kernel BUG, and everything stops responding. I flip
VT's and type my username, but never get a password prompt. I rebooted
again, and cat'ed dmesg to a file just for safety. That works, until I
open it up, where I get the BUG again. Reboot to 2.5.47, everything
seems to work ok. Open up the dmesg file I saved, no bug, but the file
seems to be garbage. hexdump looks like
0000000: 6c64 2e73 6f2d 312e 372e 3000 2c03 0000 ld.so-1.7.0.,...
0000010: 0300 0000 504c 0000 5c4c 0000 0300 0000 ....PL..\L......
0000020: 714c 0000 7b4c 0000 0300 0000 8e4c 0000 qL..{L.......L..
ld.so? My systems is completely reiserfs (3.6), and nothing has
changed in my config file between 2.5.47 and 2.5.50. Upon looking
through the source tree, it seems like lines 1134-7 in
fs/reiserfs/namei.c seem to be throwing this panic. Only changesets to
touch namei.c in the past 4 months are "nanosecond stat timefields" and
"*_mknod prototype". I really can't see why these would cause this
problem, so maybe someone else does. Hand-copied output from the
BUG() follows, so this is only what I thought was important and might
contain errors. If you need any other information I will gladly supply
it.
Colin
vs-7050: new entry is found, new inode==0
--cut here--
kernel BUG at fs/reiserfs/prints.c:336
invalid operand:0000
EIP: 0060:[<c01c70e9>] Not Tainted
EIP is at reiserfs_panic+0x29/0x60
Call Trace
reiserfs_rename+0x33d/0x9e0
journal_end+0x16/0x20
reiserfs_get_block+0xeb5/0xf20
__getblk+0x17/0x30
is_tree_node+0x36/0x50
...(There is more if it's really needed)
Code 0F 0B 50 01 78 3F 38 c0 68 60 D8 53 C0 B8 90 3C 38 C0 8D 96
Segmentation Fault
^ permalink raw reply [flat|nested] 9+ messages in thread
* Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?)
@ 2002-11-30 16:48 Colin Slater
2002-11-30 17:06 ` Oleg Drokin
0 siblings, 1 reply; 9+ messages in thread
From: Colin Slater @ 2002-11-30 16:48 UTC (permalink / raw)
To: reiserfs-list
Upon compiling and booting 2.5.50, there seemed to be a flurry of
messages regarding /etc/mtab and /etc/mtab~77 or ~32 or some other
random numbers. ls in /etc seems to look good, but upon opening mtab
up in vi, I get a kernel BUG, and everything stops responding. I flip
VT's and type my username, but never get a password prompt. I rebooted
again, and cat'ed dmesg to a file just for safety. That works, until I
open it up, where I get the BUG again. Reboot to 2.5.47, everything
seems to work ok. Open up the dmesg file I saved, no bug, but the file
seems to be garbage. hexdump looks like
0000000: 6c64 2e73 6f2d 312e 372e 3000 2c03 0000 ld.so-1.7.0.,...
0000010: 0300 0000 504c 0000 5c4c 0000 0300 0000 ....PL..\L......
0000020: 714c 0000 7b4c 0000 0300 0000 8e4c 0000 qL..{L.......L..
ld.so? My systems is completely reiserfs (3.6), and nothing has
changed in my config file between 2.5.47 and 2.5.50. Upon looking
through the source tree, it seems like lines 1134-7 in
fs/reiserfs/namei.c seem to be throwing this panic. Only changesets to
touch namei.c in the past 4 months are "nanosecond stat timefields" and
"*_mknod prototype". I really can't see why these would cause this
problem, so maybe someone else does. Hand-copied output from the
BUG() follows, so this is only what I thought was important and might
contain errors. If you need any other information I will gladly supply
it.
Colin
vs-7050: new entry is found, new inode==0
--cut here--
kernel BUG at fs/reiserfs/prints.c:336
invalid operand:0000
EIP: 0060:[<c01c70e9>] Not Tainted
EIP is at reiserfs_panic+0x29/0x60
Call Trace
reiserfs_rename+0x33d/0x9e0
journal_end+0x16/0x20
reiserfs_get_block+0xeb5/0xf20
__getblk+0x17/0x30
is_tree_node+0x36/0x50
...(There is more if it's really needed)
Code 0F 0B 50 01 78 3F 38 c0 68 60 D8 53 C0 B8 90 3C 38 C0 8D 96
Segmentation Fault
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?)
2002-11-30 16:48 Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?) Colin Slater
@ 2002-11-30 17:06 ` Oleg Drokin
2002-12-02 2:45 ` Ed Tomlinson
0 siblings, 1 reply; 9+ messages in thread
From: Oleg Drokin @ 2002-11-30 17:06 UTC (permalink / raw)
To: Colin Slater; +Cc: reiserfs-list
Hello!
On Sat, Nov 30, 2002 at 11:48:25AM -0500, Colin Slater wrote:
> ld.so? My systems is completely reiserfs (3.6), and nothing has
> changed in my config file between 2.5.47 and 2.5.50. Upon looking
> through the source tree, it seems like lines 1134-7 in
> fs/reiserfs/namei.c seem to be throwing this panic. Only changesets to
> touch namei.c in the past 4 months are "nanosecond stat timefields" and
> "*_mknod prototype". I really can't see why these would cause this
> problem, so maybe someone else does. Hand-copied output from the
> BUG() follows, so this is only what I thought was important and might
> contain errors. If you need any other information I will gladly supply
> it.
Just to make sure, does this patch helps?
===== fs/namei.c 1.59 vs 1.60 =====
--- 1.59/fs/namei.c Thu Nov 28 02:11:14 2002
+++ 1.60/fs/namei.c Fri Nov 29 12:05:33 2002
@@ -1648,7 +1648,7 @@
error = -EBUSY;
else {
error = security_inode_unlink(dir, dentry);
- if (error)
+ if (!error)
error = dir->i_op->unlink(dir, dentry);
}
up(&dentry->d_inode->i_sem);
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?)
@ 2002-11-30 17:59 Colin Slater
0 siblings, 0 replies; 9+ messages in thread
From: Colin Slater @ 2002-11-30 17:59 UTC (permalink / raw)
To: Oleg Drokin; +Cc: reiserfs-list
> Just to make sure, does this patch helps?
Perfectly. Thank you much.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?)
[not found] <20021130.104556.59462872.hoho@tacomeat.net.suse.lists.linux.kernel>
@ 2002-11-30 18:43 ` Andi Kleen
0 siblings, 0 replies; 9+ messages in thread
From: Andi Kleen @ 2002-11-30 18:43 UTC (permalink / raw)
To: Colin Slater; +Cc: linux-kernel
Colin Slater <hoho@tacomeat.net> writes:
> ld.so? My systems is completely reiserfs (3.6), and nothing has
> changed in my config file between 2.5.47 and 2.5.50. Upon looking
> through the source tree, it seems like lines 1134-7 in
I just tested it and reiserfs works fine here with 2.5.50 with some
simple stress tests.
Are you sure you loaded the right modules? The new modutils don't
do any kernel version checking anymore.
-Andi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?)
@ 2002-11-30 19:07 Colin Slater
2002-12-02 7:26 ` Oleg Drokin
0 siblings, 1 reply; 9+ messages in thread
From: Colin Slater @ 2002-11-30 19:07 UTC (permalink / raw)
To: Andi Kleen; +Cc: linux-kernel
> I just tested it and reiserfs works fine here with 2.5.50 with some
> simple stress tests.
>
> Are you sure you loaded the right modules? The new modutils don't
> do any kernel version checking anymore.
Patch from Oleg Drokin fixes this, absolving you from any
responsibility. Sorry to randomly pick a patch and mark it evil. I'm
not sure why I needed this and you (and I assume others) didn't
though. Oleg probably knows.
Colin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?)
2002-11-30 17:06 ` Oleg Drokin
@ 2002-12-02 2:45 ` Ed Tomlinson
2002-12-02 6:16 ` Oleg Drokin
0 siblings, 1 reply; 9+ messages in thread
From: Ed Tomlinson @ 2002-12-02 2:45 UTC (permalink / raw)
To: Oleg Drokin, Colin Slater; +Cc: reiserfs-list
On November 30, 2002 12:06 pm, Oleg Drokin wrote:
> Hello!
>
> On Sat, Nov 30, 2002 at 11:48:25AM -0500, Colin Slater wrote:
> > ld.so? My systems is completely reiserfs (3.6), and nothing has
> > changed in my config file between 2.5.47 and 2.5.50. Upon looking
> > through the source tree, it seems like lines 1134-7 in
> > fs/reiserfs/namei.c seem to be throwing this panic. Only changesets to
> > touch namei.c in the past 4 months are "nanosecond stat timefields" and
> > "*_mknod prototype". I really can't see why these would cause this
> > problem, so maybe someone else does. Hand-copied output from the
> > BUG() follows, so this is only what I thought was important and might
> > contain errors. If you need any other information I will gladly supply
> > it.
>
> Just to make sure, does this patch helps?
This also cleared up boot problems I was having with 2.5.50.
Thanks
Ed Tomlinson
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?)
2002-12-02 2:45 ` Ed Tomlinson
@ 2002-12-02 6:16 ` Oleg Drokin
0 siblings, 0 replies; 9+ messages in thread
From: Oleg Drokin @ 2002-12-02 6:16 UTC (permalink / raw)
To: Ed Tomlinson; +Cc: Colin Slater, reiserfs-list
Hello!
On Sun, Dec 01, 2002 at 09:45:48PM -0500, Ed Tomlinson wrote:
> > Just to make sure, does this patch helps?
> This also cleared up boot problems I was having with 2.5.50.
Welcome to the joys of unstable kernel ;)
The bug was introduced into generic kernel during some recent cleanups
and that was not reiserfs bug by itself, but it broke pretty much of stuff
everywhere.
Bye,
Oleg
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?)
2002-11-30 19:07 Colin Slater
@ 2002-12-02 7:26 ` Oleg Drokin
0 siblings, 0 replies; 9+ messages in thread
From: Oleg Drokin @ 2002-12-02 7:26 UTC (permalink / raw)
To: Colin Slater; +Cc: Andi Kleen, linux-kernel
Hello!
On Sat, Nov 30, 2002 at 02:07:19PM -0500, Colin Slater wrote:
> > I just tested it and reiserfs works fine here with 2.5.50 with some
> > simple stress tests.
> > Are you sure you loaded the right modules? The new modutils don't
> > do any kernel version checking anymore.
> Patch from Oleg Drokin fixes this, absolving you from any
> responsibility. Sorry to randomly pick a patch and mark it evil. I'm
> not sure why I needed this and you (and I assume others) didn't
> though. Oleg probably knows.
>
That's not my patch. It is fs/namei.c patch from
SL Baur <steve@kbuxd.necst.nec.co.jp>
And of course everybody needs that patch for 2.5.50.
Bye,
Oleg
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-12-02 7:19 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-30 16:48 Reiserfs broken in 2.5.50 (possibly nanosecond stat timefields?) Colin Slater
2002-11-30 17:06 ` Oleg Drokin
2002-12-02 2:45 ` Ed Tomlinson
2002-12-02 6:16 ` Oleg Drokin
-- strict thread matches above, loose matches on Subject: below --
2002-11-30 19:07 Colin Slater
2002-12-02 7:26 ` Oleg Drokin
[not found] <20021130.104556.59462872.hoho@tacomeat.net.suse.lists.linux.kernel>
2002-11-30 18:43 ` Andi Kleen
2002-11-30 17:59 Colin Slater
2002-11-30 15:45 Colin Slater
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.