From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Gregory Subject: Oops with large file in 2.6.8, reiser 3.6.13 Date: Tue, 19 Oct 2004 13:28:20 +0100 Message-ID: <41750864.3060600@liv.ac.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: reiserfs-list@namesys.com Have managed to create an Oops in the reiser code, dmesg output below. This was on a software raid5 setup, with 8 160Gb disks, creating around 1.1Tb of storage. There was around 400Gb of content on this filesystem, then as an over night test, /dev/zero was dd'ed to a file on the filesystem, creating an approx 720Gb file and filling the filesystem. The problem came when I tried to delete it, rm'ing it caused an Oops in the reiser code. The system was rebooted, but mounting the filesystem gave the oops below. Am currently running reiserfsck --check to see if this file can be removed some other way, otherwise, it will mean a very long reformat and copy operation. Something else, this filesystem had recently been resized from 960Gb to the 1.1Tb with the addition of the eighth drive. This is on a FC2 based install, Duron 833, 256 meg. Richard ReiserFS: md0: found reiserfs format "3.6" with standard journal ReiserFS: md0: using ordered data mode ReiserFS: md0: journal params: device md0, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: md0: checking transaction log (md0) ReiserFS: md0: replayed 3 transactions in 18 seconds ReiserFS: md0: Using r5 hash to sort names ReiserFS: md0: Removing [2 1282214 0x0 SD]..<0>REISERFS: panic (device md0): journal-1413: journal_mark_dirty: j_len (1024) is too big ------------[ cut here ]------------ kernel BUG at fs/reiserfs/prints.c:362! invalid operand: 0000 [#1] Modules linked in: raid5 xor iteraid sd_mod autofs4 r8169 sg scsi_mod dm_mod uhci_hcd button battery asus_acpi ac ext3 jbd CPU: 0 EIP: 0060:[] Not tainted EFLAGS: 00010292 (2.6.8-1.521custom) EIP is at reiserfs_panic+0x4a/0x70 eax: 0000005c ebx: c03422a8 ecx: c0380f78 edx: c0380f78 esi: c13b1e00 edi: c13b1f2c ebp: c13b1e00 esp: cc852950 ds: 007b es: 007b ss: 0068 Process mount (pid: 1204, threadinfo=cc852000 task=cccb2310) Stack: c0347a48 c13b1f2c c0419c60 cc852d1c ffffffff ca5a59a0 c01a28f8 c13b1e00 c03498dc 00000400 c13b1e00 c019e589 000017bc d08f50e4 00007fff c13b1e00 00000000 00007fff c13b1e00 000017bc 0bde7fff c017e384 cc852a20 c95ee018 Call Trace: [] journal_mark_dirty+0x288/0x2a0 [] get_bitmap_node+0x39/0xa0 [] _reiserfs_free_block+0xf4/0x180 [] prepare_for_delete_or_cut+0x515/0x710 [] unfix_nodes+0x61/0x140 [] reiserfs_cut_from_item+0xac/0x4f0 [] reiserfs_do_truncate+0x26c/0x520 [] reiserfs_delete_object+0x2b/0x60 [] reiserfs_delete_inode+0xb7/0x100 [] printk+0xf7/0x140 [] reiserfs_delete_inode+0x0/0x100 [] generic_delete_inode+0x74/0xf0 [] iput+0x4c/0x60 [] finish_unfinished+0x1c5/0x310 [] __lookup_hash+0x89/0xb0 [] journal_end+0x96/0xc0 [] reiserfs_fill_super+0x4da/0x640 [] reiserfs_init_locked_inode+0x0/0x10 [] snprintf+0x1f/0x30 [] get_sb_bdev+0xef/0x120 [] get_super_block+0x1b/0x40 [] reiserfs_fill_super+0x0/0x640 [] do_kern_mount+0x51/0xe0 [] do_new_mount+0x8a/0xc0 [] do_mount+0x13f/0x180 [] __copy_from_user_ll+0x3a/0x70 [] copy_mount_options+0x6c/0xe0 [] sys_mount+0x8e/0xf0 [] syscall_call+0x7/0xb Code: 0f 0b 6a 01 ce 27 34 c0 85 f6 c7 44 24 08 60 9c 41 c0 c7 04