pf change destination port for outgoing traffic

2008-04-09 Thread Karel Galuska
Hi all,
I use OpenBSD as a firewall with nat function for local network.
For special reason now I need change some destination ports for outgoing
traffic to every
internet server.

For example when internal PC a.a.a.a wants to connect internet server b.b.b.b
on port p1 I need transparently redirect connection to port p2 of the same
internet server b.b.b.b.
But b.b.b.b represents every internet server, which client wants to connect.

Could you please help me construct the pf rule?

Thanks
Karel



Re: Installing Perl on openBSD 4.0

2008-04-09 Thread pichi
Josh,

Thanks so much for clearing that up for me. That would explain why it was so
hard to find documentation on installing  Perl on an OpenBSD 4.0 box;
because its already there!

I will upgrade to the latest version. The only thing that worries me is this
is a production box and I have never upgraded an OpenBSD server.

Wish me luck,

P.
-- 
View this message in context: 
http://www.nabble.com/Installing-Perl-on-openBSD-4.0-tp16557812p16580508.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Installing Perl on openBSD 4.0

2008-04-09 Thread Richard Toohey
You don't seem to have moved on much from when you last asked this  
question?


http://marc.info/?l=openbsd-miscm=119006249920380w=2
http://marc.info/?l=openbsd-miscm=119012951715635w=2

Perl is in the base install - write it down somewhere.

Good luck upgrading the boxes - read, re-read, plan (fail to plan,  
plan to fail),
do on a test box (as close to your production set-up) if you are  
really worried.


Don't take any short-cuts.

And then wonder what all the fuss is when it turns out to be a piece  
of cake.


HTH.

On 9/04/2008, at 6:37 PM, pichi wrote:

Josh,

Thanks so much for clearing that up for me. That would explain why  
it was so

hard to find documentation on installing  Perl on an OpenBSD 4.0 box;
because its already there!

I will upgrade to the latest version. The only thing that worries  
me is this

is a production box and I have never upgraded an OpenBSD server.

Wish me luck,

P.
--
View this message in context: http://www.nabble.com/Installing-Perl- 
on-openBSD-4.0-tp16557812p16580508.html

Sent from the openbsd user - misc mailing list archive at Nabble.com.




passing non-default configure options through the xenocara wrapper

2008-04-09 Thread Connor
Hi,

I'm running 4.2-stable on i386 and was wanting to turn on some
configuration options (for specific subpackages) that are turned off
by default when one runs builds xenocara using the vanilla process in
the /usr/src/xenocara/README file and the FAQ.

I checked out the stable source for xenocara and it builds and
installs successfully by following the usual procedure:

# cd /usr/src/xenocara
# make bootstrap
# make obj
# make build

I made sure that I installed the additional GNU autotools packages
that are listed in the README, and /usr/X11R6/bin is in my PATH .

I have a specific example of something I'd like to modify: I'd really
like to change some of the options for app/xterm, say to enable 256
color support, which is turned off when doing the default build.

If I were running the configure script manually I could do the
following in app/xterm, for example:

#cd /usr/src/xenocara/app/
#sh configure --enable-256-color

(which should enable that option)

I'm not sure that that will get picked up properly when I do a make
build though.

What is the proper way to set things up so that the xenocara wrapper
scripts know to turn on those non-standard options?

Any recommendations would be really appreciated.

Thanks,

Connor



Re: pf change destination port for outgoing traffic

2008-04-09 Thread Lars Noodén
Karel Galuska wrote:
 I use OpenBSD as a firewall with nat function for local network.
  ... change some destination ports for outgoing
 traffic to every internet server.

Try looking at rdr and see if that will do what you want.

http://www.openbsd.org/faq/pf/rdr.html
http://www.openbsd.org/faq/pf/rdr.html#rdrnat

Regards,
-Lars



Re: Thinkpad x61 can see 3 GB of RAM out of total 4 GB

2008-04-09 Thread Stéphane Chausson

Zoong PHAM a icrit , Le 9/04/08 6:20:

My new Thinkpad x61 has 4 GB of RAM.
The BIOS can see 4 GB.
OBSD-4.2 and 4.3 (snapshot 07/04/2008), both i386 and amd64, can see
only 3 GB.
What can I do to make OBSD see all the RAM?

FYI, the Windows XP that preinstalled by IBM can also see only 3 GB.

Thanks,
Zoong PHAM




http://www.dansdata.com/askdan00015.htm
If you install 4Gb, there is no way to make all of the RAM between 3Gb 
and 4Gb available without installing a 64-bit OS, which you can't do 
unless you have a 64-bit CPU. And even then it won't necessarily work.


So, to avoid hassles on current systems, it's best to stick with 3Gb or 
less.


I don't really know if this is the real explanation.
If not sorry for the noise



HP DL140

2008-04-09 Thread Joe Warren-Meeks
Hey there,

Anyone had any truck installing OpenBSD on an HP DL140? I have tried
several times and it just hangs after uncompressing the kernel, right
before the copyright message from the kernel.

Anyone know the magic cockerel wave to get them to boot?

(Note, using 4.2 release)

Thanks.

 -- joe.

He has this massive ashtray that's like an Aladdin's lamp.



Re: pf change destination port for outgoing traffic

2008-04-09 Thread scott
When you say, ...b.b.b.b represents every server the client wants, do
you mean (i) every server from a known set of servers, or do you mean
(ii) any server --public and private-- on the Internet?


-Original Message-
From: Karel Galuska [EMAIL PROTECTED]
To: misc@openbsd.org
Subject: pf change destination port for outgoing traffic
Date: Wed, 9 Apr 2008 08:23:50 +0200
Mailer: Microsoft Outlook Express 6.00.2900.3138
Delivered-To: [EMAIL PROTECTED]

Hi all,
I use OpenBSD as a firewall with nat function for local network.
For special reason now I need change some destination ports for outgoing
traffic to every
internet server.

For example when internal PC a.a.a.a wants to connect internet server b.b.b.b
on port p1 I need transparently redirect connection to port p2 of the same
internet server b.b.b.b.
But b.b.b.b represents every internet server, which client wants to connect.

Could you please help me construct the pf rule?

Thanks
Karel



Re: pf change destination port for outgoing traffic

2008-04-09 Thread Karel Galuska

any public server on the Internet


- Original Message - 
From: scott [EMAIL PROTECTED]

To: Karel Galuska [EMAIL PROTECTED]
Cc: misc@openbsd.org
Sent: Wednesday, April 09, 2008 11:24 AM
Subject: Re: pf change destination port for outgoing traffic



When you say, ...b.b.b.b represents every server the client wants, do
you mean (i) every server from a known set of servers, or do you mean
(ii) any server --public and private-- on the Internet?


-Original Message-
From: Karel Galuska [EMAIL PROTECTED]
To: misc@openbsd.org
Subject: pf change destination port for outgoing traffic
Date: Wed, 9 Apr 2008 08:23:50 +0200
Mailer: Microsoft Outlook Express 6.00.2900.3138
Delivered-To: [EMAIL PROTECTED]

Hi all,
I use OpenBSD as a firewall with nat function for local network.
For special reason now I need change some destination ports for outgoing
traffic to every
internet server.

For example when internal PC a.a.a.a wants to connect internet server 
b.b.b.b

on port p1 I need transparently redirect connection to port p2 of the same
internet server b.b.b.b.
But b.b.b.b represents every internet server, which client wants to 
connect.


Could you please help me construct the pf rule?

Thanks
Karel




Re: HP DL140

2008-04-09 Thread Johan Mson Lindman
On Wednesday 09 April 2008 10:54:57 Joe Warren-Meeks wrote:
 Hey there,

 Anyone had any truck installing OpenBSD on an HP DL140? I have tried
 several times and it just hangs after uncompressing the kernel, right
 before the copyright message from the kernel.

 Anyone know the magic cockerel wave to get them to boot?

 (Note, using 4.2 release)

 Thanks.

  -- joe.

 He has this massive ashtray that's like an Aladdin's lamp.

If an old release doesn't work, please always try a snapshot before
asking for help with it.
It is likely that whatever problem there might be has already been fixed in 
the snapshots.


Regards
Johan M:son



USB modem

2008-04-09 Thread syl
Hi guys,

I'm developping a firmware for an usb device for my enterprise
and I try to be compatible with OpenBSD.

So I test my device (which just do serial communication following
the USB cdc Abstract Control Modem).

The plug seems to works fine. The attach works and attach ucom0
at umodem and umodem at uhub.

But when I'm trying to do this :
echo aaab  /dev/ttyU0

The echo still freeze. So I get the sys.tar.gz and add some  trace
on ucom.c and umodem.c to find where does my device sucks.
My problem seems to be a TIMEOUT on the set_line_coding.

Do you know what packet should I send on set_line_coding ? for the
moment my device just got the packet and read 7bits for gets the data
concerning the baudrate etc.. I try to add some ack packet after or / and
before the recv but that don't change my problem.

this is the line added by the plug of my device on dmesg:

umodem0 at uhub3 port 2 configuration 1, interface 0
umodem0: Atmel AT91USBSerial, rev 1.01/0.01, addr2, iclass 2/2
umodem0: data interface 1, has no CM over data, has break
umodem0: status change notification available
ucom0 at umodem0

Thanks in advance for your help.

-- 
Gallon sylvestre
Rathaxes Core Developper / LSE researcher
kernel developer for adeneo and OpenBSD fan
http://devsyl.blogspot.com/ | www.rathaxes.eu



Re: HP DL140

2008-04-09 Thread Raimo Niskanen
On Wed, Apr 09, 2008 at 09:54:57AM +0100, Joe Warren-Meeks wrote:
 Hey there,
 
 Anyone had any truck installing OpenBSD on an HP DL140? I have tried

Which generation of DL140?
I know there were some problems with the G3, but it did boot.

 several times and it just hangs after uncompressing the kernel, right
 before the copyright message from the kernel.

I guess it is the install kernel that hangs.

 
 Anyone know the magic cockerel wave to get them to boot?
 
 (Note, using 4.2 release)

Have you tried both i386 and amd64?

 
 Thanks.
 
  -- joe.
 
 He has this massive ashtray that's like an Aladdin's lamp.

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Jeffrey 'jf' Lim
http://www.via.com.tw/en/resources/pressroom/pressrelease.jsp?press_release_no=2088

would this be good news for the community? This is really mainly
Linux-related, but i'm hoping that their mention of technical
documentation will be good enough for Open to be able to support them...

-jf

--
In the meantime, here is your PSA:
It's so hard to write a graphics driver that open-sourcing it would not
help.
-- Andrew Fear, Software Product Manager, NVIDIA Corporation
http://kerneltrap.org/node/7228



Re: pf change destination port for outgoing traffic

2008-04-09 Thread Karel Galuska
Thanks, but the example in FAQ shows how to redirect traffic to one specific 
server known in time of construction of pf rules. But this is not what I am 
solving.
I need in outgoing traffic keep destination server IP and change destination 
port only. Destionation IP chooses user of local PC and in the time of the 
construction of pf rules is unknown.


Karel


- Original Message - 
From: Lars NoodC)n [EMAIL PROTECTED]

To: Karel Galuska [EMAIL PROTECTED]
Cc: misc@openbsd.org
Sent: Wednesday, April 09, 2008 10:12 AM
Subject: Re: pf change destination port for outgoing traffic



Karel Galuska wrote:

I use OpenBSD as a firewall with nat function for local network.
 ... change some destination ports for outgoing
traffic to every internet server.


Try looking at rdr and see if that will do what you want.

http://www.openbsd.org/faq/pf/rdr.html
http://www.openbsd.org/faq/pf/rdr.html#rdrnat

Regards,
-Lars




Re: HP DL140

2008-04-09 Thread Stuart Henderson
On 2008-04-09, Joe Warren-Meeks [EMAIL PROTECTED] wrote:
 Hey there,

 Anyone had any truck installing OpenBSD on an HP DL140? I have tried
 several times and it just hangs after uncompressing the kernel, right
 before the copyright message from the kernel.

turn off 8254 emulation (aka USB keyboard emulation) in BIOS.



Re: ospfd not resyncing

2008-04-09 Thread Paul Civati
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Claudio Jeker) writes:

 Please send some more infos. What version are you useing (did you test
 -current). Please show the config and necessary ospfctl output. The last
 time I have issues like this was some time ago with point-to-point links
 and that got fixed some time ago. There seems something in common with
 your setups that others usually don't have.

4.2-RELEASE - not tried -current because this is for a production
system.

Next time it happens I will try and grab copies of the database.

Our config is really simple..  note that em3 has lots of vlan
and carp interfaces associated with it.

This ospfd talks to the loopback interface on a JunOS box.

auth-type crypt
auth-md n xxx
auth-md-keyid n

redistribute connected set metric 50

area 0.0.0.0 {
interface em2
interface em3 { passive }
interface em1 { passive }
}

-Paul-



Re: Optimising OpenBSD

2008-04-09 Thread Matt

Matthew Smith schreef:
I'm only really concerned about the base system as I always build all 
my LAMPP components, Postfix, etc., by hand so that migrating 
box-to-box can go without [a hitch|many hitches].
OpenBSD optimalisation is rather about NOT touching the kernel - unless 
you really have a specific need for it.
Run 'GENERIC'. That has worked remarkably well for my webservers for 
years now.


If you are used to LAMP setups the only thing you might need to look at 
is the MySQL configuration.
That might need it's own login class (busy servers) but I believe more 
recent packages started mentioning this.
Otherwise search the archives or have a look at openbsdsupport [1]. Both 
have the info on how to do it.


Assuming you are new(ish) to OpenBSD you might run into some other well 
known pitfalls:


OBSD has the httpd chrooted [2] by default and php's mail capabilities 
(which call /bin/sh) can therefor not work out of the box [3].
Also building by hand isn't needed / advisable - use packages [4]. If 
that doesn't work check the ports [4] system

(which all should feel very familiar coming from Gentoo)

HTH
Matt

[1] http://www.openbsdsupport.org/mysql.htm#Limits
[2] http://www.openbsd.org/faq/faq10.html#httpdchroot
[3] http://archives.neohapsis.com/archives/openbsd/2007-01/0802.html
[4] http://www.openbsd.org/ports.html



OOT: Read hardisk Mac OS on Openbsd

2008-04-09 Thread sonjaya
Dear all

How to make Openbsd 4.2 can read hardisk contain Mac OS-X, i need to
read data in Harddisk which installed Mac OS-X

Thank's for the sharing ..
-- 
sonjaya
http://sicute.blogspot.com



Re: pf change destination port for outgoing traffic

2008-04-09 Thread Karel Galuska
It is not easy to explain. On PCs are special custom based aplications which 
changes destination port of outcoming traffic and I need put it back to port 
80.


Now I use http proxy, but I wanted remove it and use simly pf. So, you mean 
using proxy is the only way?


Karel


- Original Message - 
From: scott [EMAIL PROTECTED]

To: Karel Galuska [EMAIL PROTECTED]
Cc: misc@openbsd.org
Sent: Wednesday, April 09, 2008 12:01 PM
Subject: Re: pf change destination port for outgoing traffic



As far as I know, pf = no; an http (or ip) proxy = yes.

But, please explain how you expect www.google.com:p2 to work when client
wants www.google.com:p1 (meaning www.google.com:80)?


-Original Message-
From: Karel Galuska [EMAIL PROTECTED]
To: scott [EMAIL PROTECTED]
Cc: misc@openbsd.org
Subject: Re: pf change destination port for outgoing traffic
Date: Wed, 9 Apr 2008 11:46:34 +0200
Mailer: Microsoft Outlook Express 6.00.2900.3138
Delivered-To: [EMAIL PROTECTED]

any public server on the Internet


- Original Message - 
From: scott [EMAIL PROTECTED]

To: Karel Galuska [EMAIL PROTECTED]
Cc: misc@openbsd.org
Sent: Wednesday, April 09, 2008 11:24 AM
Subject: Re: pf change destination port for outgoing traffic



When you say, ...b.b.b.b represents every server the client wants, do
you mean (i) every server from a known set of servers, or do you mean
(ii) any server --public and private-- on the Internet?


-Original Message-
From: Karel Galuska [EMAIL PROTECTED]
To: misc@openbsd.org
Subject: pf change destination port for outgoing traffic
Date: Wed, 9 Apr 2008 08:23:50 +0200
Mailer: Microsoft Outlook Express 6.00.2900.3138
Delivered-To: [EMAIL PROTECTED]

Hi all,
I use OpenBSD as a firewall with nat function for local network.
For special reason now I need change some destination ports for outgoing
traffic to every
internet server.

For example when internal PC a.a.a.a wants to connect internet server
b.b.b.b
on port p1 I need transparently redirect connection to port p2 of the 
same

internet server b.b.b.b.
But b.b.b.b represents every internet server, which client wants to
connect.

Could you please help me construct the pf rule?

Thanks
Karel




Re: pf change destination port for outgoing traffic

2008-04-09 Thread scott
As far as I know, pf = no; an http (or ip) proxy = yes.

But, please explain how you expect www.google.com:p2 to work when client
wants www.google.com:p1 (meaning www.google.com:80)?


-Original Message-
From: Karel Galuska [EMAIL PROTECTED]
To: scott [EMAIL PROTECTED]
Cc: misc@openbsd.org
Subject: Re: pf change destination port for outgoing traffic
Date: Wed, 9 Apr 2008 11:46:34 +0200
Mailer: Microsoft Outlook Express 6.00.2900.3138
Delivered-To: [EMAIL PROTECTED]

any public server on the Internet


- Original Message - 
From: scott [EMAIL PROTECTED]
To: Karel Galuska [EMAIL PROTECTED]
Cc: misc@openbsd.org
Sent: Wednesday, April 09, 2008 11:24 AM
Subject: Re: pf change destination port for outgoing traffic


 When you say, ...b.b.b.b represents every server the client wants, do
 you mean (i) every server from a known set of servers, or do you mean
 (ii) any server --public and private-- on the Internet?


 -Original Message-
 From: Karel Galuska [EMAIL PROTECTED]
 To: misc@openbsd.org
 Subject: pf change destination port for outgoing traffic
 Date: Wed, 9 Apr 2008 08:23:50 +0200
 Mailer: Microsoft Outlook Express 6.00.2900.3138
 Delivered-To: [EMAIL PROTECTED]

 Hi all,
 I use OpenBSD as a firewall with nat function for local network.
 For special reason now I need change some destination ports for outgoing
 traffic to every
 internet server.

 For example when internal PC a.a.a.a wants to connect internet server 
 b.b.b.b
 on port p1 I need transparently redirect connection to port p2 of the same
 internet server b.b.b.b.
 But b.b.b.b represents every internet server, which client wants to 
 connect.

 Could you please help me construct the pf rule?

 Thanks
 Karel



Re: ospfd not resyncing

2008-04-09 Thread Paul Civati
Linden Varley [EMAIL PROTECTED] wrote:

 Bringing up an old-topic here, but just letting everyone know
 I have the exact same problem. It occurs quite often.

Surely we can't be the only two people seeing this issue?

It's quite fundamental to ospfd working properly..

-Paul-



Protection de votre marque sur Internet

2008-04-09 Thread Marie Th� Robin
Bonjour,

Suite aux dernihres itudes menies sur les techniques de rifirencement des
sites Internet,

le nom de domaine serait difini comme le 1er acteur permettant de
rifirencer votre site sur les moteurs de recherche.

C’est pourquoi, il est primordial que votre nom de domaine soit en
adiquation avec le contenu de votre site et qu’il ne soit pas uniquement
le nom de votre sociiti.

Vous pouvez joindre notre iquipe conseil pour vous guider dans votre
choix et connantre les disponibilitis restantes pour le rifirencement de
votre site Internet.

Dans l’attente d’un prochain contact,
Veuillez accepter nos salutations distinguies.

Marie-Thi ROBIN
Responsable gestion noms de domaine

http://www.nom-domaine.fr

SOCIETE VIADUC
SIRET : 478 350 333 00025

Pour ne plus recevoir nos informations, suivez le lien



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Stuart Henderson
On 2008-04-09, Jeffrey 'jf' Lim [EMAIL PROTECTED] wrote:
 http://www.via.com.tw/en/resources/pressroom/pressrelease.jsp?press_release_no=2088

 would this be good news for the community?

Too early to say, they haven't released anything yet.



Snapshot i386-20080408 hangs during boot (rd0: fixed, 3800 blocks)

2008-04-09 Thread Henk Jan Priester
Trying to install OpenBSD i386 snapshot 20080408 hangs during the installation
boot process. The system is a Dell Vostro 2000 (Intel E4500 duo core).

The last few lines are:
isa0 at at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
npx0 t isa0 port 0xf0/16: reported by CPUID; exception 16
biomask fbfb netmask fffd ttymask 
rd0: fixed, 3800 blocks

It hangs, any idea what this can be?

Henk Jan



Sparc64 and T1 support (also the nature of MP)

2008-04-09 Thread Dave Wilson
I may soon get the opportunity to obtain a Sun Fire T1000, which I 
believe uses a T1 CPU. I think sparc64.html says that this is now 
supported in 4.3-current, ie HEAD as of right now. I am highly tempted 
to take up the offer of the machine, just because I've fancied playing 
with something not x86/amd64 for a while. My questions are these:


Is there any way that I could put this hardware to good use for the 
benefit of the project? I would ship it off to a dev, but I want to 
eventually use it in production. That said, given I would like to run 
OBSD on the machine when it is in production, it is in my interest to 
help progress the sparc64 port until the port is sufficiently ready. It 
could easily run a cron which pulled the tree to current and built the 
system once a night, although that may well not be useful :-)


When I put the machine into production, I plan to use it as an AnonCVS 
server for the OBSD tree, and an HTTP mirror for both OBSD and Debian, 
Ubuntu, and a few other things. I believe that the nature of SMP on 
these systems when using OBSD is that whilst there is multicore support, 
threads of a process run on the same core. As such, for things which use 
multiple processes, it will scale across the cores, whereas things which 
use threads will not. Am I correct? I think this means that the anoncvs 
processes will spread out among the cores, and the apache processes too, 
but I may well have misunderstood.


I am essentially looking for someone to tell me I shouldn't bother 
shelling out the few hundred quid I would need to expend to obtain the 
machine. I'd much prefer to be told I should though :-)


Si1entDave



Re: ospfd not resyncing

2008-04-09 Thread Claudio Jeker
On Wed, Apr 09, 2008 at 09:53:58AM +0100, Paul Civati wrote:
 Linden Varley [EMAIL PROTECTED] wrote:
 
  Bringing up an old-topic here, but just letting everyone know
  I have the exact same problem. It occurs quite often.
 
 Surely we can't be the only two people seeing this issue?
 
 It's quite fundamental to ospfd working properly..
 

Please send some more infos. What version are you useing (did you test
-current). Please show the config and necessary ospfctl output. The last
time I have issues like this was some time ago with point-to-point links
and that got fixed some time ago. There seems something in common with
your setups that others usually don't have.

-- 
:wq Claudio



Re: USB modem

2008-04-09 Thread Stuart Henderson
On 2008-04-09, syl [EMAIL PROTECTED] wrote:
 I'm developping a firmware for an usb device for my enterprise
 and I try to be compatible with OpenBSD.

great (:

 The plug seems to works fine. The attach works and attach ucom0
 at umodem and umodem at uhub.

 But when I'm trying to do this :
 echo aaab  /dev/ttyU0

This is normal, try cuaU0. Also you might find cu -l /dev/cuaU0
is useful for testing..



iTunes Server OpenBSD

2008-04-09 Thread Khalid Schofield
Hi,
messing around with an iTunes server under openbsd. I've had a look at  
a number of web pages on setting on up using bsd. But not sure about  
mDNS.

http://www.unixfun.net/howto/bsd/itunes.html

I've installed mt-daapd from the ports tree but can't seem to find  
mDNSResponder. It's not in the bsd packages either. Also had a look at  
this tutorial

http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/070463.html

but this port seems to have died too /usr/ports/net/p5-Net-Rendezvous

Has anyone looked at this before and can anyone give me advice? At  
first I thought all I need is daapd then I saw I require the mDNS  
stuff and ground to a halt there.


khalid



Re: USB modem

2008-04-09 Thread syl
On Wed, Apr 9, 2008 at 12:12 PM, Stuart Henderson [EMAIL PROTECTED] wrote:
 On 2008-04-09, syl [EMAIL PROTECTED] wrote:
   I'm developping a firmware for an usb device for my enterprise
   and I try to be compatible with OpenBSD.

  great (:
:)


   The plug seems to works fine. The attach works and attach ucom0
   at umodem and umodem at uhub.
  
   But when I'm trying to do this :
   echo aaab  /dev/ttyU0

  This is normal, try cuaU0. Also you might find cu -l /dev/cuaU0
  is useful for testing..



I've just try cuaU0 and the trace is nice and more understandable.

But I think I've always got a problem with the setlinecoding

When I add trace into the kernel I saw that the function
umodem_set_line_coding failed and return the value 0x0f.
In the usbdi.h the 0x0f value equals to the USBD_TIMEOUT
define.

So I think I made a bad response to the SET_LINE_CODING.

What I am doing exactly on device side:

DEVICE RECV 8 BITS (ENDPOINT0) : 0x21 0x20 0x00 0x00 0x00 0x00 0x07 0x00
DEVICE RECV 7 BITS (ENDPOINT0) : 0x80 0x25 0x00 0x00 0x00 0x00 0x08

The first receive is do because I intercept an interrupt that there
are 8 bits available
on the endpoint0 after i read directly 7 bits for getting the end of
this request.
Does I forget something ? Does I send some ack to the host, or data on the
interrupt endpoint ?

thanks in advance.

-- 
Gallon sylvestre
Rathaxes Core Developper / LSE researcher
kernel developer for adeneo and OpenBSD fan
http://devsyl.blogspot.com/ | www.rathaxes.eu



Re: HP DL140

2008-04-09 Thread Joe Warren-Meeks
On Wed, Apr 09, 2008 at 11:16:12AM +0200, Raimo Niskanen wrote:
 
 Which generation of DL140?
 I know there were some problems with the G3, but it did boot.

I think it is the G3. It is the latest generation.

  several times and it just hangs after uncompressing the kernel, right
  before the copyright message from the kernel.
 
 I guess it is the install kernel that hangs.

Correct.

  
  Anyone know the magic cockerel wave to get them to boot?
  
  (Note, using 4.2 release)
 
 Have you tried both i386 and amd64?

Ah, no. It is definitely the intel cpu though. Still worth trying the
amd?

 -- joe.

Answer me this... why is it that now I am getting hitched, all these
men start flirting with me?



Re: ospfd not resyncing

2008-04-09 Thread Paul Civati
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Paul Civati) writes:

 This ospfd talks to the loopback interface on a JunOS box.

For sake of clarity, over a normal ethernet interface, no PtP.

-Paul-



Re: Use of 'Puffy' Logo

2008-04-09 Thread Hannah Schroeter
Hi!

On Wed, Apr 09, 2008 at 01:21:34AM +0200, Martin Schrvder wrote:
2008/4/9, Matthew Smith [EMAIL PROTECTED]:
  A search of the site for a style guide or media pack has failed to turn up
 anything so I thought that I would ask here: how do I obtain

Click on the logo on the front page.

I read there (http://www.openbsd.org/art1.html):

  but do not make profit from them since our own T-shirt sales provide
  funding so that OpenBSD can continue to operate.

Recently it was said on a mailing list, that T-shirt sales do *not*
provide net funding, only donations and *CD* sales do. Which is true?

Kind regards,

Hannah.



Re: Optimising OpenBSD

2008-04-09 Thread Ed Ahlsen-Girard
-Original Message-
From: Douglas A. Tutty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 10:26 PM
To: misc@openbsd.org
Cc: Gilles Chehade; Matthew Smith
Subject: Re: Optimising OpenBSD

On Tue, Apr 08, 2008 at 11:27:03PM +, Gilles Chehade wrote:
 On Wed, Apr 09, 2008 at 08:49:38AM +0930, Matthew Smith wrote:
  Quoth Ted Unangst at 2008-04-09 08:38...
  Nothing beats an 8 year old article for the latest info.  OpenBSD
now
  comes fully optimized out of the box.
 
  Yes, I did notice the age, but that was about all that Google had
for me.
 
  Optimised out of the box sounds good to me - not having to do
anything
  is the way I like to work ;-)
 
  You do realise that this means that the installation time of the
base
  system is now going to be down to about 15 minutes (from over a
day) -
  what am I going to do with all that spare time?
 

 I would take that spare time to make sure I read all the pages of the
 faq, found some area I could contribute to, and find my way to paypal
 to subscribe for a monthly donation ;-)

Don't forget to read all the man pages.  Unlike Linux, they are all
complete (if they're not, it's a bug not a normal occurance).

If you want a book, although its a bit old there's Absolute OpenBSD by
nostarch press.

Doug.

A nice book, but it's out of print.  It is available as a PDF though.

Ed



Sparc64 and T1 support (also the nature of MP)

2008-04-09 Thread Dave Wilson
I must apologise, since my last reinstall I lost my text wrapping. 
Reposted at 72cols as per the list guidelines. Sorry for noise.



I may soon get the opportunity to obtain a Sun Fire T1000, which I
believe uses a T1 CPU. I think sparc64.html says that this is now
supported in 4.3-current, ie HEAD as of right now. I am highly tempted
to take up the offer of the machine, just because I've fancied playing
with something not x86/amd64 for a while. My questions are these:

Is there any way that I could put this hardware to good use for the
benefit of the project? I would ship it off to a dev, but I want to
eventually use it in production. That said, given I would like to run
OBSD on the machine when it is in production, it is in my interest to
help progress the sparc64 port until the port is sufficiently ready. It
could easily run a cron which pulled the tree to current and built the
system once a night, although that may well not be useful :-)

When I put the machine into production, I plan to use it as an AnonCVS
server for the OBSD tree, and an HTTP mirror for both OBSD and Debian,
Ubuntu, and a few other things. I believe that the nature of SMP on
these systems when using OBSD is that whilst there is multicore support,
threads of a process run on the same core. As such, for things which use
multiple processes, it will scale across the cores, whereas things which
use threads will not. Am I correct? I think this means that the anoncvs
processes will spread out among the cores, and the apache processes too,
but I may well have misunderstood.

I am essentially looking for someone to tell me I shouldn't bother
shelling out the few hundred quid I would need to expend to obtain the
machine. I'd much prefer to be told I should though :-)

Si1entDave



Re: Firefox 2.0.0.12

2008-04-09 Thread Hannah Schroeter
Hi!

On Wed, Apr 09, 2008 at 12:07:53AM +0200, Zbigniew Baniewski wrote:
On Tue, Apr 08, 2008 at 09:50:21PM +, james wrote:

 Include /usr/local/mozilla-firefox in the ldconfig line and run the ldconfig
 command through /usr/local/mozilla-firefox/run-mozilla.sh (or manually set
 LD_LIBRARY_PATH to include /usr/local/mozilla-firefox)

I think, the latter method is better suitable for including individual
cases. Or perhaps: would be, instead of is - because there's still
no desired effect. I can't see any difference.

I'm afraid, it can't be solved right now; currently it's just the way it
is, and one has to live with that.

It *felt* a bit faster after this:

cd /usr/local/mozilla-firefox/
: Include firefox dir to shared library path
ldconfig -m /usr/local/mozilla-firefox
: prebind
ldconfig -PS mozilla-firefox-bin 
: Exclude firefox dir again
ldconfig -U /usr/local/mozilla-firefox
: Rescan the normal shared libraries, to be sure
ldconfig -R

Kind regards,

Hannah.



Re: HP DL140

2008-04-09 Thread Stuart Henderson
On 2008-04-09, Joe Warren-Meeks [EMAIL PROTECTED] wrote:
 
 Have you tried both i386 and amd64?

 Ah, no. It is definitely the intel cpu though. Still worth trying the
 amd?

Either should run, once you get them booted.

Same problem with the keyboard emulation happens with at least some
linux versions and netbsd; freebsd have this working in newer
versions but nothing in their commit messages jumped out to me as
being the thing which fixes it.

(note that although the box has PS/2 sockets, internally they're
hooked up via a USB converter).

OpenBSD 4.3 (GENERIC) #1365: Tue Mar  4 14:47:58 MST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2146082816 (2046MB)
avail mem = 2072481792 (1976MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.31 @ 0xdc010 (57 entries)
bios0: vendor HP version O08 date 11/16/2007
bios0: HP ProLiant DL140 G3
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP SPMI APIC MCFG BOOT SPCR SSDT
acpi0: wakeup devices BPD0(S5) BMF3(S5) P0P4(S5) P0P6(S5) PEX0(S5) PEX1(S5) 
PEX2(S5) PEX3(S5) USB1(S5) USB2(S5) USB3(S5) EUSB(S5) PCIB(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 1 (P0P2)
acpiprt1 at acpi0: bus 2 (BMD0)
acpiprt2 at acpi0: bus 3 (BPD0)
acpiprt3 at acpi0: bus -1 (BPD1)
acpiprt4 at acpi0: bus -1 (BPD2)
acpiprt5 at acpi0: bus 11 (BMF3)
acpiprt6 at acpi0: bus 16 (P0P4)
acpiprt7 at acpi0: bus 18 (P0P6)
acpiprt8 at acpi0: bus 0 (PCI0)
acpiprt9 at acpi0: bus 30 (PEX0)
acpiprt10 at acpi0: bus 31 (PEX1)
acpiprt11 at acpi0: bus -1 (PEX2)
acpiprt12 at acpi0: bus -1 (PEX3)
acpiprt13 at acpi0: bus 32 (PCIB)
acpicpu0 at acpi0
acpibtn0 at acpi0: PWRB
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Xeon(R) CPU E5335 @ 2.00GHz, 1995.30 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x31
ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE x8 rev 0x31
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci3 at ppb2 bus 3
ppb3 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
pci4 at ppb3 bus 11
ppb4 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x31
pci5 at ppb4 bus 12
ppb5 at pci0 dev 4 function 0 Intel 5000 PCIE x16 rev 0x31
pci6 at ppb5 bus 16
ppb6 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x31
pci7 at ppb6 bus 17
ppb7 at pci0 dev 6 function 0 Intel 5000 PCIE rev 0x31
pci8 at ppb7 bus 18
ppb8 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x31
pci9 at ppb8 bus 19
pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x31
pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x31
pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x31
pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x31
pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x31
pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x31
pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x31
ppb9 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09
pci10 at ppb9 bus 30
bge0 at pci10 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1 
(0x4101): irq 11, address 00:1e:0b:5a:70:c2
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb10 at pci0 dev 28 function 1 Intel 6321ESB PCIE rev 0x09
pci11 at ppb10 bus 31
bge1 at pci11 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1 
(0x4101): irq 11, address 00:1e:0b:5a:70:c3
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 Intel 6321ESB USB rev 0x09: irq 5
uhci1 at pci0 dev 29 function 1 Intel 6321ESB USB rev 0x09: irq 5
uhci2 at pci0 dev 29 function 2 Intel 6321ESB USB rev 0x09: irq 5
ehci0 at pci0 dev 29 function 7 Intel 6321ESB USB rev 0x09: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb11 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xd9
pci12 at ppb11 bus 32
vga1 at pci12 dev 2 function 0 Matrox MGA G200e (ServerEngines) rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 Intel 6321ESB LPC rev 0x09
pciide0 at pci0 dev 31 function 1 Intel 6321ESB IDE rev 0x09: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, DW-224E-V, C.CA SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 Intel 6321ESB AHCI rev 0x09: irq 10, AHCI 1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: ATA, FB160C4081,  SCSI3 0/direct fixed
sd0: 152627MB, 19457 cyl, 255 head, 63 sec, 512 bytes/sec, 312581808 sec 

SOEKRIS net5501 com port settings

2008-04-09 Thread mufurcz

Hi,

Trying to `talk` to a SOEKRIS net5501 using a COM2 port out from
an old Windblown box (have nothing else here to use at the moment)
but I am  getting garbage output, regardless of the speed - tried
9600/19200/38400/57600 8/n/1 Xon/Xoff/none.

Terminal type is set to ANSI/VT100, the null modem cable is supplied
by SOEKRIS).

I know that the COM port is OK as I was using this system to connect
to various Sun hardware (SF240, SF215 and E450).

I have in my bag a Belkin FSU409 USB-to-serial adapter, no joy.

Any suggestions?  Thanks.

Mufurcz



Re: pf change destination port for outgoing traffic

2008-04-09 Thread Karel Galuska

p1 and p2 are always the same.
58453 always to 80
K.

- Original Message - 
From: scott [EMAIL PROTECTED]

To: Karel Galuska [EMAIL PROTECTED]
Sent: Wednesday, April 09, 2008 2:46 PM
Subject: Re: pf change destination port for outgoing traffic



Are the values of p1 and p2 mapping (p1p2) always the same?

Like www.google.com: and  is always to be :80.

How many of these 1:1 port mappings are there?

/S
-Original Message-
From: Karel Galuska [EMAIL PROTECTED]
To: scott [EMAIL PROTECTED]
Cc: misc@openbsd.org
Subject: Re: pf change destination port for outgoing traffic
Date: Wed, 9 Apr 2008 12:17:40 +0200
Mailer: Microsoft Outlook Express 6.00.2900.3138
Delivered-To: [EMAIL PROTECTED]

It is not easy to explain. On PCs are special custom based aplications 
which
changes destination port of outcoming traffic and I need put it back to 
port

80.

Now I use http proxy, but I wanted remove it and use simly pf. So, you 
mean

using proxy is the only way?

Karel


- Original Message - 
From: scott [EMAIL PROTECTED]

To: Karel Galuska [EMAIL PROTECTED]
Cc: misc@openbsd.org
Sent: Wednesday, April 09, 2008 12:01 PM
Subject: Re: pf change destination port for outgoing traffic



As far as I know, pf = no; an http (or ip) proxy = yes.

But, please explain how you expect www.google.com:p2 to work when client
wants www.google.com:p1 (meaning www.google.com:80)?


-Original Message-
From: Karel Galuska [EMAIL PROTECTED]
To: scott [EMAIL PROTECTED]
Cc: misc@openbsd.org
Subject: Re: pf change destination port for outgoing traffic
Date: Wed, 9 Apr 2008 11:46:34 +0200
Mailer: Microsoft Outlook Express 6.00.2900.3138
Delivered-To: [EMAIL PROTECTED]

any public server on the Internet


- Original Message - 
From: scott [EMAIL PROTECTED]

To: Karel Galuska [EMAIL PROTECTED]
Cc: misc@openbsd.org
Sent: Wednesday, April 09, 2008 11:24 AM
Subject: Re: pf change destination port for outgoing traffic



When you say, ...b.b.b.b represents every server the client wants, do
you mean (i) every server from a known set of servers, or do you mean
(ii) any server --public and private-- on the Internet?


-Original Message-
From: Karel Galuska [EMAIL PROTECTED]
To: misc@openbsd.org
Subject: pf change destination port for outgoing traffic
Date: Wed, 9 Apr 2008 08:23:50 +0200
Mailer: Microsoft Outlook Express 6.00.2900.3138
Delivered-To: [EMAIL PROTECTED]

Hi all,
I use OpenBSD as a firewall with nat function for local network.
For special reason now I need change some destination ports for 
outgoing

traffic to every
internet server.

For example when internal PC a.a.a.a wants to connect internet server
b.b.b.b
on port p1 I need transparently redirect connection to port p2 of the
same
internet server b.b.b.b.
But b.b.b.b represents every internet server, which client wants to
connect.

Could you please help me construct the pf rule?

Thanks
Karel




Re: iTunes Server OpenBSD

2008-04-09 Thread Floor Terra

On Wed, 9 Apr 2008, Khalid Schofield wrote:


Hi,
messing around with an iTunes server under openbsd. I've had a look at
a number of web pages on setting on up using bsd. But not sure about
mDNS.

http://www.unixfun.net/howto/bsd/itunes.html

I've installed mt-daapd from the ports tree but can't seem to find
mDNSResponder. It's not in the bsd packages either. Also had a look at
this tutorial

http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/070463.html

but this port seems to have died too /usr/ports/net/p5-Net-Rendezvous

Has anyone looked at this before and can anyone give me advice? At
first I thought all I need is daapd then I saw I require the mDNS
stuff and ground to a halt there.


khalid




I tried this a while ago too and didn't succeed.
The package you are looking for containing mDNSResponder and friends is
called howl. I did not spend a lot of time trying to make this work
and I think I had problems with howl using broadcasts.

If you do succeed after installing howl, let me know.

Floor


--
Floor Terra [EMAIL PROTECTED]
www: http://brobding.mine.nu/



Problems reading audio cdrom on 4.2 sparc64

2008-04-09 Thread Joaquin Herrero
Hi,

I'm having problems when I try to read or mount an audio disk in my OpenBSD
4.2 sparc64 machine.
When I insert a data cdrom, the disklabel shows the partitions and I can
mount it, but when it's an audio cdrom, disklabel doesn't show any partition
and the system reports empty cdrom unit, in spite of having an audio cd
inside.

First of all, this is the dmesg of my system:

[EMAIL PROTECTED] ~]$ dmesg
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 4.2 (GENERIC) #1427: Tue Aug 28 10:46:40 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1028055040 (980MB)
mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 440MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.1) @ 440 MHz, version 0 FPU
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external
(64 b/l)
psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-3, PCI bus 0
psycho0: dvma map c000-dfff, iotdb 1bbe000-1c3e000
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ipl 37
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 40-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 42
wskbd0 at comkbd0: console keyboard
com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ipl 34:
polled
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ipl 39
not configured
clock1 at ebus0 addr 0-1fff: mk48t59
flashprom at ebus0 addr 0-f not configured
audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ipl 35 ipl 36: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address
08:00:20:fe:3f:6c
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
vgafb0 at pci1 dev 2 function 0 ATI Mach64 GP rev 0x5c
wsdisplay0 at vgafb0
wsdisplay0: screen 0 added (std, sun emulation)
pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7e0 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: ST320420A
wd0: 16-sector PIO, LBA, 19458MB, 39851760 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, CD/DVDW SH-S182D, SB05 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13
pci2 at ppb1 bus 2
ppb2 at pci2 dev 1 function 0 DEC 21153 PCI-PCI rev 0x04
pci3 at ppb2 bus 3
Sun PCIO EBus2 rev 0x01 at pci3 dev 0 function 0 not configured
hme1 at pci3 dev 0 function 1 Sun HME rev 0x01: ivec 0x7d1, address
08:00:20:f6:85:94
luphy0 at hme1 phy 1: LU6612 10/100 PHY, rev. 1
Sun PCIO EBus2 rev 0x01 at pci3 dev 1 function 0 not configured
hme2 at pci3 dev 1 function 1 Sun HME rev 0x01: ivec 0x7d2, address
08:00:20:f6:85:95
luphy1 at hme2 phy 1: LU6612 10/100 PHY, rev. 1
Sun PCIO EBus2 rev 0x01 at pci3 dev 2 function 0 not configured
hme3 at pci3 dev 2 function 1 Sun HME rev 0x01: ivec 0x7d3, address
08:00:20:f6:85:96
luphy2 at hme3 phy 1: LU6612 10/100 PHY, rev. 1
Sun PCIO EBus2 rev 0x01 at pci3 dev 3 function 0 not configured
hme4 at pci3 dev 3 function 1 Sun HME rev 0x01: ivec 0x7d0, address
08:00:20:f6:85:97
luphy3 at hme4 phy 1: LU6612 10/100 PHY, rev. 1
siop0 at pci2 dev 2 function 0 Symbios Logic 53c875 rev 0x14: ivec 0x7d4,
using 4K of on-board RAM
scsibus1 at siop0: 16 targets
siop1 at pci2 dev 2 function 1 Symbios Logic 53c875 rev 0x14: ivec 0x7d5,
using 4K of on-board RAM
scsibus2 at siop1: 16 targets
ohci0 at pci2 dev 3 function 0 NEC USB rev 0x43: ivec 0x7d8, version 1.0
ohci1 at pci2 dev 3 function 1 NEC USB rev 0x43: ivec 0x7d9, version 1.0
ehci0 at pci2 dev 3 function 2 NEC USB rev 0x04: ivec 0x7da
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: NEC EHCI root hub, rev 2.00/1.00, addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1: NEC OHCI root hub, rev 1.00/1.00, addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2: NEC OHCI root hub, rev 1.00/1.00, addr 1
creator0 at mainbus0 addr 0xfebc: Elite3D, model SUNW,XXX-, dac 0
wsdisplay1 at creator0: console (std, sun emulation), using wskbd0
pcons at mainbus0 not configured
bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL 
PROTECTED],0
root on wd0a swap on wd0b dump on wd0b


This is what happens when I put a data 

Re: Problems reading audio cdrom on 4.2 sparc64

2008-04-09 Thread Joaquin Herrero
I forgot to include the output when I try to use abcde:

[EMAIL PROTECTED] ~]$ abcde
cd-discid: /dev/cdrom: CDROMREADTOCHDR: Inappropriate ioctl for device
abcde error: CD could not be read. Perhaps there's no CD in the drive?



-- Forwarded message --
From: Joaquin Herrero [EMAIL PROTECTED]
Date: 09-abr-2008 16:09
Subject: Problems reading audio cdrom on 4.2 sparc64
To: misc@openbsd.org


Hi,

I'm having problems when I try to read or mount an audio disk in my OpenBSD
4.2 sparc64 machine.
When I insert a data cdrom, the disklabel shows the partitions and I can
mount it, but when it's an audio cdrom, disklabel doesn't show any partition
and the system reports empty cdrom unit, in spite of having an audio cd
inside.

First of all, this is the dmesg of my system:

[EMAIL PROTECTED] ~]$ dmesg
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 4.2 (GENERIC) #1427: Tue Aug 28 10:46:40 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1028055040 (980MB)
mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 440MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.1) @ 440 MHz, version 0 FPU
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external
(64 b/l)
psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-3, PCI bus 0
psycho0: dvma map c000-dfff, iotdb 1bbe000-1c3e000
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ipl 37
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 40-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 42
wskbd0 at comkbd0: console keyboard
com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ipl 34:
polled
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ipl 39
not configured
clock1 at ebus0 addr 0-1fff: mk48t59
flashprom at ebus0 addr 0-f not configured
audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ipl 35 ipl 36: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address
08:00:20:fe:3f:6c
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
vgafb0 at pci1 dev 2 function 0 ATI Mach64 GP rev 0x5c
wsdisplay0 at vgafb0
wsdisplay0: screen 0 added (std, sun emulation)
pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7e0 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: ST320420A
wd0: 16-sector PIO, LBA, 19458MB, 39851760 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, CD/DVDW SH-S182D, SB05 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13
pci2 at ppb1 bus 2
ppb2 at pci2 dev 1 function 0 DEC 21153 PCI-PCI rev 0x04
pci3 at ppb2 bus 3
Sun PCIO EBus2 rev 0x01 at pci3 dev 0 function 0 not configured
hme1 at pci3 dev 0 function 1 Sun HME rev 0x01: ivec 0x7d1, address
08:00:20:f6:85:94
luphy0 at hme1 phy 1: LU6612 10/100 PHY, rev. 1
Sun PCIO EBus2 rev 0x01 at pci3 dev 1 function 0 not configured
hme2 at pci3 dev 1 function 1 Sun HME rev 0x01: ivec 0x7d2, address
08:00:20:f6:85:95
luphy1 at hme2 phy 1: LU6612 10/100 PHY, rev. 1
Sun PCIO EBus2 rev 0x01 at pci3 dev 2 function 0 not configured
hme3 at pci3 dev 2 function 1 Sun HME rev 0x01: ivec 0x7d3, address
08:00:20:f6:85:96
luphy2 at hme3 phy 1: LU6612 10/100 PHY, rev. 1
Sun PCIO EBus2 rev 0x01 at pci3 dev 3 function 0 not configured
hme4 at pci3 dev 3 function 1 Sun HME rev 0x01: ivec 0x7d0, address
08:00:20:f6:85:97
luphy3 at hme4 phy 1: LU6612 10/100 PHY, rev. 1
siop0 at pci2 dev 2 function 0 Symbios Logic 53c875 rev 0x14: ivec 0x7d4,
using 4K of on-board RAM
scsibus1 at siop0: 16 targets
siop1 at pci2 dev 2 function 1 Symbios Logic 53c875 rev 0x14: ivec 0x7d5,
using 4K of on-board RAM
scsibus2 at siop1: 16 targets
ohci0 at pci2 dev 3 function 0 NEC USB rev 0x43: ivec 0x7d8, version 1.0
ohci1 at pci2 dev 3 function 1 NEC USB rev 0x43: ivec 0x7d9, version 1.0
ehci0 at pci2 dev 3 function 2 NEC USB rev 0x04: ivec 0x7da
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: NEC EHCI root hub, rev 2.00/1.00, addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1: NEC OHCI root hub, rev 1.00/1.00, addr 1
usb2 at ohci1: USB revision 

Re: OOT: Read hardisk Mac OS on Openbsd

2008-04-09 Thread Unix Fan
Well, There is /usr/ports/misc/hfsplus - but it's marked as being for PowerPC 
architectures only... HFS+ is used on Intel Macs now though IIRC.



Search the ports tree before firing off an email next time, or use Google.. ;)



http://openports.se/misc/hfsplus







-Nix Fan.




Re: Optimising OpenBSD

2008-04-09 Thread Marco Peereboom
On Wed, Apr 09, 2008 at 08:21:52AM +0930, Matthew Smith wrote:
 Hi Folks

 As part of my move from GNU/Linux to OpenBSD on my server, I just want to 
 clarify what I need to do to ensure that I have performance optimised.  I 
 am coming from Gentoo Linux, where optimisation is mostly about using the 
 appropriate compiler flags.

I can't resist this...
http://web.archive.org/web/20061004200708/http://www.funroll-loops.org/


 If I were to use the appropriate base distribution (x86_64), configure my 
 kernel correctly (as per the likes of 
 http://www.onlamp.com/pub/a/bsd/2000/10/31/OpenBSD.html) and set the 
 appropriate compiler flags, is this all I need to do?

--omg-speed


 I'm only really concerned about the base system as I always build all my 
 LAMPP components, Postfix, etc., by hand so that migrating box-to-box can 
 go without [a hitch|many hitches].

LAMP and performance in the same email is pretty darn funny.



Re: Firefox 2.0.0.12

2008-04-09 Thread eagirard
On Mon, Apr 07, 2008 at 05:20:01PM +, Matthew Szudzik wrote:
 On Mon, Apr 07, 2008 at 04:44:08PM +, Jacob Meuser wrote:
  or, quit using firefox.  it's security record is rather lousy, wouldn't
  you agree?
  
 What alternatives to firefox do you suggest?

On my main desktop, I use debian.  While its not OpenBSD, they do
respond quickly to security problems and, on stable (Etch right now),
they backport the fix to the version in stable, and provide a new binary
update.  While firefox is a large binary and takes a while to download
on dialup, at least there is not compile time.

I wish there was a way to use OpenBSD for the main base system but to
use Debian binary packages (debs) for third-party apps.  Looking into
the details of this is on my todo list.

IIUC, debian debs can't be in something that is chrooted but I don't
understand the reasons or if it applies to all packages (e.g.
firefox/iceweasel).  However, on debian chroots work just fine if the
right directories are mounted (e.g. proc).  Debian has a package call
schroot which allows ordinary users to run programs as themselves in the
chroot and handles automatically bind-mounting necessary directories.
Each user gets their own copy of the chroot.  

Doug.

All things considered, if I'd known what my question was going to provoke, I'd 
have waited for 4.3.  Sorry.

Ed



Re: SOEKRIS net5501 com port settings

2008-04-09 Thread mufurcz

Alexander Hall wrote:

mufurcz wrote:

Trying to `talk` to a SOEKRIS net5501 using a COM2 port out from
an old Windblown box (have nothing else here to use at the moment)
but I am  getting garbage output, regardless of the speed - tried
9600/19200/38400/57600 8/n/1 Xon/Xoff/none.


You don't mention testing 115200...

/Alexander



All I am getting is (with Hyperterminal 115200 8/n/1, flow control none, ANSI 
terminal):









```

Mufurcz



Re: Use of 'Puffy' Logo *and* weatherproof stickers?

2008-04-09 Thread Kevin Wilcox

Hannah Schroeter wrote:


I read there (http://www.openbsd.org/art1.html):

  but do not make profit from them since our own T-shirt sales provide
  funding so that OpenBSD can continue to operate.

Recently it was said on a mailing list, that T-shirt sales do *not*
provide net funding, only donations and *CD* sales do. Which is true?


I was a bit curious about that, too, but just figured it was a page left 
that still needed editing.


I also have a question of my own related to Puffy and, rather than start 
a new thread, I'll go ahead and ask in this one since it's kind of on-topic.


Before I have some weatherproof OpenBSD/Puffy stickers made up for my 
own personal use, does anyone know *off the top of your head* if there 
are already some out there, available for purchase, where proceeds find 
their way back to the project? I'd rather buy some knowing that some of 
the $$ is going to make its way back to OpenBSD than to spend the same 
amount and it all go to a corporate interest.


By weatherproof, I plan to stick it on my motorcycle luggage where it 
will be exposed to sun, rain, snow, ice and 120km/h+ winds.


Thanks!

kmw



Re: Use of 'Puffy' Logo *and* weatherproof stickers?

2008-04-09 Thread Mark Mathias
On Wed, Apr 9, 2008 at 9:46 AM, Kevin Wilcox [EMAIL PROTECTED] wrote:

 Hannah Schroeter wrote:

  I read there (http://www.openbsd.org/art1.html):
 
   but do not make profit from them since our own T-shirt sales provide
   funding so that OpenBSD can continue to operate.
 
  Recently it was said on a mailing list, that T-shirt sales do *not*
  provide net funding, only donations and *CD* sales do. Which is true?
 

 I was a bit curious about that, too, but just figured it was a page left
 that still needed editing.

 I also have a question of my own related to Puffy and, rather than start a
 new thread, I'll go ahead and ask in this one since it's kind of on-topic.

 Before I have some weatherproof OpenBSD/Puffy stickers made up for my own
 personal use, does anyone know *off the top of your head* if there are
 already some out there, available for purchase, where proceeds find their
 way back to the project? I'd rather buy some knowing that some of the $$ is
 going to make its way back to OpenBSD than to spend the same amount and it
 all go to a corporate interest.

 By weatherproof, I plan to stick it on my motorcycle luggage where it will
 be exposed to sun, rain, snow, ice and 120km/h+ winds.

 Thanks!

 kmw


Have you checked out
https://kd85.com/notforsale.html
there are a few stickers for cars that should serve your purpose.

-- 
Mark Mathias



Re: Problems reading audio cdrom on 4.2 sparc64

2008-04-09 Thread Unix Fan
You can't mount an audio CD-ROM, it simply has an audio track, no data track.



If you want to dump the contents into PCM audio, look in the ports.. install 
cdrtools and use the cdda2wav application.







-Nix Fan.




Re: Optimising OpenBSD

2008-04-09 Thread Daniel A. Ramaley
On Tuesday 08 April 2008 18:07, you wrote:
 As part of my move from GNU/Linux to OpenBSD on my server, I just
 want to clarify what I need to do to ensure that I have performance
 optimised.

I imagine, if you run the standard OpenBSD system on your servers for
some time, you'll be satisfied.

Exactly. When i first started using OpenBSD i would always compile my 
own kernel and change a lot of settings to make it more Linux-like. As 
i learned the system, i've stopped doing all that. All my OpenBSD 
machines run GENERIC and don't have many changes in /etc, nor many GNU 
packages or other bloat installed.

The base system works out of the box very well, and the sooner you 
realize that, the happier you'll be because you'll have less 
maintenance to do, less to remember, and installations and upgrades 
will go much faster. Of course, if you want to run some service that 
isn't part of the base system, you'll have to add it and configure it. 
But for quite a few services (such as firewall, DNS, DHCP, NTP, even 
web), a pure OpenBSD install is usually sufficient and all you need to 
do is turn on the appropriate daemon by adding a line 
in /etc/rc.conf.local.


Dan RamaleyDial Center 118, Drake University
Network Programmer/Analyst 2407 Carpenter Ave
+1 515 271-4540Des Moines IA 50311 USA



Re: Problems reading audio cdrom on 4.2 sparc64

2008-04-09 Thread Stuart Henderson
On 2008-04-09, Unix Fan [EMAIL PROTECTED] wrote:

 If you want to dump the contents into PCM audio, look in the
 ports.. install cdrtools and use the cdda2wav application.

No need for 3rd party software for this simple task, take a look
at cdio(1). It does a lot more than you probably expect.



Re: Optimising OpenBSD

2008-04-09 Thread Bryan Irvine
  Optimised out of the box sounds good to me - not having to do anything is
 the way I like to work ;-)

  You do realise that this means that the installation time of the base
 system is now going to be down to about 15 minutes (from over a day) - what
 am I going to do with all that spare time?

'man afterboot' for ideas.  :-D

-Bryan



Re: Use of 'Puffy' Logo *and* weatherproof stickers?

2008-04-09 Thread Theo de Raadt
  Hannah Schroeter wrote:
 
   I read there (http://www.openbsd.org/art1.html):
  
but do not make profit from them since our own T-shirt sales provide
funding so that OpenBSD can continue to operate.
  
   Recently it was said on a mailing list, that T-shirt sales do *not*
   provide net funding, only donations and *CD* sales do. Which is true?
  
 
  I was a bit curious about that, too, but just figured it was a page left
  that still needed editing.
 
  I also have a question of my own related to Puffy and, rather than start a
  new thread, I'll go ahead and ask in this one since it's kind of on-topic.
 
  Before I have some weatherproof OpenBSD/Puffy stickers made up for my own
  personal use, does anyone know *off the top of your head* if there are
  already some out there, available for purchase, where proceeds find their
  way back to the project? I'd rather buy some knowing that some of the $$ is
  going to make its way back to OpenBSD than to spend the same amount and it
  all go to a corporate interest.
 
  By weatherproof, I plan to stick it on my motorcycle luggage where it will
  be exposed to sun, rain, snow, ice and 120km/h+ winds.
 
  Thanks!
 
  kmw
 
 
 Have you checked out
 https://kd85.com/notforsale.html
 there are a few stickers for cars that should serve your purpose.

Sale of the items on that page do not fund the project.  Sale of those
items does not even cover the cost that Austin and I paid our artist
to draw the pictures for those items.

Just keep that in mind please.



Re: Problems reading audio cdrom on 4.2 sparc64 *SOLVED*

2008-04-09 Thread Harrell
2008/4/9, Stuart Henderson [EMAIL PROTECTED]:

 On 2008-04-09, Unix Fan [EMAIL PROTECTED] wrote:
 
  If you want to dump the contents into PCM audio, look in the
  ports.. install cdrtools and use the cdda2wav application.


 No need for 3rd party software for this simple task, take a look
 at cdio(1). It does a lot more than you probably expect.


Thanks to both of you!

I didn't understand that I cound not mount an audio cd.
I tried cdio and I see that I can do many things with it, including
generating wav and query cddb.

As of abcde, I made it work passing cd0c as the devicename parameter:

$ abcde -f cd0c

Now that I understand it works. I was stuck trying to mount the audio cd.

Many thanks!

Joaquin.



Re: Use of 'Puffy' Logo

2008-04-09 Thread Hannah Schroeter
Hi!

On Wed, Apr 09, 2008 at 09:46:00AM -0600, Theo de Raadt wrote:
[...]

The project does not receive a dime from tshirt (or poster or sticker
or puffy doll) sales, and never has.

[... more explanation ...]

Thanks for your prompt explanation (and editing of the web page).

Kind regards,

Hannah.



Re: Problems reading audio cdrom on 4.2 sparc64

2008-04-09 Thread Hannah Schroeter
Hi!

On Wed, Apr 09, 2008 at 03:47:26PM +, Stuart Henderson wrote:
On 2008-04-09, Unix Fan [EMAIL PROTECTED] wrote:

 If you want to dump the contents into PCM audio, look in the
 ports.. install cdrtools and use the cdda2wav application.

No need for 3rd party software for this simple task, take a look
at cdio(1). It does a lot more than you probably expect.

Nice, but it can't rip to stdout (for example to encode the data in a
pipe, e.g. into mp3 or ogg/vorbis, w/o storing the uncompressed audio
inbetween). cdda2wav/cdparanoia *can* do that. (Frontends like grip,
can't, again, alas.)

Kind regards,

Hannah.



Re: Use of 'Puffy' Logo *and* weatherproof stickers?

2008-04-09 Thread Richard Daemon
On Wed, Apr 9, 2008 at 9:46 AM, Kevin Wilcox [EMAIL PROTECTED] wrote:
 Hannah Schroeter wrote:


  I read there (http://www.openbsd.org/art1.html):
 
   but do not make profit from them since our own T-shirt sales provide
   funding so that OpenBSD can continue to operate.
 
  Recently it was said on a mailing list, that T-shirt sales do *not*
  provide net funding, only donations and *CD* sales do. Which is true?
 

  I was a bit curious about that, too, but just figured it was a page left
 that still needed editing.

  I also have a question of my own related to Puffy and, rather than start a
 new thread, I'll go ahead and ask in this one since it's kind of on-topic.

  Before I have some weatherproof OpenBSD/Puffy stickers made up for my own
 personal use, does anyone know *off the top of your head* if there are
 already some out there, available for purchase, where proceeds find their
 way back to the project? I'd rather buy some knowing that some of the $$ is
 going to make its way back to OpenBSD than to spend the same amount and it
 all go to a corporate interest.

  By weatherproof, I plan to stick it on my motorcycle luggage where it will
 be exposed to sun, rain, snow, ice and 120km/h+ winds.

  Thanks!

  kmw

Motocycle in snow and ice? And you're only concerned with having a
weatherproof sticker? ;-)



Re: Use of 'Puffy' Logo

2008-04-09 Thread Theo de Raadt
 On Wed, Apr 09, 2008 at 01:21:34AM +0200, Martin Schrvder wrote:
 2008/4/9, Matthew Smith [EMAIL PROTECTED]:
   A search of the site for a style guide or media pack has failed to turn up
  anything so I thought that I would ask here: how do I obtain
 
 Click on the logo on the front page.
 
 I read there (http://www.openbsd.org/art1.html):
 
   but do not make profit from them since our own T-shirt sales provide
   funding so that OpenBSD can continue to operate.
 
 Recently it was said on a mailing list, that T-shirt sales do *not*
 provide net funding, only donations and *CD* sales do. Which is true?

The project does not receive a dime from tshirt (or poster or sticker
or puffy doll) sales, and never has.

Tshirt sales were setup as a 'business development' model for the two
primary resellers (high up front production cost; high storage space;
medium handling effort; but because tshirts often accompany a cdrom
sale or cdroms accompany a tshirt sale -- therefore definate volume
increases).  Letting the distributors retain the tshirt profits was
supposed to balance with them giving the project a fair profit on the
sale of CDROM sales.  In this latter regard there have been some
problems, which are not yet fully resolved.

There's more to this story, but perhaps I'll continue it later.



Re: Problems reading audio cdrom on 4.2 sparc64

2008-04-09 Thread Jacob Meuser
On Wed, Apr 09, 2008 at 04:09:51PM +0200, Joaquin Herrero wrote:
 Hi,
 
 I'm having problems when I try to read or mount an audio disk in my OpenBSD
 4.2 sparc64 machine.
 When I insert a data cdrom, the disklabel shows the partitions and I can
 mount it, but when it's an audio cdrom, disklabel doesn't show any partition
 and the system reports empty cdrom unit, in spite of having an audio cd
 inside.

that's expected.  audio CDs don't really have a filesystem.

 Any attempt to read the disk fails:
 
 [EMAIL PROTECTED] ~]$ cd-discid /dev/cdrom
 cd-discid: /dev/cdrom: CDROMREADTOCHDR: Inappropriate ioctl for device

$ /bin/ls -l /dev/cdrom
ls: /dev/cdrom: No such file or directory

/dev/cdrom doesn't exist by default.  you want /dev/rcd0c.  note
the 'r'.

 cdio works, but only when I use cdplay as the parameter, with play it
 just ends silently without playing.

'cdplay' rips the tracks and sends them to the soundcard as digital
data.  'play' tells the cd drive to output the data on the analog
outputs.  either you don't have your cd drive audio outputs physically
connected to your soundcard's inputs, or you have the corresponding
inputs muted or turned down too low.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Installing Perl on openBSD 4.0

2008-04-09 Thread pichi
Richard,

Now I feel even more of a jackass, but thanks again for setting me straight.
My mind must be going on me, and no I don't smoke . anything.


Cheers,
P.

-- 
View this message in context: 
http://www.nabble.com/Installing-Perl-on-openBSD-4.0-tp16557812p16590964.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Theo de Raadt
 http://www.via.com.tw/en/resources/pressroom/pressrelease.jsp?press_release_no=2088
 
 would this be good news for the community? This is really mainly
 Linux-related, but i'm hoping that their mention of technical
 documentation will be good enough for Open to be able to support them...

Developers don't need web sites.  They need pdf files documenting the
chips.

Contrast Via's web site to the following:

 http://wikis.sun.com/display/FOSSdocs/Home 

It took us a very long time to get Sun to do this, and it was totally
worth it.  It is kind of strange to us to have Sun suddenly be the
perfect example of openness.

Pay close attention to how VIA is only talking about their newest
flashiest chips, too.



Re: Problems reading audio cdrom on 4.2 sparc64

2008-04-09 Thread Jacob Meuser
On Wed, Apr 09, 2008 at 06:25:53PM +0200, Hannah Schroeter wrote:
 Hi!
 
 On Wed, Apr 09, 2008 at 03:47:26PM +, Stuart Henderson wrote:
 On 2008-04-09, Unix Fan [EMAIL PROTECTED] wrote:
 
  If you want to dump the contents into PCM audio, look in the
  ports.. install cdrtools and use the cdda2wav application.
 
 No need for 3rd party software for this simple task, take a look
 at cdio(1). It does a lot more than you probably expect.
 
 Nice, but it can't rip to stdout (for example to encode the data in a
 pipe, e.g. into mp3 or ogg/vorbis, w/o storing the uncompressed audio
 inbetween). cdda2wav/cdparanoia *can* do that. (Frontends like grip,
 can't, again, alas.)

$ mkfifo track01.wav
$ ffmpeg -i - track01.mp3  track01.wav 
$ cdio cdrip 1

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: HP DL140

2008-04-09 Thread Stuart Henderson
Or 8042, even. Sigh...



Re: HP DL140

2008-04-09 Thread Stuart Henderson
On 2008-04-09, Stuart Henderson [EMAIL PROTECTED] wrote:
 On 2008-04-09, Joe Warren-Meeks [EMAIL PROTECTED] wrote:
 Hey there,

 Anyone had any truck installing OpenBSD on an HP DL140? I have tried
 several times and it just hangs after uncompressing the kernel, right
 before the copyright message from the kernel.

 turn off 8254 emulation (aka USB keyboard emulation) in BIOS.



as pointed out offlist, 8052, keyboards are of course not
controlled by a timer - doh (-:



Re: Thinkpad x61 can see 3 GB of RAM out of total 4 GB

2008-04-09 Thread [EMAIL PROTECTED]
On Wed, Apr 9, 2008 at 12:20 AM, Zoong PHAM [EMAIL PROTECTED] wrote:
 My new Thinkpad x61 has 4 GB of RAM.
  The BIOS can see 4 GB.
  OBSD-4.2 and 4.3 (snapshot 07/04/2008), both i386 and amd64, can see
  only 3 GB.
  What can I do to make OBSD see all the RAM?

  FYI, the Windows XP that preinstalled by IBM can also see only 3 GB.

  Thanks,
  Zoong PHAM



The Thinkpad's BIOS should have a setting to remap the physical memory
to address space above 4 GB, that should make a 64 bit OS see all of
it.



Re: pf change destination port for outgoing traffic

2008-04-09 Thread Mark Rolen

Karel Galuska wrote:

p1 and p2 are always the same.
58453 always to 80
K.


...
It is not easy to explain. On PCs are special custom based 
aplications which
changes destination port of outcoming traffic and I need put it back 
to port

80.


As a casual reader of this thread, I'm wondering if someone could 
enlighten me as to why you'd want a custom application to take the 
standard destination port an app (web browser) has requested and remap 
it to some random high port which the destination server has no hope of 
understanding, therefore requiring said port to be re-translated back to 
its original by a proxy or firewall anyhow?  It seems a completely 
pointless and futile exercise.  I hope it's not some kind of attempt at 
security through obscurity, but for the life of me I couldn't think of 
some other reason why you'd want to do this.


Thanks for any clarity someone might send my way,
Mark



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread frantisek holop
hmm, on Wed, Apr 09, 2008 at 11:25:25AM -0600, Theo de Raadt said that
 It took us a very long time to get Sun to do this, and it was totally
 worth it.  It is kind of strange to us to have Sun suddenly be the
 perfect example of openness.

a bit OT, but
i just had the pleasure of meeting and ex-sun employee, working
mostly on kernel stuff.  i dont know how similar the opensolaris
and solaris kernels are, but he said the solaris kernel code is
a beauty to read, and simplicity and readibility are adhered
to fanatically...  that reminds me another dev community :o)

as i read some of the sun employees blogs, i think there might be
quite some similarities between the two dev cultures (hope this
doesnt insult too much people), it's just that sun is a company...
and that alone ties a lot of hands (as we all know)...

-f
-- 
suicidal twin kills sister by mistake!



Re: iTunes Server OpenBSD

2008-04-09 Thread Khalid Schofield

On 9 Apr 2008, at 15:07, Floor Terra wrote:


On Wed, 9 Apr 2008, Khalid Schofield wrote:


Hi,
messing around with an iTunes server under openbsd. I've had a look  
at

a number of web pages on setting on up using bsd. But not sure about
mDNS.

http://www.unixfun.net/howto/bsd/itunes.html

I've installed mt-daapd from the ports tree but can't seem to find
mDNSResponder. It's not in the bsd packages either. Also had a look  
at

this tutorial

http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/070463.html

but this port seems to have died too /usr/ports/net/p5-Net-Rendezvous

Has anyone looked at this before and can anyone give me advice? At
first I thought all I need is daapd then I saw I require the mDNS
stuff and ground to a halt there.


khalid




I tried this a while ago too and didn't succeed.
The package you are looking for containing mDNSResponder and friends  
is

called howl. I did not spend a lot of time trying to make this work
and I think I had problems with howl using broadcasts.

If you do succeed after installing howl, let me know.



sounds like a challenge :) Your on!  Glad this is going to be of  
greater use than just to me. Maybe I should produce some documentation  
for http://www.openbsdsupport.org/


I do like http://www.openbsdsupport.org/ the docs make a good read  
too.  I'd like to write one for setting up an encrypted file server  
with hardware crypto card support and the iTunes one :) Maybe a  
project's already on the move.




Floor


--
Floor Terra [EMAIL PROTECTED]
www: http://brobding.mine.nu/




Re: iTunes Server OpenBSD

2008-04-09 Thread Khalid Schofield

On 9 Apr 2008, at 15:07, Floor Terra wrote:


On Wed, 9 Apr 2008, Khalid Schofield wrote:


Hi,
messing around with an iTunes server under openbsd. I've had a look  
at

a number of web pages on setting on up using bsd. But not sure about
mDNS.

http://www.unixfun.net/howto/bsd/itunes.html

I've installed mt-daapd from the ports tree but can't seem to find
mDNSResponder. It's not in the bsd packages either. Also had a look  
at

this tutorial

http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/070463.html

but this port seems to have died too /usr/ports/net/p5-Net-Rendezvous

Has anyone looked at this before and can anyone give me advice? At
first I thought all I need is daapd then I saw I require the mDNS
stuff and ground to a halt there.


khalid




I tried this a while ago too and didn't succeed.
The package you are looking for containing mDNSResponder and friends  
is

called howl.


Fantastic! I was begging for this information :) You've made my day!



I did not spend a lot of time trying to make this work
and I think I had problems with howl using broadcasts.



Argh broadcast. Makes my guts ache thinking of netBIOS.. Is that  
what the apple bonjour technology is? Just loads of broadcast?




If you do succeed after installing howl, let me know.

Floor


--
Floor Terra [EMAIL PROTECTED]
www: http://brobding.mine.nu/




Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread bofh
On Wed, Apr 9, 2008 at 3:07 PM, frantisek holop [EMAIL PROTECTED] wrote:

 a bit OT, but
 i just had the pleasure of meeting and ex-sun employee, working
 mostly on kernel stuff.  i dont know how similar the opensolaris
 and solaris kernels are, but he said the solaris kernel code is
 a beauty to read, and simplicity and readibility are adhered
 to fanatically...  that reminds me another dev community :o)


Sun learnt a lot of lessons when it tried to merge sparc and x86 code bases
together around the solaris 2.4 time, iirc.  That's why things like zfs are
endian neutral.  OpenBSD started in the multi cpu world to begin with.



-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity. --
Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks factory
where smoking on the job is permitted. -- Gene Spafford
learn french: http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: iTunes Server OpenBSD

2008-04-09 Thread Floor Terra

On Wed, 9 Apr 2008, Khalid Schofield wrote:



Argh broadcast. Makes my guts ache thinking of netBIOS.. Is that what the 
apple bonjour technology is? Just loads of broadcast?




I just googled it. It's suppost to be multicast DNS (mDNS).
If you are using OS X mDNS is really handy.

I dont know the exact difference between multicast and broadcast, but
they don't seem verry different.

Floor

--
Floor Terra [EMAIL PROTECTED]
www: http://brobding.mine.nu/



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread frantisek holop
hmm, on Wed, Apr 09, 2008 at 03:35:18PM -0400, bofh said that
 Sun learnt a lot of lessons when it tried to merge sparc and x86 code bases
 together around the solaris 2.4 time, iirc.  That's why things like zfs are
 endian neutral.  OpenBSD started in the multi cpu world to begin with.

i might be wrong, but i thought as of yet, not everything
is endian neutral in openbsd (carp?)

-f
-- 
you don't have to be a cannibal to get fed up with people.



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Zbigniew Baniewski
On Wed, Apr 09, 2008 at 09:07:08PM +0200, frantisek holop wrote:

  It took us a very long time to get Sun to do this, and it was totally
  worth it.  It is kind of strange to us to have Sun suddenly be the
  perfect example of openness.

So, perhaps the best audio-option would be something using VIA Envy24(HT) -
which is reportedly better than Audigy(2)? Time to swap?
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: Thinkpad x61 can see 3 GB of RAM out of total 4 GB

2008-04-09 Thread Zoong PHAM
On Wednesday,  9 April 2008 at 14:57:51 -0400, [EMAIL PROTECTED] wrote:
 
 The Thinkpad's BIOS should have a setting to remap the physical memory
 to address space above 4 GB, that should make a 64 bit OS see all of
 it.

I tried Ubuntu 8.04 AMD64 beta Live CD yesterday.
It can see all 4GB RAM without any changes to the BIOS.

--
Zoong



Re: passing non-default configure options through the xenocara wrapper

2008-04-09 Thread Jacob Meuser
On Wed, Apr 09, 2008 at 01:35:06AM -0600, Connor wrote:
 Hi,
 
 I'm running 4.2-stable on i386 and was wanting to turn on some
 configuration options (for specific subpackages) that are turned off
 by default when one runs builds xenocara using the vanilla process in
 the /usr/src/xenocara/README file and the FAQ.
 
 I checked out the stable source for xenocara and it builds and
 installs successfully by following the usual procedure:
 
 # cd /usr/src/xenocara
 # make bootstrap
 # make obj
 # make build
 
 I made sure that I installed the additional GNU autotools packages
 that are listed in the README, and /usr/X11R6/bin is in my PATH .
 
 I have a specific example of something I'd like to modify: I'd really
 like to change some of the options for app/xterm, say to enable 256
 color support, which is turned off when doing the default build.
 
 If I were running the configure script manually I could do the
 following in app/xterm, for example:
 
 #cd /usr/src/xenocara/app/
 #sh configure --enable-256-color
 
 (which should enable that option)
 
 I'm not sure that that will get picked up properly when I do a make
 build though.

probably not.  and I doubt your example works as expected.  here's
the first cvs log entry for xenocara/app/xterm/Makefile

revision 1.1
date: 2007/04/09 19:11:43;  author: matthieu;  state: Exp;
BSD make based build infrastructure for xterm. The autoconf based
one was too painful to get working on landisk (static only).

so, xterm build doesn't even use configure ...

 What is the proper way to set things up so that the xenocara wrapper
 scripts know to turn on those non-standard options?
 
 Any recommendations would be really appreciated.

three answers:

1) this isn't supported.  I mean, even ports don't allow you to
do stuff like this, because, well, you would be using a non-standard
build, which is untimately useless, if not actually detrimental, to
the project. that being said, there are a few build options for base
and xenocara, see mk.conf(5).

2) look at /usr/xenocara/share/mk/bsd.xorg.mk, particularly where
it's running configure.

3) as you can see in the xterm example, not everything in xenocara
uses configure.


 Thanks,
 
 Connor
 

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Installing Perl on openBSD 4.0

2008-04-09 Thread Aaron Martinez

pichi wrote:

Josh,

Thanks so much for clearing that up for me. That would explain why it was so
hard to find documentation on installing  Perl on an OpenBSD 4.0 box;
because its already there!

I will upgrade to the latest version. The only thing that worries me is this
is a production box and I have never upgraded an OpenBSD server.

Wish me luck,

P.
  
Remember too, when upgrading version jumping isn't supported.. you will 
want to upgrade to 4.1 and then to 4.2, _not_ 4.0 to 4.2.


Aaron



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Jacob Meuser
On Wed, Apr 09, 2008 at 10:57:05PM +0200, Zbigniew Baniewski wrote:
 On Wed, Apr 09, 2008 at 09:07:08PM +0200, frantisek holop wrote:
 
   It took us a very long time to get Sun to do this, and it was totally
   worth it.  It is kind of strange to us to have Sun suddenly be the
   perfect example of openness.
 
 So, perhaps the best audio-option would be something using VIA Envy24(HT) -
 which is reportedly better than Audigy(2)? Time to swap?

envy(4) already exists in -current (and will be in 4.3).  doesn't support
the HT version though.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: iTunes Server OpenBSD

2008-04-09 Thread Stuart Henderson
On 2008-04-09, Khalid Schofield [EMAIL PROTECTED] wrote:

 I tried this a while ago too and didn't succeed.
 The package you are looking for containing mDNSResponder and friends  
 is called howl.

 Fantastic! I was begging for this information :) You've made my day!

howl is no longer developed.. A user on ports@ mentioned working
on avahi, it might be worth following this up.

 I did not spend a lot of time trying to make this work
 and I think I had problems with howl using broadcasts.

 Argh broadcast. Makes my guts ache thinking of netBIOS.. Is that  
 what the apple bonjour technology is? Just loads of broadcast?

Multicast. One thing that might cause confusion is the -reject
routes added by default (if multicast_host/multicast_router is not
set in rc.conf.local)



Re: Optimising OpenBSD

2008-04-09 Thread Aaron Martinez

Matthew Smith wrote:

Quoth Rod Whitworth at 2008-04-09 08:04...

Matthew, you are pretty new here so I'll be kind.
Read http://www.openbsd.org/faq/faq5.html#Why
For this, I apologise.  I am currently in the situation that I don't 
know where to look for what.  I might try writing a OpenBSD for Linux 
escapees somewhere down the track, because that's what I really need.


Also Search The Fine Archives 
I now discover that they are under a different domain - which is why 
the site search wasn't pulling up much.  I must pull out my copy of 
'Google Hacks' and see if there is a way that an aggregated site 
search can be done that pulls in the list archives as well.


the Marc archives have really been a savior for me 
http://marc.info/?l=openbsd-miscr=1w=2  they have a long history of 
openbsd list archives and the searches are blazing fast.


HTH

Aaron



The GENERIC kernel has been compiled with all the right flags. The
article you cite was never good advice and furthermore it is going on 8
years old.
It's going to take me a while to get used to having a kernel that I 
don't HAVE to touch - not that I'm complaining!



Don't do that either without a better reason. Postfix, for example,
comes as a package in OpenBSD. Two versions (stable and snapshot, both
good enough to use in critical service) and several flavours. Look at
http://openports.se/mail/postfix/snapshot for a clue.
Postfix I can probably take from a package.  However, this server will 
need to duplicate the environment on my two Internet-facing Linodes 
(Linux virtual servers), plus my laptop, which is my main development 
platform.


Apache and MySQL have to be hand-builds - my Apache installation is 
configured for a very specific environment (and all my apps would 
break if chrooted) and I have applications that rely on specific 
Apache modules.  MySQL - well - I use 5.1 and that's not a production 
release, but has features that I need in my development environment.  
I'll probably get yelled at now, having entered a security 
conscious|paranoid community, but it would take MONTHS to change my 
environment and re-code everything to work otherwise.  It is also a 
bit of a non-issue as regards this server - it's on an intranet with 
one user that logs in - me.



From the land down under: Australia.
Do we look umop apisdn from up over?
No, but when I first came here, I was fascinated by the way water goes 
down the plughole the other way round.


Thanks all for your replies and patience.

Cheers

M




Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Zbigniew Baniewski
On Wed, Apr 09, 2008 at 10:49:07PM +, Jacob Meuser wrote:

  So, perhaps the best audio-option would be something using VIA Envy24(HT) -
  which is reportedly better than Audigy(2)? Time to swap?
 
 envy(4) already exists in -current (and will be in 4.3).  doesn't support
 the HT version though.

Yes, I noticed it's there - but does the driver support all of the available
capabilities? The VIA opening won't be of any help in this particular case?
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Jacob Meuser
On Thu, Apr 10, 2008 at 01:11:47AM +0200, Zbigniew Baniewski wrote:
 On Wed, Apr 09, 2008 at 10:49:07PM +, Jacob Meuser wrote:
 
   So, perhaps the best audio-option would be something using VIA Envy24(HT) 
   -
   which is reportedly better than Audigy(2)? Time to swap?
  
  envy(4) already exists in -current (and will be in 4.3).  doesn't support
  the HT version though.
 
 Yes, I noticed it's there - but does the driver support all of the available
 capabilities?

according to BUGS in envy(4), no.  but emu(4) doesn't support all
the features of the emu10k1 chips, either.

 The VIA opening won't be of any help in this particular case?

at least some datasheets are/have been available:

http://envy24.svobodno.com/datasheets/

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Optimising OpenBSD

2008-04-09 Thread Douglas A. Tutty
On Wed, Apr 09, 2008 at 07:55:36AM -0500, Ed Ahlsen-Girard wrote:
 From: Douglas A. Tutty [mailto:[EMAIL PROTECTED]

 If you want a book, although its a bit old there's Absolute OpenBSD by
 nostarch press.
 
 A nice book, but it's out of print.  It is available as a PDF though.

I purchased a copy last year.  I'd like a pdf version; I'll google for
it unless you have the URL handy.

Doug.



[OT] Regarding spam in french (was Re: Protection de votre marque sur Internet)

2008-04-09 Thread Olivier Mehani
Hi list,

I've been recently amazed (in a bad way) by the number of spam this list
receives that seem to be coming from french companies.

I just wanted to point french readers at a spam gathering organisation
[0,1]. They provide a form [2] to submit this kind of emails for
statistical and (hopefully) more effective treatment in a legal way
against the evil-doers.

PS: considering the off-topic level of this email, please only respond
to me personnaly if you feel you have to, do not overload this list.

PPS: there even exist a Python script [3] for easy submission from Mutt!

[0] http://www.signal-spam.fr
[1] http://www.signal-spam.fr/index.php/frontend/presentation
[2] https://www.signal-spam.fr/signaler.php
[3] http://www.signal-spam.fr/index.php/frontend/extensions/script_python

--
Olivier I still think the sky is forever blue and problems can be solved by
just being kind Mehani [EMAIL PROTECTED]
PGP fingerprint: 3720 A1F7 1367 9FA3 C654  6DFB 6845 4071 E346 2FD1

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Zbigniew Baniewski
On Thu, Apr 10, 2008 at 12:08:26AM +, Jacob Meuser wrote:

  Yes, I noticed it's there - but does the driver support all of the available
  capabilities?
 
 according to BUGS in envy(4), no.  but emu(4) doesn't support all
 the features of the emu10k1 chips, either.

I understand - but the mentioned VIA opening is suggesting, that perhaps
completing the envy driver can be much easier, if VIA will release the docs;
Creative Labs, unfortunately, still doesn't seem to be willing to.

I'm not sure, nevertheless, if that envy24-related docs is enough; there are
some other chips on the envy-fitted cards, anyway.

  The VIA opening won't be of any help in this particular case?
 
 at least some datasheets are/have been available:
 
 http://envy24.svobodno.com/datasheets/

I think, I'll have to make a comparison with Audigy soon...  ;) as I can
see, there are even (semi?)professional cards built using Envy; like f.e.
this one: http://www.ixbt.com/multimedia/[EMAIL PROTECTED]
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Jeffrey 'jf' Lim
On Thu, Apr 10, 2008 at 9:41 AM, Zbigniew Baniewski [EMAIL PROTECTED] wrote:

 On Thu, Apr 10, 2008 at 12:08:26AM +, Jacob Meuser wrote:

   Yes, I noticed it's there - but does the driver support all of the
 available
   capabilities?
 
  according to BUGS in envy(4), no.  but emu(4) doesn't support all
  the features of the emu10k1 chips, either.

 I understand - but the mentioned VIA opening is suggesting, that perhaps
 completing the envy driver can be much easier, if VIA will release the
 docs;
 Creative Labs, unfortunately, still doesn't seem to be willing to.


oh it's more than that! Creative: the company that sues you for your
drivers. And gets to decide which features it will want to enable its
drivers for you, the consumer. How's that for a creative perspective on the
rights of the customer!

http://hardware.slashdot.org/hardware/08/03/29/046201.shtml


-Jeff

--
In the meantime, here is your PSA:
It's so hard to write a graphics driver that open-sourcing it would not
help.
-- Andrew Fear, Software Product Manager, NVIDIA Corporation
http://kerneltrap.org/node/7228



Re: VIA Announces Strategic Open Source Driver Development Initiative

2008-04-09 Thread Peter_APIIT
Jeffrey 'jf' Lim wrote:
 
 http://www.via.com.tw/en/resources/pressroom/pressrelease.jsp?press_release_no=2088
 
 would this be good news for the community? This is really mainly
 Linux-related, but i'm hoping that their mention of technical
 documentation will be good enough for Open to be able to support them...
 
 -jf
 
 --
 In the meantime, here is your PSA:
 It's so hard to write a graphics driver that open-sourcing it would not
 help.
 -- Andrew Fear, Software Product Manager, NVIDIA Corporation
 http://kerneltrap.org/node/7228
 
 
 


Good news. I will support VIA. Keep up the good works. 
-- 
View this message in context: 
http://www.nabble.com/%22VIA-Announces-Strategic-Open-Source-Driver-Development-Initiative%22-tp16583213p16600841.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Mini-USB camera not working under OpenBSD.

2008-04-09 Thread Brynet
Hello everyone, recently I obtained a tiny USB camera from a
friend... I mostly wanted it due to the sheer size of the thing, it's
smaller then my thumb.. heh. :)

Anyway, The first thing I did was plug it in.. unfortunately it
displayed this unpleasant error:

uhub1: device problem, disabling port 2

Clearly the device initialization fails early, so I decided to add
USB_DEBUG+UHUB_DEBUG options to the GENERIC kernel, again, very little
information is provided..

uhub_explore: usbd_new_device failed, error=STALLED
uhub1: device problem, disabling port 2

Am I simply out of luck? is it just a non-standards compliant
blob-requiring device with new future on my desk? :)

Thanks in advanced, I'll try to provide anything needed by the developers.

PS: Here is the device, mine looks identical to the one in the picture...
http://gnu.295.ca/~peak/tinycam.html
http://www.geeks.com/details.asp?InvtId=SY-2107cm_mmc=sortprice-_-DigitalCameras-_-EntryLevelCameras-_-SY-2107srccode=cii_16435691cpncode=17-5235540-2



Re: ospfd not resyncing

2008-04-09 Thread Linden Varley
OpenBSD 4.2, with three routers running ospfd. Two links out of one 
router connecting to the other two routers. (em1 and em3 in this case)


ospfd.conf
===
# macros
password=xxx

# global configuration
router-id 0.0.0.1
redistribute connected
redistribute static
redistribute default
auth-key $password
auth-type simple
hello-interval 5

# areas
area 0.0.0.5 {
   interface em0 {
   passive
   }
   interface em1 {
   }
   interface em2 {
   passive
   }
   interface em3 {
   }
   interface em4 {
   passive
   }
   interface em5 {
   passive
   }
}
==
router1# ospfctl show neighbor
ID  Pri StateDeadTime Address Iface Uptime
0.0.0.3 1   FULL/DR  00:00:37 192.168.253.3   em3   3d04h09m
0.0.0.2 1   FULL/DR  00:00:37 192.168.255.2   em1   3d04h09m

router2# ospfctl show neighbor
ID  Pri StateDeadTime Address Iface Uptime
0.0.0.3 1   FULL/DR  00:00:35 192.168.254.3   em3   3d04h19m
0.0.0.1 1   FULL/BCKUP   00:00:35 192.168.255.1   em1   3d04h11m

router3# ospfctl show neighbor
ID  Pri StateDeadTime Address Iface Uptime
0.0.0.2 1   FULL/BCKUP   00:00:36 192.168.254.2   em3   3d04h19m
0.0.0.1 1   FULL/BCKUP   00:00:36 192.168.253.1   em1   3d04h10m

Not sure what other information would be helpful. Thought I might have 
to assign a metric to each interface but I don't think that will do 
anything as each interface is for a route to a separate network.


Cheers





Claudio Jeker wrote:

On Wed, Apr 09, 2008 at 09:53:58AM +0100, Paul Civati wrote:
  

Linden Varley [EMAIL PROTECTED] wrote:



Bringing up an old-topic here, but just letting everyone know
I have the exact same problem. It occurs quite often.
  

Surely we can't be the only two people seeing this issue?

It's quite fundamental to ospfd working properly..




Please send some more infos. What version are you useing (did you test
-current). Please show the config and necessary ospfctl output. The last
time I have issues like this was some time ago with point-to-point links
and that got fixed some time ago. There seems something in common with
your setups that others usually don't have.




spamd fake MX

2008-04-09 Thread Rod Whitworth
Reality check please.

I see quite a few attempts to access port 25 on boxes that don't have
externally listening smtpd. They show up in firewall logs.

It is a possibility to let spamd listen (as usual, redirected from 25
to 8025, or even on 25 itself) and feed the IP over to my real MX using
the spamd sync capability?

I think so but I may just need a cluebat if there is some reson not to.

Thanx,

Rod/

A consultant is someone who's called in when someone has painted himself into a 
corner.  He's expected to levitate his client out of that corner.

-The Sayings of Chairman Morrow. 1984.



Re: spamd fake MX

2008-04-09 Thread Daniel Ouellet

Rod Whitworth wrote:

Reality check please.

I see quite a few attempts to access port 25 on boxes that don't have
externally listening smtpd. They show up in firewall logs.

It is a possibility to let spamd listen (as usual, redirected from 25
to 8025, or even on 25 itself) and feed the IP over to my real MX using
the spamd sync capability?

I think so but I may just need a cluebat if there is some reson not to.


I don't see a reason not to do it. I have 4 mail servers sync to each 
others and that works very well if you asked me.


The only thing really to be careful about when lots of spamd sync is 
use, or when you add lots of entry in it is the default limits in the 
table entry of pf.


I also have better results with unicast setup for the sync and you want 
to make sure to put a spamd.key as well in the setup.


Works very nicely for me.

Best

Daniel