Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49814 - reiserfs kernel bug when copying from software raid-0 to software raid-1 partitions
Summary: reiserfs kernel bug when copying from software raid-0 to software raid-1 part...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 00:57 UTC by gaz
Modified: 2004-06-30 05:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gaz 2004-05-03 00:57:32 UTC
reiserfs kernel bug when copying from software raid-0 to software raid-1 partitions.

hard drives running as ICH5 SATA controller for 2x 120gb samsung SATA drives detected as /dev/sda /dev/sdb

/boot   is software RAID-1 (/dev/sda1 & /dev/sdb1) (100mb) (Ext3)
swap    is swapspace        /dev/sda2 and /dev/sdb2
/       is software RAID-1 (/dev/sda3 & /dev/sdb3) (10gb)  (Reiserfs)
/home   is software RAID-0 (/dev/sda4 & /dev/sdb4)         (XFS)

---------------------- output from dmesg -------------------------

kernel BUG at fs/reiserfs/journal.c:519!
invalid operand: 0000 [#1]
PREEMPT SMP
CPU:    0
EIP:    0060:[<c01be1e8>]    Not tainted VLI
EFLAGS: 00010286   (2.6.6-rc2-mm1)
EIP is at reiserfs_in_journal+0x130/0x1ff
eax: e1857630   ebx: e183b11c   ecx: 00000e8c   edx: 0aeb00ac
esi: c1661000   edi: 00158000   ebp: c1671000   esp: de8f3b34
ds: 007b   es: 007b   ss: 0068
Process cp (pid: 5435, threadinfo=de8f2000 task=df321930)
Stack: 00000000 00007ffe 00000000 c1671000 00000000 00000000 e1839158 c019a1e4
       c1671000 0000002b 00000000 00000001 de8f3b88 00000000 00000000 00000001
       00000003 00000000 00000003 c1671000 00000018 00000000 0000002b c1671000
Call Trace:
 [<c019a1e4>] scan_bitmap_block+0x110/0x56b
 [<c019a775>] scan_bitmap+0x136/0x235
 [<c019b1c7>] reiserfs_allocate_blocknrs+0x1d8/0x7bf
 [<c03823e7>] ata_tf_load_pio+0x113/0x18e
 [<c01a87c9>] reiserfs_allocate_blocks_for_region+0x269/0x15d2
 [<c01b8700>] is_tree_node+0x67/0x69
 [<c01b8d08>] search_by_key+0x606/0x1062
 [<c01b9931>] search_for_position_by_key+0x1cd/0x41e
 [<c01b842b>] pathrelse+0x23/0x34
 [<c01aa846>] reiserfs_prepare_file_region_for_write+0x474/0xa8b
 [<c01ab43d>] reiserfs_file_write+0x5e0/0x86f
 [<c015fe56>] do_sync_read+0x8b/0xb7
 [<c016011c>] vfs_write+0xbc/0x127
 [<c016022c>] sys_write+0x42/0x63
 [<c0106157>] syscall_call+0x7/0xb

Code: 5e 0c 31 c2 81 c3 1c 01 00 00 31 d1 81 e1 ff 1f 00 00 8b 04 8b 85 c0 74 0c 39 78 08 74 27 8b 40 2
0 85 c0 75 f4 31 c0 85 c0 74 0f <0f> 0b 07 02 5b 40 53 c0 b8 01 00 00 00 eb a9 83 86 08 02 00 00
----------------------------------------------------------------------

Reproducible: Always
Steps to Reproduce:
1. cp -r ~/games/quake3/* /usr/local/games/quake3

Actual Results:  
Input/Output error

Expected Results:  
copy to be completed successfully

emerge info hangs
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-06-05 13:16:11 UTC
This may possibly be caused by filesystem inconsistencies. Can you try reiserfsck and seeing if there are any corruption issues?
Comment 2 SpanKY gentoo-dev 2004-06-05 14:21:37 UTC
try his suggestion and if this is still falling apart, try upgrading your kernel

if that fails, the kernel.org site has a bugzilla where you can report this
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2004-06-30 05:15:58 UTC
as I have same/similar problem, I've created bugreport in kernel's bugzilla - http://bugzilla.kernel.org/show_bug.cgi?id=2984