openbsd-misc mailing list

FromSubjectsort iconDate
Daniel Bosk
OpenBSD aio(2) support

Hi misc@,

Just wondering, is there still no support for the aio(2) programming
interface in OpenBSD? (Running 4.1 and I cannot find it)

In January 2003 it was being worked on, but what is the status now?

http://marc.info/?l=openbsd-misc&m=104213994204389&w=2

-- Daniel

Oct 22, 4:43 pm 2007
Cyrus
Biometrics

I've been looking for some time now for biometric software for openbsd, to
work in XDM or KDM.
I need it to support Keytronic F-SCAN-K001US, if nothing exists, I guess its
back to a regular keyboard. I dont think I can run Bio-Logon 3.0 through
wine as a system proccess like that, so Im just looking for some kind of
biometric software, suite, or project that supports my keyboard/scanner.

Thanks,
Cyrus

Oct 22, 3:23 pm 2007
Beavis
Update features on PF(OpenBSD4.2)

hi folks,

I saw this performance issue with pf on a AMD64firewall: below is the link

http://www.nabble.com/firewall-is-very-slow%2C-something%27s-wrong-t4572...

it states that pf on 4.2 performs much better than in 4.1. having said
this, is it possible to be able to just update pf's feature instead of
going through the entire OS upgrade? since im really going after the
features of pf, and happy with how 4.1 is.

any comments are awesomely appreciated.

thanks,
-beavis

Oct 22, 12:20 pm 2007
Paul de Weerd
Re: Update features on PF(OpenBSD4.2)

On Mon, Oct 22, 2007 at 10:20:41AM -0600, Beavis wrote:
| hi folks,
|
| I saw this performance issue with pf on a AMD64firewall: below is the
link
|
|
http://www.nabble.com/firewall-is-very-slow%2C-something%27s-wrong-t4572...
0.html
|
| it states that pf on 4.2 performs much better than in 4.1. having said
| this, is it possible to be able to just update pf's feature instead of
| going through the entire OS upgrade? since im really going after the
| features of pf, and happy with how 4.1 ...

Oct 22, 12:38 pm 2007
Beavis
Re: Update features on PF(OpenBSD4.2)

thanks for the reply guys, I currently run CARP and pfsync on both
boxes (upgrade can be done with less downtime) though i haven't tried
to stress test my setup, i guess this upgrade is do-able. instead of
coding (im not a coder).

regards,
-beavis

Oct 22, 12:45 pm 2007
Sam Fourman Jr.
Re: Update features on PF(OpenBSD4.2)

I am not certain understand the negative impact of a full 4.2 upgrade

Sam Fourman Jr.

Oct 22, 12:38 pm 2007
Ted M. Goodridge, Jr.
Re: Help with LiveCD/LIveDVD

Just an update...it hangs on the message "Loading /CDBOOT" not cdbr as
previously posted. Sorry about that.

CC me directly as I am offlist.

Ted Goodridge
------------------------------

Hello all,

Please CC to me directly as I am offlist...

I am building a LiveCD/LiveDVD based on OpenBSD 4.1 snapshot. I know this
is an unofficial page, but I followed the instructions here:
http://openbsd-wiki.org/index.php?title=LiveCD

I'm using 4.1 because of the libraries required on the LiveDVD...

Oct 22, 9:50 am 2007
Stefan Klein
Performance problem with CF card on AMD CS5536 IDE

Hi list,

I have got an interesting problem here. When I use a CF card on Geode LX-800
board, the performance is extremely low (about 1MB/s for reading). I suppose
it is not a hardware problem: Under windows, the performance of read/writes on
the CF is fine.

This is what I get in dmesg:

pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: <Turbo Industrial CF Card>
wd0: 1-s...

Oct 22, 10:28 am 2007
Brian A. Seklecki
Re: Performance problem with CF card on AMD CS5536 IDE

This looks normal. I've yet to find a CF-IDE Adpater combination that makes it into full Ultra-DMA mode 4.

CF Media is generally slower than modern high perf. disks, depending a lot on the manufactuer quality.

For my bsd-appliance project, I use CF media strictly for booting a MD/RD kernel image. If you're doing a full-install on the CF card, you've got the wrong approach. You're going to nuke your CF media with all of that atime update and IO cache flush overhead.

There's no progress(1) in ...

Oct 22, 11:12 am 2007
Chris Kuethe
Re: Performance problem with CF card on AMD CS5536 IDE

In a word: "bullshit"

In more words: I've been running production devices for 5yrs with CF
mounted rw. I use async and noatime so it feels faster, not prolong
the longevity of the card. A couple of months ago a took an older (ca.
2004) 256M sandisk card, and ran iogen on it for a month; I put
several terabytes through it and the card is just fine. I'm sure it'll
fail catastrophically when all the spare sectors give out, but how is
that different from a spinning magnetic disk?

ftp -Vm -o - fi...

Oct 22, 12:13 pm 2007
Jan Stary
Re: Performance problem with CF card on AMD CS5536 IDE

I am running an ALIX/4.1 with 2G CF card as its sole storage,
and mounting with noatime and softupdates helped the speed
a lot.

Jan

Oct 22, 10:49 am 2007
Ted M. Goodridge, Jr.
Help with LiveCD/LIveDVD

Hello all,

Please CC to me directly as I am offlist...

I am building a LiveCD/LiveDVD based on OpenBSD 4.1 snapshot. I know this
is an unofficial page, but I followed the instructions here:
http://openbsd-wiki.org/index.php?title=LiveCD

I'm using 4.1 because of the libraries required on the LiveDVD. This
LiveDVD is used for in-house hardware diagnostics with customized programs
written for BSD. I thought it would be easier to boot from CD rather than
installing OpenBSD on every mach...

Oct 22, 8:57 am 2007
Pau Amaro-Seoane
Re: Help with LiveCD/LIveDVD

Hi,

I hope you succeed. I'd be very itnerested in a live cd/dvd for obsd.
As you say, it's ideal to test hardware, but I don't have to time to
do it myself. Btw, why obsd 4.1?
Do you plan to upload the iso to some site? There were some projects,
like quetzal and olivebsd, but they died, I think.

good luck,

Pau

Oct 22, 1:59 pm 2007
Nick Guenther
Re: Help with LiveCD/LIveDVD

Have you tested the .iso in QEMU? Have you tried it on different
hardware? Maybe it's because it's a DVD (DVDs might need more drivers
than the boot loader has? Maybe try cdboot instead of cdbr?

-Nick

Oct 22, 10:21 am 2007
Ted M. Goodridge, Jr.
Re: Help with LiveCD/LIveDVD

qemu doesn't work for some reason. Anytime I try and use qemu I get the
error "Cannot initialize SDL library..."

Yes, I have tried it in different hardware. What exactly do cdbr and
cdboot do? I get the screen that says "OpenBSD boot loader" (with the
hardware fd1 etc listed), with the "Loading /CDBOOT" above it and it just
hangs.

cdbr is listed in the installation instructions as the cdboot loader.
cdboot is the second stage boot loader IIRC. Don't hesitate to correct me
if I'm...

Oct 22, 10:35 am 2007
Nick Guenther
Re: Help with LiveCD/LIveDVD

Is SDL installed right?

If you make a LiveCD (not DVD) does it work?

-Nick

Oct 22, 10:53 am 2007
Ted M. Goodridge, Jr.
Re: Help with LiveCD/LIveDVD

<SNIP>

Some additional info: I did install the qemu from package. Running qemu
under X gives me this:
qemu -cdrom livecd.iso -boot d

----------------------------------------------------
qemu: fatal: Trying to execute code outside RAM or ROM at 0x90b8c35d

EAX=fc468900 EBX=ff468aff ECX=00000000 EDX=87499875
ESI=c35dec89 EDI=0004ae00 EBP=ec89c031 ESP=ffff7d60
EIP=90b8c35d EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 00000000 ffffffff 00cf9300
CS =0008 00000000 ffffffff ...

Oct 22, 11:52 am 2007
Ted M. Goodridge, Jr.
Re: Help with LiveCD/LIveDVD

The How-to says you can use this to build a LiveDVD. I thought that the
bios booted the same if it was a dvd or a cd...? I really need the space
a DVD offers.

Does the CD boot loader have trouble with DVDs?

Ted

Oct 22, 11:03 am 2007
Nick Guenther
Re: Help with LiveCD/LIveDVD

It might. Who knows? CDs are a much more standard technology. Try it
first with CDs and make sure that works. Always work from a known
good, right?

You could always netboot (PXE) these computers, you know.

-Nick

Oct 22, 11:58 am 2007
Paul de Weerd
Re: BIND

[redirecting to misc@]

On Mon, Oct 22, 2007 at 07:10:11PM +0800, Regie H. Saberon wrote:
| Hi to all, I just want to ask if BIND is already chrooted on OBSD 4.1?

from named(8) :

When invoked without arguments, named will fork into two
processes for privilege separation. chroot() to
/var/named, read the default configuration file
/var/named/etc/named.conf, read any initial data, and lis-
ten for queries. The privileged process will co...

Oct 22, 7:12 am 2007
Regie H. Saberon
Re: BIND

Thanks for quick response, I want to set-up a Primary Domain Name
Server, so that I hosts my own domain. Is there any good wiki that I can
follow?

-----Original Message-----
From: Paul de Weerd [mailto:weerd@weirdnet.nl]
Sent: Monday, October 22, 2007 7:13 PM
To: Regie H. Saberon
Cc: misc@openbsd.org
Subject: Re: BIND

[redirecting to misc@]

On Mon, Oct 22, 2007 at 07:10:11PM +0800, Regie H. Saberon wrote:
| Hi to all, I just want to ask if BIND is already chrooted on OBSD 4.1?

from named...

Oct 22, 7:27 am 2007
Jean-Philippe Luiggi
Re: BIND

Hello everybody,

May i suggest : http://www.zytrax.com/books/dns/

====
DNS for Rocket Scientists

This Open Source Guide is about DNS and (mostly) BIND 9.x on Linux
(Fedora Core), BSD's (FreeBSD, OpenBSD and NetBSD) and Windows (Win 2K,
XP, Server 2003). It is meant for newbies, Rocket Scientist wannabees
and anyone in between.
====

With regards,

Jean-philippe.

Oct 22, 3:18 pm 2007
Darren Spruell
Re: BIND

You have a few options.

- http://www.isc.org/index.pl?/sw/bind/index.php - look at the
Administrator Reference Manual.

- Have a look at the default configuration under /var/named/etc/ and
/var/named/master/; the configuration is essentially already in place
(all you need to do is add your zone data) and you've got a
functioning DNS server which is authoritative for your zone(s).

- Pick up the book DNS and BIND
(http://www.amazon.com/DNS-BIND-5th-Cricket-Liu/dp/0596100574) which
is a nearly...

Oct 22, 10:24 am 2007
Joshua Smith
Re: BIND

the named(8) man page is quiet excellent, if it doesn't cover what you
need, try googling for some bind stuff, most of the hits you get will
be for Linux, but the named.conf examples are in all likelihood still
relevant.

Thanks,
Josh

Oct 22, 7:35 am 2007
Damon Schultz
Re: Routing iTunes sharing across subnets using OpenBSD

Thanks for your response.

I'm aware that iTunes filters traffic outside of its subnet, I'm
thinking a pf.conf(5) rule something like

nat on enc0 inet proto udp from $subnet_A to 224/4 port = 5353 ->
$subnet_B_gateway static-port

might successfully fool iTunes into not filtering the traffic. This
wouldn't successfully route the packet, however, as my routing table
shows

224/4 127.0.0.1

which I guess means that multicasted traffic needs the assistance of
mrouted(8) or the ...

Oct 22, 6:26 am 2007
carlopmart
About Xen: maybe a reiterative question but ..

Hi all,

I know that time to time somebody do the same question, but I need to know it:
is it planned at some point to release a paravirtualized xen kernel for OpenBSD
4.3 or 4.4???

In March'08 I need to virtualize two openbsd servers under xen (host doesn't
supports HVM guests). But if it is not possible, I will migrate to NetBSD ...

Many thanks.
--
CL Martinez
carlopmart {at} gmail {d0t} com

Oct 22, 4:05 am 2007
ropers
Re: About Xen: maybe a reiterative question but ..

It already exists. You can run OpenBSD DomUs (ie. run OpenBSD as a Xen
"guest"**), but AFAIK you still can't run OpenBSD Dom0s (ie. run
OpenBSD as a Xen "host"**).

See http://www.ropersonline.com/openbsd/xen/

** This is a flawed metaphor, because Xen is a _hypervisor_, NOT an
emulator. The Domain U installs are not really running as guest OSes,
and the Domain zero installations are not really running as host OSes.
But you need at least one Dom0 (which when I last looked into this
still could n...

Oct 22, 2:36 pm 2007
Nick Guenther
Re: About Xen: maybe a reiterative question but ..

So that means that OpenBSD has code in it right now that detects if
it's running under Xen and paravirtualizes itself?

-Nick

Oct 22, 3:11 pm 2007
Jeff Quast
Re: About Xen: maybe a reiterative question but ..

no

I would like to vouch for openbsd working great as a guest, but my
guest has crashed a dozen times. However I think this is due to the
debian linux dom0 having broken sata code for the controller in use.
dom0's dmesg is filled with debug statements from sata related places
in the kernel that should never be printed. We're in a messy
de-centralized linux development world trying to get a stable dom0
patched together. It sucks.

The paravirtualization port appears dead to me. I've tried ...

Oct 22, 6:07 pm 2007
ropers
Re: About Xen: maybe a reiterative question but ..

Anil Madhavapeddy was Christoph's Google Summer of Code 2006 _mentor_.
Christoph Egger did all or most of the work.

Cf. here: http://code.google.com/soc/2006/xensource/about.html

If people don't have Christoph's email address and want it, email me
off-list. I'm not sure if it's polite to make Christoph's email
address hit the archives where a thousand address harvesting bots can
pick it up. OTOH, Christoph's address can be found via Google.

Also, I think it's more or less useless to speculat...

Oct 22, 7:05 pm 2007
ropers
Re: About Xen: maybe a reiterative question but ..

This is what I meant to hint at earlier: Running an OpenBSD DomU in
connection with, say, a Linux Xen Dom0 possibly makes that OpenBSD
installation subject to bugs in the hypervisor/Dom0, and that may be
unavoidable. The question is, is that a worthwhile trade-off? Is this
a reason not to support Xen? Or should the user be given that option
regardless of the inherent limitations and consequences?

--ropers

Oct 22, 7:11 pm 2007
ropers
Re: About Xen: maybe a reiterative question but ..

Not as far as I know, but I know very little.

AFAIK, it's still necessary to clone the Mercurial (
http://en.wikipedia.org/wiki/Mercurial_%28software%29 ) VCS (
http://en.wikipedia.org/wiki/Version_control_system ) as described
here: http://www.ropersonline.com/openbsd/xen/openbsd-xen-howto

As far as I gathered, Christoph's effort has not been widely
publicised and may not even be known to even some hard core OpenBSD
people.

I also seemed to gather that at some point there might have been so...

Oct 22, 3:34 pm 2007
ropers
Re: About Xen: maybe a reiterative question but ..

For what it's worth, I plan on setting up a Xen box with an Ubuntu
Dom0 and an OpenBSD DomU Real Soon Now, as soon as I get my trashpile
computer fixed.
(It's currently running Ubuntu with faulty RAM, because I got ripped
off by some US-Americans* via ebay, and I can't afford to throw more
money at it to fix it, because I'm now long term ill AND on
wellfare**... yadda, yadda, whine, whine ;-P )

Anyway, I plan on telling the misc list if and when I manage to set
this up. Of course, dmesgs will be...

Oct 22, 4:14 pm 2007
Edd Barrett
Odd FFS behavior

Hi there,

I have an odd one for you here. Im trying to copy music from a hard
disk(FFS) mounted on /mnt/media. I can play the music with mplayer
just fine, but cp seems to refuse to believe that the files exist.

Whats going on?

---8<---
# fsck /mnt/media
** /dev/rwd1a (NO WRITE)
** Last Mounted on /mnt/media
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
50647 files, 1...

Oct 22, 3:45 am 2007
Aaron W. Hsu
Re: Odd FFS behavior

I have experienced similar behaviour, except that, with me, after I do an
archive extraction, or a file concatenation of many files, while the file
system only shows one set of files, additional files which were deleted after
the extraction, continue to be listed as existing when I try to do operations
on the directory as a whole.

$ cp -R dir new/
Failure! Cannot copy some non-existent file.

$ cp -R dir/*.x new/
Works.

It is very strange.

--
((name "Aaron Hsu")
(email/xmpp ...

Oct 22, 12:49 pm 2007
Otto Moerbeek
Re: Odd FFS behavior

Does your target dir /mnt/usb exist?

Oct 22, 4:14 am 2007
Edd Barrett
Re: Odd FFS behavior

It does. I copied another album onto an SD mounted there and listened
to it on the way to work today.

--
Best Regards

Edd

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

Oct 22, 5:14 am 2007
Otto Moerbeek
Re: Odd FFS behavior

Show a ls -la of the source dir and a stat(1) of the dir and at least
one of the problem files.

-Otto

Oct 22, 5:46 am 2007
David Vasek
Re: Odd FFS behavior

Hello,
perhaps output of the following will be more useful:
mount |grep /mnt/usb
df /mnt/usb
df -i /mnt/usb
ls -la /mnt/usb
fsck /mnt/usb

The cp program complains about the target files, not the source.

Regards,
David

Oct 22, 6:26 am 2007
Denise H. G.
Re: Odd FFS behavior

--
And God spake unto Moses, and said unto him, I am the LORD:
-- Exodus 6:2

Oct 22, 6:47 am 2007
Dragos Ruiu
PacSec 2007 Agenda (Tokyo 11-29/30)

Talk selections for PacSec 2007 - November 29 and 30 - Aoyama Diamond Hall

-------
- Programmed I/O accesses: a threat to virtual machine monitors? - Loic
Duflot,

- Developing Fuzzers with Peach - Michael Eddington, Leviathan Security

- Cyber Attacks Against Japan - Hiroshi Kawaguchi, LAC

- Windows Localization: Owning Asian Windows Versions - Kostya Kortchinsky,
Immunity

- TOMOYO Linux - Toshiharu Harada, NTT Data

- IPV6 Demystified - Jun-ichiro itojun Hagino , IPv6Samurais

- Auto...

Oct 22, 12:43 am 2007
Can Erkin Acar
Re: em(4) - IFCAP_VLAN_MTU & IFCAP_VLAN_HWTAGGING ?

It is also that much boring :) The ability to preserve existing and valid
connections in case of overloaded traffic (think DoS) is more useful for me.
As Henning suggested, you can always make the ruleset fail (stateless) open

For such a strict view and/or requirement, your options are somewhat
limited.

I would suggest:

1. Test with the same ruleset that you would use in production. In the
stateless case, the number of rules directly influences the amount of
work done for each packet, there...

Oct 21, 10:27 pm 2007
Steve Shockley
Tapes on ciss

I've got a Compaq DL380G1 with a Smart 5300 card (ciss). I've got an
array plugged into port 1, and a tape plugged into port 2. The BIOS
setup for the card sees everything, but OpenBSD doesn't see the tape,
nothing in dmesg. I don't even see the second scsibus for ciss. Any
suggestions?

OpenBSD 4.1-stable (GENERIC.MP) #3: Thu Oct 18 23:28:07 EDT 2007
root@krunk.shockley.net:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 931 MHz
cpu0:
FPU,V...

Oct 21, 10:08 pm 2007
Theo de Raadt
Re: Tapes on ciss

talking to tape drives and such things behind raid controllers typically
takes a lot more work, and few of our drivers have support for that.

Oct 21, 10:22 pm 2007
scorch
Re: Tapes on ciss

IIRC (and thats debatable as this is old memory) a number of the compaq
array cards do *not* support tape devices behind the scsi bus. it was
only intended for connecting further disks to.

i think its expected to see it in the bios though even if it can't be
used in pass-through configuration.

if this applies to your device, it will be documented in the 5300
technical info.

cheers,
scorch

Oct 21, 11:31 pm 2007
Jeff Simmons
Can't read authpf rules with pfctl

Setting up a quick test network. User authme with authpf shell. Empty
authpf.conf file. authpf.rules has only one rule:

block in quick on sis0 proto tcp from $user_ip to 10.0.0.1 port 8888

pf.conf includes:

table <authpf_users> persist
anchor "authpf/*"

Let's try it. (Irrevelant lines and info deleted.)

remote:~$nmap -p 8888 10.0.0.1
PORT STATE
8888/tcp closed

remote:~$ ssh -l authme 10.0.0.1
authme@10.0.0.1's password:
Hello authme. You are authenticated from host "10.0....

Oct 21, 9:22 pm 2007
Francesco Toscan
Re: Can't read authpf rules with pfctl

Use pftcl -vsA, it will return you the anchors nested in authpf/* like:
authpf
authpf/user(pid)
authpf/anotheruser(pid)

The use pfctl -a 'authpf/user(pid)' -sr to display user's rules.

f.

Oct 22, 2:26 am 2007
Constantine A. Murenin
Re: machine which freeze with openbsd 4.2

Actually, that's what you told me. :) I simply noticed that the
machine reliably freezes every time I power up my iBook with OS X.

kernel/5504: re(4) on ASUS V3-P5G965 Core 2 Duo ...
http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=5504

FWIW, I've also noticed that sftp'ing the machine from a Windows box
on the same local network can reliably freeze it, too. (Although
non-sftp ssh sessions never caused the machine to freeze.)

One other interesting point is that it appears ...

Oct 22, 11:09 am 2007
Mark Zimmerman
Re: machine which freeze with openbsd 4.2

There are at least three open bug reports related to re hanging when
used at gigabit speeds. You might try forcing it to 100baseTX.

-- Mark

Oct 22, 10:22 am 2007
Nicolas Letellier
Re: machine which freeze with openbsd 4.2

Hello everybody,

thanks to all for your responses !
I have a laptop and a desktop. They have an 8169 NIC realtek... And
these 2 machines freeze.
When i disabling these NIC, i have no problems.

In this page http://www.openbsd.org/i386.html, the chipset 8169 is not
written. I think it doesn't work 'well'.
So, in my laptop, I use wifi, and in the desktop, i bought another NIC :-)

Thanks to everybody who help me !

Nicolas

--
Nicolas Letellier, administrateur systhmes

Site person...

Oct 22, 10:53 am 2007
previous daytodaynext day
NoneOctober 22, 2007None