On Mon, 23 Apr 2001, Malte Starostik wrote:
> Hi,
>
> I just read the thread about fam & rh7 in the archive and would like to share
> my own experience with fam and xinetd and newer kernels than 2.4.0-test9.
> I'm running Mandrake 7.2, which also uses xinetd (can't remember if it's the
> default over inetd but IIRC it is). Please CC me for answers as I'm not
> subscribed, could do so though, if neccessary.
>
> I'm using this as /etc/xinetd.d/sgi_fam:
>
> service sgi_fam
> {
> disable = no
> type = RPC
> rpc_version = 1-2
> rpc_number = sgi_fam
> socket_type = stream
> protocol = tcp
> wait = yes
> user = root
> server = /usr/local/bin/fam
> }
>
> It's working perfectly with that (I use it with KDE).
> The imon patch for 2.4.0-test9 applies cleanly to all 2.4 versions I tried
> (several 0-tests, 0, 1, 2 and 3) and seems to work well. I use it with
> reiserfs plus the reiserfs-nfs patches and didn't expect any problems.
> There is one little buglet in linux/fs/imon/Config.in though:
>
> #
> # imon configuration
> #
>
> comment 'Inode monitor support (experimental)'
> tristate 'Inode monitor support (experimental)' CONFIG_IMON
> ^^^^^^^^
> this should be bool instead of tristate as tristate allows to configure imon
> as a module, but doing so results in a whole bunch of undefined references
> when linking the filesystem code during kernel builds.
>
> BTW, Mandrake's /etc/init.d/xinetd kills xinetd with -USR2 to reload the
> config, so I'd propose a procedure like this for the rpm's post script:
> - Check with /sbin/pidof whether inetd is running
> - if so, patch /etc/inetd.conf and run /sbin/killall -HUP inetd
> - else, install /etc/xinetd.d/sgi_fam and run /sbin/killall -USR2 inetd
>
> Sorry, no time to write a real script for that now.
>
This was perfect timing for me. I decided this morning that I was going
to try applying the imon patch to the 2.4.3-xfs kernel (also from
oss.sgi.com) and see if I couldn't get a working post 2.4.0 kernel with
imon. I tried it and just as Malte said it doesn't compile when selected
as a module. I may have read the help doc in the kernel config wrong, but
I could have sworn it said that it had to be selected as a module. The
compile did go through without a hitch once I switched it to be statically
linked into the kernel, however (thanx Malte). Now the only question I
have is where the best place to find fam/imon aware apps is. I need some
that will work on the blackbox window manager. I am pretty sure blackbox
will run gnome apps, but I'm not sure about KDE apps. Will I have to
modify the apps I want to use myself?
Thanx,
Russ
--
Russ Ingram
Gargoyle Computer Consulting
(307)742-1361
www.gargoylecc.com
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|