Re: Arla 0.42-RC2
Tomas Olsson <[email protected]>
| Newsgroups | gmane.comp.file-systems.arla.general |
|---|---|
| Message-ID | <[email protected]> |
[email protected] (Niels Möller) writes: > Apr 3 16:53:02 maskros kernel: Failed to find address of sys_call_table > I've got the same issue on my machine. I'll look into it, but this really shouldn't have much of an impact. > kernel: Unable to handle kernel NULL pointer dereference at virtual > address 00000000 > Not good. The attached patch should fix the problem, it's also in CVS. > maskros kernel: [do_exit+308/1184] do_exit+0x134/0x4a0 > Ok, so what happened was that arlad for some reason died before mount, which triggered the oops. You probably want to start arlad with "-n --debug=alm" or so to see what happens, or under gdb. Thanks /t _______________________________________________ Arla-drinkers mailing list [email protected] https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers
nnpfs-linux-mutex-init.diff
(text/x-patch, 1.3 KB)
Index: arla/nnpfs/linux/nnpfs_dev.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/nnpfs/linux/nnpfs_dev.c,v
retrieving revision 1.115
diff -u -w -r1.115 nnpfs_dev.c
--- arla/nnpfs/linux/nnpfs_dev.c 2005/08/11 09:51:05 1.115
+++ arla/nnpfs/linux/nnpfs_dev.c 2006/04/03 20:56:35
@@ -850,7 +850,10 @@
nnpfs_initq(&nnpfs[i].sleepq);
init_MUTEX(&nnpfs[i].inactive_sem);
init_MUTEX(&nnpfs[i].channel_sem);
+ init_MUTEX(&nnpfs[i].node_sem);
INIT_LIST_HEAD(&nnpfs[i].inactive_list);
+ xn_init_head(&nnpfs[i].node_head);
+ nnpfs[i].nnodes = 0;
}
return 0;
}
Index: arla/nnpfs/linux/nnpfs_vfsops.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/nnpfs/linux/nnpfs_vfsops.c,v
retrieving revision 1.103
diff -u -w -r1.103 nnpfs_vfsops.c
--- arla/nnpfs/linux/nnpfs_vfsops.c 2004/12/22 20:01:59 1.103
+++ arla/nnpfs/linux/nnpfs_vfsops.c 2006/04/03 20:56:02
@@ -216,9 +216,6 @@
nnpfs[minordevice].status |= NNPFS_MOUNTED;
nnpfs[minordevice].sb = sb;
nnpfs[minordevice].root = 0;
- xn_init_head(&nnpfs[minordevice].node_head);
- init_MUTEX(&nnpfs[minordevice].node_sem);
- nnpfs[minordevice].nnodes = 0;
VFS_SET_NNPFS(sb, &nnpfs[minordevice]);
sb->s_op = &nnpfs_sops;