Re: e2fsck segmentation fault

2006-10-17 Thread Vladimir Mitiouchev

On 10/17/06, Petr Janda [EMAIL PROTECTED] wrote:
Thanks.
Can You do some ktrace'ing?

--
Sincerely Yours,
Vladimir Mitiouchev


getting cpu statistics - munin

2006-10-17 Thread Csillag Tamas

Hi,

I've just installed DFly on my server. So far so good.

I'm trying to get cpu usage statistics with munin. A plugin in included 
for FreeBSD which queries kern.cp_time via sysctl.

But on DFlyBSD I get: sysctl: unknown oid 'kern.cp_time'.

What is the best way of doing this?

Thanks in advance.
--
CSILLAG Tamas - http://digitus.itk.ppke.hu/~cstamas


Re: getting cpu statistics - munin

2006-10-17 Thread Vladimir Mitiouchev

On 10/17/06, Csillag Tamas [EMAIL PROTECTED] wrote:

for FreeBSD which queries kern.cp_time via sysctl.
But on DFlyBSD I get: sysctl: unknown oid 'kern.cp_time'.
What is the best way of doing this?

Use (8)iostat.

losalamos:...sources/src/sys$ iostat -C -t proc -d
   cpu
us ni sy in id
14  0  6  2 78

It's the same info as kern.cp_time used to give.

--
Sincerely Yours,
Vladimir Mitiouchev


Re: e2fsck segmentation fault

2006-10-17 Thread Simon 'corecode' Schubert

Petr Janda wrote:

Hi,
Im trying to run e2fsck on a mounted ext2 filesystem image, with this 
result:


I guess e2fsck is from pkgsrc?  uh wait.  you're using the linux e2fsck?  
that's gonna be a hard thing to debug...  what we basically need it a binary 
with debug syms and then running under linux gdb.  don't know how to get the 
one or the other, though.

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: getting cpu statistics - munin

2006-10-17 Thread Joerg Sonnenberger
On Tue, Oct 17, 2006 at 10:11:50AM +0200, Csillag Tamas wrote:
 Hi,
 
 I've just installed DFly on my server. So far so good.
 
 I'm trying to get cpu usage statistics with munin. A plugin in included 
 for FreeBSD which queries kern.cp_time via sysctl.
 But on DFlyBSD I get: sysctl: unknown oid 'kern.cp_time'.

Take a look at kinfo_get_sched_cputime.

Joerg


Re: Cable internet

2006-10-17 Thread Bill Hacker

Bryan Berch wrote:

It is about I get rid of dial-up and get something faster.  My only 
other choice is Comcast broadband.  My questions are:


1.  Has any one used it and is it worth it?

2.  What cable modem did you use?


Thanks

Bryan


I've used Motorola on three different providers and Terrayon on two, prefer the 
Motorola.


All these are mass-produced to a price target and have components that deal with 
analog and are exposed to rude spikes and such during their lifetime.


You CAN get a bad one - right out-of-the box, and the DO suffer damage and 
failure in use.  My response has been to rent, not buy, as a replacement seems 
to  be needed every 12-24 months where there are regular thunderstorms.


Caveat: Use some other mx for your e-mail, not comcast.

Our MX'en blacklist all of comcast, as they do nothing useful to block outbound 
to port 25, and are *infested* with Win-Zombies.


Bill




Re: getting cpu statistics - munin

2006-10-17 Thread Csillag Tamas

Joerg Sonnenberger wrote:

On Tue, Oct 17, 2006 at 10:11:50AM +0200, Csillag Tamas wrote:

Hi,

I've just installed DFly on my server. So far so good.

I'm trying to get cpu usage statistics with munin. A plugin in included 
for FreeBSD which queries kern.cp_time via sysctl.

But on DFlyBSD I get: sysctl: unknown oid 'kern.cp_time'.


Take a look at kinfo_get_sched_cputime.

Joerg


Vladimir's example was a bit easier. That way I do not have to dig down 
and use C. Just a userspace app. But good to know this API if I need 
sometime...


Thanks anyways.


Re: getting cpu statistics - munin

2006-10-17 Thread Csillag Tamas

Vladimir Mitiouchev wrote:

On 10/17/06, Csillag Tamas [EMAIL PROTECTED] wrote:

for FreeBSD which queries kern.cp_time via sysctl.
But on DFlyBSD I get: sysctl: unknown oid 'kern.cp_time'.
What is the best way of doing this?

Use (8)iostat.

losalamos:...sources/src/sys$ iostat -C -t proc -d
   cpu
us ni sy in id
14  0  6  2 78

It's the same info as kern.cp_time used to give.


Well it is not the *same* but good enough.
kern.cp_time is an always incrementing number and should be stored as 
DERIVE in rrdtool


iostat gives percentage as a result, so this sophisticated algorithm is 
not needed. It can be stored as GAUGE.


Thanks that's the thing I was looking for!

--
CSILLAG Tamas http://digitus.itk.ppke.hu


Re: Where to place compiler flags for world?

2006-10-17 Thread Simon 'corecode' Schubert

Thomas Schlesinger wrote:

options CPU_ENABLE_EST
CONF_FLAGS=-march-pentium-m -O2 -fomit-frame-pointer -pipe

Is there something problematic with them?


don't use -O2 nor -fomit-frame-pointer

i usually place

CFLAGS=-O -g -pipe

in /etc/make/conf

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: Cable internet

2006-10-17 Thread Bryan Berch

David Cuthbert wrote:

Bryan Berch wrote:
It is about I get rid of dial-up and get something faster.  My only 
other choice is Comcast broadband.  My questions are:


1.  Has any one used it and is it worth it?
2.  What cable modem did you use?


I've been using it for ~3 years now.  I've had two major issues during 
that time:


1. At one point, a crew was doing some work in my neighborhood (back 
when I was in Pittsburgh) and attached a filter to the wrong line (mine).


2. This February, a storm blew through the island (I'm now near 
Seattle) and took power out for five days.  (Comcast, to their credit, 
brought in generators to power their neighborhood relays after two 
days... alas, didn't help me much.)


These incidents aside, availability for me has been closer to 99.9% 
than 99%.


Their policies seem reasonable.  They'll get on your case if you start 
serving a lot of traffic, from what I understand.  Many of us at work 
run personal servers (ssh, webmail, etc.) and haven't heard a peep 
from them.  Stay out of their hair, they'll stay out of yours.


I thought they were blocking outbound SMTP connections, but this does 
not appear to be the case right now.  At any rate, don't expect to 
have your mail accepted by anyone if you bypass their SMTP servers 
(the entire netblock is RBLed, and with good reason).


I haven't touched Usenet in years, so I can't comment on their news 
servers.


My experience with DSL was less than pleasant.  Verizon had the oddest 
routes, and probably borderline 99% availability.  North Pittsburgh 
Telephone (sigh) was down around 95%.  Getting a reliable connection 
anywhere was an adventure.



So as long as you get a ethernet cable modem there should be no problem 
connecting?


Is there any thing special in configuring it to work with dragonfly or 
is it just dhcp?





Re: Network Slowdowns?

2006-10-17 Thread Matthew Dillon

:Hello Matt. Have you made any progress on this? and if not, is there anything
:I can do to help?
:
:-Richard

Ok, no symbols, PF is a dynamically loaded module.  Could you upload
your /modules/pf.ko as well? (assuming it hasn't changed).

-Matt
Matthew Dillon 
[EMAIL PROTECTED]


sk driver problems

2006-10-17 Thread Gergo Szakal
I am gettting watchdog timeouts on the sk driver. Is there any way to 
investigate the reason for this?


Re: Network Slowdowns?

2006-10-17 Thread Matthew Dillon
:Done. It's funny that I thought of uploading the asf file but not the
:modules... :P
:
:-Richard

Ok.  Very odd.  It seems to crashing in pf_change_a(), called from
line 3854 of net/pf/pf.c.  It shouldn't be possible for it to crash
there.

Do me a favor and try turning off MMX optimized memory copies by
placing the following in your /boot/loader.conf:

kern.mmxopt=0

Tell me if that fixes the problem.  It shouldn't actually be doing an
optimized mmx copy for a 4-byte sequence, but perhaps there is a bug
in the assembly code that is handling small copies.

-Matt
Matthew Dillon 
[EMAIL PROTECTED]


Re: sk driver problems

2006-10-17 Thread Matthew Dillon

:
:I am gettting watchdog timeouts on the sk driver. Is there any way to 
:investigate the reason for this?

Are they just occassional timeouts or is the driver not working?

I don't know what the state of the SK driver is.  I do know that on
the NFE driver I'm using on pkgbox the interrupt occassionally stops
working.  I have to leave emergency interrupt polling turned on 
(at 10hz) to get it to recover, and then its interrupts work normally
again (at their full interrupt rate) until the next time the hardware
farts.

-Matt
Matthew Dillon 
[EMAIL PROTECTED]


Re: sk driver problems

2006-10-17 Thread Gergo Szakal

Matthew Dillon wrote:


Are they just occassional timeouts or is the driver not working?



They are occasional ones, otherwise it does work fine. I am using 1.6.0 
with this patch:


http://leaf.dragonflybsd.org/mailarchive/users/2006-09/msg00209.html

Don't know what brigs them on, yesterday there was about 10, today there 
was only 1 (so far).


Should I recompile the *original* sk driver?
(I bet you remember the issue I just linked. This is the same system. :-/)


update of sound infrastructure

2006-10-17 Thread Simon 'corecode' Schubert

hey,

I tried updating our sound infrastructure to freebsd-6's one and I included the new HDA 
driver as well.  Please test it, available at 
http://chlamydia.fs.ei.tum.de/~corecode/unsorted/sound-update.diff (cd /sys; 
patch -p0  sound-update.diff).  It would be nice if we could get it in for the next 
release.

caveats:

1. modules don't load dependencies:  you have to kldload sound.ko manually
2. xmms acts weird (plays fine, but the UI laggs 5-10 seconds)

please try an report back if it works or not.

note:  you don't have to run buildworld, buildkernel is sufficient.  actually 
rebuilding dev/sound modules is sufficient.

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: update of sound infrastructure

2006-10-17 Thread Simon 'corecode' Schubert

Gergo Szakal wrote:

Can this be applied against 1.6-RELEASE?


uh, no, sorry.  there were several kernel changes in the mean time.

--
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: update of sound infrastructure

2006-10-17 Thread Gergo Szakal

Simon 'corecode' Schubert wrote:

Gergo Szakal wrote:

uh, no, sorry.  there were several kernel changes in the mean time.



OK, np, then as soon as the preview tag gets slipped, I'll check that 
one out.


Re: Where to place compiler flags for world?

2006-10-17 Thread walt
Thomas Schlesinger wrote:
 Am Dienstag, 17. Oktober 2006 21:05 schrieb Simon 'corecode' Schubert:
 Thomas Schlesinger wrote:
 options CPU_ENABLE_EST
 CONF_FLAGS=-march-pentium-m -O2 -fomit-frame-pointer -pipe

 Is there something problematic with them?
 don't use -O2 nor -fomit-frame-pointer

 i usually place

 CFLAGS=-O -g -pipe

 in /etc/make/conf

 
 Simon,
 
 I wasn't aware of /etc/make.conf. 

And don't confuse DragonFly's make.conf with mk.conf from pkgsrc.  They
are two separate files.


Re: Cable internet

2006-10-17 Thread Justin C. Sherrill
On Tue, October 17, 2006 3:27 pm, Bryan Berch wrote:

 So as long as you get a ethernet cable modem there should be no problem
 connecting?

Yes.  I'm assuming your computer has an ethernet port, of course.

 Is there any thing special in configuring it to work with dragonfly or
 is it just dhcp?

It will usually be just DHCP.  If it requires something special (like
PPTP, which I've only heard of with DSL), get online to here and people
can help you get it set up.




silo overflows -- what can I do about this?

2006-10-17 Thread Joseph Garcia


Okay, so I was working via the console port (i.e. DFly box connected to 
 Firewall via serial port) of my PIX firewall and I kept getting these 
errors. These errors made it quite impossible to configure the firewall 
because I was unable to recieve the output from the PIX device.



Error Messages (/var/log/messages):
Oct 17 17:40:04 dfly kernel: sio1: 2 more silo overflows (total 23)
Oct 17 17:40:06 dfly kernel: sio1: 4 more silo overflows (total 27)
Oct 17 17:41:22 dfly kernel: sio1: 7 more silo overflows (total 34)
Oct 17 17:41:24 dfly kernel: sio1: 9 more silo overflows (total 43)
Oct 17 17:41:25 dfly kernel: sio1: 4 more silo overflows (total 47)
Oct 17 17:41:38 dfly kernel: sio1: 2 more silo overflows (total 49)
Oct 17 17:49:36 dfly kernel: sio1: 1 more silo overflow (total 50)
Oct 17 17:49:53 dfly kernel: sio1: 1 more silo overflow (total 51)
Oct 17 17:49:57 dfly kernel: sio1: 1 more silo overflow (total 52)
Oct 17 17:50:02 dfly kernel: sio1: 1 more silo overflow (total 53)

Is there anything I can do about these errors? The man page for sio says 
that it's an interupt problem. Any help would be appreciated.


Thanks!

Joey


Re: sk driver problems

2006-10-17 Thread Sepherosa Ziehau

On 10/17/06, Gergo Szakal [EMAIL PROTECTED] wrote:

Matthew Dillon wrote:

 Are they just occassional timeouts or is the driver not working?


They are occasional ones, otherwise it does work fine. I am using 1.6.0
with this patch:

http://leaf.dragonflybsd.org/mailarchive/users/2006-09/msg00209.html

Don't know what brigs them on, yesterday there was about 10, today there
was only 1 (so far).

Should I recompile the *original* sk driver?


Nope, I think you should keep the patch, since you have two sk(4) in one box :-)

Best Regards,
sephe

--
Live Free or Die