[ubuntu-no] Captive-NTFS / LUFS

Robert Bakke robert at expose.no
Fre 17. Jun 2005 14:07:21 CDT


bionic at devilsmansion:/usr/src/linux$ sudo patch -p0
< /usr/src/linux/patch1 patching file kernel/signal.c
patch: **** malformed patch at line 5: EXPORT_SYMBOL(sigprocmask);

Hvorfor får jeg dette?

Og jeg skal compilere kernel og modules og boote ny kernel før jeg
installer captive-static-1.1.5-0.i386.deb (gjort om fra rpm, går greit?)
med dgpk -i captive-static-1.1.5-0.i386.deb?

make bzImage
make modules
make modules_install
make install
For kernel, stemmer?



Mvh
Robert 

On Fri, 2005-06-17 at 19:50 +0200, M.Ali Hussain wrote:
> Patck kernelen din, lagre denne og gå inn på 
> 
> diff -Naur kernel/signal.c.orig kernel/signal.c
> --- kernel/signal.c.orig 2004-12-28 13:23:06.000000000 +0100
> +++ kernel/signal.c 2004-12-28 13:24:59.000000000 +0100
> @@ -1939,6 +1939,7 @@
> EXPORT_SYMBOL(sigprocmask);
> EXPORT_SYMBOL(block_all_signals);
> EXPORT_SYMBOL(unblock_all_signals);
> +EXPORT_SYMBOL(kill_proc_info); /* hcz */
> 
> 
> /*
> 
> gå inn på usr/src/linux dir og gjør følgende:
> 
> patch -p0 < /path-to-previously-created-patch-gkommer-her
> 
>  Download captive-ntfs .og installer
> 
> Compiler  kernel aog modules og reboot.
> 
> Kjør captive-install-acquire og mount mount -t captive-ntfs
> 
> håper det hjelper. 
> 
> On 6/17/05, Robert Bakke <robert at expose.no> wrote:
> > Hei. Noen som har fått til captive-ntfs og lufs i Ubuntu 5.04? Sliter
> > som fy her. Captive-ntfs compiled fint, men så må jeg preppe modulen til
> > lufs med /usr/share/lufs/prepmode. Men det er da jeg får errors.
> > 
> > bionic at devilsmansion:~$ sudo /usr/share/lufs/prepmod
> > Password:
> > + /sbin/modprobe lufs 2>/dev/null
> > Preparing LUFS kernel module... Run /usr/share/lufs/prepmod if problems
> > occur.
> > Running kernel version: 2.6.10-5-386 (base version 2.6.10)
> > Destination module directory: /lib/modules/2.6.10-5-386/kernel/fs/lufs
> > Using kernel sources: /lib/modules/2.6.10-5-386/build
> > + set -e; /bin/mkdir -p `dirname /var/lib/lufs/lufs.ko`; /bin/rm
> > -f /var/lib/luf s/lufs.ko; make -C /lib/modules/2.6.10-5-386/build
> > SUBDIRS="/usr/share/lufs/2.6"  modules EXTRA_CFLAGS=""; /bin/mv
> > -f /usr/share/lufs/2.6/lufs.ko /var/lib/lufs/l ufs.ko; /bin/rm
> > -f /usr/share/lufs/2.6/proc.o /usr/share/lufs/2.6/.proc.o.flags /usr/share/lufs/2.6/.proc.o.cmd /usr/share/lufs/2.6/inode.o /usr/share/lufs/2.6/ .inode.o.flags /usr/share/lufs/2.6/.inode.o.cmd /usr/share/lufs/2.6/dir.o /usr/s hare/lufs/2.6/.dir.o.flags /usr/share/lufs/2.6/.dir.o.cmd /usr/share/lufs/2.6/fi le.o /usr/share/lufs/2.6/.file.o.flags /usr/share/lufs/2.6/.file.o.cmd /usr/shar e/lufs/2.6/symlink.o /usr/share/lufs/2.6/.symlink.o.flags /usr/share/lufs/2.6/.s ymlink.o.cmd /usr/share/lufs/2.6/lufs.mod.o /usr/share/lufs/2.6/.lufs.mod.o.flag s /usr/share/lufs/2.6/.lufs.mod.o.cmd /usr/share/lufs/2.6/lufs.o /usr/share/lufs /2.6/.lufs.o.flags /usr/share/lufs/2.6/.lufs.o.cmd /usr/share/lufs/2.6/lufs.mod. c /usr/share/lufs/2.6/.lufs.ko.cmd;
> > make: Entering directory `/usr/src/linux-headers-2.6.10-5-386'
> >   CC [M]  /usr/share/lufs/2.6/dir.o
> >   CC [M]  /usr/share/lufs/2.6/file.o
> >   CC [M]  /usr/share/lufs/2.6/inode.o
> >   CC [M]  /usr/share/lufs/2.6/proc.o
> >   CC [M]  /usr/share/lufs/2.6/symlink.o
> >   LD [M]  /usr/share/lufs/2.6/lufs.o
> >   Building modules, stage 2.
> >   MODPOST
> > *** Warning: "kill_proc_info" [/usr/share/lufs/2.6/lufs.ko] undefined!
> >   CC      /usr/share/lufs/2.6/lufs.mod.o
> >   LD [M]  /usr/share/lufs/2.6/lufs.ko
> > make: Leaving directory `/usr/src/linux-headers-2.6.10-5-386'
> > + /bin/rm -rf /lib/modules/2.6.10-5-386/kernel/fs/lufs; /bin/mkdir
> > -p /lib/modul es/2.6.10-5-386/kernel/fs/lufs; /bin/ln
> > -s /var/lib/lufs/lufs.ko /lib/modules/2.
> > 6.10-5-386/kernel/fs/lufs/lufs.ko
> > + /sbin/rmmod lufs
> > 2>/dev/null; /sbin/insmod /lib/modules/2.6.10-5-386/kernel/fs /lufs/lufs.ko 2>/dev/null
> > Failed to prepare lufs.ko module for your Linux kernel 2.6.10-5-386.
> > Detected Linux kernel sources "/lib/modules/2.6.10-5-386/build" do not
> > appear to  be valid.
> > Please install kernel-source-x.y.z.i386.rpm or
> > kernel-headers_x.y.z_i386.deb.
> > The following directory paths were search (first existing directory
> > used):
> >                 /lib/modules/2.6.10-5-386/build
> >                 /usr/src/kernel-headers-2.6.10-5-386
> >                 /usr/src/linux-2.6.10-5-386
> >                 /usr/src/linux-2.6.10
> >                 /usr/src/linux
> >                 /usr/src/kernel-source-2.6.10-5-386
> > bionic at devilsmansion:~$
> > 
> > 
> > Jeg har installert linux-source-2.6.10 og headers fra synaptic. Noen som
> > kan hjelpe meg? Jeg MÅ ha write support til ntfs partisjonene mine, tro
> > det eller ei :)
> > 
> > Takk.
> > 
> > Mvh Robert
> > 
> > 
> > 
> > 
> > 
> > --
> > ubuntu-no mailing list
> > ubuntu-no at lists.ubuntu.com
> > http://lists.ubuntu.com/mailman/listinfo/ubuntu-no
> > 
> > 
> >
> 





More information about the ubuntu-no mailing list