public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "James Spooner" <james@endace.com>
To: <linux-kernel@vger.kernel.org>
Subject: JFS kernel BUG
Date: Mon, 30 Aug 2004 22:35:39 +1200	[thread overview]
Message-ID: <001001c48e7d$17c63b60$5440a8c0@zeus> (raw)

I've encountered a problem writing large files onto a JFS
filesystem under 2.6.8.1.  As follows.  What is interesting
is that this bug is triggered as the file reaches the 512GB
mark, co-incidence perhaps? :)

mower:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw)
proc on /proc type proc (rw,nodiratime)
/dev/hda1 on /boot type ext3 (rw)
/dev/md0 on /one type jfs (rw)

mower:~# ls -lh /one
total 512G
-rw-r--r--  1 root root 512G Aug 31 10:25 tmp2

Underlying volume is a RAID0 of 3Ware controllers.

Total volume size is just short of 3TB.

File is being opened using O_DIRECT, bypassing the filesystem
cache.  I've also pulled out Andrew Mortons 2.6.9-rc1-mm1
but to no avail.

Any ideas here?

Cheers

James

BUG() output follows....

BUG at fs/jfs/jfs_xtree.c:1701 assert(p->header.nextindex == ((__u16)(2 +
1)))
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_xtree.c:1701!
invalid operand: 0000 [#1]
PREEMPT SMP
Modules linked in: jfs af_packet e1000 dm_mod 3w_9xxx parport_pc lp parport
unix
CPU:    0
EIP:    0060:[<f892ee9d>]    Not tainted
EFLAGS: 00010282   (2.6.8.1)
EIP is at xtExtend+0x3f9/0x786 [jfs]
eax: 00000052   ebx: 00000000   ecx: c047ebd4   edx: 00000286
esi: 00000001   edi: 00000000   ebp: dc4bb1c8   esp: f1c0ba8c
ds: 007b   es: 007b   ss: 0068
Process dfwrite (pid: 1701, threadinfo=f1c0a000 task=f1c0c130)
Stack: f8952b1d f8952b0a 000006a5 f894fac0 f1c0baf4 00000001 f895c5d0
00000008
       00000009 00000000 00000000 dc4bb138 dc4bb0e8 00000000 07fffff8
00000000
       00007730 00000000 dc4bb0e8 ed01000a 07fffff8 00000000 08015ff8
00000000
Call Trace:
 [<f89435a8>] extBalloc+0xf6/0x231 [jfs]
 [<c01772b3>] __mark_inode_dirty+0x1df/0x1e4
 [<f89432d1>] extAlloc+0x41d/0x45b [jfs]
 [<f8928344>] jfs_get_blocks+0x2d8/0x356 [jfs]
 [<c014bc90>] find_extend_vma+0x29/0x7e
 [<c0179d28>] get_more_blocks+0x12d/0x157
 [<c017a523>] do_direct_IO+0x351/0x3e8
 [<c0179ad1>] dio_bio_complete+0xb1/0xf2
 [<c017a7ea>] direct_io_worker+0x230/0x5e6
 [<c017ad94>] __blockdev_direct_IO+0x1f4/0x2da
 [<f892806c>] jfs_get_blocks+0x0/0x356 [jfs]
 [<f8928543>] jfs_direct_IO+0x76/0x82 [jfs]
 [<f892806c>] jfs_get_blocks+0x0/0x356 [jfs]
 [<c013c0d4>] generic_file_direct_IO+0x79/0x93
 [<c013bb06>] generic_file_aio_write_nolock+0x85a/0xb29
 [<c023f522>] copy_from_user+0x4a/0x74
 [<c02702c8>] opost+0xd0/0x20b
 [<c0400a73>] skb_to_sgvec+0x208/0x21e
 [<c0272b62>] write_chan+0x176/0x239
 [<c013be49>] generic_file_write_nolock+0x74/0x8c
 [<c013bf59>] generic_file_write+0x56/0x6e
 [<c0153f47>] vfs_write+0xbc/0x127
 [<c023f4c8>] copy_to_user+0x3e/0x4e
 [<c0154083>] sys_write+0x51/0x80
 [<c0105e47>] syscall_call+0x7/0xb
Code: 0f 0b a5 06 0a 2b 95 f8 8b 6c 24 2c 31 db 83 c5 20 0f b6 45


--

James Spooner, BCMS                     email: james@endace.com
Appliance Division                      voice:   +64 7 834 6721
Endace Technology                         fax:   +64 7 858 5095
Hamilton, New Zealand                  mobile:   +64 2 144 7638


             reply	other threads:[~2004-08-30 10:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 10:35 James Spooner [this message]
2004-08-30 14:55 ` JFS kernel BUG Dave Kleikamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001001c48e7d$17c63b60$5440a8c0@zeus' \
    --to=james@endace.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox