Opss! on 2.5.6 with ReiserFS
I have got oops at boot time from 2.5.6-pre3 and 2.5.6 on system with reiserfs root filesystem on ide. Oops occurs
during attempt to mount /. No modules in kernel.
2.5.6-pre2 was okay.
2.5.6:
Unable to handle kernel NULL pointer dereference at virtual address 00000010 c012cae6 *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[<c012cae6>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010292
eax: d8802000 ebx: 0000000f ecx: 00000009 edx: 00000000
esi: 00000009 edi: 00002012 ebp: 00000000 esp: c143bd7c
ds: 0018 es: 0018 ss: 0018
Stack: 00001000 00002012 00000000 d7e9a800 c0123f4b c012cfdb 00000000 00002012
00001000 d7e9a800 d7e54000 d88133ec c012d19c 00000000 00002012 00001000
d7e9a800 c018cb53 00000000 00002012 00001000 00000400 00000000 d7e9a954
Call Trace: [<c0123f4b>] [<c012cfdb>] [<c012d19c>] [<c018cb53>] [<c012c480>]
[<c017f486>] [<c017fd43>] [<c0195402>] [<c0130329>] [<c0180112>] [<c017fc1c>]
[<c01304cf>] [<c013ecb8>] [<c013ef6e>] [<c013edd4>] [<c013f2e0>] [<c01051e9>]
[<c0105028>] [<c0105550>]
Code: 0f b7 45 10 b0 00 66 0f b6 55 10 01 d0 25 ff ff 00 00 89 44Quoted 1 line
Quoted 1 line
EIP;
c012cae6<__get_hash_table+1a/9c> <=====
Trace; c0123f4b <__vmalloc+fb/1c0>
Trace; c012cfdb <__getblk+17/38>
Trace; c012d19c <__bread+14/6c>
Trace; c018cb53 <journal_init+eb/68c>
Trace; c012c480 <__wait_on_buffer+84/90>
Trace; c017f486 <read_bitmaps+ce/160>
Trace; c017fd43 <reiserfs_fill_super+127/490>
Trace; c0195402 <sprintf+12/18>
Trace; c0130329 <get_sb_bdev+22d/29c>
Trace; c0180112 <reiserfs_get_sb+1a/20>
Trace; c017fc1c <reiserfs_fill_super+0/490>
Trace; c01304cf <do_kern_mount+47/c4>
Trace; c013ecb8 <do_add_mount+64/130>
Trace; c013ef6e <do_mount+14a/164>
Trace; c013edd4 <copy_mount_options+50/a0>
Trace; c013f2e0 <sys_mount+7c/bc>
Trace; c01051e9 <prepare_namespace+a9/e0>
Trace; c0105028 <init+c/124>
Trace; c0105550 <kernel_thread+28/38>
Code; c012cae6 <__get_hash_table+1a/9c>
00000000 <_EIP>:
Code; c012cae6 <__get_hash_table+1a/9c> <=====
0: 0f b7 45 10 movzwl 0x10(%ebp),%eax <=====
Code; c012caea <__get_hash_table+1e/9c>
4: b0 00 mov $0x0,%al
Code; c012caec <__get_hash_table+20/9c>
6: 66 0f b6 55 10 movzbw 0x10(%ebp),%dx
Code; c012caf1 <__get_hash_table+25/9c>
b: 01 d0 add %edx,%eax
Code; c012caf3 <__get_hash_table+27/9c>
d: 25 ff ff 00 00 and $0xffff,%eax
Code; c012caf8 <__get_hash_table+2c/9c>
12: 89 44 00 00 mov %eax,0x0(%eax,%eax,1)
<0>Kernel panic: Attempted to kill init!
2.5.6-pre3 oops looks almost identical. It is at
http://home.earthlink.net/~rwhron/kernel/2.5.6p3.ksymoops
CONFIG_X86=yCONFIG_ISA=yCONFIG_UID16=yCONFIG_EXPERIMENTAL=yCONFIG_NET=yCONFIG_SYSVIPC=yCONFIG_SYSCTL=yCONFIG_MK6=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_X86_L1_CACHE_SHIFT=5CONFIG_X86_ALIGNMENT_16=yCONFIG_X86_TSC=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_NOHIGHMEM=yCONFIG_MTRR=yCONFIG_PCI=yCONFIG_PCI_GOANY=yCONFIG_PCI_BIOS=yCONFIG_PCI_DIRECT=yCONFIG_PCI_NAMES=yCONFIG_KCORE_ELF=yCONFIG_BINFMT_ELF=yCONFIG_BLK_DEV_FD=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTI_MODE=yCONFIG_BLK_DEV_IDECD=yCONFIG_BLK_DEV_IDEPCI=yCONFIG_BLK_DEV_IDEDMA_PCI=yCONFIG_IDEDMA_PCI_AUTO=yCONFIG_BLK_DEV_IDEDMA=yCONFIG_BLK_DEV_ADMA=yCONFIG_BLK_DEV_VIA82CXXX=yCONFIG_IDEDMA_AUTO=yCONFIG_BLK_DEV_IDE_MODES=yCONFIG_NETDEVICES=yCONFIG_NET_ETHERNET=yCONFIG_NET_PCI=yCONFIG_8139TOO=yCONFIG_SOUND_GAMEPORT=yCONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_SERIAL=yCONFIG_SERIAL_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=64CONFIG_REISERFS_FS=yCONFIG_RAMFS=yCONFIG_ISO9660_FS=yCONFIG_PROC_FS=yCONFIG_DEVPTS_FS=yCONFIG_EXT2_FS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_NFSD=yCONFIG_NFSD_V3=yCONFIG_SUNRPC=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_MSDOS_PARTITION=yCONFIG_VGA_CONSOLE=yCONFIG_DEBUG_KERNEL=yCONFIG_MAGIC_SYSRQ=y
Signature · 1 line
Randy Hron
Hi,
I have a very similar Oops while mounting my ReiserFS root partition with 2.5.6 2.5.5-dj3 and 2.5.6-pre2 are working
If necessary I can handcopy the Oops
Bye
Quoted 62 lines · On Sun, 10 Mar 2002 14:26:09 -0500 [email protected] wrote:
I have got oops at boot time from 2.5.6-pre3 and 2.5.6 on system with reiserfs root filesystem on ide. Oops occurs
during attempt to mount /. No modules in kernel.
2.5.6-pre2 was okay.2.5.6:
Unable to handle kernel NULL pointer dereference at virtual address 00000010 c012cae6 *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[<c012cae6>] Not taintedUsing defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010292
eax:d8802000ebx:0000000fecx: 00000009 edx: 00000000
esi: 00000009 edi: 00002012 ebp: 00000000 esp:c143bd7c
ds: 0018 es: 0018 ss: 0018Stack: 00001000 00002012 00000000 d7e9a800 c0123f4b c012cfdb 00000000 00002012 00001000 d7e9a800 d7e54000 d88133ec c012d19c 00000000 00002012 00001000 d7e9a800 c018cb53 00000000 00002012 00001000 00000400 00000000 d7e9a954 Call Trace: [<c0123f4b>] [<c012cfdb>] [<c012d19c>] [<c018cb53>] [<c012c480>] [<c017f486>] [<c017fd43>] [<c0195402>] [<c0130329>] [<c0180112>] [<c017fc1c>] [<c01304cf>] [<c013ecb8>] [<c013ef6e>] [<c013edd4>] [<c013f2e0>] [<c01051e9>] [<c0105028>] [<c0105550>] Code: 0f b7 45 10 b0 00 66 0f b6 55 10 01 d0 25 ff ff 00 00 89 44Quoted 1 line
Quoted 1 line
EIP;
c012cae6<__get_hash_table+1a/9c> <=====Trace;
c0123f4b<__vmalloc+fb/1c0>
Trace;c012cfdb<__getblk+17/38>
Trace;c012d19c<__bread+14/6c>
Trace;c018cb53<journal_init+eb/68c>
Trace;c012c480<__wait_on_buffer+84/90>
Trace;c017f486<read_bitmaps+ce/160>
Trace;c017fd43<reiserfs_fill_super+127/490>
Trace;c0195402<sprintf+12/18>
Trace;c0130329<get_sb_bdev+22d/29c>
Trace;c0180112<reiserfs_get_sb+1a/20>
Trace;c017fc1c<reiserfs_fill_super+0/490>
Trace;c01304cf<do_kern_mount+47/c4>
Trace;c013ecb8<do_add_mount+64/130>
Trace;c013ef6e<do_mount+14a/164>
Trace;c013edd4<copy_mount_options+50/a0>
Trace;c013f2e0<sys_mount+7c/bc>
Trace;c01051e9<prepare_namespace+a9/e0>
Trace;c0105028<init+c/124>
Trace;c0105550<kernel_thread+28/38>
Code;c012cae6<__get_hash_table+1a/9c>
00000000 <_EIP>:
Code;c012cae6<__get_hash_table+1a/9c> <=====
0: 0f b7 45 10 movzwl 0x10(%ebp),%eax <=====
Code;c012caea<__get_hash_table+1e/9c>
4: b0 00 mov $0x0,%al
Code;c012caec<__get_hash_table+20/9c>
6: 66 0f b6 55 10 movzbw 0x10(%ebp),%dx
Code;c012caf1<__get_hash_table+25/9c>
b: 01 d0 add %edx,%eax
Code;c012caf3<__get_hash_table+27/9c>
d: 25 ff ff 00 00 and $0xffff,%eax
Code;c012caf8<__get_hash_table+2c/9c>
12: 89 44 00 00 mov %eax,0x0(%eax,%eax,1)<0>Kernel panic: Attempted to kill init!
Hello!
Quoted 4 lines · On Sun, Mar 10, 2002 at 02:26:09PM -0500, [email protected] wrote:
I have got oops at boot time from 2.5.6-pre3 and 2.5.6 on system with reiserfs root filesystem on ide. Oops occurs
during attempt to mount /. No modules in kernel.
2.5.6-pre2 was okay.
This is a known merge problem, attached patch will cure it.
Bye,
Oleg
fs/reiserfs/journal.c renamed from fs/reiserfs/journal.c.orig +1 -5
@@ -1960,8 +1960,7 @@SB_ONDISK_JOURNAL_DEVICE ( super ) ?to_kdev_t (SB_ONDISK_JOURNAL_DEVICE ( super )) : super -> s_dev;/* there is no "jdev" option and journal is on separate device */ -if ( ( !jdev_name || !jdev_name[0 ] ) && -SB_ONDISK_JOURNAL_DEVICE ( super ) ) { +if ( ( !jdev_name || !jdev_name[0 ] ) ) { journal -> j_dev_bd =bdget (kdev_t_to_nr ( jdev ) );if ( journal -> j_dev_bd ) result = blkdev_get( journal -> j_dev_bd,
@@ -1976,9 +1975,6 @@return result; } -/* no "jdev" option and journal is on the host device */ -if ( !jdev_name || !jdev_name[0 ] ) -return 0 ; journal -> j_dev_file =filp_open ( jdev_name,0 ,0 );if ( !IS_ERR ( journal -> j_dev_file ) ) {struct inode *jdev_inode;