[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dazuko-help] compile problem
From: |
Benjamin Adler |
Subject: |
Re: [Dazuko-help] compile problem |
Date: |
Thu, 30 Sep 2004 01:08:28 +0200 |
User-agent: |
KMail/1.7.50 |
Hello John!
I found it! After booting the kernel created with your .config (except for
some small changes like smp), my gentoo-linux gave warnings while booting up,
since its init-scripts allegedly require devfs.
Anyway, it still did boot up, I logged in as root, mknod'ed the /dev/dazuko
(because it was somehow gone) and boom, it worked perfectly, even with other
events than OPEN.
To confirm my thought that it was some devfs-problem, I "make menuconfig"'ed
and added only devfs-support. The gentoo-init-warning-messsages were gone,
but again, dazuko wouldn't work. So it's devfs.
As I wrote you in one of my earlier mails, dazuko-2.0.4-pre2 can't be compiled
if there is devfs support in the kernel AND devfs support is enabled (or not
explicitly disabled) in the configure scipt. Maybe you should try to enable
devfs in your kernel and try it? For me, it looks like this:
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c: In function `xp_sys_hook':
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:476: warning: implicit declaration of
function `devfs_register_chrdev'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:477: warning: implicit declaration of
function `devfs_register'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:477: error: `DEVFS_FL_DEFAULT'
undeclared (first use in this function)
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:477: error: (Each undeclared identifier
is reported only once
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:477: error: for each function it appears
in.)
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c: In function `xp_sys_unhook':
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:501: warning: implicit declaration of
function `devfs_unregister_chrdev'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:502: warning: implicit declaration of
function `devfs_unregister'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:502: warning: implicit declaration of
function `devfs_find_handle'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:502: error: `DEVFS_SPECIAL_CHR'
undeclared (first use in this function)
When I booted the 2.6.8.1-rsbac with devfs, I noticed another
error/warning-message right after devfs was started by some init-scipt. Since
I don't know how to save such a message scrolling by quickly, I actually took
a picture with a digicam :) The message was:
* Mounting /proc.... [ok]
* Starting devfsd... [ok]
rsbac_adf_request(): request READ_OPEN, pid 348, ppid 333, prog_name devfsd,
uid 0, target_type DEV, tid char 254:00, attr none, value 0, result
NOT_GRANTED (Softmode) by DAZ
I'm not sure, but that warning has probably been there ever since my problems
started, and I just haven't seen it :(
My question: Since gentoo needs devfs, how can I have both devfs and dazuko?
wohoo :)
ben
- [Dazuko-help] compile problem, Benjamin Adler, 2004/09/25
- Re: [Dazuko-help] compile problem, John Ogness, 2004/09/25
- Message not available
- Re: [Dazuko-help] compile problem, John Ogness, 2004/09/27
- Re: [Dazuko-help] compile problem, Benjamin Adler, 2004/09/27
- Re: [Dazuko-help] compile problem, John Ogness, 2004/09/28
- Re: [Dazuko-help] compile problem, Benjamin Adler, 2004/09/28
- Re: [Dazuko-help] compile problem, John Ogness, 2004/09/29
- Re: [Dazuko-help] compile problem,
Benjamin Adler <=
- Re: [Dazuko-help] compile problem, John Ogness, 2004/09/30
- Re: [Dazuko-help] compile problem, Benjamin Adler, 2004/09/30
- Re: [Dazuko-help] compile problem, John Ogness, 2004/09/30