[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LVM+RAID5 Oops on snapshot creation



Hi,

thanks again for this great filesystem. I'm running CVS code (2.4.5) as of
2001-05-30 patched with:

- VFS lock patch
- LVM 0.9.1beta7
- rw SNAPSHOT patch (Dale Stephenson, 2001-05-21)


I've also applied changes in lvm.c (get_hardsect_size). I'm running LVM
on top of RAID 5 array (XFS, no mkfs  options used, QUOTA enabled) of
three disks:

WDC AC36400L (6.4 Gb)
QUANTUM FIREBALL540A (540 Mb)
QUANTUM LP120A GM120A01X (120 Mb)

on a dual channel controller (ASUS P2B motherboard, Celeron).

The system seems to be very stable, even under heavy load, mixing local
and remote access, except for the snapshot that triggers the Oops in
attachment. This problem seems not to affect a bare LVM configuration.

I've also tested with ext2 and seems to run fine.

Hope this helps,

Ciao

-m









Jun  1 20:56:23 speedster kernel: Unable to handle kernel paging request at virtual address 14000000
Jun  1 20:56:23 speedster kernel:  printing eip:
Jun  1 20:56:23 speedster kernel: c0286f09
Jun  1 20:56:23 speedster kernel: *pde = 00000000
Jun  1 20:56:23 speedster kernel: Oops: 0002
Jun  1 20:56:23 speedster kernel: CPU:    0
Jun  1 20:56:23 speedster kernel: EIP:    0010:[remove_hash+25/48]
Jun  1 20:56:23 speedster kernel: EIP:    0010:[<c0286f09>]
Jun  1 20:56:23 speedster kernel: EFLAGS: 00010046
Jun  1 20:56:23 speedster kernel: eax: 00000000   ebx: 00000001   ecx: c3dbbc00   edx: 14000000
Jun  1 20:56:23 speedster kernel: esi: c113ec00   edi: c36f0ba0   ebp: 00000000   esp: c3fc1c6c
Jun  1 20:56:23 speedster kernel: ds: 0018   es: 0018   ss: 0018
Jun  1 20:56:23 speedster kernel: Process kupdated (pid: 7, stackpage=c3fc1000)
Jun  1 20:56:23 speedster kernel: Stack: c02870b6 c3dbbc00 00000200 c113ec00 c0287308 c113ec00 c3fc1c88 c0292cdd 
Jun  1 20:56:23 speedster kernel:        c1527800 c3fc0000 000338f3 c0292cef c3278000 c1527800 00000040 00000033 
Jun  1 20:56:23 speedster kernel:        c113ec00 00000001 c113ec00 00000001 c36f0ba0 00000000 c02890a2 c113ec00 
Jun  1 20:56:23 speedster kernel: Call Trace: [shrink_stripe_cache+54/80] [get_active_stripe+472/1328] [lvm_map+1085/1280] [lvm_map+1103/1280] [raid5_make_request+82/160] [md_make_request+77/128] [lvm_make_request_fn+15/32] 
Jun  1 20:56:23 speedster kernel: Call Trace: [<c02870b6>] [<c0287308>] [<c0292cdd>] [<c0292cef>] [<c02890a2>] [<c028c2cd>] [<c0292daf>] 
Jun  1 20:56:23 speedster kernel:        [generic_make_request+274/304] [end_that_request_first+123/208] [_pagebuf_page_io+543/736] [xlog_state_release_iclog+33/176] [_page_buf_page_apply+439/464] [pagebuf_segment_apply+128/224] [pagebuf_iorequest+254/336] [_page_buf_page_apply+0/464] 
Jun  1 20:56:23 speedster kernel:        [<c0243512>] [<c024390b>] [<c01b318f>] [<c02036e1>] [<c01b3407>] [<c01b3890>] [<c01b351e>] [<c01b3250>] 
Jun  1 20:56:23 speedster kernel:        [xlog_bdstrat_cb+20/64] [xlog_sync+375/848] [__make_request+298/1680] [xfs_trans_tail_ail+17/48] [xlog_assign_tail_lsn+27/144] [xlog_state_release_iclog+148/176] [xlog_state_sync_all+188/352] [xfs_log_force+57/96] 
Jun  1 20:56:23 speedster kernel:        [<c0201c04>] [<c0202317>] [<c0242e9a>] [<c020e5a1>] [<c0201abb>] [<c0203754>] [<c02038ac>] [<c0201529>] 
Jun  1 20:56:23 speedster kernel:        [xfs_syncsub+227/2976] [start_request+384/496] [schedule+619/944] [xfs_sync+21/32] [linvfs_write_super+39/48] [sync_supers+111/144] [sync_old_buffers+10/64] [kupdate+226/240] 
Jun  1 20:56:23 speedster kernel:        [<c02117d3>] [<c02641e0>] [<c0110d7b>] [<c02116e5>] [<c0221cf7>] [<c0133e1f>] [<c0132fca>] [<c0133282>] 
Jun  1 20:56:23 speedster kernel:        [prepare_namespace+0/16] [kernel_thread+38/48] [kupdate+0/240] 
Jun  1 20:56:23 speedster kernel:        [<c0105000>] [<c01054b6>] [<c01331a0>]
Jun  1 20:56:23 speedster kernel: 
Jun  1 20:56:23 speedster kernel: Code: 89 02 c7 41 04 00 00 00 00 c3 8d b6 00 00 00 00 8d bc 27 00 

ksymoops 2.4.0 on i686 2.4.5-xfs-2.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.5-xfs-2/ (default)
     -m /boot/System.map (specified)

No modules in ksyms, skipping objects
Warning (read_lsmod): no symbols in lsmod, is /proc/modules a valid lsmod file?
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(shmem_file_setup) not found in System.map.  Ignoring ksyms_base entry
Warning (compare_maps): mismatch on symbol partition_name  , ksyms_base says c028c4b0, System.map says c014eb00.  Ignoring ksyms_base entry
Jun  1 20:56:23 speedster kernel: Unable to handle kernel paging request at virtual address 14000000
Jun  1 20:56:23 speedster kernel: c0286f09
Jun  1 20:56:23 speedster kernel: *pde = 00000000
Jun  1 20:56:23 speedster kernel: Oops: 0002
Jun  1 20:56:23 speedster kernel: CPU:    0
Jun  1 20:56:23 speedster kernel: EIP:    0010:[remove_hash+25/48]
Jun  1 20:56:23 speedster kernel: EIP:    0010:[<c0286f09>]
Using defaults from ksymoops -t elf32-i386 -a i386
Jun  1 20:56:23 speedster kernel: EFLAGS: 00010046
Jun  1 20:56:23 speedster kernel: eax: 00000000   ebx: 00000001   ecx: c3dbbc00   edx: 14000000
Jun  1 20:56:23 speedster kernel: esi: c113ec00   edi: c36f0ba0   ebp: 00000000   esp: c3fc1c6c
Jun  1 20:56:23 speedster kernel: ds: 0018   es: 0018   ss: 0018
Jun  1 20:56:23 speedster kernel: Process kupdated (pid: 7, stackpage=c3fc1000)
Jun  1 20:56:23 speedster kernel: Stack: c02870b6 c3dbbc00 00000200 c113ec00 c0287308 c113ec00 c3fc1c88 c0292cdd 
Jun  1 20:56:23 speedster kernel:        c1527800 c3fc0000 000338f3 c0292cef c3278000 c1527800 00000040 00000033 
Jun  1 20:56:23 speedster kernel:        c113ec00 00000001 c113ec00 00000001 c36f0ba0 00000000 c02890a2 c113ec00 
Jun  1 20:56:23 speedster kernel: Call Trace: [shrink_stripe_cache+54/80] [get_active_stripe+472/1328] [lvm_map+1085/1280] [lvm_map+1103/1280] [raid5_make_request+82/160] [md_make_request+77/128] [lvm_make_request_fn+15/32] 
Jun  1 20:56:23 speedster kernel: Call Trace: [<c02870b6>] [<c0287308>] [<c0292cdd>] [<c0292cef>] [<c02890a2>] [<c028c2cd>] [<c0292daf>] 
Jun  1 20:56:23 speedster kernel:        [<c0243512>] [<c024390b>] [<c01b318f>] [<c02036e1>] [<c01b3407>] [<c01b3890>] [<c01b351e>] [<c01b3250>] 
Jun  1 20:56:23 speedster kernel:        [<c0201c04>] [<c0202317>] [<c0242e9a>] [<c020e5a1>] [<c0201abb>] [<c0203754>] [<c02038ac>] [<c0201529>] 
Jun  1 20:56:23 speedster kernel:        [<c02117d3>] [<c02641e0>] [<c0110d7b>] [<c02116e5>] [<c0221cf7>] [<c0133e1f>] [<c0132fca>] [<c0133282>] 
Jun  1 20:56:23 speedster kernel:        [<c0105000>] [<c01054b6>] [<c01331a0>] 
Jun  1 20:56:23 speedster kernel: Code: 89 02 c7 41 04 00 00 00 00 c3 8d b6 00 00 00 00 8d bc 27 00 

>>EIP; c0286f09 <remove_hash+19/30>   <=====
Trace; c02870b6 <shrink_stripe_cache+36/50>
Trace; c0287308 <get_active_stripe+1d8/530>
Trace; c0292cdd <lvm_map+43d/500>
Trace; c0292cef <lvm_map+44f/500>
Trace; c02890a2 <raid5_make_request+52/a0>
Trace; c028c2cd <md_make_request+4d/80>
Trace; c0292daf <lvm_make_request_fn+f/20>
Trace; c0243512 <generic_make_request+112/130>
Trace; c024390b <end_that_request_first+7b/d0>
Trace; c01b318f <_pagebuf_page_io+21f/2e0>
Trace; c02036e1 <xlog_state_release_iclog+21/b0>
Trace; c01b3407 <_page_buf_page_apply+1b7/1d0>
Trace; c01b3890 <pagebuf_segment_apply+80/e0>
Trace; c01b351e <pagebuf_iorequest+fe/150>
Trace; c01b3250 <_page_buf_page_apply+0/1d0>
Trace; c0201c04 <xlog_bdstrat_cb+14/40>
Trace; c0202317 <xlog_sync+177/350>
Trace; c0242e9a <__make_request+12a/690>
Trace; c020e5a1 <xfs_trans_tail_ail+11/30>
Trace; c0201abb <xlog_assign_tail_lsn+1b/90>
Trace; c0203754 <xlog_state_release_iclog+94/b0>
Trace; c02038ac <xlog_state_sync_all+bc/160>
Trace; c0201529 <xfs_log_force+39/60>
Trace; c02117d3 <xfs_syncsub+e3/ba0>
Trace; c02641e0 <start_request+180/1f0>
Trace; c0110d7b <schedule+26b/3b0>
Trace; c02116e5 <xfs_sync+15/20>
Trace; c0221cf7 <linvfs_write_super+27/30>
Trace; c0133e1f <sync_supers+6f/90>
Trace; c0132fca <sync_old_buffers+a/40>
Trace; c0133282 <kupdate+e2/f0>
Trace; c0105000 <prepare_namespace+0/10>
Trace; c01054b6 <kernel_thread+26/30>
Trace; c01331a0 <kupdate+0/f0>
Code;  c0286f09 <remove_hash+19/30>
00000000 <_EIP>:
Code;  c0286f09 <remove_hash+19/30>   <=====
   0:   89 02                     mov    %eax,(%edx)   <=====
Code;  c0286f0b <remove_hash+1b/30>
   2:   c7 41 04 00 00 00 00      movl   $0x0,0x4(%ecx)
Code;  c0286f12 <remove_hash+22/30>
   9:   c3                        ret    
Code;  c0286f13 <remove_hash+23/30>
   a:   8d b6 00 00 00 00         lea    0x0(%esi),%esi
Code;  c0286f19 <remove_hash+29/30>
  10:   8d bc 27 00 00 00 00      lea    0x0(%edi,1),%edi


3 warnings issued.  Results may not be reliable.