|
From: | Michael |
Subject: | Re: [Dazuko-help] Dazukofs problem in Mandriva 2009.1 |
Date: | Sat, 15 Aug 2009 13:48:07 +0200 |
User-agent: | Thunderbird 2.0.0.22 (X11/20090608) |
As proposed, I added the line
#include <linux/sched.h> in 'file.c' and 'ign_dev.c' , and dazukofs compiled in the 2.6.30 vanilla kernel. But I can't load the module, due to a "Invalid module format": address@hidden dazukofs-3.1.0-rc2]# make make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules make[1]: Entering directory `/usr/src/linux-2.6.30.4' WARNING: Symbol version dump /usr/src/linux-2.6.30.4/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/super.o CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/inode.o CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/file.o CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/dentry.o CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/mmap.o CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/group_dev.o CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/ign_dev.o CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/ctrl_dev.o CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/dev.o CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/event.o LD [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/dazukofs.o Building modules, stage 2. MODPOST 1 modules CC /opt/Prg_tmp/dazukofs-3.1.0-rc2/dazukofs.mod.o LD [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/dazukofs.ko make[1]: Leaving directory `/usr/src/linux-2.6.30.4' address@hidden dazukofs-3.1.0-rc2]# make dazukofs_install make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules make[1]: Entering directory `/usr/src/linux-2.6.30.4' WARNING: Symbol version dump /usr/src/linux-2.6.30.4/Module.symvers is missing; modules will have no dependencies and modversions. Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory `/usr/src/linux-2.6.30.4' mkdir -p /lib/modules/`uname -r`/kernel/fs/dazukofs cp dazukofs.ko /lib/modules/`uname -r`/kernel/fs/dazukofs /sbin/depmod -ae address@hidden dazukofs-3.1.0-rc2]# modprobe dazukofs FATAL: Error inserting dazukofs (/lib/modules/2.6.30.4/kernel/fs/dazukofs/dazukofs.ko): Invalid module format Any suggestions? Thanks! /Michael Lino Sanfilippo skrev: Michael wrote: Hi Michael, you are right, this package does not compile since there are some header includes missing. To make it work the quickest solution is to simply add the line #include <linux/sched.h> in file.c and ign_dev.c. After including this line the code should compile on 2.6.30 vanilla (I am not sure about mandriva kernel). Alternatively you could apply the patches I sent on 09. and 10. Juli: http://lists.gnu.org/archive/html/dazuko-devel/2009-07/msg00020.html http://lists.gnu.org/archive/html/dazuko-devel/2009-07/msg00021.html This would also fix some bugs. Regards, Lino |
[Prev in Thread] | Current Thread | [Next in Thread] |