Vkernel on the wiki

2007-01-24 Thread Steve O'Hara-Smith
Hi,

I've added a howto on setting up a vkernel environment to the wiki
at:

http://wiki.dragonflybsd.org/index.cgi/SetupVkernel?highlight=%28CategoryHowTo%29

Feel free to let me know what I've got wrong on it :)

-- 
C:WIN  |   Directable Mirror Arrays
The computer obeys and wins.| A better way to focus the sun
You lose and Bill collects. |licences available see
|http://www.sohara.org/


Re: Vkernel on the wiki

2007-01-24 Thread Sascha Wildner

Steve O'Hara-Smith wrote:

Feel free to let me know what I've got wrong on it :)


Lemme know if there's something that might be worth adding to our 
vkernel(7) manpage.


Sascha

--
http://yoyodyne.ath.cx


What's wrong with net-snmp?

2007-01-24 Thread Petr Janda

Hi there,
Ive configured net-snmp 5.3 from pkgsrc, but on every start up i get:

Jan 25 00:18:10 daria snmpd[17564]: nlist err: neither tcpstat nor 
_tcpstat found.

Jan 25 00:18:10 daria snmpd[17564]: nlist err: neither tcb nor _tcb found.
Jan 25 00:18:10 daria snmpd[17564]: nlist err: neither udb nor _udb found.


Its also impossible to fetch any snmp information from the daemon.

Any ideas?

Thanks,
Petr


Re: What's wrong with net-snmp?

2007-01-24 Thread Petr Janda

Petr Janda wrote:

Hi there,
Ive configured net-snmp 5.3 from pkgsrc, but on every start up i get:

Jan 25 00:18:10 daria snmpd[17564]: nlist err: neither tcpstat nor 
_tcpstat found.
Jan 25 00:18:10 daria snmpd[17564]: nlist err: neither tcb nor _tcb 
found.
Jan 25 00:18:10 daria snmpd[17564]: nlist err: neither udb nor _udb 
found.



Its also impossible to fetch any snmp information from the daemon.

Any ideas?

Thanks,
Petr


My mistake, i can fetch the data now, but the messages stay.

Petr


Re: What's wrong with net-snmp?

2007-01-24 Thread Simon 'corecode' Schubert

Petr Janda wrote:

My mistake, i can fetch the data now, but the messages stay.


Nobody bothered to update net-snmp to our new (2 year old) kernel structures.  
Or maybe they changed again...

cheers
 simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



signature.asc
Description: OpenPGP digital signature


Re: Journals and jscan

2007-01-24 Thread Steve O'Hara-Smith
On Wed, 24 Jan 2007 14:29:02 +
Steve O'Hara-Smith [EMAIL PROTECTED] wrote:

   Unfortunately it's not enough to make the mirror work - something
 seems to be astray in jscan - I'll look into that next.

The -D option is not yet implemented (nothing in dump_mirror.c
looks at ss.ss_mirror_directory) so the files weren't appearing where I
thought they should - but they are appearing :)

I guess a chdir (ss-ss_mirror_directory) at the top of dump_mirror
would do the job nicely, but there should probably be a sanity check
somewhere shortly after the argument parsing to make sure it exists.

If you agree I'll work up a patch.

-- 
C:WIN  |   Directable Mirror Arrays
The computer obeys and wins.| A better way to focus the sun
You lose and Bill collects. |licences available see
|http://www.sohara.org/


Re: Journals and jscan

2007-01-24 Thread Matthew Dillon

:   The leading / is originating in jrecord_write_path in vfs_journal.c,
:I added some debug which revealed that the chain of namecache structures
:ends with an extra one with nc_nlen set to 0. I have no idea if this extra
:record is vital for some purpose so I've added the attached patch to make
:jrecord_write_path ignore it rather than try and track down where it is
:coming from and remove it (I'd hate to destabilise the namecache stuff -
:even in a vkernel).
:
:   Unfortunately it's not enough to make the mirror work - something
:seems to be astray in jscan - I'll look into that next.
:
:   PS: The vkernel is *wonderful* :)

Ah.  This actually makes sense.  I made some major changes to the
way mount points work in the namecache and it is probably confusing
the journaling code.

It would be great if you would like to work on this! 

-Matt
Matthew Dillon 
[EMAIL PROTECTED]