Re: sysbench threading performance problems

2010-04-07 Thread Petr Janda
  What parameters to sysbench are you using and is the data set being
 tested large enough to blow out the system caches?


Pretty much defaullt:

sysbench --num-threads=1 --test=fileio --file-test-mode=seqrd run

Im not sure if the defaults are sane or insane. The only difference between 
these 2 boxes is the OS and the DF box has 2Gb but the FBSD has 4Gb RAM.

Petr


Re: Hammer question about pruning

2009-08-17 Thread Petr Janda
Sorry for the confusion, IM running a recent kernel + userland, but the file 
system was created about 9 months ago, this is what I have:

min=1 wip=3 max=2 current=1 description=2.0 - First HAMMER release
available versions:
1   NORM2.0 - First HAMMER release
2   NORM2.3 - New directory entry layout

Should I switch to version 2 anyhow?

Petr


Re: hammer: undelete and questions

2009-03-02 Thread Petr Janda
 Shouldn't you look for a file named like 'T_X_F_07x05.rar.part1', instead
 of 'T_X_F_07x05.part1.rar' then ?


It was the same problem, i just redownloaded it.

Petr


hammer: undelete and questions

2009-02-28 Thread Petr Janda
Hey all,
Im still trying to figure out how to undelete a file (without going to 
snapshots). Undo complains that file doesnt exist or has been renamed, 

1) what else can I do? 

2) How do I access transaction history of a file that I deleted?

Thanks,
PEtr


Re: hammer: undelete and questions

2009-02-28 Thread Petr Janda
Hi Matt,
The directory wasnt deleted. I ran the command and this is what it said:

p...@elevator:/home/petr undo -i T_X_F_07x05.part1.rar
Cannot locate src/historical idx=-1 T_X_F_07x05.part1.rar@@0x,
the file may have been renamed in the past.

Which is weird because it definately wasnt renamed, was just deleted. Im 
running DF 2.3 thats from the 7th feb.

I cant find the files in the snapshot from yesterday either (snapshot run at 
3PM), and I added the file later on.

I think it may be caused by the fact that when Kget starts downloading it 
firstly saves the file as filename.part and once it finishes it removes 
the .part.

Petr

On Sun, 1 Mar 2009 14:11:25 Matthew Dillon wrote:
 ::Hey all,
 ::Im still trying to figure out how to undelete a file (without going to
 ::snapshots). Undo complains that file doesnt exist or has been renamed,
 ::
 ::1) what else can I do?
 ::
 ::2) How do I access transaction history of a file that I deleted?
 ::
 ::Thanks,
 ::PEtr

 Oh, another possibility... if the directory containing the file
 was deleted and recreated, then undo will not be able to locate the
 file under the current directory's inode.  At the moment undo does
 not recurse upwards looking for multiple versions of the directory
 path leading up to the file.

 If that is the case the best way to find the file is to run through
 the snapshots.

   -Matt




Question about pkgsrc installation dir

2008-12-14 Thread Petr Janda
Hi,
Why are we by default installing into /usr/pkg as opposed 
to standard /usr/local for 3rd party apps. This always bites me when Im 
installing manually various things that are not in pkgsrc that only look 
at /usr/local.

I think it would have been much easier to stick to standard directories.

Petr


Can someone help make this compile on DragonFly?

2008-12-14 Thread Petr Janda
Hi,
Im trying to compile the official Canon drivers for MF4270(and other Canon 
printers) multifunction laser printer. Unfortunately Im not having success 
compiling many parts of the driver. it requires CUPS installed.

http://gdlp01.c-wss.com/gds/1/010931/03/UFR_II_Printer_Driver_for_Linux_Src_v170_uk_EN.tar.gz

It would be great if it actually also made into pkgsrc so others could use it.

Thanks for any help.
Petr



Re: Rework carp ipv4 support

2008-12-12 Thread Petr Janda
 Configure inet address to carp(4) interface is no longer supported;

Hi Sephe,
May I ask what is the reason for this change?

Petr


Hammer history question

2008-11-21 Thread Petr Janda
So I accidently deleted one of my worksheets. How do I find out modification 
history of the file and the necessary transaction id?

Ive look at hammer history but it doesnt seem to show me anything but the 
last modification

[EMAIL PROTECTED]:/home/petr/docs/callstream_files/2009# hammer history 
report4.ods
report4.ods 000829bb8510 clean {
00086128f420 13-Nov-2008 17:57:06
}

even though I modified the file at least 5 times this week and hammer cleanup 
hasnt been run since last sunday.

What to do?

Petr


Re: Hammer history question

2008-11-21 Thread Petr Janda

 If you want to recover the file, just look into the latest snapshot
 directory on your partition.  Here its /home/snapshots/snap-20081121-0301/
 for the latest snapshot of my /home partition.


The problem is, no snapshot has been created in the last 6 days.

Petr



Re: Serious Postfix weirdness

2008-11-20 Thread Petr Janda
 You can lower MSS instead of lowering MTU - it's much safer option.

How do you lower MSS and not lower MTU?

Thanks,
Petr




Re: Serious Postfix weirdness

2008-11-15 Thread Petr Janda
How is it possible that the sender uses wscale 2^7 and the receiver 2^0? Is 
this a problem?

Could Sephe give a suggestion about what is the problem here and how I can 
solve it?

Thanks,
Petr


Re: Serious Postfix weirdness

2008-11-15 Thread Petr Janda
 window scaling shift 0 is allowed.  It just mean we support window
 scaling, but the shift is 0.
 From the dump, it looks like the other side is a Linux box.

  Could Sephe give a suggestion about what is the problem here and how I
  can solve it?

 As Joerg has suggested, window scaling option may be problematic with
 pf.  You could try set net.inet.tcp.rfc1323 to 0


Here is another dump this time with rfc1323, sack and smartsack disabled. Do 
you notice something weird here?

Thanks,
Petr




postfix_dump2.tgz
Description: application/tgz


Re: Serious Postfix weirdness

2008-11-15 Thread Petr Janda
On Sat, 15 Nov 2008 22:39:26 Sepherosa Ziehau wrote:
 Several segments (203.16.214.214 - 202.76.131.108) are never seen by
 the driver.

 17:48:34.952792 IP 202.76.131.108.25  203.16.214.214.41558: . ack 145 win
 58400

 Application seems to use 5min timeout.  The question is why
 203.16.214.214 did not rexmit?

Im puzzled by this myself. Right now I have no idea where the problem. Why 
would the sender not retransmit? Ive been on this for 2 days now and cant get 
iit over with. grr

Thanks,
Petr


Re: Serious Postfix weirdness

2008-11-15 Thread Petr Janda
On Sun, 16 Nov 2008 08:13:34 Matthew Dillon wrote:
 If hardware checksumming is turned on on the interface, try turning it
 off.  Broken checksum offloading can cause packets to be dropped by
 routers as well as end-points.


Is hardware checksuming the options in ifconfig: hwcsum and txcsum?

Petr


Re: Serious Postfix weirdness

2008-11-15 Thread Petr Janda


 Yes.  Are they on?  If so then turn them off and see if that fixes the
 problem.

I turned them off but it made no difference. On the other hand I decided to 
lower the MTU even more, to 800 and guess what.. some of the lost mail 
started getting through. Unfortunately with a setting like this, imap stops 
working so i had to go back to 1500.

Petr


Re: Serious Postfix weirdness

2008-11-14 Thread Petr Janda
 Is net.inet.tcp.path_mtu_discovery=1?

 Joerg

No, it was set to 0. is it supposed to be set to 1? If so, should the default 
be 1? As far as documentation goes Ive read most of modern UNIX systems have 
it turned on by default.

Cheers,

Petr



Re: Serious Postfix weirdness

2008-11-14 Thread Petr Janda

 It might help.

 Joerg


Ive had it on for like 6 hours now but i dont think it made a difference. 
Thanks anyway.

Im welcome to more suggestions.

Petr


Re: What's type of HAMMER fs volume is?

2008-10-27 Thread Petr Janda
On Mon, 27 Oct 2008 09:59:13 pm lhmwzy wrote:
 At this point,HAMMER seems like a RAID0

Hammer doesn't do RAID.



Installing DragonFly head on Hammer root ?

2008-10-13 Thread Petr Janda
Is it yet possible or is it coming? 1) Does the installer support selection of 
file system. I need to install a DragonFly OS and i definately need at 
least /home and /usr on Hammer, but I want to do it during the install, not 
complicatedly after the install. Can someone show me how?

2) is /boot now on separate partition?

Thanks,
Petr


Re: GSoC: LiveCD

2008-06-02 Thread Petr Janda
I think guys, we should use KDE 4.x for the GUI on the livecd. 

Petr

On Tue, 3 Jun 2008 12:45:31 am VOROSKOI Andras wrote:
 On Mon, Jun 02, 2008 at 04:13:11PM +0200, Robert Luciani wrote:
  I think using Gnome would be better than KDE.
 
  Firstly, all popular apps use gtk+ like: Firefox, Thunderbird,
  OpenOffice, Pidgin, Xchat, Wireshark, gvim, Ekiga, F-Spot, Gimp, and
  much more.

 Well, these depends on gtk+2, not gnome. It's quite obvious that you can
 not live without gtk. I mean I can hardly imagine any desktop machine
 without gtk.

  Secondly, (if we had a compatible HAL) gnome has a lot nicer services
  like NetworkManager, gvfs (volume-manager), power-manager,
  bluetooth-manager and more.

 OK, I'm not too familiar with these.

  Lastly, KDE is oftentimes quite ugly and has way too many buttons.

 I could argue on that, but as I prefer the lightweight things it does
 not really affects me.
 Anyway choose the one you use more often, so you will know how things
 should work and probably also how to fix the bugs popping up.

  In so far as simple window-managers are concerned, there are are newer
  cooler ones that good 'ol blackbox and ratpoison, such as:
  wm/awesome (lightweight) and wip/e17 (almost lightweight).

 Awesome is good with a proper config file. I only tried once.

 As for e17: I would not use it. I'm the e17 maintainer in frugalware and
 e17 is alpha, maximum beta. So it's just not ready. And there are not
 much apps written for EFL, so it just does not worth the work. Just my
 0.02.

  My vote is on one big one: meta-pkgs/gnome
  and one small one: wm/awesome

 Well, it's your call. Whatever you choose is good for me.


Re: New site design

2008-05-29 Thread Petr Janda
Its fine, though could use some improvement. Ideally we should have 
wiki/mainsite/bugtracker and everything else connected together in a 
database(postgres), so that we could use thing such things like full-text 
search etc. I am a web developer by profession, so i could help out. That is 
if people find it acceptable to code DragonFly's website in ie Ruby On Rails. 
Mind that, Im packed out with work for the next few months. But I would 
definately like to contribute in one way or another.

Petr

On Thu, 29 May 2008 11:44:12 pm Oliver Fromme wrote:
 Justin C. Sherrill wrote:
   James Frazer put together a nice site redesign based on some discussion
   we had here before.  He sent me a copy of it all, and I'm only now
   catching up enough to show it:
  
   http://www.shiningsilence.com:81/
  
   I'm happy with the layout and content; I'm looking for further
   suggestions for tweaks.  If there's no show-stopping objections, I'd
   like to move the dragonflybsd.org site to this.

 I like it.

 Although I agree with others that the title would look
 better with a slightly larger font instead of spaced
 letters.  I also think the title should include the logo.

 Other than that, good work!

 Best regards
Oliver


Re: Ruby crash on DragonFly

2008-03-31 Thread Petr Janda
Ok, How strange. I get a different error now:

Core was generated by `ruby18'.
Program terminated with signal 4, Illegal instruction.
#0  0x2809a251 in rb_eval (self=701276060, n=0x29cfd9dc) at eval.c:2927

warning: Source file is more recent than executable.
2927{


What's going on here? Updating all the ruby packages to the latest of 2007Q4 
makes no difference.

Ive also upgraded from DF 1.8 to 1.12 yesterday.

Petr


Re: Ruby crash on DragonFly

2008-03-31 Thread Petr Janda
More weird things happening after /but might be not related to/ upgrade tp 
1.12. Im trying to recompile language/ruby18-base and the process completely 
halts here:


cc -shared -Wl,-R -Wl,/usr/pkg/lib -L/usr/pkg/lib  -Wl,-soname,libruby18.so.18  
array.o  bignum.o  class.o  compar.o  dir.o  dln.o  enum.o  error.o  eval.o  
file.o  gc.o  hash.o  inits.o  io.o  marshal.o  math.o  numeric.o  object.o  
pack.o  parse.o  process.o  prec.o  random.o  range.o  re.o  regex.o  ruby.o  
signal.o  sprintf.o  st.o  string.o  struct.o  time.o  util.o  variable.o  
version.o  isnan.o isinf.o dmyext.o -lpthread -lcrypt -lm -lpthread  -o 
libruby18.so.18
--- ./.rbconfig.time ---
rbconfig.rb updated
--- all ---
compiling Win32API
compiling bigdecimal


No error just halt. I can ctrl+c out of it, but thats not the point. bmake 
and miniruby  which should be eating the cpu cycles are both 0.00%.


Re: Ruby crash on DragonFly

2008-03-31 Thread Petr Janda
 What happens on your console if you use the tracer as follows?

 Tracer.on
 @zones = client.zones
 Tracer.off

Theres a LOT of output, but it doesn't crash since, I believe ,running from 
console is similar to running from controller.


Re: FreeBSD 7, DragonFly's status

2008-02-28 Thread Petr Janda
 Sure, but SMP scalability is one of the key goals of DragonFly, and
 for it to be beaten by NetBSD (for which this is not a major goal, and
 for which SMP scalability only started being worked on a year ago) is
 very confusing. I haven't seen it compared with 1.12, but since no
 huge scalability work has gone in for a long time, I doubt it would
 close the gap much.

While a scalable SMP implementation is a goal of DragonFly, so is many other 
things. There isn't very many people around besides Matt that have the time 
and the skill to help pushing the big giant lock out. it simple as that. Im 
sure more developers would be welcome. But if evrything goes as planned with 
HAMMER, i think you'll be seeing more interest in DragonFly quite soon and 
probably much higher SMP performance by the end of the year.

Petr


Re: DragonFly 1.12 Released!

2008-02-27 Thread Petr Janda
 Interesting. It booted nicely to a root prompt, but how do I get a
 GUI??? I tried 'startx', but was told the command was unknown. Am I
 mistaken in expecting a GUI in the live version?


The DragonFly live cd doesn't have a GUI. If you want to test DragonFly you 
should install it and then use pkgsrc to install GUI.

Petr


Re: drm/dri update

2008-02-19 Thread Petr Janda
In my opinion Simon's work should rather go into base. It is afterall part of 
the kernel, even if a module, and not userland.

Petr


Re: drm/dri update

2008-02-13 Thread Petr Janda

 2) /dev/drm/card0 keeps disappearing due to make upgrade. Can adjust the
 MAKEDEV script to create the nodes so they dont disappear?


Sorry, I should have verified it. the /dev/dri/card0 node disappears on every 
reboot, not after make upgrade. Why is that? And what can we do to fix it, 
other than but running mknod on every start up?

Petr


Re: SMP question

2008-01-26 Thread Petr Janda
On Sun, 27 Jan 2008 08:07:08 am Haidut wrote:
 Like I said in my first email, all I need is a rough estimate - 1
 month, 2 months, etc. Assume full-time, 40 hour week.
 Finally, how open is the Dfly team to the idea of hiring programmer(s)
 on an hourly basis to code things up?

Im pretty sure the issue is whos gonna pay for it :)

Petr


Re: SMP question

2008-01-24 Thread Petr Janda
has a decision been made on the SMP development?
 In other words - is it still on the list of tasks to do, will it be
 native Dfly implemenation, or will it be a port of FreeBSD's
 implementation?

Not a developer, but from what I know  DragonFly will not be using FreeBSDs 
SMP implementation (with maybe a few exceptions) and its locking principles 
as DragonFlys SMP is greatly different to FreeBSDs.

Petr


Re: cvsup

2008-01-21 Thread Petr Janda


 People use git or hg nowadays :)  I just can't stop nagging, it is
 unbelievably useful, especially for team work.

It's been now many times I heared great things about git, while I never 
personally used it, as I use rsync to keep my development projects 
syncronized. Why don't we switch to to git now? Think we would be the first 
*BSD OS project to dump CVS and not that it would be a bad thing by the 
sounds of it :)

Petr


Donation system?

2007-12-17 Thread Petr Janda
Hi,
We all agree thats its pretty hard to earn money on free/open source projects, 
and that a lot of projects have a donation system. I think it would be a good 
idea to set up some kind of a shopping cart where we could lets say sell 
DragonFly cds, and also people could donate money: i for one would be one of 
them and i think we'd find a few more people that would donate a few bucks.

What do you think?


Re: HEADS UP ON HEAD - recompile libc_r AND the kernel

2007-12-14 Thread Petr Janda
What about people running libthead_xu ? How is it shaping up? I dont recall 
last time i had any problems with it.

On Sat, 15 Dec 2007 07:28:48 am Matthew Dillon wrote:
 Due to recent work on the floating point support, people running HEAD
 must recompile both the kernel AND libc_r, or threaded programs (e.g.
 gtk, firefox, etc) will blow themselves to bits.

   -Matt


Re: How to install nvidia graphics driver on dfly?

2007-09-20 Thread Petr Janda
On Thu, 20 Sep 2007 09:49:33 pm Simon 'corecode' Schubert wrote:
 daniel olsson wrote:
  How to install nvidia graphics driver on dfly?

 It doesn't work.  There are no DragonFly binaries from nvidia.


I personally cannot wait for there to be a good open-source driver for AMD 
cards, now that the specs are open, hopefully Xorg will have a 3D driver for 
some of the higher performance models within a year. Then Im buying an AMD 
card, and dumping nvidia. my perfectly good 6600GT has been sitting almost 
unused in my box for the last 2 years since I started using DragonFly, except 
in Windows when I play games. Not that there are many games for *nix but CF 
would be quite nice.

Petr


Re: Licenses again...

2007-09-18 Thread Petr Janda
On Tue, 18 Sep 2007 03:33:17 pm Matthew Dillon wrote:
 Clearly the BSD license does not disallow the modifications made
 by the second developer to be placed under some other license.
 The BSD license only covers the BSD-licensed code.  The question is
 how should a third party interpret the modified source file as a
 whole?  I do not know the answer to that.

Thanks Matt for your explanation. I've always interpreted the BSD license 
slightly differently.

Redistribution and use in source and binary forms, with or without
modification, are permitted

I've believed that Redistribution and Use are the permissions on the 
code...what you can do with it. Nowhere does the BSD license say what you 
can't do with the code, only what you can therefore 1) redistribute and 2) 
use the code,. How that permits wrapping the code inside another license in 
the same file.

Petr



Re: Licenses again...

2007-09-17 Thread Petr Janda
On Tue, 18 Sep 2007 12:42:48 pm you wrote:
 The code has to have significant additions or modifications to be able to
 add your own copyright to the main part of the code.

 (As an example, should someone who fixes spelling and grammar and adds and
 changes a few sentences to a 100-page open source book be able to pretend
 that code is theirs?)

 Some of the code in question had dual licensing. In that case, both
 licenses should be included even when distributed.


   Jeremy C. Reed


But does the BSDL allow the code to be relicensed? ie. i am a GPL dev, and i 
take a file ftp.c which is BSD licensed. Can I wrap the code in GPL license 
(though preserving the BSD copyright and license in there)?

The BSD license doesn't indicate that this is allowed.

Petr


Re: net-snmp and DragonFly

2007-09-15 Thread Petr Janda
On Thu, 13 Sep 2007 07:18:02 pm Hasso Tepper wrote:
 As there have been more people around interested in fixing net-snmp, a
 little announcement:

 http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=36978

 The patch referred in the bugreport is against pkgsrc HEAD.

 As I was interested only in libraries, snmpd is tested only very briefly.
 It started with absolutely minimal conf in my desktop and survived one
 walk. That's all.

Works like charm! thanks so much and please commit to -current and -stable.

Petr


Re: cvs commit: src/sys/dev/disk/fd fd.c fdc.h

2007-05-22 Thread Petr Janda

Francois Tigeot wrote:

On Mon, May 21, 2007 at 08:34:57PM -0400, Matt Emmerton wrote:
  

Gergo Szakal wrote:
  

On Mon, 21 May 2007 18:57:29 +0200
Erik Wikström [EMAIL PROTECTED] wrote:



Isn't it about time to drop support for floppies soon?
  

No, floppies are still great, especially on legacy hardware.



Yeah indeed, but I would drop (E)ISA bus support and hardware that uses
(E)ISA. I haven't seen anyone use it for a looong time.
  

EISA is long dead and can go away
ISA is still used on modern hardware -- anything without USB mouse/keyboard
uses ISA under the covers, along with other stuff.



And you can still buy modern machines with real ISA expansion slots. Core2 Duo
PCs with ISA slots seem a bit weird, but they exist.

  
You are right, but I think because DragonFly is a small sized project we 
should be trying to support the most common modern hardware, instead of 
ancient hardware that barely no one uses these days.


Re: cvs commit: src/sys/dev/disk/fd fd.c fdc.h

2007-05-22 Thread Petr Janda

Matt Emmerton wrote:

You may be interested to know that my primary DFly development machine is an
AMD Sempron-based system with a BIOS date of late 2004.  This machine could
hardly be considered ancient, but yet it has ISA slots and numerous other
devices that rely on the ISA bus architecture.

Be careful what you wish for -- removing ISA support will prevent a great
deal of hardware from running DFly, and I don't think anyone is interested
in taking that step.

--
Matt Emmerton

  
In that case, maybe leave ISA bus support in for legacy, but remove 
support for rare/noone uses ISA based cards.


Petr


Re: Experiencing very slow browsing at times (atheros wireless)

2007-05-22 Thread Petr Janda

Petr Janda wrote:

Matthew Dillon wrote:
:Just a few moments ago another slowness was happening so i ran the 2 
:tcpdump commands. After about 1-2 minutes it came back to normal 
speed :so i tcpdump.

:
:You/whoever wants can get the dumps here:
:
:http://www.punchyouremployer.com/files/tcpdump.tgz
:
:Please have a look and tell me if you can see something wrong.
:
:Petr

It looks like you have a ton of packet loss somewhere.  What
machine was the tcpdump run on?
It was run on the client. 192.168.1.50 is my DF workstation which i 
ran tcpdump on. 192.168.1.40 is my server (punchyouremployer.com). 
192.168.1.1 is my default gateway, 220.233.111.100 is my public IP. 
There is DMZ configured on the router pointing to 192.168.1.40


Petr


Another tcpdump is available:

http://www.punchyouremployer.com/files/tcpdump2.tgz

This time I also ran ping during the slowness. I also suspect its radio. 
I replaced router, i replaced card. nothing seems to help. :(


How do I set speed and preamble? Do i do it on the router?
Petr


Re: cvs commit: src/sys/dev/disk/fd fd.c fdc.h

2007-05-21 Thread Petr Janda

Gergo Szakal wrote:

On Mon, 21 May 2007 18:57:29 +0200
Erik Wikström [EMAIL PROTECTED] wrote:

  

Isn't it about time to drop support for floppies soon?



No, floppies are still great, especially on legacy hardware.

  
Yeah indeed, but I would drop (E)ISA bus support and hardware that uses 
(E)ISA. I haven't seen anyone use it for a looong time.


Petr


Re: Which wireless card?

2007-05-14 Thread Petr Janda

Sepherosa Ziehau wrote:

On 5/14/07, Petr Janda [EMAIL PROTECTED] wrote:

Sepherosa Ziehau wrote:
..
 Best Regards,
 sephe

Thanks a lot Sephe, I switched to onoe and I am waiting to see whats the
stability like. Could you summarize the difference between amrr and 
onoe?


AMRR will try to probe higher rate more often than ONOE.  Sometimes
the probing rate is wrong, then in that second, most TX will be
retried or even fail. If the probing keeps failing, then AMRR will be
degenerated to ONOE for sometime.  Since acx111 part of acx(4)
supports limited multi-rate retry, the situation will not be that bad
though.



One of my previous emails listed 3 different atheros chipsets, could you
please tell me if they can be handled by the ath driver?


The card using Ath SuperG chip is supported, as far as I can tell.

Best Regards,
sephe


Thanks,
I purchased the Netgear WG311T which is supposed to have 5212, so when i 
get it im gonna replace my current card which has a TI in it. Did you 
get my email with the logs?


Petr


structure has no member named `kp_eproc'

2007-05-14 Thread Petr Janda

Hi,
I'm trying to compile net-snmp from SVN applying the pkgsrc patches and 
I can't seem to figure out why its failing on this error. What's the  
meaning of this error and how to fix it?


Thanks,
Petr


Re: structure has no member named `kp_eproc'

2007-05-14 Thread Petr Janda

Erik Wikström wrote:

On 2007-05-14 17:48, Petr Janda wrote:

Hi,
I'm trying to compile net-snmp from SVN applying the pkgsrc patches 
and I can't seem to figure out why its failing on this error. What's 
the  meaning of this error and how to fix it?


So when you try to compile the code that assumes that the struct has a 
member kp_eproc but in reality it does not you get that error message.


A question: If you applied patches from pkgsrc does that mean that the 
program is in pkgsrc and in that case, why not use it?



Hi Erik,

This is the full message,
host/hr_swrun.c: In function `var_hrswrun':
host/hr_swrun.c:603: error: structure has no member named `kp_eproc'
host/hr_swrun.c:604: error: structure has no member named `kp_eproc'
host/hr_swrun.c:605: error: structure has no member named `kp_eproc'
host/hr_swrun.c:730: error: structure has no member named `kp_proc'
host/hr_swrun.c:928: error: structure has no member named `kp_proc'
host/hr_swrun.c:972: error: structure has no member named `kp_proc'
host/hr_swrun.c:1079: error: structure has no member named `kp_eproc'
host/hr_swrun.c:1080: error: structure has no member named `kp_eproc'
host/hr_swrun.c:1081: error: structure has no member named `kp_eproc'
host/hr_swrun.c:1171: error: structure has no member named `kp_eproc'
host/hr_swrun.c: In function `Init_HR_SWRun':
host/hr_swrun.c:1349: warning: unused variable `bytes'
host/hr_swrun.c: In function `Get_Next_HR_SWRun':
host/hr_swrun.c:1491: error: structure has no member named `kp_proc'
host/hr_swrun.c:1492: error: structure has no member named `kp_proc'
*** Error code 1

Stop in /root/net-snmp_svn/V5-4-patches/agent/mibgroup.

and this is the part of code from around line 1079:

#elif HAVE_KVM_GETPROCS
   #if defined(NOT_DEFINED)  defined(freebsd5)  __FreeBSD_version 
= 500014

   /* XXX: Accessing ki_paddr causes sig10 ...
   long_return = proc_table[LowProcIndex].ki_paddr-p_uticks +
   proc_table[LowProcIndex].ki_paddr-p_sticks +
   proc_table[LowProcIndex].ki_paddr-p_iticks; */
   long_return = 0;
   #elif defined(freebsd5)
   long_return = proc_table[LowProcIndex].ki_runtime / 10;
   #elif defined(dragonfly)
   long_return = proc_table[LowProcIndex].kp_eproc.e_uticks +
   proc_table[LowProcIndex].kp_eproc.e_sticks +
   proc_table[LowProcIndex].kp_eproc.e_iticks;
   #else
   long_return = proc_table[LowProcIndex].kp_proc.p_uticks +
   proc_table[LowProcIndex].kp_proc.p_sticks +
   proc_table[LowProcIndex].kp_proc.p_iticks;
   #endif

The reason I am doing this is because I am trying to get NET-SNMP 
supported upstream (at the moment its broken in pkgsrc stable and current)


Thanks
Petr


Which wireless card?

2007-05-13 Thread Petr Janda
I've tried 2 different cards that use the ACX driver (one netgear, the 
other dlink) and neither of them are quite stable (same in windows) so 
this is not a DF problem.


I need PCI or PCI-E card that supports 802.11g (dont need +) and runs 
rock solid in DF. What do you use?


Petr


Re: Which wireless card?

2007-05-13 Thread Petr Janda

Erik Wikström wrote:




Btw, this seems to come up all the time:

linux: syscall madvise is obsoleted or not implemented (pid=1643)


What application is that?



That I would like to know too. It seems kind of strange that it says 
linux: as if the application was linux.


Petr


Re: Which wireless card?

2007-05-13 Thread Petr Janda
http://www.gigabyte.com.tw/Products/Communication/Products_Spec.aspx?ProductID=988ProductName=GN-WP01GT 



Uses this chipset: AR5005GS

http://www.gigabyte.com.tw/Products/Communication/Products_Spec.aspx?ProductID=952ProductName=GN-WPEAG

Uses this chipset: AR5004G


http://www.netgear.com/Products/Adapters/SuperGWirelessAdapters/WG311T.aspx 


Uses this chipset:   AR5002G

Where can I find out if these chipsets will work?

Petr


Re: Which wireless card?

2007-05-13 Thread Petr Janda

Sepherosa Ziehau wrote:

On 5/13/07, Petr Janda [EMAIL PROTECTED] wrote:

I've tried 2 different cards that use the ACX driver (one netgear, the
other dlink) and neither of them are quite stable (same in windows) so


Can you give more detailed information?
Connection seems to fluctuate between 12-54mbit, sometimes goes to 1mbit 
and completely stalls. However, sometimes it also  completely stalls on 
36 (or any other speed) and I can't ping anything. I initially thought 
its the wireless router, so i bought a new one from different 
manufacturer but it does the samething.


About 50% of times these messages:

acx0: basic rates: 0x0027
acx0: join BSS/IBSS on channel 11

come up like 7-8 times before it reaches handshake or whatever its doing.

and sometimes also messages like acx0: tx failed or something like that 
come up.


Petr


Re: Which wireless card?

2007-05-13 Thread Petr Janda

Sepherosa Ziehau wrote:
..

Best Regards,
sephe

Thanks a lot Sephe, I switched to onoe and I am waiting to see whats the 
stability like. Could you summarize the difference between amrr and onoe?


One of my previous emails listed 3 different atheros chipsets, could you 
please tell me if they can be handled by the ath driver?


Thank you,
Petr


Re: Which wireless card?

2007-05-13 Thread Petr Janda

How much of the debug do you want?






Re: libm update plans?

2007-05-07 Thread Petr Janda

Matthew Dillon wrote:

unadulterated version


LOL ?





2 NIC's on the same subnet.

2007-05-04 Thread Petr Janda

Is it wrong? What are the possible implications?

Petr


Re: 2 NIC's on the same subnet.

2007-05-04 Thread Petr Janda

Joerg Sonnenberger wrote:

On Fri, May 04, 2007 at 09:49:42PM +1000, Petr Janda wrote:
  

Is it wrong? What are the possible implications?



It can be done with some care. The problem is that the current ARP
behaviour has some issues, e.g. it complains about receiving ARP answers
on the wrong interface etc.

Joerg

  

Hi Joerg,
I don't know if you've received my email but we are working on getting 
DragonFly supported upstream for net-snmp. We might need some advice in 
regards to making it all going.


The thread is here:

http://sourceforge.net/tracker/index.php?func=detailaid=1710910group_id=12694atid=112694


bmake -j ?

2007-04-27 Thread Petr Janda
Is it possible to install stuff with bmake -j x from pkgsrc? I am 
running into various problems.


Petr


Re: Kaffine player. Has anyone had any success?

2007-04-19 Thread Petr Janda

Petr Janda wrote:

Ben Jolitz wrote:

What is the output of kaffeine and xine (in verbose mode)?
What does a ktrace reveal?
-- Ben


Hi,
I've installed this multimedia player (because its QT based and i 
like QT). When I try to play anything or configure the xine backend 
for it, I get: All audio drivers failed to initialize.


Can anyone with QT installed try kaffeine and tell me if this error 
is specific to my system (ie. somethings broken on my system) or do 
you get the same problem?


Thanks,
Petr






audio_oss_out: Opening audio device...
audio_oss_out: audio.device.oss_device_name = auto, probing devs
audio_oss_out: Auto probe for audio device failed
audio_arts_out: arts_init failed: can't connect to aRts soundserver
load_plugins: audio output auto-probing didn't find any usable audio 
driver 


Apparently, i need aRts, which I have disabled. Is there anyway not to 
use arts?


Petr



Re: Kaffine player. Has anyone had any success?

2007-04-19 Thread Petr Janda
So i turned on aRts just to test it. Now I can play stuff. But I cannot 
access any devices. For example, I am trying to play an original audio 
cd and I get:



20:09:07: xine: cannot find input plugin for MRL [cdda:///dev/cdrom/1]
20:09:07: xine: input plugin cannot open MRL [cdda:///dev/cdrom/1]
20:09:07: xine: found input plugin  : CD Digital Audio (aka. CDDA)

And I specifically made it point to /dev/cd0c in the xine config.

Any ideas?
Petr


2 NICs and 1 network

2007-03-15 Thread Petr Janda

Hi there,
Im trying to run an authoritative dns server on 1 NIC and dns 
cache/recursive resolver on another NIC. Therefore 2 IPs on the same net 
and connected to the same switch. Therefore theres a problem. What 
options do i have in regards to resolving the issue without putting them 
on different networks? Will having the 2 IP's on the same NIC fix this 
problem or not?


Thanks,
Petr


Re: 2 NICs and 1 network

2007-03-15 Thread Petr Janda

Mire, John wrote:

Why don't you just use 2 different views under bind this is trivial, and should 
do exactly what you want with one ip address.

  



Using Bind is out of question. The zones are stored in LDAP.

Petr


Re: 2 NICs and 1 network

2007-03-15 Thread Petr Janda

Justin C. Sherrill wrote:

On Thu, March 15, 2007 7:58 pm, Petr Janda wrote:

  

Using Bind is out of question. The zones are stored in LDAP.



There's a number of free LDAP and DNS products out there; I was looking at
them as part of a work project.

http://ldapdns.sourceforge.net/
http://nimh.org/code/ldapdns/
http://www.venaas.no/ldap/bind-sdb/
http://projects.alkaloid.net/e107_plugins/content/content.php?content.5

  
Im using PowerDN (authoritative)S and PowerDNS-Recursor (nscache). They 
need to run sepately. Have you used the ldap module for bind? Besides 
last release being 2 years ago, i heard that its utterly useless too. 
(you gotta keep the zone files on disk too), and ldapdns was quite buggy 
last time i used it in production.


Cheers,
Petr


burning as non-root with k3b

2007-03-08 Thread Petr Janda
For some reason I cannot burn as non-root. The permissions on /dev/cd0c 
are 660 root:burning and I am positively in the burning group:

[elevator] ~% id petr
uid=1001(petr) gid=1001(petr) groups=1001(petr), 0(wheel), 5(operator), 
1018(burning)


Even when i set permissions to 777 on cd0c, my dvd writer still gets 
unrecognized in k3b.


Any ideas?

Petr



Re: burning as non-root with k3b

2007-03-08 Thread Petr Janda

Simon 'corecode' Schubert wrote:

On 08.03.2007, at 09:15, Petr Janda wrote:
Even when i set permissions to 777 on cd0c, my dvd writer still gets 
unrecognized in k3b.


Any ideas?


try fiddling with pass0 and/or acd0.

cheers
  simon

I chmoded all of /dev to 660 and its working now. Ive tried setting 
pass0 and acd0 to 660 but it made no difference. What could be the block 
devices in /dev that actually caused my drive not to be recognized at 
first place? I assume they belong to the scsi sub-system?


Petr


Re: DragonFly testing

2007-02-22 Thread Petr Janda

Ben Jolitz wrote:

Petr Janda wrote:


For your sound you need to load sound.ko + snd_ess.ko

Best if you add snd_ess_load=YES to /boot/loader.conf

and in /dev you need to run sh MAKEDEV snd0

I think thats what has to be done.

Petr

I was under the impression that sound.ko was loaded by association, as 
kldstat said.
I had not done a ./MAKEDEV snd0, but I suspect it will not work, since 
Dells are notorious for having standard equipment in non-standard 
locations.


Will research some more on forcing discovery of Crystal WDM.
-- Ben



See if you put it /boot/loader.conf and run sh MAKEDEV snd0. Then post 
us your dmesg output.


Petr



Re: distributed filesystem name

2007-02-22 Thread Petr Janda

Ernesto Bascon wrote:

Nymfs is a great name!

On 22/02/07, Martin P. Hellwig [EMAIL PROTECTED] wrote:

cut
As mentioned in the kernel thread:
HACFSHigh-Availability Clustered FS

some other's:
NCFSNetwork Clusterable FS
IDFSIP Distributed FS
DANADDistributed Array of Network Accessible Disks
GUDSGood use of disk space

Though HACFS (hack fs) is still my favorite.

--
mph









How about DFFS (DragonFly File System) ?

Or DCFS (Disk Clustering File System)

Or DiFFS (Disk Failsafe File System)

I really like DiFFS :)

Petr



Re: KDE and OpenSSL = Broken

2007-02-22 Thread Petr Janda

Simon 'corecode' Schubert wrote:

Petr Janda wrote:
I compiled the latest KDE from pkgsrc, but it seems that SSL is 
broken somewhere. Konqueror doesnt load HTTPS sites and I cant log 
into msn since it uses SSL.


could you try -DEVEL and tell me whether it works?

cheers
 simon



Can confirm this is fixed. Thanks!

Petr



Re: x11/kdebase-3.5.6 compiled

2007-02-22 Thread Petr Janda

ejc wrote:

On 2/20/07, Petr Janda [EMAIL PROTECTED] wrote:

Simon 'corecode' Schubert wrote:
 yea, that's the recent threading changes.  somebody would have to
 update the kde code for that.
Thanks for the explanation. Guess I'll just have to wait some time.


I just finished hacking my local copy so it will work with the new
structures -- it compiles anyway :-)
Let me know if you want a patch after I test it out.

Eric

When you clean up the patch, this should definatly go into pkgsrc. 
perhaps mail it to joerg?


Petr


Re: x11/kdebase-3.5.6 compiled

2007-02-22 Thread Petr Janda

ejc wrote:

On 2/20/07, Petr Janda [EMAIL PROTECTED] wrote:

Simon 'corecode' Schubert wrote:
 yea, that's the recent threading changes.  somebody would have to
 update the kde code for that.
Thanks for the explanation. Guess I'll just have to wait some time.


I just finished hacking my local copy so it will work with the new
structures -- it compiles anyway :-)
Let me know if you want a patch after I test it out.

Eric



Thanks,
Im continueing the compiling now. :)

Petr


Show number of threads in top

2007-02-22 Thread Petr Janda
Is it possible to show number of threads per application in top? FreeBSD 
has such feature. Nothing important just fancy :) Would be good if we 
had it too... What do you think?


Petr


Re: KDE and OpenSSL = Broken

2007-02-22 Thread Petr Janda

walt wrote:

On Thu, 22 Feb 2007, Simon 'corecode' Schubert wrote:

  

Kimura Fuyuki wrote:


I still suspect lower layer. Why does the following last command result in
error? It's just ok on NetBSD.

test program:
http://www.hadaly.org/fuyuki/dltest.c
  

VERY nice.  Thanks!  I've just committed a fix.



That was a very large patch.  Did you write all that code yourself?
Anyway, it fixes konqueror *and* evolution which have been broken for
many moons and I'm very happy :o)

  
The patch was taken from Free (as the commit message says). It also 
fixes Kopete and probably lots of other stuff too.


Petr


Re: DragonFly testing

2007-02-21 Thread Petr Janda

Ben Jolitz wrote:

Hi.
I'd like to introduce myself.
I am Ben Jolitz, technologist and student.
Recently, I tried to run DragonFly on an old Dell Latitude CPi. I 
detailed my tries with DF.


Perhaps after reading this log you might have some suggestions.

The log is at: http://ben.telemuse.net/27

One of my biggest questions is how would I get audio running? Snd_ess 
loaded, and spat out one line of DMA information, but never 
initialized the device...


Thanks,
Ben Jolitz


For your sound you need to load sound.ko + snd_ess.ko

Best if you add snd_ess_load=YES to /boot/loader.conf

and in /dev you need to run sh MAKEDEV snd0

I think thats what has to be done.

Petr


x11/kdebase-3.5.6 compiled

2007-02-20 Thread Petr Janda

ProcessList.c: In function `updateProcess':
ProcessList.c:216: error: structure has no member named `kp_proc'
ProcessList.c:217: error: structure has no member named `kp_eproc'
ProcessList.c:218: error: structure has no member named `kp_eproc'
ProcessList.c:219: error: structure has no member named `kp_eproc'
ProcessList.c:221: error: structure has no member named `kp_thread'
ProcessList.c:225: error: structure has no member named `kp_proc'
ProcessList.c:232: error: structure has no member named `kp_proc'
ProcessList.c:261: error: structure has no member named `kp_proc'
ProcessList.c:262: error: structure has no member named `kp_eproc'
ProcessList.c:263: error: structure has no member named `kp_eproc'
ProcessList.c:265: error: structure has no member named `kp_thread'
ProcessList.c:265: error: structure has no member named `kp_thread'
ProcessList.c:270: error: structure has no member named `kp_proc'
ProcessList.c:270: error: structure has no member named `kp_proc'
ProcessList.c:270: error: structure has no member named `kp_proc'
ProcessList.c: In function `updateProcessList':
ProcessList.c:371: error: structure has no member named `kp_proc'

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/obj/pkgsrc/x11/kdebase3/work/.gcc/bin/gcc -DHAVE_CONFIG_H -I. 
-I../../.. -I./../../CContLib -I./.. -DQT_THREAD_SUPPORT 
-I/usr/obj/pkgsrc/x11/kdebase3/work/.buildlink/include -DLDAP_DEPRECATED 
-I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY 
-I/usr/obj/pkgsrc/x11/kdebase3/work/.buildlink/include/krb5 
-I/usr/obj/pkgsrc/x11/kdebase3/work/.buildlink/include/freetype2 
-DNDEBUG -O2 -O -pipe -D_GNU_SOURCE -MT ProcessList.o -MD -MP -MF 
.deps/ProcessList.Tpo -c -o ProcessList.o ProcessList.c 
-L/usr/obj/pkgsrc/x11/kdebase3/work/.buildlink/lib

gmake[4]: *** [ProcessList.o] Error 1
gmake[4]: Leaving directory 
`/usr/obj/pkgsrc/x11/kdebase3/work/kdebase-3.5.6/ksysguard/ksysguardd/FreeBSD'

gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/obj/pkgsrc/x11/kdebase3/work/kdebase-3.5.6/ksysguard/ksysguardd'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/obj/pkgsrc/x11/kdebase3/work/kdebase-3.5.6/ksysguard'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/obj/pkgsrc/x11/kdebase3/work/kdebase-3.5.6'

gmake: *** [all] Error 2
*** Error code 2

Already posted this to the pkgsrc mailing list days ago but havnt got a 
reply.


Im having all sorts of problems with C++ written programs. often times 
compilation of packages like kde fail with write error, and have to be 
restarted and then its all ok.


Thanks,
Petr


Re: Plans for 1.8+ (2.0?)

2007-02-20 Thread Petr Janda
As in the design spec. It works on paper. I haven't started coding 
anything yet.

-Matt
	Matthew Dillon 
	[EMAIL PROTECTED]


  

Hey Matt,
Thanks for your answers, but i have one more question for you. Will the 
new file system be capable of ACLs?


Cheers,
Petr


Re: x11/kdebase-3.5.6 compiled

2007-02-20 Thread Petr Janda

Simon 'corecode' Schubert wrote:
yea, that's the recent threading changes.  somebody would have to 
update the kde code for that.

Thanks for the explanation. Guess I'll just have to wait some time.

That's interesting.  maybe you could succeed capturing such a write 
error compile process with ktrace -i?


Could you elaborate on this more and how it is possible to do it. It'd 
be great if this was fixed; its really annoying to come home hours later 
and see that kde/qt didnt compile because of such a random stupid error.


Cheers,
Petr



Re: Plans for 1.8+ (2.0?)

2007-02-19 Thread Petr Janda

Matthew Dillon wrote:



-Matt
	Matthew Dillon 
	[EMAIL PROTECTED]


  

Hey Matt,
1) Does your filesystem plan include the ability to grow and shrink a 
partition/volume? ie. /home is running out of space so we could run 
shrinkfs ... on /usr which has a lot of space and growfs ... on /home


2) Are you going to do away disklabel stuff and replace it with 
something better/easier to use?


3) Is vinum finally gonna die with the new filesystem? ie. volume 
manager will be integrated in the new file system, like ZFS?


Cheers,

Petr


Re: KDE and OpenSSL = Broken

2007-02-13 Thread Petr Janda

Just wanted to ask, has anyone been working on this?

It's been ages. KDE without SSL is kind of half usable... :S

Petr


CPUTYPE and gcc optimizations

2007-02-11 Thread Petr Janda

Hey everyone,

I'm wondering if its good o set CPUTYPE for extra optimization, or if 
its ok to set any other extra  compiler optimizations other than the 
default.



Thanks,

Petr


Re: Upgrading bootblocks

2007-02-07 Thread Petr Janda

Simon 'corecode' Schubert wrote:

Petr Janda wrote:

disklabel: Warning, old bootblocks detected, install new bootblocks  
reinstall the disklabel


when i do disklabel /dev/ad1s1


use disklabel -B /dev/ad1s1

cheers
 simon



I get this:

elevator# disklabel -B /dev/ad1s1
super block size 0


Petr


Re: UFS disklabel recovery/restore?

2007-02-06 Thread Petr Janda
Yeah, i found that program yesterday. and it found all my long gone 
partitions which i kept around. Any chance this extremely useful program 
gets imported into contrib? I'd be great to have it around all the time.


Petr


Re: Upgrading bootblocks

2007-02-06 Thread Petr Janda

Ive followed that and done

boot0cfg -B ad1s1 and even boot0cfg -B ad1

but i still get:

disklabel: Warning, old bootblocks detected, install new bootblocks  
reinstall the disklabel


when i do disklabel /dev/ad1s1

but I dont get the error when I do disklabel /dev/ad1

disklabel should definately be on ad1s1 as there are some non-bsd 
partitions on ad1


Petr


Gergo Szakal wrote

On Tue, 06 Feb 2007 14:21:02 +1100
Petr Janda [EMAIL PROTECTED] wrote:

  

Im trying to edit a disklabel of an old DF instalation, but I get an error:

disklabel: Will not overwrite old bootblocks w/ label, install new boot 
blocks first!


How do I install new boot blocks?

Petr



Is this helpful?
http://www.dragonflybsd.org/cgi-bin/cvsweb.cgi/~checkout~/src/nrelease/root/README

  




Re: Upgrading bootblocks

2007-02-06 Thread Petr Janda

walt wrote:

Petr Janda wrote:

  

disklabel: Warning, old bootblocks detected, install new bootblocks 
reinstall the disklabel

when i do disklabel /dev/ad1s1



Does 'disklabel -r' change anything?

  

No, still same.

Petr


UFS disklabel recovery/restore?

2007-02-05 Thread Petr Janda
Is there a program out there that can restore a disklabel by guessing 
the offset/size of each partition?


Petr


Upgrading bootblocks

2007-02-05 Thread Petr Janda

Im trying to edit a disklabel of an old DF instalation, but I get an error:

disklabel: Will not overwrite old bootblocks w/ label, install new boot 
blocks first!


How do I install new boot blocks?

Petr


We are officially better than FreeBSD (accoridng to distrowatch)

2007-02-03 Thread Petr Janda

According the stats on their site:

7 Day Average:

19. DragonFly 475 and going up
20. FreeBSD 455 and going up

I am aware that most of the hits were because of 1.8, its still 
nevertheless amusing :)


Petr


Re: DragonFlyBSD Thread on osnews

2007-02-02 Thread Petr Janda
From what I gathered across this mailing list. DF can't scale nowhere 
close to Linux at the moment because DF still operates under the BGL.


Petr


Re: Apache2.2 and php5, 100% usage

2007-01-27 Thread Petr Janda

Simon 'corecode' Schubert wrote:

Petr Janda wrote:
Ive been experiencing a weird thing. Im running DF 1.6 on this server 
and once in a while 1 or 2 of the apache processes become using 100% 
CPU, all the other apache processes are ok. This is an SMP box.


best compile apache and php with -g, but that's not strictly 
necessary.  then attach with gdb to this process:


gdb /path/to/apache/binary pid

and check where they are hanging:

gdb bt

that should give us some ideas what is happening.

cheers
 simon

I think I discovered what the problem was. Theres only one website 
running and thats a webmail, ive updated dovecot  (rc19) to -current and 
so far its been working ok (5 hours so far). By looking at the changelog 
for dovecot there was some serious ldap related bugs since rc15 (which 
is in -stable), which might have been the cause.


Petr


Apache2.2 and php5, 100% usage

2007-01-26 Thread Petr Janda

Hi,

Ive been experiencing a weird thing. Im running DF 1.6 on this server 
and once in a while 1 or 2 of the apache processes become using 100% 
CPU, all the other apache processes are ok. This is an SMP box.


Any clues?

Petr


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: When will 1.8 be branched?

2007-01-22 Thread Petr Janda

Steve O'Hara-Smith wrote:

On Mon, 22 Jan 2007 20:44:48 +1100
Petr Janda [EMAIL PROTECTED] wrote:

  
I think you are being slightly absurd. If you want DragonFly to go into 
businesses/corporations you have to be prepared they *have* demands , 



Nobody has any business making demands of volunteers.

  
and they are much bigger than mine is it gonna be branched today as 
planned,



Personally I would much rather see branching and releases happening
when the developers feel it is ready to happen than on a planned date.

That being said the DragonFLy team seems to do better at hitting
the planned dates than most commercial OS developments.

  
I don't make the demands but I am demanded by my clients to satisfy them 
by supplying them a good product. If it was entirely up to me I wouldnt 
be making the inquiries at all(I dont care if its released in january or 
3 months later) but I have clients, hence why Ive often turned to 
FreeBSD when DF was missing a feature which I needed. Therefore I might 
be sounding to have demanding tone, but thats because DF is my personal 
OS of choice and especially because of my clients. (not that they 
specifically request DF but because thats what I offer them + maintenance).


My apologies.

Petr


Patches for pdns-recursor

2007-01-19 Thread Petr Janda

Ok Matt,

PowerDNS compiles and installs now. Therefore the job is done. Send me 
your msn or icq so we can discuss transfer of the money.


To Joerg: Would it be possible now to move powerdns-recursor from wip to 
current?


Petr


Petr Janda wrote:

Matt, are you still looking into this?

Petr

Petr Janda wrote:

Hi There,

Running latest head with libc-only *context function. mtasker test 
program works, but powerdns-recursor still doesnt compile (even with 
gcc 3.4.6)


/usr/include/machine/endian.h:70:1: warning: this is the location of 
the previous definition

pdns_recursor.cc: In function `void startDoResolve(void*)':
pdns_recursor.cc:563: error: invalid conversion from `void*' to `char*'
pdns_recursor.cc:564: error: invalid conversion from `void*' to `char*'
pdns_recursor.cc:1139: confused by earlier errors, bailing out

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.gcc/bin/g++ -O -pipe 
-I/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include -Wall 
-O3 -c -o pdns_recursor.o pdns_recursor.cc 
-L/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/lib

gmake: *** [pdns_recursor.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/wip/powerdns-recursor
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wip/powerdns-recursor


Petr

[EMAIL PROTECTED] wrote:
:I revisited these two kernel files and agree partially with your 
assessment:
:- machdep.c fixed a missing linebreak; the other change (mc_len) 
was cruft.
:- ucontext.h contains the protos for the *context routines; they 
still need
:to be somewhere so autoconf can find them, and I felt that this was 
the best

:place for them.  The other stuff (uc_flags, UCF_SWAPPED) was cruft.
:
:--
:Matt Emmerton

Ok, I restored those bits.

I have implemented the assembly and done some other cleanups and 
a bit of testing.  I am committing the completed work now.


I have not yet implemented the floating point save/restore.  I will
check save-used for FP registers and see if I can optimize what 
gets
saved.  When switching occurs synchronously I don't think the FP 
regs
need to be saved/restored unless the prorgam is compiled to use 
FP regs and general regs so this may be good enough for the moment.


Switching from a signal dispatch is more problematic.  That almost
certainly requires FP save/restore.

Now we need some comprehensive testing with packages that actually
use this beast!

-Matt
Matthew Dillon 
[EMAIL PROTECTED]


  








Re: Request for swapcontext and getcontext to be ported to our libc [ revision 3 ]

2007-01-16 Thread Petr Janda

Hi There,

Running latest head with libc-only *context function. mtasker test 
program works, but powerdns-recursor still doesnt compile (even with gcc 
3.4.6)


/usr/include/machine/endian.h:70:1: warning: this is the location of the 
previous definition

pdns_recursor.cc: In function `void startDoResolve(void*)':
pdns_recursor.cc:563: error: invalid conversion from `void*' to `char*'
pdns_recursor.cc:564: error: invalid conversion from `void*' to `char*'
pdns_recursor.cc:1139: confused by earlier errors, bailing out

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.gcc/bin/g++ -O -pipe 
-I/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include -Wall 
-O3 -c -o pdns_recursor.o pdns_recursor.cc 
-L/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/lib

gmake: *** [pdns_recursor.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/wip/powerdns-recursor
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wip/powerdns-recursor


Petr

[EMAIL PROTECTED] wrote:

:I revisited these two kernel files and agree partially with your assessment:
:- machdep.c fixed a missing linebreak; the other change (mc_len) was cruft.
:- ucontext.h contains the protos for the *context routines; they still need
:to be somewhere so autoconf can find them, and I felt that this was the best
:place for them.  The other stuff (uc_flags, UCF_SWAPPED) was cruft.
:
:--
:Matt Emmerton

Ok, I restored those bits.

I have implemented the assembly and done some other cleanups and a 
bit of testing.  I am committing the completed work now.


I have not yet implemented the floating point save/restore.  I will
check save-used for FP registers and see if I can optimize what gets
saved.  When switching occurs synchronously I don't think the FP regs
need to be saved/restored unless the prorgam is compiled to use 
FP regs and general regs so this may be good enough for the moment.


Switching from a signal dispatch is more problematic.  That almost
certainly requires FP save/restore.

Now we need some comprehensive testing with packages that actually
use this beast!

-Matt
	Matthew Dillon 
	[EMAIL PROTECTED]


  




Re: Request for swapcontext and getcontext to be ported to our libc

2007-01-13 Thread Petr Janda

Ah sh*t.

Devs: have you got any comment on this and what are the chances of 
updating gcc 3.4 before the release?


Petr

Matt Emmerton wrote:

Petr,

Based on information scattered about the Internet, as well as what the
FreeBSD folks have done, it appears that powerdns-recursor requires
gcc-3.4.6 to compile properly.  This is a problem as DFly's native gcc is
3.4.5 and the pkgsrc version of 3.4.6 does not support DFly.

To do this right, we will need DFly to support the 3.4.6 compiler before we
can support this package.

Regards,
--
Matt Emmerton

  

I see.
What about getting someone to get powerdns-recusor compiling and
  

running?
  

Once that is done we shall arrange for your payment.

Petr


Matt Emmerton wrote:
  

Hey,
Any progress on the fully libc *context functions?

  

I've toyed with it a bit, but there are some issues I'm not sure how


to
  

solve (such as accessing curthread -- a kernel construct -- from


userland).


I would welcome discussion with the person who suggested it


(corecode?).
  

Also, I felt it pertinent to focus on the quick-start FreeBSD port to


get it


into the 1.8-release.

--
Matt Emmerton





  




Re: Request for swapcontext and getcontext to be ported to our libc

2007-01-12 Thread Petr Janda

Hey,
Any progress on the fully libc *context functions?

Petr



Re: RFR: Port of FreeBSD *context routines to DFly

2007-01-12 Thread Petr Janda

And also, has anything been done yet to get powerdns-recursor working?

Petr

Matt Emmerton wrote:

I have completed the port of [set|get|make|swap]context from FreeBSD to
DFly.

The latest patch set against HEAD (current as of Jan 12, 00:00 EST) is
available here: http://www.gsicomp.on.ca/~matt/dfly

I (and others) would really like to see this get into the release, so I
would appreciate reviews and comments.  Nothing too earth-shattering here -
it's a straight port with some minor modifications due ot Matt's recent
VKERNEL and trapframe changes.

Regards,
--
Matt Emmerton

  




Re: Trying to compile mod_cfg_ldap (manually)

2007-01-11 Thread Petr Janda
Could you please import it into pkgsrc? It will be like 10 mins of your 
time. its in ports and i didnt notice any hacks in the ports Makefile to 
get it compile. I think its important that we have either mod_cfg_ldap 
or mod-vhost-ldap.


Petr


Joerg Sonnenberger wrote:

On Thu, Jan 11, 2007 at 11:15:20PM +1100, Petr Janda wrote:
 
Im trying to compile manually this module for apache 2(not in 
pkgsrc), but im not successful. I get this error:



Doesn't look like it is including the right header files...

Joerg

  







Sound from different sources at the same time doesnt work anymore

2007-01-10 Thread Petr Janda
After upgrading to the latest sound infrastructure i notice that i 
cannot listen to 2 things at once. How to fix this?


I guess this doesnt work anymore?


elevator# sysctl hw.snd.pcm0.vchans=4
hw.snd.pcm0.vchans: 4 - 4
elevator# sysctl hw.snd.maxautovchans=4
hw.snd.maxautovchans: 4 - 4
elevator#   


Petr




Re: Sound from different sources at the same time doesnt work anymore

2007-01-10 Thread Petr Janda

Nevermind,
I forgot that the channels dsp0.0-3 have to allocated statically in the 
application.


Which leads me to think, doesnt the new sound code from FreeBSD allow to 
allocate the nodes dynamically?


Petr


Petr Janda wrote:
After upgrading to the latest sound infrastructure i notice that i 
cannot listen to 2 things at once. How to fix this?


I guess this doesnt work anymore?


elevator# sysctl hw.snd.pcm0.vchans=4
hw.snd.pcm0.vchans: 4 - 4
elevator# sysctl hw.snd.maxautovchans=4
hw.snd.maxautovchans: 4 - 4
elevator#  Petr









OpenLDAP problem

2007-01-08 Thread Petr Janda

Hey,

I can easily bind to my ldap server with cn=Manager..., ive setup an 
ou=daemons, so my dns server can bind to the ldap server via something 
else than cn=Manager. Ive added an entry into the ou called cn=dns.


dn: cn=dns,ou=daemons,dc=webgate,dc=net,dc=au
objectClass: top
objectClass: inetOrgPerson
userPassword: test
cn: dns
sn: dns

Ive got an access list for that user:

access to dn.children=ou=zones,dc=webgate,dc=net,dc=au
   by dn=uid=dns,ou=daemons,dc=webgate,dc=net,dc=au read

but when i try to bind:

porncatalog# ldapsearch -D uid=dns,ou=daemons,dc=webgate,dc=net,dc=au -W
Enter LDAP Password:
ldap_bind: Invalid credentials (49)


Any ideas please?

Petr


Re: Request for swapcontext and getcontext to be ported to our libc

2007-01-06 Thread Petr Janda

Matt Emmerton wrote:

Just letting you know that mtasker now compiles after
buildworld/installworld.



I assume the mt test program runs correctly?  I should output an
alternating stream of a or b characters.  You can terminate with ^C.
  


Yes, thats what is on the screen.
  

Though, wip/powerdns-recusor doesnt compile yet
(a new error), not mtasker related.

If someone could please take a look at it, I would be very happy.



I'm looking into it.  After the error you cite is fixed, there are many
more, and I will have to work with the pkgsrc and PowerDNS folks to get them
fixed.

--
Matt Emmerton
  


You're the man! If you can do all that for me and youre still 
interested, in a couple of months id like to port NSS into DragonFly (of 
course thats a longer job, which means more money towards your way too)


Cheers,

Petr



Re: Request for swapcontext and getcontext to be ported to our libc

2007-01-06 Thread Petr Janda
Well for my purposes I need NSS+PAM working together. I dont care how 
its done as long as its working.


Petr

Simon 'corecode' Schubert wrote:

Petr Janda wrote:
You're the man! If you can do all that for me and youre still 
interested, in a couple of months id like to port NSS into DragonFly 
(of course thats a longer job, which means more money towards your 
way too)


I am very happy to hear that somebody (you) is actually funding 
dragonfly work now.  Absolutely cool.  For NSS, we planned (about 3 
years ago) to have a nssd + libc interfacing with this nssd, instead 
of using shared libraries.  I'd love to have this working for PAM as 
well, but unfortunately it doesn't quite work :/


Well, maybe now is the time to start fleshing out the details again.

cheers
 simon





  1   2   3   >