Re: [Dazuko-help] dazukofs-3.0.1rc2 won't compile

2009-09-12 Thread Helmut Hullen
Hallo, John,

Du meintest am 10.09.09 zum Thema Re: [Dazuko-help] dazukofs-3.0.1rc2 won't 
compile:

 DazukoFS 3.1.0-rc2 (which is the version you should use) is made for
 Linux 2.6.30. The API for 2.6.29 might be a bit different (but it may
 be a simple change to get it to run).

Nearly the same problem:

make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.30.6'
  CC [M]  /usr/src/dazukofs-3.1.0-rc2/file.o
/usr/src/dazukofs-3.1.0-rc2/file.c: In function 'dazukofs_open':
/usr/src/dazukofs-3.1.0-rc2/file.c:185: error: dereferencing pointer to 
incomplete type
make[2]: *** [/usr/src/dazukofs-3.1.0-rc2/file.o] Error 1
make[1]: *** [_module_/usr/src/dazukofs-3.1.0-rc2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30.6'
make: *** [dazukofs_modules] Error 2

I've just compiled my kernel 2.6.30.6 - compiling works (at least kernel  
compiling).
Distribution: Slackware current (Slackware 13.0).

Viele Gruesse!
Helmut


___
Dazuko-help mailing list
Dazuko-help@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dazuko-help


Re: [Dazuko-help] dazukofs-3.0.1rc2 won't compile

2009-09-12 Thread Bernd Adda
Helmut Hullen schrieb:
 Hallo, John,
 
 Du meintest am 10.09.09 zum Thema Re: [Dazuko-help] dazukofs-3.0.1rc2 won't 
 compile:
 
 DazukoFS 3.1.0-rc2 (which is the version you should use) is made for
 Linux 2.6.30. The API for 2.6.29 might be a bit different (but it may
 be a simple change to get it to run).
 
 Nearly the same problem:
 
 make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
 make[1]: Entering directory `/usr/src/linux-2.6.30.6'
   CC [M]  /usr/src/dazukofs-3.1.0-rc2/file.o
 /usr/src/dazukofs-3.1.0-rc2/file.c: In function 'dazukofs_open':
 /usr/src/dazukofs-3.1.0-rc2/file.c:185: error: dereferencing pointer to 
 incomplete type
 make[2]: *** [/usr/src/dazukofs-3.1.0-rc2/file.o] Error 1
 make[1]: *** [_module_/usr/src/dazukofs-3.1.0-rc2] Error 2
 make[1]: Leaving directory `/usr/src/linux-2.6.30.6'
 make: *** [dazukofs_modules] Error 2
 
 I've just compiled my kernel 2.6.30.6 - compiling works (at least kernel  
 compiling).
 Distribution: Slackware current (Slackware 13.0).
 
 Viele Gruesse!
 Helmut
 

hello Helmut

I don't know the distri (Slackware 13.0) I use openSUSE

When you compile your kernel, why you don't use redirfs

Other time  John Ogness  and other told me

In order to use Dazuko 2.3.6 with your kernel (2.6.27), you need to
configure it to work with RedirFS. A very quick HOWTO was posted to
the dazuko-devel mailing list:

http://lists.gnu.org/archive/html/dazuko-devel/2009-02/msg00026.html

- - - - -

redirfs + dazuko rundown:

1) download and install the latest redirfs 0.6
   - you can use the following INSTALL file

http://www.redirfs.org/svn/redirfs/tags/redirfs-0.6/src/redirfs/INSTALL

2) download dazuko-2.3.7
   - http://dazuko.dnsalias.org/files/dazuko-2.3.7.tar.gz

3) unpack the dazuko-2.3.7 package

4) copy the Module.symvers file from the redirfs source directory into
   the dazuko-2.3.7 source directory

5) configure dazuko
   $ ./configure --enable-redirfs --redirfsdir=full path to the
redirfs source directory

6) compile a load dazuko module
   $ make
   # insmod dazuko.ko

-FH

- - - - - - - -

nearly 2 weeks ago, Frantisek Hrbata posted a patch against 2.3.6-pre2
to allow Dazuko to work with the latest RedirFS version 0.6. I decided
to integrate the patch and release version 2.3.6 of Dazuko.

This means that Dazuko 2.x could be used with the most recent kernels
by first installing RedirFS. The build and installation procedure is
actually pretty simple:

$ wget http://www.redirfs.org/packages/redirfs-0.6.tar.gz
$ tar xzf redirfs-0.6.tar.gz
$ cd redirfs-0.6
$ make -C /lib/modules/`uname -r`/build M=`pwd` modules
$ sudo make -C /lib/modules/`uname -r`/build M=`pwd` modules_install
$ cd ..
$ wget http://dazuko.dnsalias.org/files/dazuko-2.3.6.tar.gz
$ tar xzf dazuko-2.3.6.tar.gz
$ cd dazuko-2.3.6
$ ./configure --redirfsdir=`pwd`/../redirfs-0.6
$ make
$ sudo make install

That's it.

John Ogness

You can find it also for your kernel
If it works with your distri, I don't know

Bernd


___
Dazuko-help mailing list
Dazuko-help@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dazuko-help


Re: [Dazuko-help] dazukofs-3.0.1rc2 won't compile

2009-09-12 Thread Bernd Adda
Bernd Adda schrieb:
 Helmut Hullen schrieb:
 Hallo, John,
 
 Du meintest am 10.09.09 zum Thema Re: [Dazuko-help] dazukofs-3.0.1rc2 won't 
 compile:
 
 DazukoFS 3.1.0-rc2 (which is the version you should use) is made for
 Linux 2.6.30. The API for 2.6.29 might be a bit different (but it may
 be a simple change to get it to run).
 
 Nearly the same problem:
 
 make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
 make[1]: Entering directory `/usr/src/linux-2.6.30.6'
   CC [M]  /usr/src/dazukofs-3.1.0-rc2/file.o
 /usr/src/dazukofs-3.1.0-rc2/file.c: In function 'dazukofs_open':
 /usr/src/dazukofs-3.1.0-rc2/file.c:185: error: dereferencing pointer to 
 incomplete type
 make[2]: *** [/usr/src/dazukofs-3.1.0-rc2/file.o] Error 1
 make[1]: *** [_module_/usr/src/dazukofs-3.1.0-rc2] Error 2
 make[1]: Leaving directory `/usr/src/linux-2.6.30.6'
 make: *** [dazukofs_modules] Error 2
 
 I've just compiled my kernel 2.6.30.6 - compiling works (at least kernel  
 compiling).
 Distribution: Slackware current (Slackware 13.0).
 
 Viele Gruesse!
 Helmut
 
 
 hello Helmut
 
 I don't know the distri (Slackware 13.0) I use openSUSE
 
 When you compile your kernel, why you don't use redirfs
 
 Other time  John Ogness  and other told me
 
 In order to use Dazuko 2.3.6 with your kernel (2.6.27), you need to
 configure it to work with RedirFS. A very quick HOWTO was posted to
 the dazuko-devel mailing list:
 
 http://lists.gnu.org/archive/html/dazuko-devel/2009-02/msg00026.html
 
 - - - - -
 
 redirfs + dazuko rundown:
 
 1) download and install the latest redirfs 0.6
- you can use the following INSTALL file
 
 http://www.redirfs.org/svn/redirfs/tags/redirfs-0.6/src/redirfs/INSTALL
 
 2) download dazuko-2.3.7
- http://dazuko.dnsalias.org/files/dazuko-2.3.7.tar.gz
 
 3) unpack the dazuko-2.3.7 package
 
 4) copy the Module.symvers file from the redirfs source directory into
the dazuko-2.3.7 source directory
 
 5) configure dazuko
$ ./configure --enable-redirfs --redirfsdir=full path to the
 redirfs source directory
 
 6) compile a load dazuko module
$ make
# insmod dazuko.ko
 
 -FH
 
 - - - - - - - -
 
 nearly 2 weeks ago, Frantisek Hrbata posted a patch against 2.3.6-pre2
 to allow Dazuko to work with the latest RedirFS version 0.6. I decided
 to integrate the patch and release version 2.3.6 of Dazuko.
 
 This means that Dazuko 2.x could be used with the most recent kernels
 by first installing RedirFS. The build and installation procedure is
 actually pretty simple:
 
 $ wget http://www.redirfs.org/packages/redirfs-0.6.tar.gz
 $ tar xzf redirfs-0.6.tar.gz
 $ cd redirfs-0.6
 $ make -C /lib/modules/`uname -r`/build M=`pwd` modules
 $ sudo make -C /lib/modules/`uname -r`/build M=`pwd` modules_install
 $ cd ..
 $ wget http://dazuko.dnsalias.org/files/dazuko-2.3.6.tar.gz
 $ tar xzf dazuko-2.3.6.tar.gz
 $ cd dazuko-2.3.6
 $ ./configure --redirfsdir=`pwd`/../redirfs-0.6
 $ make
 $ sudo make install
 
 That's it.
 
 John Ogness
 
 You can find it also for your kernel
 If it works with your distri, I don't know
 
 Bernd
 


I forgot to tell you, today I use antivir with redirfs and dazukofs:
file:///usr/src/antivir-workstation-pers-3.0.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.27_ub_os11.1.tar.gz
It works fine
Bernd


___
Dazuko-help mailing list
Dazuko-help@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dazuko-help


Re: [Dazuko-help] dazukofs-3.0.1rc2 won't compile

2009-09-12 Thread Helmut Hullen
Hallo, Bernd,

Du meintest am 12.09.09 zum Thema Re: [Dazuko-help] dazukofs-3.0.1rc2 won't 
compile:

 Nearly the same problem:

 make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
 make[1]: Entering directory `/usr/src/linux-2.6.30.6'
   CC [M]  /usr/src/dazukofs-3.1.0-rc2/file.o
 /usr/src/dazukofs-3.1.0-rc2/file.c: In function 'dazukofs_open':
 /usr/src/dazukofs-3.1.0-rc2/file.c:185: error: dereferencing pointer
 to incomplete type make[2]: *** [/usr/src/dazukofs-3.1.0-rc2/file.o]
 Error 1 make[1]: *** [_module_/usr/src/dazukofs-3.1.0-rc2] Error 2
 make[1]: Leaving directory `/usr/src/linux-2.6.30.6'
 make: *** [dazukofs_modules] Error 2

 Other time  John Ogness  and other told me

 In order to use Dazuko 2.3.6 with your kernel (2.6.27), you need to
 configure it to work with RedirFS. A very quick HOWTO was posted to
 the dazuko-devel mailing list:

 http://lists.gnu.org/archive/html/dazuko-devel/2009-02/msg00026.html

 - - - - -

[...]

 5) configure dazuko
$ ./configure --enable-redirfs --redirfsdir=full path to the
 redirfs source directory


dazukofs-3.1.0-rc2 has no configure file - sorry.

Viele Gruesse!
Helmut


___
Dazuko-help mailing list
Dazuko-help@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dazuko-help


Re: [Dazuko-help] dazukofs-3.0.1rc2 won't compile

2009-09-12 Thread Bernd Adda
Helmut Hullen schrieb:
 Hallo, Bernd,
 
 Du meintest am 12.09.09 zum Thema Re: [Dazuko-help] dazukofs-3.0.1rc2 won't 
 compile:
 
 Nearly the same problem:

 make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
 make[1]: Entering directory `/usr/src/linux-2.6.30.6'
   CC [M]  /usr/src/dazukofs-3.1.0-rc2/file.o
 /usr/src/dazukofs-3.1.0-rc2/file.c: In function 'dazukofs_open':
 /usr/src/dazukofs-3.1.0-rc2/file.c:185: error: dereferencing pointer
 to incomplete type make[2]: *** [/usr/src/dazukofs-3.1.0-rc2/file.o]
 Error 1 make[1]: *** [_module_/usr/src/dazukofs-3.1.0-rc2] Error 2
 make[1]: Leaving directory `/usr/src/linux-2.6.30.6'
 make: *** [dazukofs_modules] Error 2
 
 Other time  John Ogness  and other told me
 
 In order to use Dazuko 2.3.6 with your kernel (2.6.27), you need to
 configure it to work with RedirFS. A very quick HOWTO was posted to
 the dazuko-devel mailing list:
 
 http://lists.gnu.org/archive/html/dazuko-devel/2009-02/msg00026.html
 
 - - - - -
 
 [...]
 
 5) configure dazuko
$ ./configure --enable-redirfs --redirfsdir=full path to the
 redirfs source directory
 
 
 dazukofs-3.1.0-rc2 has no configure file - sorry.
 
 Viele Gruesse!
 Helmut
 

das betraf doch dazuko
Natürlich hat dazukofs kein ./configure aber ein README
in dem alles erläutert wird.
Bernd


___
Dazuko-help mailing list
Dazuko-help@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dazuko-help


Re: [Dazuko-help] dazukofs-3.0.1rc2 won't compile

2009-09-11 Thread Helmut Hullen
Hallo, John,

Du meintest am 10.09.09 zum Thema Re: [Dazuko-help] dazukofs-3.0.1rc2 won't 
compile:

 make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
 make[1]: Entering directory `/usr/src/linux-2.6.29.6'
   CC [M]  /usr/src/dazukofs-3.0.1-rc2/file.o
 /usr/src/dazukofs-3.0.1-rc2/file.c: In function 'dazukofs_open':
 /usr/src/dazukofs-3.0.1-rc2/file.c:193: error: too few arguments to
 function 'dentry_open'

 What does your /usr/src/linux-2.6.29.6/include/linux/fs.h look
 like. (Actually, I am only interested in the prototype for
 dentry_open.)

/* fs/open.c */

extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,
   struct file *filp);
extern long do_sys_open(int dfd, const char __user *filename, int flags,
int mode);
extern struct file *filp_open(const char *, int, int);
extern struct file * dentry_open(struct dentry *, struct vfsmount *, int,
 const struct cred *);
extern int filp_close(struct file *, fl_owner_t id);
extern char * getname(const char __user *);


 DazukoFS 3.1.0-rc2 (which is the version you should use) is made for
 Linux 2.6.30. The API for 2.6.29 might be a bit different (but it may
 be a simple change to get it to run).

I'll try it the next days.

Viele Gruesse!
Helmut


___
Dazuko-help mailing list
Dazuko-help@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dazuko-help


Re: [Dazuko-help] dazukofs-3.0.1rc2 won't compile

2009-09-10 Thread John Ogness
On 2009-09-09, Helmut Hullen hul...@t-online.de wrote:
 I've tried to compile dazukofs-3.0.1-rc2 on 2 slackware machines.

 make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
 make[1]: Entering directory `/usr/src/linux-2.6.29.6'
   CC [M]  /usr/src/dazukofs-3.0.1-rc2/file.o
 /usr/src/dazukofs-3.0.1-rc2/file.c: In function 'dazukofs_open':
 /usr/src/dazukofs-3.0.1-rc2/file.c:193: error: too few arguments to function 
 'dentry_open'

What does your /usr/src/linux-2.6.29.6/include/linux/fs.h look
like. (Actually, I am only interested in the prototype for
dentry_open.)

DazukoFS 3.1.0-rc2 (which is the version you should use) is made for
Linux 2.6.30. The API for 2.6.29 might be a bit different (but it may
be a simple change to get it to run).

John Ogness

-- 
Dazuko Maintainer


___
Dazuko-help mailing list
Dazuko-help@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dazuko-help