mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.0, BUG() in JFS
@ 2004-02-13 13:56 Ian Soboroff
  2004-02-16 16:58 ` Dave Kleikamp
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Soboroff @ 2004-02-13 13:56 UTC (permalink / raw)
  To: linux-kernel


I got this oops this morning.  This machine is running 2.6.0... is
this something that's been fixed already?

...
ERROR: (device sdb1): stack overrun in dtSearch!
ERROR: (device sdb1): stack overrun in dtSearch!
BUG at fs/jfs/jfs_dtree.c:3326 assert((btstack)->top != &((btstack)->stack[MAXTREEHEIGHT]))
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_dtree.c:3326!
invalid operand: 0000 [#1]
CPU:    1
EIP:    0060:[<f8cbd29d>]    Not tainted
EFLAGS: 00010282
EIP is at dtReadFirst+0x183/0x20e [jfs]
eax: 0000005f   ebx: ef4e7000   ecx: 00000097   edx: c03bbd1c
esi: f2dae19c   edi: 0d0000bc   ebp: 00000000   esp: d25d5e20
ds: 007b   es: 007b   ss: 0068
Process updatedb (pid: 1669, threadinfo=d25d4000 task=f2886080)
Stack: f8cc9980 f8cc999c 00000cfe f8cc90e0 00000000 db8149a4 f4774564 00000000
       f2dae084 00001000 f8cbcebe f2dae2a0 d25d5ed4 00000002 00000001 00000000
       0002707c 00000004 00100000 00100000 f2dae084 d25d5ea0 00000000 00000001
Call Trace:
 [<f8cbcebe>] jfs_readdir+0x934/0xb90 [jfs]
 [<c0247d47>] inode_has_perm+0x65/0x98
 [<c0170c02>] vfs_readdir+0xae/0xb0
 [<c0170f32>] filldir64+0x0/0x148
 [<c01710f5>] sys_getdents64+0x7b/0xc1
 [<c0170f32>] filldir64+0x0/0x148
 [<c010abeb>] syscall_call+0x7/0xb

Code: 0f 0b fe 0c 9c 99 cc f8 e9 58 ff ff ff 8b 54 24 30 8b 02 89


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

* Re: 2.6.0, BUG() in JFS
  2004-02-13 13:56 2.6.0, BUG() in JFS Ian Soboroff
@ 2004-02-16 16:58 ` Dave Kleikamp
  2004-02-17 13:57   ` Ian Soboroff
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Kleikamp @ 2004-02-16 16:58 UTC (permalink / raw)
  To: Ian Soboroff; +Cc: linux-kernel

On Fri, 2004-02-13 at 07:56, Ian Soboroff wrote:
> I got this oops this morning.  This machine is running 2.6.0... is
> this something that's been fixed already?

I've seen this reported before, but not with any regularity.  Either a
directory is somehow corrupted, or the directory grew beyond what JFS
was designed to handle (which shouldn't really happen).  Do you have any
directories that would have tens of thousands of entries or more?

What is the result of running fsck?

> 
> ...
> ERROR: (device sdb1): stack overrun in dtSearch!
> ERROR: (device sdb1): stack overrun in dtSearch!
> BUG at fs/jfs/jfs_dtree.c:3326 assert((btstack)->top != &((btstack)->stack[MAXTREEHEIGHT]))

The first two errors used to result in a BUG(), but they have been fixed
to fail more elegantly.  I still need to fix the third.

Thanks,
Shaggy
-- 
David Kleikamp
IBM Linux Technology Center


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

* Re: 2.6.0, BUG() in JFS
  2004-02-16 16:58 ` Dave Kleikamp
@ 2004-02-17 13:57   ` Ian Soboroff
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Soboroff @ 2004-02-17 13:57 UTC (permalink / raw)
  To: Dave Kleikamp; +Cc: linux-kernel

Dave Kleikamp <shaggy@austin.ibm.com> writes:

> On Fri, 2004-02-13 at 07:56, Ian Soboroff wrote:
>> I got this oops this morning.  This machine is running 2.6.0... is
>> this something that's been fixed already?
>
> I've seen this reported before, but not with any regularity.  Either a
> directory is somehow corrupted, or the directory grew beyond what JFS
> was designed to handle (which shouldn't really happen).  Do you have any
> directories that would have tens of thousands of entries or more?
>
> What is the result of running fsck?

fsck reported some errors, but since there were outstanding processes
stuck in the 'D' state, I wanted to wait for the chance to reboot
before letting it repair them.

Ian



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

end of thread, other threads:[~2004-02-17 13:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-13 13:56 2.6.0, BUG() in JFS Ian Soboroff
2004-02-16 16:58 ` Dave Kleikamp
2004-02-17 13:57   ` Ian Soboroff

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

all inboxes | Powered by JetHome®