Kernel oops with HPFS in kernel 2.3.2 SMP

Markus Kossmann (markus.kossmann@inka.de)
Sat, 15 May 1999 17:01:17 +0200


Trying to mount a hpfs filesystem in 2.3.2 SMP causes the following
kernel oops:

May 15 16:39:32 emil2 kernel: HPFS: filesystem error: improperly
stopped; remounting read-only
May 15 16:39:32 emil2 kernel: bad magic ffffffff (should be c24a7288,
creator 0), wq bug, forcing oops.
May 15 16:39:32 emil2 kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000000
May 15 16:39:32 emil2 kernel: current->tss.cr3 = 03996000, %cr3 =
03996000
May 15 16:39:32 emil2 kernel: *pde = 00000000
May 15 16:39:32 emil2 kernel: Oops: 0002
May 15 16:39:32 emil2 kernel: CPU: 0
May 15 16:39:32 emil2 kernel: EIP: 0010:[__wake_up+84/280]
May 15 16:39:32 emil2 kernel: EFLAGS: 00010082
May 15 16:39:32 emil2 kernel: eax: 00000016 ebx: ffffffff ecx:
c027b8e8 edx: c7322000
May 15 16:39:32 emil2 kernel: esi: 00002738 edi: c3c9e200 ebp:
c399de50 esp: c399de38
May 15 16:39:32 emil2 kernel: ds: 0018 es: 0018 ss: 0018
May 15 16:39:32 emil2 kernel: Process mount (pid: 437, process nr: 42,
stackpage=c399d000)
May 15 16:39:32 emil2 kernel: Stack: 00002738 c3c9e200 00000282 c3374a80
00000003 c24a727c c3c9e400 c016c505
May 15 16:39:32 emil2 kernel: c0176f1c c24a7200 c3374a80 00000000
c24a7200 00000001 c24a7200 c24a733c
May 15 16:39:32 emil2 kernel: c24a7334 c028477c 00002738 00000000
c3addc00 c3addc60 c3addb40 00008d8c
May 15 16:39:32 emil2 kernel: Call Trace: [hpfs_unlock_iget+21/24]
[hpfs_read_super+1352/1892] [get_empty_super+96/220] [read_super+258/308
May 15 16:39:32 emil2 kernel: [hpfs_sops+3012/21317]
[system_call+52/64]
May 15 16:39:32 emil2 kernel: Code: c7 05 00 00 00 00 00 00 00 00 83 c4
04 8d 76 00 8b 4d fc 83

There were no problems with 2.2.7-ac4 and hpfs. And there is only one
little change in hpfs between 2.2.7-ac4 and 2.3.2 :
--- linux-2.2.7-ac4-reiser/fs/hpfs/inode.c Mon May 10 04:29:27 1999
+++ linux-2.3.2/fs/hpfs/inode.c Sat May 15 13:01:14 1999
@@ -128,7 +128,7 @@
unsigned char *ea;
int ea_size;
i->i_op = 0;
- i->i_hpfs_sem = MUTEX;
+ init_MUTEX(&i->i_hpfs_sem);
i->i_uid = sb->s_hpfs_uid;
i->i_gid = sb->s_hpfs_gid;
i->i_mode = sb->s_hpfs_mode;

--
Markus Kossmann                                    
markus.kossmann@inka.de

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/