openbsd-misc mailing list

FromSubjectsort iconDate
Christian Weisgerber
Re: Network Time Synchronization using timed or ntpd or a Co...

Actually, the ntp.org daemon performs poorly on OpenBSD since we
don't supply ntp_adjtime(2).

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Oct 23, 5:28 pm 2007
José Christian Rodr...
Problem with raid 1 in server dell

Hi list,
My system was freeze and when reboot show:

/dev/rsd0a: file system is clean;not checking
/dev/rsd0d: file system is clean;not checking
/dev/rsd0e: file system is clean;not checking
/dev/rsd0g: INCORRECT BLOCK COUNT I=2699655 (20 should be 16) (CORRECTED)
PARTIALLY TRUNCATED INODE I=19268881
/dev/rsd0g:UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
THE FOLLOWING FILE SYSTEN HAD AN UNEXPECTED INCOSISTENCY:
ffs: /dev/rsd0g(/var)
Automatic File system check failed: help!
Enter pathn...

Oct 23, 4:38 pm 2007
Siju George
Is the PF mailinglist still blocking gmail users?

Hi,

Just wondering if the PF mailing list is still blocking gmail users.
Can't contact Daniel because his email ID is also on the same mail server.

Any Idea which all domains are blocked in the PF mailing list so that
I can subscribe to a free email service that is not blocked?

Thank you so much

Kind Regards

Siju

Oct 23, 4:23 pm 2007
Peter N. M. Hansteen
Re: Is the PF mailinglist still blocking gmail users?

It could be that gmail's pool of possible outgoing servers is a little
too big and the retries too random for greylisting to work all by
itself and benzedrine.cx isn't willing to whitelist all that much
address space.

Fortunately gmail's SPF records appear to be up to date, so
whitelisting what comes out of there should work, if benzedrine.cx
wants to go down that route.

- P
--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ [ message continues ]

" title="http://www.dat...">http://www.dat...

Oct 23, 4:52 pm 2007
ropers
Re: Can anyone recommend a cheap and mature, well-supported ...

(...)

Thank you. (Thanks to Dmitrij as well.)

I gather ATI and NVIDIA appear to be better supported than most
others. Is that true?

In case I end up making a (small) new purchase: Are there any vendors
who have been behaving well documentation-wise, and whom I should
reward with my custom? Has anyone been a dick who should be avoided?

Oct 23, 4:32 pm 2007
Antti Harri Oct 23, 4:52 pm 2007
ropers
Can anyone recommend a cheap and mature, well-supported grap...

I may be able to inherit an ASROCK 775Dual-VSTA mainboard. The board
does not have on-board graphics, so I would need to buy a graphics
card. The board supports AGP, PCI, and PCI Express Graphics slots.

Can anyone recommend a graphics card?

I am looking for a mature graphics solution that's well supported on
OpenBSD, and that I should preferably be able to obtain on a
shoestring. I am not looking for shitloads of FPS.

Any comments would be welcome.
In case anyone can comment on using the afore...

Oct 23, 4:00 pm 2007
Walter Bürger
MegaRAID SAS 8204ELP not working ?

Hi,

just installed a MegaRAID SAS 8204ELP Controller and according to the BIOS:

LSI MegaRAID Software RAID BIOS Version M1068e.01.01021804R
LSI Logic MPT RAID Found at PCI Bus No:04 Dev No:00
SAS/SATA RAID key is Detected.
Bringing up the Controller. Please wait...
Scanning for Port 00... Responding. WDC WD800JD-75MS 75781MB
Scanning for Port 01... Responding. WDC WD800AAJS-00 75807MB
Scanning for Port 02... Not Responding.
Scanning for Port 03... Not Responding.
Scanning for Port 04... Not Re...

Oct 23, 1:55 pm 2007
Martin Hedenfalk
gpio support on ALIX board

Hello list,

Is anyone working on getting the gpio pins supported on the PCEngines
ALIX boards?
I'd like to be able to control the LEDs using gpioctl, just like on
the WRAP.

-martin

Oct 23, 11:46 am 2007
Frans Haarman
Kernel crash after connecting NIC

This happend after connecting an network interface! It was previously
connected to a HP SWitch, I moved the cable to a lan port on a Cisco
PIX 501. The crash was almost instant I Think.

It happend in a test lab I am setting up. So probably some config
error on my side, but still....

I typed the ddb trace over from the screen, dont hold me too it.

kernel: page fault trap, code =0
STopped at bge_encap+0xfd: movw 0x21e(%edx),%ax
ddb>

bge_encap(d190d000,d7aa0800,d08d5dcc,0) at bge_encap+...

Oct 23, 11:00 am 2007
Andrew Dalgleish
NextG networking

I've put up some notes about NextG networking on OpenBSD at
http://www.ajd.net.au/nextg/openbsd.html
including a kernel patch to suit ZTE handsets which will probably work
with other Qualcomm-based handsets.

Regards,
Andrew Dalgleish

Oct 23, 10:18 am 2007
Jonathan Gray
Re: NextG networking

Do the ZTE phones need both device additions to umsm?

You should not mix vendor/product like that, edit
usbdevs not a generated file, like below.

And these quirks are for umodem not umsm, which device
is being attached?

Index: usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.305
diff -u -p -r1.305 usbdevs
--- usbdevs 22 Oct 2007 19:37:28 -0000 1.305
+++ usbdevs 23 Oct 2007 14:44:58 -0000
@@ -1935,6 ...

Oct 23, 10:53 am 2007
Juan Miscaro
writing non-ascii characters via SSH

{ this is a resend }

I am currently experiencing difficulty in writing text files containing
French characters on my OpenBSD 4.0 server via SSH.

On both the FreeBSD client system and on the OpenBSD server system I
have the following:

~/.profile:

export LANG="C"
export LC_CTYPE="fr_CA.ISO8859-1"
export LC_COLLATE="fr_CA.ISO8859-1"

~/.inputrc:

set convert-meta Off
set editing-mode emacs
set input-meta On
set output-meta On

Note that I am contacting the FreeBSD system from...

Oct 23, 9:40 am 2007
Andrew Pantyukhin
Re: writing non-ascii characters via SSH

Could you try setting LANG to fr_CA.ISO8859-1 (on each box)?

Oct 23, 4:14 pm 2007
Jan Stary
Re: OSS audio drivers

Looks like the only "UNIX support" they do is have an NDA with OSS, who
have drivers for the better M-Audio cards (and RME Hammerfall) in

True, but that's way over the level I need. Nowadays, I do my audio
work on FreeBSD using sox, ecasound, snd, and ardour - just curious
about migrating this to OpenBSD.

Thanks

Jan

Oct 23, 9:32 am 2007
Jacob Meuser
Re: OSS audio drivers

uaudio. the nice thing about uaudio, is that's it's based on a
standard. uaudio is not a 100% complete implementation of USB

there is no Jack port for audio(4), so ardour is out. I have a partially
working snd port, and ecasound looks doable. you may want to consider
using audacity. I also have a partly working pd port, if anyone is
interested in that.

note, OpenBSD does have an OSS compatability library. but until
recently, it (and audio(4) too, really) suffered from bugs that made
it...

Oct 23, 12:28 pm 2007
Edd Barrett
Re: OSS audio drivers

uaudio

--
Best Regards

Edd

---------------------------------------------------
http://students.dec.bournemouth.ac.uk/ebarrett

Oct 23, 10:08 am 2007
Wim Vandeputte
Systems, Oct 23 - 26, 2007, Munich, Germany

Hey,

as a reminder, you can visit the Systems expo this week in Munchen,
there is an OpenBSD/OpenSSH booth in Halle B2 110-2, run by DaN, Nikolay
Sturm and Marco Pfatschbacher

There are of course 4.2 CDs and Tshirts, so if you did not pre-order,
this is the quickest way to get one this month.

Also, we need some helping hands for tomorrow, if somebody wants
to help out at the booth, mail me.

I'll not be able to attend

Wim.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=...

Oct 23, 8:59 am 2007
Lars Noodén
Re: About Xen: maybe a reiterative question but ..

I'm no expert in virtualization, but may I ask if you are remembering to
use kqemu ?

There is also virtual box.
http://www.virtualbox.org/
It may or may not run on an OpenBSD host, but does run OpenBSD as a

Furthermore, it seems that XenSource has been sold off to Citrix, makers
of that steaming pile of crap known as Citrix:
http://www.citrixxenserver.com/Pages/default.aspx

That bodes very, very, very ill for the product.
Citrix, IMHO, will make sure that Xen will be poor at hosting non-M...

Oct 23, 8:16 am 2007
Nick Guenther
Re: About Xen: maybe a reiterative question but ..

I had this thought a couple of weeks ago and started looking through
the kqemu code but got totally lost. There's a NetBSD kqemu, so it's
certainly possible.. but someone just has to do it... and
unfortunately I'm no help.

-Nick

Oct 23, 2:43 pm 2007
Christian Weisgerber
Re: Network Time Synchronization using timed or ntpd or a Co...

Ancient cruft. It will be deleted from the tree eventually.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Oct 23, 7:35 am 2007
Jon Radel
Re: Network Time Synchronization using timed or ntpd or a Co...

Depending on how many machines you have and how much you care about your
time, best practice is more likely to be to have 2 or 3 servers likely
to be up 7x24 use outside time sources and then have all internal
machines use those 2 or 3 servers as their source. It's so easy to
remove single points of failure in this case that you might as well do so.

--Jon Radel

[demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]

Oct 23, 11:00 am 2007
Clint Pachl
Network Time Synchronization using timed or ntpd or a Combin...

What is the most "efficient" and "secure" way to keep the clocks of
servers on a network in sync?

Because OpenNTPD was designed with security in mind from the start, I
was thinking about using ntpd only on all systems. One system would get
time from the NTP pool and all other servers on the network would sync
to the local server. Is this the best way?

Then I discovered timed. Does anybody use it? Is it as secure? What are
the (dis)advantages/differences compared to ntpd?

I was was reading...

Oct 23, 6:42 am 2007
Boris Goldberg
Re: Network Time Synchronization using timed or ntpd or a Co...

Hello Clint,

Tuesday, October 23, 2007, 5:42:47 AM, you wrote:

CP> One system would get time from the NTP pool and all other servers on
CP> the network would sync to the local server.

You don't really need ntpd on all systems. One (timeserver) runs ntpd,
and others use rdate, called from cron (once a day is usually enough).

--
Best regards,
Boris mailto:boris@twopoint.com

Oct 23, 9:33 am 2007
Henning Brauer
Re: Network Time Synchronization using timed or ntpd or a Co...

that is bad advice.
it is not only much more work to set up, it also doesn't remotely yield
the same results. ntpd is much much better, since it doesn't rely on a
single answer from soem server to set the clock, and because it adjusts
the clock frequency over time.
there is not much point in using rdate at all.

--
Henning Brauer, hb@bsws.de, henning@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Applicati...

Oct 23, 10:46 am 2007
Clint Pachl
Re: Network Time Synchronization using timed or ntpd or a Co...

From what I have read in this thread, it looks like only one guy
prefers the old timed and rdate tools. A few are even telling him he is
giving bad advice when promoting the usage of these tools. Henning
mentioned that rdate and timed are pretty much useless and others have
said that timed is obsolete. So why don't we remove them from the source
tree?

Last night when I was researching a way to sync my clocks I became
confused as to what I should be using. This thread and Henning's
OpenNT...

Oct 23, 6:36 pm 2007
Rogier Krieger
Re: Network Time Synchronization using timed or ntpd or a Co...

While your suggestion would work, it would also entail more work
without adding benefit. Upon install, you get the question of whether
you want to use ntpd. Starting with 4.2, it even asks for a specific
NTP server.

Using ntpd gets you better synchronisation without the need of setting
something up with cron. Rdate will work, but the work developers put
into (further integrating) ntpd makes rdate appear rather ...
outdated.

Cheers,

Rogier

--
If you don't know where you're going, any ro...

Oct 23, 10:01 am 2007
Boris Goldberg
Re: Network Time Synchronization using timed or ntpd or a Co...

Hello Rogier,

Tuesday, October 23, 2007, 9:01:32 AM, you wrote:

RK> While your suggestion would work, it would also entail more work
RK> without adding benefit. Upon install, you get the question of whether
RK> you want to use ntpd. Starting with 4.2, it even asks for a specific
RK> NTP server.

It's always better to don't run a demon if you don't have to. :)
Talking about a "more work" - I don't think that someone avoiding small
"after install" tuning like this should ...

Oct 23, 12:05 pm 2007
Pierre-Yves Ritschard
Re: Network Time Synchronization using timed or ntpd or a Co...

I hope nobody takes what you say seriously. Running rdate instead of
ntpd like you describe is wrong for many reasons which have been stated
over and over in the last few years. Please do not spread wrong
information around, and do your homework before giving others advice
on what you think is good sysadmin practice.

Oct 23, 12:39 pm 2007
Boris Goldberg
Re: Network Time Synchronization using timed or ntpd or a Co...

Hello Pierre-Yves,

PYR> I hope nobody takes what you say seriously. Running rdate instead of
PYR> ntpd like you describe is wrong for many reasons which have been stated
PYR> over and over in the last few years. Please do not spread wrong
PYR> information around, and do your homework before giving others advice
PYR> on what you think is good sysadmin practice.

The ntpd from OBSD is raw and lame yet. It takes days (!) to really
synchronize, adjusting time and clock frequen...

Oct 23, 1:05 pm 2007
Chris Kuethe
Re: Network Time Synchronization using timed or ntpd or a Co...

Blah blah blah.

time1 and time2.srv.ualberta.ca are both running openntpd driven by
nmea(4) sensors. As is my home workstation. They wibble around within
a microsecond or two of the sensor's time, probably due to a)
interrupt handling and b) temperature changes caused by the air
conditioner or cats sleeping on the case.

If you have some reasonable, well-designed suggestions on how to
better discipline the clock, we're all ears. Other wise, quit babbling
- openntpd is doing exactly what it's su...

Oct 23, 1:49 pm 2007
Darrin Chandler
Re: Network Time Synchronization using timed or ntpd or a Co...

And my servers are in a windowless room under a lot of concrete and
steel, so there's no good way to get GPS or radio data, and I'm using
other time servers on the internet to sync.

They keep time very well, on sparc64 and amd64, and both are in
pool.ntp.org and score quite well. In fact, they compare favorably to
servers running the more "heavyweight" ntp daemons.

--
Darrin Chandler | Phoenix BSD User Group | MetaBUG
dwchandler@stilyagin.com | http://phxbug.org/ | http...

Oct 23, 2:59 pm 2007
Martin Schröder
Re: Network Time Synchronization using timed or ntpd or a Co...

While we are talking about ntpd: Is there hope of an update of the
portable version? The debian port is still at 3.9...

Best
Martin

PS: http://www.openntpd.org is also still at 3.9...

Oct 23, 6:44 pm 2007
Clint Pachl
Re: Network Time Synchronization using timed or ntpd or a Co...

That is a very interesting anecdote. That has got to make Henning proud;
hell I'm proud of him. The amazing thing is that the ntpd binary on my
i386 is only 34.4K. The ntpd binary (non-OpenNTPD) on my i386 FreeBSD
media center is 263K, not to mention all of the other ntp* binaries,
which bring total size to 426K. Plus, OpenNTPD has privilege separation!

Oct 23, 4:52 pm 2007
Theo de Raadt
Re: Network Time Synchronization using timed or ntpd or a Co...

Try statically linking them, and then look at the numbers again.

Oct 23, 5:16 pm 2007
Clint Pachl
Re: Network Time Synchronization using timed or ntpd or a Co...

Well, I'm not going to do that, but I think I understand the point that
Theo is making.

(OpenBSD)
pachl@morpheus$ ldd /usr/sbin/ntpd
/usr/sbin/ntpd:
Start End Type Open Ref GrpRef Name
00000000 00000000 exe 1 0 0 /usr/sbin/ntpd
05c18000 25c4c000 rlib 0 1 0 /usr/lib/libc.so.40.3
0334b000 0334b000 rtld 0 1 0 /usr/libexec/ld.so

(FreeBSD)
pachl@htx$ ldd /usr/sbin/ntpd
/usr/sbin/ntpd:
libm.so.4 => /lib/libm.so.4 ...

Oct 23, 6:23 pm 2007
Paul de Weerd
Re: Network Time Synchronization using timed or ntpd or a Co...

On Tue, Oct 23, 2007 at 12:05:58PM -0500, Boris Goldberg wrote:
| The ntpd from OBSD is raw and lame yet. It takes days (!) to really
| synchronize, adjusting time and clock frequency back and forth (even if you
| start with -s) so it's too early to say that using it is "right". It will
| be "right" after it matures, gets more useful synchronization algorithm and
| it's own ntpdate (or a parameter to synchronize and exit).

Without -s, you are right. Adjusting time will take a long time if
...

Oct 23, 1:38 pm 2007
Boris Goldberg
Re: Network Time Synchronization using timed or ntpd or a Co...

Hello Paul,

Tuesday, October 23, 2007, 12:38:43 PM, you wrote:

PdW> ... run rdate, it has the -n switch.

Here we go! :D

--
Best regards,
Boris mailto:boris@twopoint.com

Oct 23, 1:56 pm 2007
Rogier Krieger
Re: Network Time Synchronization using timed or ntpd or a Co...

That sort of remark has often started endless debates. :)

For me, trusting rdate to provide time or using ntpd for it is pretty
much the same, but feel free to disagree. There are no risk-free
activities.

In my book, ntpd gets the job done with less administrative work and
it's made by the same people I trust to provide me with a sensible and

If you haven't already, it might be wise to track the issue and report
it. Most of my things requiring post-install kernel config got fixed
over the ...

Oct 23, 12:31 pm 2007
Chris Kuethe
Re: Network Time Synchronization using timed or ntpd or a Co...

Rdate provides a single valuable service: the ability to poll a device
to see what time it thinks it is (ie. probing the health of my time
servers).

For everything else, i just let openntpd take care of it.

--
GDB has a 'break' feature; why doesn't it have 'fix' too?

Oct 23, 10:37 am 2007
Rogier Krieger
Re: Network Time Synchronization using timed or ntpd or a Co...

Good point; I should probably add that to my monitoring setup.

Thanks for the suggestion,

Rogier.

--
If you don't know where you're going, any road will get you there.

Oct 23, 12:31 pm 2007
Henning Brauer
Re: Network Time Synchronization using timed or ntpd or a Co...

I don't have the time or electrons to compile that list :)

in short, there is about zero value in timed for new installs. It is
pretty much obsolete.

--
Henning Brauer, hb@bsws.de, henning@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

Oct 23, 8:38 am 2007
Jan Stary
OSS audio drivers

Hi all,

this is to clarify (for me, anyway) the status of
audio drivers present in the (recently GPLed) OSS.
http://www.opensound.com/osshw.html

What is the relation of OpenBSD's audio drivers to the OSS project?
What, if anything, does opensourcing (GPL, I know) their code mean for
our audio drivers? In particular, does that mean (future) support for
the high-end soundcards such as M-Audio Delta?

Thanks

Jan

Oct 23, 6:25 am 2007
Alexandre Ratchov
Re: OSS audio drivers

There's work in progress on adding support for Delta cards (1010,
1010LT, 66, 44), and required features to make them usable (32bit
encodings, 12 channel capture, higher sample rate, etc...)

-- Alexandre

Oct 23, 1:06 pm 2007
Jan Stary
high-end audio drivers [was: OSS audio drivers]

Where can I get in touch with this work and possibly test it?
Is anything commited -> available in curent?

Thanks

Jan

Oct 23, 6:55 pm 2007
Theo de Raadt
Re: OSS audio drivers

That code is not free enough for us to use, and therefore we don't
use it.

Oct 23, 9:32 am 2007
Edd Barrett
Re: OSS audio drivers

Hi,

OpenBSD uses an implementation of the Sun audio system, which is a
different system to OSS alltogether. I don't know where it came from,
it is probably not based upon any of sun's code due to licensing.

As for the M-audio Delta, not sure about that particular card, but I
have a M-audio mobile pre (usb), which works fine under OpenBSD. I'm
not sure if that's an indication that M-audio aim to support UNIX, or
just a coinsidence. Try dropping them an email?

In all fairness, you would be bet...

Oct 23, 8:43 am 2007
Reza Muhammad
Installing the latest snapshot freezes on i386

Hi all,

I just recently purchased a brand new HP Pavilion
G3035L Desktop PC (spec:
http://www.anugrahpratama.com/product/21/1092/HP-Pavilion-G3035L-Desktop-PC).
It's using Intel Core Duo processor. I tried to
install OpenBSD's latest snapshot to this machine last
night. The thing is it freezes and it wouldn't
install. Here's the messages I got from my screen:

pcibios0 at bios0: rev 3.0 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5590/192
(10 entries)
pcibios0: PCI Int...

Oct 23, 4:42 am 2007
Brian A Seklecki (Mo...
Re: Installing the latest snapshot freezes on i386

Try interrupting boot and booting into the real-time kernel config

[OpenBSD banner]
boot> boot -c

ukc> verbose
ukc> enable apci0
ukc> disable apm0
ukc> exit

Oct 23, 9:30 am 2007
Christian Weisgerber
Re: daap/mdns multicast problems

As Brian already pointed out, you need to enable multicast routing.
You also need a multicast routing daemon to perform the actual
forwarding. mrouted(8) will do for simple purposes. I haven't
tried dvmrpd(8).

However, the first thing you want to check is the TTL of these mdns
packets. I suspect it's 1 and they are intended as local broadcasts,
not as routable traffic.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Oct 23, 5:34 am 2007
previous daytodaynext day
NoneOctober 23, 2007None