3.9 hangs during first boot

2006-05-18 Thread akonsu
hello,

just installed 3.9 release on my pentium II machine. installation seemed to
go fine, but now it hangs during boot. it starts to show dmesg text and
freezes right after the line saying

iic0 at piixpm0

even the keyboard is dead...

i am new. please help. if necessary i will provide the system specs, etc.

konstantin



Re: Group editing

2006-05-18 Thread Joachim Schipper
On Wed, May 17, 2006 at 10:59:10AM -0700, stupidmail4me wrote:
 I've thought about this yes, but the developers aren't
 that tech savvy to understand cvs. They'll most likely
 be using FTP. I know I know, use cvs.

FWIW, and I am not the first to say this, but CVS really is better.

As a small tale of personal experience, a few people - at any time,
around three - work on the website for my students' association. We have
been using Subversion for months now, but prior to that, even with only
two really active webmasters, my contributions to the main site (as
opposed to some scripts, which are mostly my exclusive domain due to
being the only thing approaching a coder we have) got clobbered more
often than not.

Yes, good coordination and more care from my coworkers could have
prevented part of the problem, but still... using some version control
makes life that much easier.

OTOH, teaching people to use Subversion properly is another matter
altogether. I'll be installing an elaborate pre-commit verification
script this weekend, which should take care of most nasty habits. Now if
I can only get them to commit pages without an average of three errors
which need fixing immediately, I'll be happy[1]. ;-)

Joachim

[1] That, and dropping PHP (or at least keeping MySQL out the door). And
installing a real OS - even Linux or MacOS, though my preference would
be different of course - on the desktops. And getting some real money
for some real servers, or at least some real disks[2][3]. And a UPS,
backup network link...  well, a man can dream.
[2] Running out of space on a 40 GB disk really isn't that difficult
nowadays, especially when people upload our 2 GB of photo's in three or
four places, and have an archive of ~ 14 GB of assorted junk (Word, JPG,
who knows what else is in there?).
[3] Lost two already. Turns out five year-old desktop disks don't stand
up too well to being stacked in a warm environment and run 24/7 for
months. Oh well, we'll finally have RAID in place this weekend, and
everything's been on tape for months[4].
[4] Now if I could only find that backup from a month or four ago... it
should be on some X CD's. Tape is so much nicer.

I'll stop ranting now.



altq pf and interface group

2006-05-18 Thread holger glaess
hi
i try to use an interface group name together with altq in my firewall config .

example 
ifconfig bge0 group wan_if



altq on wan_if cbq bandwidth 100Mb queue { std, www, ssh, admin  }

if i try to aktivate  this i got an syntax error from pfctl.

if i do the interface as macro and the altq line like this

altq on $wan_if cbq bandwidth 100Mb queue { std, www, ssh, admin  }
everything works perfekt.

all other kinds rules works perfect with the interface group name
( rules , rdr , nat )

it is an bug ?

holger



Re: Fast RAID configurations

2006-05-18 Thread Sebastian Schmitzdorff
There are some performance measurement I've done last year for the lsi
megaraid 320-1.

http://www.beercrash.de/megaraid.htm

Am Mittwoch, den 17.05.2006, 17:43 -0700 schrieb Chris Cappuccio:
 What RAID configurations (controller model and disk) are fastest for people?
 
 I assume that ami or gdt controllers are preferred?  Which LSI or other
 controller is fastest?  What disks do you match up with it?
 
 How many transactions/sec (as you can see from 'iostat 1') or io/sec (as
 seen from bonnie++ or similar programs) do you max out at in your
 configuration?



apache2 /mod_proxy

2006-05-18 Thread jacek
Hi all, i know that it's not really related with obsd , but ive got such
problem : ive compiled apache2.0.58 ( with mod_proxy, mod_so ) at obsd 3.8,
set virtual host with proxy to services at ports 8080 and 8010 and can get
it working fine but  im getting starnge errors in logs

---ext--obsd3.8dmz services ( port 8080, port 8010 )
   |
 inetrnal for lan


when there is a lot of connections for example to host : test.test.org :80
-- proxy - dmz_host:8080 im getting:

[Thu May 18 10:34:50 2006] [error] (65)No route to host: proxy: HTTP:
attempt to connect to 192.168.1.4:8080 (192.168.1.4) failed

and there is and error code : 503 bad gateway on client site

any ideas?? ,  it can't be routing problem ??

Thank you for any response



binat + table

2006-05-18 Thread Abel Talaverón Estevez
Hi all,

I'd like to use binat rules with tables. For example:

table IPExterna persist file 
/var/securityhome/securityfiles/objects/user/IPExterna

table enrutador1 persist file 
/var/securityhome/securityfiles/objects/user/enrutador1

binat on $DMZ_if from enrutador1 to any  - IPExterna

where:

#cat /var/securityhome/securityfiles/objects/user/IPExterna
#10.0.0.10
#cat /var/securityhome/securityfiles/objects/user/enrutador1
#192.168.0.10

It doesn't work. But it works:

binat on $DMZ_if from 192.168.0.10 to any  - 10.0.0.10

Why?

Thanks
-- 
Abel Talaversn Estevez
Ingeniero Superior de Telecomunicaciones
Analista de Proyectos

OpenWired
Caballero 87 - Bajos
08029 - Barcelona
Tel. 93 495 0990
Fax. 93 419 4591

http://www.openwired.com



Re: binat + table

2006-05-18 Thread Abel Talaverón Estevez
Hi all,

I'd like to use binat rules with tables. For example:

table IPExterna persist file
/var/securityhome/securityfiles/objects/user/IPExterna

table enrutador1 persist file
/var/securityhome/securityfiles/objects/user/enrutador1

binat on $DMZ_if from enrutador1 to any  - IPExterna

where:

#cat /var/securityhome/securityfiles/objects/user/IPExterna
#10.0.0.10
#cat /var/securityhome/securityfiles/objects/user/enrutador1
#192.168.0.10

It doesn't work. But it works:

binat on $DMZ_if from 192.168.0.10 to any  - 10.0.0.10

Why?

I've read man pf.conf and it says:

 Tables can be used as the source or destination of filter rules, scrub
 rules or translation rules such as nat or rdr (see below for details on
 the various rule types).  Tables can also be used for the redirect ad-
 dress of nat and rdr rules and in the routing options of filter rules,
 but only for round-robin pools.

But... why tables can't be used with binat?

Thanks
--
Abel Talaversn Estevez
Ingeniero Superior de Telecomunicaciones
Analista de Proyectos

OpenWired
Caballero 87 - Bajos
08029 - Barcelona
Tel. 93 495 0990
Fax. 93 419 4591

http://www.openwired.com



Re: Sendmail configurations

2006-05-18 Thread Stuart Henderson
On 2006/05/16 01:15, SkyBlueshoes wrote:
 I've just installed OpenBSD 3.8...my first ever *nix. I've got most up 
 and running, but I'm having problems recieving email. I followed the 
 guidelines on this page http://www.nomoa.com/bsd/mailServer.htm to the 
 letter. All the localhost tests work, but when I try to send a test 
 message from out of the domain I never get it. Also, I am not sure what 
 my domain would be, but I tried sending to both 
 [EMAIL PROTECTED]  [EMAIL PROTECTED]  skyblue.mine.nu is 
 my registered domain name, but the full name of my server is, as you'd 
 guess, server.skyblue.mine.nu.

$ dig server.skyblue.mine.nu any
;server.skyblue.mine.nu.IN  ANY
server.skyblue.mine.nu. 43027   IN  CNAME   skyblue.mine.nu.

$ dig skyblue.mine.nu any
;skyblue.mine.nu.   IN  ANY
skyblue.mine.nu.60  IN  A   24.0.102.157

server.skyblue.mine.nu is a CNAME; don't list these in MX records.
From a DNS point of view you're OK to use @skyblue.mine.nu which is
an A record, (hosts sending mail lookup first MX records and if that
fails they try A records instead).

$ telnet skyblue.mine.nu 25 
Trying 24.0.102.157...
long pause, I gave up waiting^C

$ telnet skyblue.mine.nu 80   
Trying 24.0.102.157...
Connected to skyblue.mine.nu.
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.1 200 OK
Date: Tue, 16 May 2006 03:02:30 GMT
Server: Apache/1.3.29 (Unix) PHP/4.4.1 mod_ssl/2.8.16 OpenSSL/0.9.7g
X-Powered-By: PHP/4.4.1
Connection: close
Content-Type: text/html

Connection closed by foreign host.

Normally if you try and connect to a port where there's no program
listening for connections you'll just get 'connection refused', so here
are some possibilities:

1. you've configured a firewall (or maybe port-forwarding on a NAT
router) to allow port 80 to work, but to drop port 25

2. your ISP filters incoming SMTP (port 25) to your machine.



Re: binat + table

2006-05-18 Thread Rogier Krieger

On 5/18/06, Abel Talaversn Estevez [EMAIL PROTECTED] wrote:

I've read man pf.conf and it says:
snip
 Tables can also be used for the redirect address of nat and rdr rules
 and in the routing options of filter rules, but only for round-robin pools.

But... why tables can't be used with binat?


The man page mentions round-robin (redirect address) pools for the way
nat/rdr deals with tables. Binat is a 1:1 mapping and therefore does
not do round-robin work.

Your assumption that for every address position i in sources, you
also get position i in targets seems incorrect. If it were, how do
you expect to deal with tables of different sizes?

Anyone, feel free to correct me if I'm wrong. I only read the man page.

Cheers,

Rogier

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



Re: b/g wifi card on wi list?

2006-05-18 Thread Stuart Henderson
On 2006/05/17 19:01, Peter Bako wrote:
 I was looking through the list of wireless PCMCIA cards known to be
 supported from the man page for wi(4), but it appears that all of those are
 just 802.11b cards.  I'd prefer to get one that also supports g mode
 Any recommendations?

Ralink



Re: encrypting Bridge freezes

2006-05-18 Thread Stuart Henderson
On 2006/05/18 10:06, Guido Tschakert wrote:
 I also run a memorytest over a weekend with the only result that the
 memory seems to be ok.
 
 What else could freeze an OpenBSD box
 

Other hardware problems can occur that memtest won't show.
Some are fixable (e.g. poor cooling), others can be due to
failed components (cpu, motherboard, memory, PCI cards,..).

Try some 'make build', maybe run 'stress' from packages at
the same time. This won't tell you for sure that everything
is good, but if it fails here too you know there's likely
to be some hardware problem.



Re: b/g wifi card on wi list?

2006-05-18 Thread Andy Hayward

On 5/18/06, Peter Bako [EMAIL PROTECTED] wrote:

I was looking through the list of wireless PCMCIA cards known to be
supported from the man page for wi(4), but it appears that all of those are
just 802.11b cards.  I'd prefer to get one that also supports g mode
Any recommendations?


Edimax EW-7108PCg (based on the Ralink RT2500 reference design).

(or did you really mean PCMCIA instead of Cardbus?)

-- ach



Port Forwarding on a modem

2006-05-18 Thread PK Sien

Hi,
I ve been trying to do a port forwarding on a modem connected to a LAN card
(Ethernet card). I realized that the IP address of the LAN  modem are
of different addresses. Do I have to configure the IP addresses of LAN
card  and modem as similar static IP address. Appreciate your answer.
Thanks

regards
sien



Re: encrypting Bridge freezes

2006-05-18 Thread Guido Tschakert
Stuart Henderson schrieb:
 On 2006/05/18 10:06, Guido Tschakert wrote:
 I also run a memorytest over a weekend with the only result that the
 memory seems to be ok.

 What else could freeze an OpenBSD box
 
 
 Other hardware problems can occur that memtest won't show.
 Some are fixable (e.g. poor cooling), others can be due to
 failed components (cpu, motherboard, memory, PCI cards,..).
 
 Try some 'make build', maybe run 'stress' from packages at
 the same time. This won't tell you for sure that everything
 is good, but if it fails here too you know there's likely
 to be some hardware problem.
 
 
Ok, I try out.

BTW

in the last hours I had a kernel message because of Keyboard problems
(pckbc: command timeout)
and some messages of too many DMA segments
(stge0: Tx packet consumes too many DMA segments, dropping...)

I think I have a Mobo Problem, in the next day my dealer  will bring a
new board and we will see.

thanks

guido



Re: Using cursor keys with VIM...

2006-05-18 Thread Jeff Quast

On 5/17/06, Ken Morley [EMAIL PROTECTED] wrote:

I am new to OpenBSD 3.8, but have a lot of experience with SuSE  RedHat
Linuxes.



The problem is that I've always been able to use the cursor keys when
editing with VIM under

SuSE and RedHat and I can't seem to break the habit.  So, I keep
trashing the file I'm working on

by using the control keys.


(function keys)



I currently use VanDyke's Secure-CRT 5.0 terminal emulation software.
No matter how I configure


Try using putty. save yourself a registration fee and support open
source software.



OpenBSD or the terminal emulation software, I can't find a combination
that will correct the problem.


try TERM=xterm or its variants


If you have a suggestion other than removing those keys from the
keyboard, I would love to hear it.



Thanks very much!



Ken Morley





From the OpenBSD console, I have seen that it generates different ansi

sequences than what is -typical- in xterm etc. I can't complain, 'ansi
sequences' are misleading, in that ansi sequences were never
standardized, though the name implies it.

vim does it's best to define sequences depending on your TERM. However
this doesnt map correctly to an OpenBSD console with TERM=vt220 or
TERM=wsvt25. I've found the need for these in my vimrc:

if $HOSTTYPE==OpenBSD
  OpenBSD function keys
 set t_k1=[11~  f1 through ..
 set t_k2=[12~
 set t_k3=[13~
 set t_k4=[14~
 set t_k5=[15~
 set t_k6=[17~
 set t_k7=[18~
 set t_k8=[19~
 set t_k9=[20~
 set t_k;=[21~
 set t_F1=[23~
 set t_F2=[24~  ...f12
 set t_kP=[5~   page up
 set t_kN=[6~   page down
 set t_kh=[7~   home
 set [EMAIL PROTECTED]   end
endif

Simply look up the :help section that lists all of the key code
variables and re-configure them. For F1, simply into a .vimrc:

set t_k1=escctrl+vF1

and so on...

Do this from SecureCRT and they keys will work correctly.

As somebody else pointed out, try using hjkl and vimtutor. You'll
thank yourself later. Some people say vi is only for hardcore hackers
who like to overcomplicate something as simple as an editor, but I
feel it allows me to be so lazy that I barely have to move my hands
around, esp wen using ^[ instead of the escape key.

jdq



Re: altq pf and interface group

2006-05-18 Thread Jason Crawford

On 5/18/06, holger glaess [EMAIL PROTECTED] wrote:

hi
i try to use an interface group name together with altq in my firewall config .

example
ifconfig bge0 group wan_if



altq on wan_if cbq bandwidth 100Mb queue { std, www, ssh, admin  }

if i try to aktivate  this i got an syntax error from pfctl.

if i do the interface as macro and the altq line like this

altq on $wan_if cbq bandwidth 100Mb queue { std, www, ssh, admin  }
everything works perfekt.

all other kinds rules works perfect with the interface group name
( rules , rdr , nat )

it is an bug ?


Unless things have changed that I havn't noticed (and I try to follow
pf development closely), no altq is not supported on interface groups.
Here is the thread where I asked the same question back in August
2005, and Henning provided the answer:

http://marc.theaimsgroup.com/?t=11242975202r=1w=2n=4



Re: [patch] Intel 945G/GM AGP support (including 945GM for X.org)

2006-05-18 Thread J.C. Roberts
On Wed, 17 May 2006 23:28:15 +0900, vladas [EMAIL PROTECTED]
wrote:

Stop in /usr/Xbld (line 63 of Makefile).
*** Error code 1

Stop in /usr/Xbld (line 82 of Makefile).
#


Of course its me making the mistake. Only do not understand where.
Would be grateful if someone could enlighten me, the newbie. Yes,
I have read the faq5.htm.

Vladas

Did you install the tcl and tk packages as stated in the i386 note of
faq5 at section 5.5?  (Yes, I've actually missed this important step
even after reading faq5...)

Kind Regards,
JCR


--
Free, Open Source CAD, CAM and EDA Tools
http://www.DesignTools.org



Re: CVS dying gasps updating www

2006-05-18 Thread Antoine Jacoutot

On Fri, 12 May 2006, Antoine Jacoutot wrote:
Recently, when trying to cvs -q up the www tree under -current, it fails 
with :

cvs update: dying gasps from anoncvs.usa.openbsd.org unexpected


Does anyone can reproduce this, because I did not find the cause of this 
issue yet...
Actually, at first I could reproduce this on my macppc and amd64 but now 
it looks that only my amd64 has problems with this and only with the www 
tree.

Strange...

--
Antoine



I'm testing cvs, $Id$ wrong last committed time

2006-05-18 Thread Didier Wiroth
Hello,
(openbsd novice)

I'm experimenting with cvs.

I'm running:
a) cvs repository on openbsd 3.9-stable: 
repo:~ $ ls -la /etc/localtime  date
lrwxr-xr-x  1 root  wheel  37 May 12 17:34 /etc/localtime - 
/usr/share/zoneinfo/Europe/Luxembourg
Thu May 18 16:34:52 CEST 2006

b) client is running current:
client:~$ lrwxr-xr-x  1 root  wheel  37 May 15 00:03 /etc/localtime - 
/usr/share/zoneinfo/Europe/Luxembourg
Thu May 18 16:36:32 CEST 2006

I put a $Id$ in a file and do a commit
cvs -q -d $MYCVS ci -m test index.html

The index.html file $ID$ after the commit is:
$Id: index.html,v 1.4 2006/05/18 14:37:39 dda Exp $

The tag shows a time that is wrong, it's -2 hours, it should be 16:37:39,

Why, am I missing something?

Thank you for helping
Didier



Re: I'm testing cvs, $Id$ wrong last committed time

2006-05-18 Thread Peter Blair

What's your timezone?

On 5/18/06, Didier Wiroth [EMAIL PROTECTED] wrote:

Hello,
(openbsd novice)

I'm experimenting with cvs.

I'm running:
a) cvs repository on openbsd 3.9-stable:
repo:~ $ ls -la /etc/localtime  date
lrwxr-xr-x  1 root  wheel  37 May 12 17:34 /etc/localtime - 
/usr/share/zoneinfo/Europe/Luxembourg
Thu May 18 16:34:52 CEST 2006

b) client is running current:
client:~$ lrwxr-xr-x  1 root  wheel  37 May 15 00:03 /etc/localtime - 
/usr/share/zoneinfo/Europe/Luxembourg
Thu May 18 16:36:32 CEST 2006

I put a $Id$ in a file and do a commit
cvs -q -d $MYCVS ci -m test index.html

The index.html file $ID$ after the commit is:
$Id: index.html,v 1.4 2006/05/18 14:37:39 dda Exp $

The tag shows a time that is wrong, it's -2 hours, it should be 16:37:39,

Why, am I missing something?

Thank you for helping
Didier




Re: I'm testing cvs, $Id$ wrong last committed time

2006-05-18 Thread Peter Blair

woops -- replied before reading entire message.  *ducks*

On 5/18/06, Peter Blair [EMAIL PROTECTED] wrote:

What's your timezone?

On 5/18/06, Didier Wiroth [EMAIL PROTECTED] wrote:
 Hello,
 (openbsd novice)

 I'm experimenting with cvs.

 I'm running:
 a) cvs repository on openbsd 3.9-stable:
 repo:~ $ ls -la /etc/localtime  date
 lrwxr-xr-x  1 root  wheel  37 May 12 17:34 /etc/localtime - 
/usr/share/zoneinfo/Europe/Luxembourg
 Thu May 18 16:34:52 CEST 2006

 b) client is running current:
 client:~$ lrwxr-xr-x  1 root  wheel  37 May 15 00:03 /etc/localtime - 
/usr/share/zoneinfo/Europe/Luxembourg
 Thu May 18 16:36:32 CEST 2006

 I put a $Id$ in a file and do a commit
 cvs -q -d $MYCVS ci -m test index.html

 The index.html file $ID$ after the commit is:
 $Id: index.html,v 1.4 2006/05/18 14:37:39 dda Exp $

 The tag shows a time that is wrong, it's -2 hours, it should be 16:37:39,

 Why, am I missing something?

 Thank you for helping
 Didier




Re: I'm testing cvs, $Id$ wrong last committed time

2006-05-18 Thread Darrin Chandler
On Thu, May 18, 2006 at 04:42:47PM +0200, Didier Wiroth wrote:
 I put a $Id$ in a file and do a commit
 cvs -q -d $MYCVS ci -m test index.html
 
 The index.html file $ID$ after the commit is:
 $Id: index.html,v 1.4 2006/05/18 14:37:39 dda Exp $
 
 The tag shows a time that is wrong, it's -2 hours, it should be 16:37:39,
 
 Why, am I missing something?

I'm not the best cvs person in the world, but it makes sense to me.

What if you have someone else in a different time zone who is also
committing with $Id$ in their sources? It seems that times should be
stored in GMT/UTC always...

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: I'm testing cvs, $Id$ wrong last committed time

2006-05-18 Thread Peter Blair

Since CEST is +2hours from GMT, then the cvs timestamp looks fine.

On 5/18/06, Darrin Chandler [EMAIL PROTECTED] wrote:

On Thu, May 18, 2006 at 04:42:47PM +0200, Didier Wiroth wrote:
 I put a $Id$ in a file and do a commit
 cvs -q -d $MYCVS ci -m test index.html

 The index.html file $ID$ after the commit is:
 $Id: index.html,v 1.4 2006/05/18 14:37:39 dda Exp $

 The tag shows a time that is wrong, it's -2 hours, it should be 16:37:39,

 Why, am I missing something?

I'm not the best cvs person in the world, but it makes sense to me.

What if you have someone else in a different time zone who is also
committing with $Id$ in their sources? It seems that times should be
stored in GMT/UTC always...

--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |




Re: Port Forwarding on a modem

2006-05-18 Thread Tobias Ulmer
On Thu, May 18, 2006 at 07:50:40PM +0800, PK Sien wrote:
 Hi,
 I ve been trying to do a port forwarding on a modem connected to a LAN card
 (Ethernet card). I realized that the IP address of the LAN  modem are
 of different addresses. Do I have to configure the IP addresses of LAN
 card  and modem as similar static IP address. Appreciate your answer.
 Thanks
 
 regards
 sien
 


Similar static Ip address sounds weird...
Read the fine manual: http://www.openbsd.org/faq/pf/rdr.html
If you still have questions, try to make them more specific.

Tobias



thanks to all the OpenBSD technical writers

2006-05-18 Thread Diana Eichert
One of the things I emphasize with people when I'm explaining to them why
I recommend OpenBSD is the quality of the man pages.  After reading yet
another bunch of submits from Jason McIntyre I just wanted to give him and
all the other developers kudos for their work.

diana



HQ Sound Device

2006-05-18 Thread [EMAIL PROTECTED]
As my sound card just fried on me, I'm interested in a new one. Given the 
finicky nature of these devices I'm curious if there is there a PCI card/driver 
combo that is considered fast and nice-sounding that isn't integrated (most of 
the drivers appear to be for onboard or notebook sound)? If not, I guess I just 
go dig up an old SB Live from pricewatch.

Thanks for your time,

Rick

--
Alain Systems
Unlimited Internet Access with 1GB of Email Storage.
Visit http://www.juno.com/value to sign up today!



Re: ipmi errors?

2006-05-18 Thread Need Coffee

V40z's do the same thing... keeps the console busy  :)

I saw at least one commit that looked relevant... is this fixed in -current?


On 5/11/06, Alten, David (FIT) [EMAIL PROTECTED] wrote:

Hello,

I'm seeing errors on a Sun Fire v20Z BIOS 2.4.0.6, similar to what was
posted last week under dell 2650 (-current)

I have a few other identical boxes I can test on if anyone needs me to
try some patches.

Thanks,

David Alten



# dmesg
OpenBSD 3.9 (GENERIC) #462: Thu Mar  2 03:52:16 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2146480128 (2096172K)
avail mem = 1835417600 (1792400K)
using 22937 buffers containing 214855680 bytes (209820K) of memory
mainbus0 (root)
ipmi0 at mainbus0: version 1.5 interface KCS iobase 0xca2/2 spacing 1
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Opteron(tm) Processor 248, 2193.02 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
pci0 at mainbus0 bus 0: configuration mode 1
ppb0 at pci0 dev 6 function 0 AMD 8111 PCI-PCI rev 0x07
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 Trident Blade 3D rev 0x3a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 AMD AMD8111 LPC rev 0x05
pciide0 at pci0 dev 7 function 1 AMD 8111 IDE rev 0x03: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 1.9A SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
amdpm0 at pci0 dev 7 function 3 AMD 8111 Power rev 0x05: rng active
iic0 at amdpm0: disabled to avoid ipmi0 interactions
ppb1 at pci0 dev 10 function 0 AMD 8131 PCIX rev 0x12
pci2 at ppb1 bus 2
bge0 at pci2 dev 2 function 0 Broadcom BCM5704C rev 0x03, BCM5704 A3
(0x2003): irq 5, address 00:09:3d:13:32:8b
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci2 dev 2 function 1 Broadcom BCM5704C rev 0x03, BCM5704 A3
(0x2003): irq 3, address 00:09:3d:13:32:8c
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
mpt0 at pci2 dev 4 function 0 Symbios Logic 53c1030 rev 0x08: irq 11
scsibus1 at mpt0: 16 targets
sd0 at scsibus1 targ 0 lun 0: SEAGATE, ST373207LC, 0002 SCSI3 0/direct
fixed
sd0: 70007MB, 90774 cyl, 2 head, 789 sec, 512 bytes/sec, 143374744 sec
total
sd1 at scsibus1 targ 1 lun 0: FUJITSU, MAT3073NC, 0104 SCSI3 0/direct
fixed
sd1: 70136MB, 78753 cyl, 2 head, 911 sec, 512 bytes/sec, 143638992 sec
total
mpt0: target 0 Synchronous at 160MHz width 16bit offset 63 QAS 1 DT 1 IU
1
mpt0: target 1 Synchronous at 160MHz width 16bit offset 127 QAS 1 DT 1
IU 1
AMD 8131 PCIX IOAPIC rev 0x01 at pci0 dev 10 function 1 not configured
ppb2 at pci0 dev 11 function 0 AMD 8131 PCIX rev 0x12
pci3 at ppb2 bus 3
AMD 8131 PCIX IOAPIC rev 0x01 at pci0 dev 11 function 1 not configured
pchb0 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00
pchb1 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00
pchb2 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00
pchb3 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00
pchb4 at pci0 dev 25 function 0 AMD AMD64 HyperTransport rev 0x00
pchb5 at pci0 dev 25 function 1 AMD AMD64 Address Map rev 0x00
pchb6 at pci0 dev 25 function 2 AMD AMD64 DRAM Cfg rev 0x00
pchb7 at pci0 dev 25 function 3 AMD AMD64 Misc Cfg rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
dkcsum: sd0 matches BIOS drive 0x80
dkcsum: sd1 matches BIOS drive 0x81
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
bmc_io_wait fails : v=00 m=03 b=01 read_data
bmc_io_wait fails : v=40 m=03 b=01 read_data
bmc_io_wait fails : v=40 m=03 b=01 read_data
error reading: bulk.v3_3-s5
bmc_io_wait fails : v=40 m=03 b=01 read_data
error reading: bulk.v3_3-s0
bmc_io_wait fails : v=40 m=03 b=01 read_data
error reading: cpu0.dietemp
bmc_io_wait fails : v=82 m=02 b=00 write_data
kcs_sendmsg: 10 2d 0b
error reading: bulk.v5-s5
bmc_io_wait fails : v=82 m=02 b=00 write_data
kcs_sendmsg: 10 2d 0a
error reading: bulk.v5-s0
bmc_io_wait fails : v=82 m=02 b=00 write_data
kcs_sendmsg: 10 2d 09
error reading: bulk.v3_3-s5
bmc_io_wait fails : v=82 m=02 b=00 write_data
kcs_sendmsg: 10 2d 07
error reading: bulk.v3_3-s0

xmms does not run smoothly

2006-05-18 Thread Martin Toft

Hi,

xmms on my computer freezes temporarily when doing disk-intensive tasks, 
e.g. examining the ID3-tags of a long playlist. It is not a serious 
problem, it just annoys me that my OpenBSD installation apparently does 
not perform as well as my friend's Debian GNU/Linux installation, which 
does not suffer from the problem. It _is_ a matter of honor :)


Any help is appreciated, but my primary objective is to find out whether 
I am the only person experiencing this problem.


I run OpenBSD 3.9-release on an IBM Thinkpad T41 laptop with all file 
sets except bsd.mp. The relevant, installed packages are:


esound-0.2.34p0
libao-0.8.5p2
libid3tag-0.15.1bp0
libmad-0.15.1bp1
xmms-1.2.10p6

I have tried increasing the buffer size and pre-buffer percent in 
Preferences - Audio I/O Plugins - MPEG Layer 1/2/3 Player 1.2.10 
[libmpg123.so} - Configure - Streaming to as high as 4096 kb and 50%. 
It did not help. However, maybe these values only affect streaming (over 
networks).


/Martin



OBSD 3.9 freezes during install from cd39.iso (2 different medias) on Supermicro PDSMI MB Dual Core Intel 2.8G

2006-05-18 Thread Thede, Bennett
Hey all, really odd problem:   booting from cd39.iso (to install over
wire,  has worked on a generic dell from the same media, but I tried
another blank CD as well.) is freezing on boot on my 1U system
(Supermicro PDSMI MB, http://tinyurl.com/ol4nu , P4 2.8Ghz CPU (dual
core), 1gig memory, sata HD.  

During boot it gets as far as:

bios0 at mainbus0: AT/286+(2c) BIOS, date 04/17/06, BIOS32 rev. 0 @
0xfd470
pcibios0 at bios0: rev 2.1 @ 0xfd470/0xb90
pcibios0: PCI BIOS has 20 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801GB LPC rev
0x00)
pcibios0: PCI bus #6 is the last bus

And then bam,   it stops, no error,  no beep,  nothing.  It just sits
there.  


I just noticed that my cd39.iso file is a little older then the one
currently at ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/i386  so I've
tried again with the new file,  this time it gives a bit more
information (and IDs the motherboard)  

bios0 at mainbus0: AT/286+(2c)  BIOS, date 04/17/06, BIOS32 rev. 0 @
0xfd470, SMBIOS rev. 2.51 @ 0x3feea000 (33 entries)
bios: Supermicro PDSMI
pcibios0 at bios0: rev 2.1 @ 0xfd470/0xb90
pcibios0: PCI BIOS has 20 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801GB LPC rev
0x00)
pcibios0: PCI bus #6 is the last bus

And then it freezes at the exact same spot

I'm going to try to load from one of the official CDs I have (3.7 I
think is the latest) on Monday in case I need some sort of driver that's
not in the cd39.iso build, but I have a feeling because of where it's
freezing that won't help, so if anyone has any ideas please let me know.
This 1U had an intended purpose of being a firewall, and I was hoping to
run OBSD/PF but know that redhat runs on this equipment, so I can switch
to a linux based firewall if I have to.  (I much prefer PF...)


Thanks for any pointers,

Ben



Re: xmms does not run smoothly

2006-05-18 Thread Emmanuel Jarri

It was/is the case for me too ! :-(
The workaround I use is to increase buffer size to its maximum, i.e. 13MB,
with 50% to upper pre buffer.
It works quite nicely, but I feel it's a dirty workaround...

Nevertheless it allows me to play mp3 and ogg on my 700MHz Athlon with
384MB of RAM, even with cumulated/simultaneous :
_ high FTP loads (with vsftp in FTP mode, didn't tested with SFTP)
_ web browsing through Firefox (10 tabs)
_ Gaim 1.5
_ Xchat.
_ Bluefish
_ 3 xterms


But it keeps micro-freezing sometimes, and memory load is around 360MB
(of 384). :-|

mylife
I didn't complain as I was warned OBSD is quite server oriented, It
was quite a challenge to use it for everyday desktops tasks.
The main problem I have is the VERY SLOW PAGE SCROLLING in web
pages... And I don't know how to fix it, if it's possible.
/mylife


On 5/18/06, Martin Toft [EMAIL PROTECTED] wrote:

Hi,

xmms on my computer freezes temporarily when doing disk-intensive tasks,
e.g. examining the ID3-tags of a long playlist. It is not a serious
problem, it just annoys me that my OpenBSD installation apparently does
not perform as well as my friend's Debian GNU/Linux installation, which
does not suffer from the problem. It _is_ a matter of honor :)

Any help is appreciated, but my primary objective is to find out whether
I am the only person experiencing this problem.

I run OpenBSD 3.9-release on an IBM Thinkpad T41 laptop with all file
sets except bsd.mp. The relevant, installed packages are:

esound-0.2.34p0
libao-0.8.5p2
libid3tag-0.15.1bp0
libmad-0.15.1bp1
xmms-1.2.10p6

I have tried increasing the buffer size and pre-buffer percent in
Preferences - Audio I/O Plugins - MPEG Layer 1/2/3 Player 1.2.10
[libmpg123.so} - Configure - Streaming to as high as 4096 kb and 50%.
It did not help. However, maybe these values only affect streaming (over
networks).

/Martin




iMac G5 (ambient light sensor) and X.org

2006-05-18 Thread rjn

Hey all,

I'm having trouble configuring X on my iMac G5.  I'm wondering if
anyone has a working xorg.conf for a 17 iMac G5?

If so, I would greatly appreciate it.

Thanks,
RJ

--
em: [EMAIL PROTECTED]
aim: dbhsibgeek
www: http://www.bellsouthpwp.net/r/j/rjnowling/

Poster: I am a Windows Systems Administrator and work for a pretty
large corporation
Anonymous: I am so very sorry for you...
-- Slashdot



Re: xmms does not run smoothly

2006-05-18 Thread Ted Unangst

On 5/18/06, Martin Toft [EMAIL PROTECTED] wrote:

xmms on my computer freezes temporarily when doing disk-intensive tasks,
e.g. examining the ID3-tags of a long playlist. It is not a serious
problem, it just annoys me that my OpenBSD installation apparently does
not perform as well as my friend's Debian GNU/Linux installation, which
does not suffer from the problem. It _is_ a matter of honor :)

Any help is appreciated, but my primary objective is to find out whether
I am the only person experiencing this problem.


everyone experiences it.  if you'd been at eurobsdcon, you could have
watched me demo it in front of a crowd. :)

the two solutions are to prescroll the entire playlist (slowly, so
there are no gaps) or to switch to librthread (which is not done, but
worked for xmms before anything else).  if you haven't heard of
librthread, then i don't think it'd be good to switch, but the problem
is being worked on.



Re: SCSI-HD problems at install

2006-05-18 Thread Jon Sjöstedt
 On Fri, May 12, 2006 at 07:42:08PM +0200, Jon Sj?stedt wrote:
 Hello!
 I have a machine with Tekram DC395-UW with one IBM DNES-309170 ID2, a
 SONY-burner
 ID3 and two Seagate ST39102LW (ID0 and ID1). Id0 is set to be bootdrive
 in
 Tekram BIOS (ver 3.03).

 The install starts fine from a IDE-cdromdrive (the SONY wont work, any
 ideas?). But when the disks are about ot be formated it stops to work.
 Labels from previous tries are there, but i cant assign mountpoints to
 all
 of them. When format is about to start it says (and sometimes after
 would
 you like to use *all* of sd0 for openBSD? yes)

 check condition (error 0x70) on opcode 0x28
 senskey illegal request
 asc/ascq asc 0x24 ascq 0x00
 frucode 0x1
 sksv error in CDB offset 3 bit 2
 check condition (error 0x70) on opcode 0x28
 senskey illegal request
 asc/ascq asc 0x24 ascq 0x00
 frucode 0x1
 sksv error in CDB offset 4 bit 6

 Any ideas?




 
 Jon Sjvstedt


 http://www.openbsd.org/report.html
 http://www.openbsd.org/faq/faq4.html#getdmesg

 It would seem to be reporting an illegal READ(10) command, with the
 problem being an illegal 'logical block' field. Perhaps trying to
 read outside of the bounds of the disk?

 I'd zero the existing disklabel(s), boot record and partition tables
 and try again. If it fails again, capturing the entire attempt
 (including dmesg) via a serial console would be perfect.

  Ken

I have messed a bit with the disks, but the problems wont dissapear. I
attach a console-install try. Hope it clears things a bit. The harddrive
errors occour a bit every now and then when the OS tries to do stuff with
the disks.

zero the existing disklabel(s), boot record and partition tables Is
there a very exact and precice way to do this? When i try to write a
virgin MBR I get the same error. Formating a disk using the SCSI-BIOS
setup wont help either (formating is fine, but the error remains). Both
disks have previously worked fine with Windows NT 4.0 installed

The detected values for the CHS does not match the ones found at
www.seagate.com


Jon Sjvstedt
 OpenBSD/i386 CDBOOT 1.04ion 1 VIA VT82C571 IDE re
boot: ATA
booting cd0a:/3.9/i386/bsd.rd: 4435508+740284 [52+155376+141982]=0x538528d  
  
onfigured to compatibility, channel 1 configured to
entry point at 0x100120rev 0x0e: irq 9

Copyright (c) 1982, 1986, 1989, 1991, 1993annel 0 disabled (no drives) USB 
revision 
The Regents of the University of California.  All rights reserved.CI 
root hub, rev 1.00/1.00, a
scsibus0 at atapiscsi0: 2 targets   
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  
http://www.OpenBSD.org2B, 0017 SCSI0 5/cdrom r VT82C686 SMBus rev 0x20 at 
pci0 dev 7 function 4 n

OpenBSD 3.9 (RAMDISK_CD) #1025: Thu Mar  2 02:43:29 MST 2006: using PIO mode 4, 
Ultra-DMA mode 2v 9 function 0 Tekram D
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD72 USB rev 
0x0e: irq 9s1 at trm0: 16 targets 
cpu0: Intel Pentium III (GenuineIntel 686-class) 665 M
  
R,SSE, 696
real mem  = 536387584 (523816K)es/sec, 17783240 sec total 
avail mem = 483577856 (472244K)   
using 4278 buffers containing 26923008 bytes (26292K) of memorynsfers   
  
mainbus0 (root)sibus1 targ 1 l
bios0 at mainbus0: AT/286+(00) BIOS, date 05/31/00, BIOS32 rev. 0 @ 0xfdae0 
 
sd1: 8683MB, 6962 cy
apm0 at bios0: Power Management spec V1.240 sec total   
  
apm0: flags 30102 dobusy 0 doidle 1 
trm0: target 2 using 8 bi
pcibios0 at bios0: rev 2.1 @ 0xf/0x1

pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7710/176 (9 entries)SCSI3 0/direct 
fixed 
cd1 at scsibus1 targ 3 lun 0: SONY, CD-
cpu0 at mainbus0 SCSI4 5/cdrom r
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)  
  
e 
dc0 at pci0 dev 11
pchb0 at pci0 dev 0 function 0 VIA VT82C691 PCI rev 0xc4:ad   

ppb0 at pci0 dev 1 function 0 VIA VT82C598 AGP rev 0x00 phy 1: DM9102 10/100 
PHY, rev. 0
pci1 at ppb0 bus 1   
Creative Labs
vga1 at pci1 dev 0 function 0 NVIDIA Riva TNT2 rev 0x15 configu   
  
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)ameport Joystick rev 
0x05 at pci0 dev 12 function 1 n
pcib0 at pci0 dev 7 function 0 VI 
pciide0: channel 0 disabled (no drives)   
npx0 at isa0 port 0
atapiscsi0 at pciide0 channel 1 drive 0   
pccom0 
scsibus0 at atapiscsi0: 2 targets0a, 16 byte fifo 
cd0 at scsibus0 targ 0 lun 0: 

Re: HQ Sound Device

2006-05-18 Thread Alexandre Ratchov
On Thu, May 18, 2006 at 04:10:04PM +, [EMAIL PROTECTED] wrote:
 As my sound card just fried on me, I'm interested in a new one.
 Given the finicky nature of these devices I'm curious if there is
 there a PCI card/driver combo that is considered fast and
 nice-sounding that isn't integrated (most of the drivers appear to
 be for onboard or notebook sound)? If not, I guess I just go dig up
 an old SB Live from pricewatch.
 

hello,

What do you mean by fast?

i'd suggest you to get an usb audio interface. I've got a m-audio
mobilpre that sounds really good; it's also good for recording.

Just check that it is usb-audio class compliant before buying it.

-- 
Alexandre



OT: parallel port programmer

2006-05-18 Thread poncenby

List,

A message which is off topic and obviously typed before doing any  
proper research first, I'm just waiting for the cold shoulder,  
however I will ask anyway...


does anyone know of a website that has a good (fully illustrated?)  
guide for making your own parallel port programmer which will work  
with uisp-20050207.tgz?


merci,

poncenby



Re: xmms does not run smoothly

2006-05-18 Thread Doug Clements
Check this: http://www.geocities.com/phileosophos/tech/pcilatency.html

--Doug

On 5/18/06, Emmanuel Jarri [EMAIL PROTECTED] wrote:

 It was/is the case for me too ! :-(
 The workaround I use is to increase buffer size to its maximum, i.e. 13MB,
 with 50% to upper pre buffer.
 It works quite nicely, but I feel it's a dirty workaround...

 Nevertheless it allows me to play mp3 and ogg on my 700MHz Athlon with
 384MB of RAM, even with cumulated/simultaneous :
 _ high FTP loads (with vsftp in FTP mode, didn't tested with SFTP)
 _ web browsing through Firefox (10 tabs)
 _ Gaim 1.5
 _ Xchat.
 _ Bluefish
 _ 3 xterms


 But it keeps micro-freezing sometimes, and memory load is around 360MB
 (of 384). :-|

 mylife
 I didn't complain as I was warned OBSD is quite server oriented, It
 was quite a challenge to use it for everyday desktops tasks.
 The main problem I have is the VERY SLOW PAGE SCROLLING in web
 pages... And I don't know how to fix it, if it's possible.
 /mylife


 On 5/18/06, Martin Toft [EMAIL PROTECTED] wrote:
  Hi,
 
  xmms on my computer freezes temporarily when doing disk-intensive tasks,
  e.g. examining the ID3-tags of a long playlist. It is not a serious
  problem, it just annoys me that my OpenBSD installation apparently does
  not perform as well as my friend's Debian GNU/Linux installation, which
  does not suffer from the problem. It _is_ a matter of honor :)
 
  Any help is appreciated, but my primary objective is to find out whether
  I am the only person experiencing this problem.
 
  I run OpenBSD 3.9-release on an IBM Thinkpad T41 laptop with all file
  sets except bsd.mp. The relevant, installed packages are:
 
  esound-0.2.34p0
  libao-0.8.5p2
  libid3tag-0.15.1bp0
  libmad-0.15.1bp1
  xmms-1.2.10p6
 
  I have tried increasing the buffer size and pre-buffer percent in
  Preferences - Audio I/O Plugins - MPEG Layer 1/2/3 Player 1.2.10
  [libmpg123.so} - Configure - Streaming to as high as 4096 kb and 50%.
  It did not help. However, maybe these values only affect streaming (over
  networks).
 
  /Martin



Re: xmms does not run smoothly

2006-05-18 Thread Doug Clements
My mistake. He appeared to be complaining about stuttering during other
activities, only including reading id-3 tags as an example.

--Doug

On 5/18/06, Ted Unangst [EMAIL PROTECTED] wrote:

 On 5/18/06, Doug Clements [EMAIL PROTECTED] wrote:
  Check this: http://www.geocities.com/phileosophos/tech/pcilatency.html

 totally irrelevant.



Re: pppoe, binat and netopia router: apache virtual hosting

2006-05-18 Thread Daniel Walrond
On Mon, May 08, 2006 at 02:43:38PM -0500, Jacob Yocom-Piatt wrote:
 this raises another question i've had on my mind for quite some time:
 what, if any, are the advantages of doing pppoe using openbsd, as
 opposed to using a hardware router of some sort?

You get to use OpenBSD as your sole firewall rather than relying on a
cut down Linux install or VxWorks with no real memory management. Take
note of the bug in the SPI of Netgear routers which caused the modem to
drop its connection. What other bugs lurk in some propriority software.

Advantages being all those security enhancement which come along with
with OpenBSD. If it's a firewall and you don't need to rely on ports
then it might be worth enabling guard pages. Check malloc(3) for
details. Since enabling it by default would break far too many 3rd party
ports.

If you have a block of IPs then having one firewall can save you wasting
IPs. I'm sure there's some scrub ttl hack you could do to hide the
second firewall.

In my opinion the OpenBSD kernel pppoe device is very reliable and far
better than the average cheap consumer ADSL modem/router.

Since there were complaints of no real docs in Google on using the kernel
land pppoe driver for a pppoa connection with a bridged ADSL modem doing
the ATM work. I have recently written
http://compsoc.dur.ac.uk/~djw/pppoa.html on the matter. A word of
warning is that I've only just thrown it together, but may be useful to
others who can't get their firewall to do what they want it to do. I'm
not opposed to feedback, as long as it's constructive ;)


Dan



Re: xmms does not run smoothly

2006-05-18 Thread Philip Guenther

On 5/18/06, Martin Toft [EMAIL PROTECTED] wrote:

xmms on my computer freezes temporarily when doing disk-intensive tasks,
e.g. examining the ID3-tags of a long playlist.  ...


While not a solution to the general problem of stuttering in xmms, the
stuttering while scrolling your playlist is easily solved now by
saving into the playlist the ID3-tag data.  xmms will do this for you
if you load a playlist, scroll through it (so that xmms has to load
the data for all the entries), and then save the playlist back to
disk, overwriting the file you loaded.  When you next load that
playlist, you'll experience no delays for ID3-tag loading.  That's
just for .m3u playlist files, of course.

Not perfect, but it's an easy to to get rid of an annoying class of blips.

(The data is just placed in comments in the .m3u file, so you could
probably whip up a script to insert that info without having to work
the xmms GUI...)


Philip Guenther



php5-curl error: couldn't resolve host

2006-05-18 Thread Jacob Yocom-Piatt
i'm trying to get the php5-curl-5.0.4p0 module working with some php code that's
running on a 3.8-release machine. this code makes XML requests to UPS to get
shipping costs and times. when the php attempts to use curl to contact the UPS
web address https://wwwcie.ups.com:443/ups.app/xml/Rate , it craps out and gives
an error:

Error from cURL: Error [6]: Couldn't resolve host 'wwwcie.ups.com'

i suspect this is an issue with running from inside the apache chroot, but do
not know how to proceed and/or confirm this suspicion. just to be thorough,
here's the chunk of php code that generates the error:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlRequest);
curl_setopt($ch, CURLOPT_TIMEOUT, (int)$timeout);

if ($this-logfile) {
  error_log(UPS REQUEST:  . $xmlRequest . \n, 3, $this-logfile);
}
$xmlResponse = curl_exec ($ch);
if (curl_errno($ch)  $this-logfile) {
  $error_from_curl = sprintf('Error [%d]: %s', curl_errno($ch), 
curl_error($ch));
  error_log(Error from cURL:  . $error_from_curl . \n, 3, $this-logfile);
}

i presume url = the url i gave above.

any advice appreciated.

cheers,
jake



Re: pppoe, binat and netopia router: apache virtual hosting

2006-05-18 Thread Jacob Yocom-Piatt
 Original message 
Date: Thu, 18 May 2006 23:26:19 +0100
From: Daniel Walrond [EMAIL PROTECTED]  
Subject: Re: pppoe, binat and netopia router: apache virtual hosting  
To: Jacob Yocom-Piatt [EMAIL PROTECTED]
Cc: misc@openbsd.org

On Mon, May 08, 2006 at 02:43:38PM -0500, Jacob Yocom-Piatt wrote:
 this raises another question i've had on my mind for quite some time:
 what, if any, are the advantages of doing pppoe using openbsd, as
 opposed to using a hardware router of some sort?

You get to use OpenBSD as your sole firewall rather than relying on a
cut down Linux install or VxWorks with no real memory management. Take
note of the bug in the SPI of Netgear routers which caused the modem to
drop its connection. What other bugs lurk in some propriority software.

Advantages being all those security enhancement which come along with
with OpenBSD. If it's a firewall and you don't need to rely on ports
then it might be worth enabling guard pages. Check malloc(3) for
details. Since enabling it by default would break far too many 3rd party
ports.

If you have a block of IPs then having one firewall can save you wasting
IPs. I'm sure there's some scrub ttl hack you could do to hide the
second firewall.

In my opinion the OpenBSD kernel pppoe device is very reliable and far
better than the average cheap consumer ADSL modem/router.


this is the route i ended up going: put the router in bridge mode and let
openbsd do all the routing of public IPs. aside from the issue of needing a
local nameserver to map the domains i serve to their private IPs (since binat
doesn't allow local machines to access the mapped public IPs), it works just how
i want :).

it would be a plus if there were a method for pppoe failover, but this can
likely be achieved using ifstated and a bit of creativity. has anybody done 
this?



Re: xmms does not run smoothly

2006-05-18 Thread Felipe Scarel

I have always had the suspection that desktop software like xmms and firefox
run a bit slower on OpenBSD in comparison with other OS's, but never had a
clue why it happened, or if it was only happening on my machine.

I suspect (and may be completely wrong) that it could be something regarding
process switching latency; let me explain: when compiling Linux
kernel, somewhere
it has an option to change kernel latency, with three options {server,
?, low-latency
desktop} - I forgot the middle one.

Is my guess wrong, should I change login.conf, is there any sysctl to
be changed?
Thanks and don't flame me [too much]. =)

Regards,

On 5/18/06, Philip Guenther [EMAIL PROTECTED] wrote:

On 5/18/06, Martin Toft [EMAIL PROTECTED] wrote:
 xmms on my computer freezes temporarily when doing disk-intensive tasks,
 e.g. examining the ID3-tags of a long playlist.  ...

While not a solution to the general problem of stuttering in xmms, the
stuttering while scrolling your playlist is easily solved now by
saving into the playlist the ID3-tag data.  xmms will do this for you
if you load a playlist, scroll through it (so that xmms has to load
the data for all the entries), and then save the playlist back to
disk, overwriting the file you loaded.  When you next load that
playlist, you'll experience no delays for ID3-tag loading.  That's
just for .m3u playlist files, of course.

Not perfect, but it's an easy to to get rid of an annoying class of blips.

(The data is just placed in comments in the .m3u file, so you could
probably whip up a script to insert that info without having to work
the xmms GUI...)


Philip Guenther






--

 Felipe Brant Scarel
 PATUX/OpenBSD Project Leader (http://www.patux.cic.unb.br)



mfi

2006-05-18 Thread Marco Peereboom
I just enabled the mfi driver (LSI/Dell MegaRAID SAS) in GENERIC on i386 
amd64.

I could use some test reports from the field concerning this controller.  If
you have one please give it a twirl and send me your success/failure story.

/marco



Re: xmms does not run smoothly

2006-05-18 Thread Greg Thomas

On 5/18/06, Martin Toft [EMAIL PROTECTED] wrote:

Hi,

xmms on my computer freezes temporarily when doing disk-intensive tasks,
e.g. examining the ID3-tags of a long playlist. It is not a serious
problem, it just annoys me that my OpenBSD installation apparently does
not perform as well as my friend's Debian GNU/Linux installation, which
does not suffer from the problem. It _is_ a matter of honor :)

Any help is appreciated, but my primary objective is to find out whether
I am the only person experiencing this problem.

I run OpenBSD 3.9-release on an IBM Thinkpad T41 laptop with all file
sets except bsd.mp. The relevant, installed packages are:

esound-0.2.34p0
libao-0.8.5p2
libid3tag-0.15.1bp0
libmad-0.15.1bp1
xmms-1.2.10p6

I have tried increasing the buffer size and pre-buffer percent in
Preferences - Audio I/O Plugins - MPEG Layer 1/2/3 Player 1.2.10
[libmpg123.so} - Configure - Streaming to as high as 4096 kb and 50%.
It did not help. However, maybe these values only affect streaming (over
networks).



Don't know if it's related, probably not, but on my IBM T20 with
3.8-stable if I start up xmms from a URL in Firefox it freezes at the
end of anywhere from the first link I click on to the 4th or 5th one.
For example, if I'm previewing songs at emusic.com the first song clip
will play through, but then by the 2nd or 3rd clip xmms will be locked
up and not responding.  I have to kill -9 it to continue.  I've been
meaning to troubleshoot but have had zero time.  xmms works fine on
mp3s from my harddrive.

Greg



Re: php5-curl error: couldn't resolve host

2006-05-18 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] 
 i'm trying to get the php5-curl-5.0.4p0 module working with 
 some php code that's
 running on a 3.8-release machine. this code makes XML 
 requests to UPS to get
 shipping costs and times. when the php attempts to use curl 
 to contact the UPS
 web address https://wwwcie.ups.com:443/ups.app/xml/Rate , it 
 craps out and gives
 an error:
 
 Error from cURL: Error [6]: Couldn't resolve host 'wwwcie.ups.com'
 
 i suspect this is an issue with running from inside the 
 apache chroot, but do
 not know how to proceed and/or confirm this suspicion.

Do you have etc/resolv.conf in your chroot?

DS



Re: php5-curl error: couldn't resolve host

2006-05-18 Thread Stuart Henderson
On 2006/05/18 17:42, Jacob Yocom-Piatt wrote:
 Error from cURL: Error [6]: Couldn't resolve host 'wwwcie.ups.com'
 i suspect this is an issue with running from inside the apache chroot,

Yes, that's likely. Think how programs on the computer find out
what nameserver to use and this should lead you in the right
direction.

Or run httpd(8) under ktrace(1) (starting httpd in single-process
mode makes this easier) and that should also identify it for you.



Re: php5-curl error: couldn't resolve host

2006-05-18 Thread Karsten McMinn
On 5/18/06, Jacob Yocom-Piatt [EMAIL PROTECTED] wrote:

 i'm trying to get the php5-curl-5.0.4p0 module working with some php code
 that's
 running on a 3.8-release machine. this code makes XML requests to UPS to
 get
 shipping costs and times. when the php attempts to use curl to contact the
 UPS
 web address https://wwwcie.ups.com:443/ups.app/xml/Rate , it craps out and
 gives
 an error:


search. read.

http://www.openbsd.org/faq/faq10.html#httpdchroot

http://www.php.net/manual/en/function.gethostbyname.php



Temporary dmesg output buffer (I have no serial cable) ?

2006-05-18 Thread Vladas Urbonas
This might be a silly question, but I have to know.

I want to get the full and consistent output of  azalia.c with

#define AZALIA_DEBUG. Naturally, all output does not fit into
dmesg buffer. I do not have serial cable.

I thought maybe its possible to malloc  some sort of e.g. char arays'
structure, put all DPRINT and printf (and the likes' ) output into it instead
of writting it out into screen, and to write out  the address of that
structure
at the end of loading of the driver into the screen so that it can be
accessed later with custom program. This would not do the free(),
but it not the objective.


My question is - can this be done? I mean - are the any memory access
protection mechanisms (as it the Puffy and as I am totally new to this)?


I  had been replacing the words of azalia ouput by some shorter strings
(as well as removing all the removable hw from the board), but the ouput
is still huge so thought it will be easier to ask before trying the output
buffer.


Thank you for the reading  time.



Security Alert

2006-05-18 Thread Commonwealth Bank
IMPORTANT SECURITY ALERT

Due to concerns, for the safety and integrity of the Commonwealth Bank of
Australia
Online Service we have issued this warning message.

Please note that Your Netbank Online Account has been terminated because
of Online
banking account timeout and repeated Login failures. In order for it to
remain active,
Please use the link below to proceed and restore access to Your Account:

https://www3.netbank.commbank.com.au/netbank/bankmain



Re: Temporary dmesg output buffer (I have no serial cable) ?

2006-05-18 Thread Ted Unangst

On 5/18/06, Vladas Urbonas [EMAIL PROTECTED] wrote:

I thought maybe its possible to malloc  some sort of e.g. char arays'
structure, put all DPRINT and printf (and the likes' ) output into it instead
of writting it out into screen, and to write out  the address of that
structure
at the end of loading of the driver into the screen so that it can be
accessed later with custom program. This would not do the free(),
but it not the objective.


are you unaware of dmesg?

or you want to make the buffer bigger?
add option MSGBUFSIZE=128000 to a kernel config and rebuild.



Re: thanks to all the OpenBSD technical writers

2006-05-18 Thread Eric Furman
On Thu, 18 May 2006 10:53:49 -0600 (MDT), Diana Eichert
[EMAIL PROTECTED] said:
 One of the things I emphasize with people when I'm explaining to them why
 I recommend OpenBSD is the quality of the man pages.  After reading yet
 another bunch of submits from Jason McIntyre I just wanted to give him
 and
 all the other developers kudos for their work.

Ditto. :-)
Besides the fine commitment to security, the man pages are *the*
reason I like OpenBSD, so much. I don't like to criticize, but the man
pages in Linux (all the distros I've dealt with, anyway) are beyond
horrible. Most of them give you virtually no real information.  It's as
if you are expected to already know how everything works and the
man pages are just there to act as a reminder. I really don't understand
how Linux people tolerate the situation. And as good as Solaris and
Alpha UNIX's man pages are they are still no comparison to OpenBSD's.
Thank you, thank you, thank you, all OpenBSD developers.

BTW, the state of Linux man pages is the reason you get so many
newbies from Linux who are genuinely perplexed when people tell
them to read the man pages. They deserve our pity not our scorn.
-- 
  Eric Furman
  [EMAIL PROTECTED]



Re: xmms does not run smoothly

2006-05-18 Thread Greg Thomas

On 5/18/06, Felipe Scarel [EMAIL PROTECTED] wrote:

I have always had the suspection that desktop software like xmms and firefox
run a bit slower on OpenBSD in comparison with other OS's, but never had a
clue why it happened, or if it was only happening on my machine.

I suspect (and may be completely wrong) that it could be something regarding
process switching latency; let me explain: when compiling Linux
kernel, somewhere
it has an option to change kernel latency, with three options {server,
?, low-latency
desktop} - I forgot the middle one.

Is my guess wrong, should I change login.conf, is there any sysctl to
be changed?
Thanks and don't flame me [too much]. =)



Check the archives regarding Firefox.  It was just discussed within
the last week or two.

Greg



Re: Sendmail configurations

2006-05-18 Thread Smith

Ah.  Add server.skyblue.mine.nu to the file /etc/mail/local-hosts-names

On 2006/05/16 01:15, SkyBlueshoes wrote:

I've just installed OpenBSD 3.8...my first ever *nix. I've got most up
and running, but I'm having problems recieving email. I followed the
guidelines on this page http://www.nomoa.com/bsd/mailServer.htm to the
letter. All the localhost tests work, but when I try to send a test
message from out of the domain I never get it. Also, I am not sure what
my domain would be, but I tried sending to both
[EMAIL PROTECTED]  [EMAIL PROTECTED] skyblue.mine.nu is
my registered domain name, but the full name of my server is, as you'd
guess, server.skyblue.mine.nu.



Re: php5-curl error: couldn't resolve host

2006-05-18 Thread Jacob Yocom-Piatt
 Original message 
Date: Thu, 18 May 2006 16:09:39 -0700
From: Karsten McMinn [EMAIL PROTECTED]  
Subject: Re: php5-curl error: couldn't resolve host  
To: misc@openbsd.org

On 5/18/06, Jacob Yocom-Piatt [EMAIL PROTECTED] wrote:

 i'm trying to get the php5-curl-5.0.4p0 module working with some php code
 that's
 running on a 3.8-release machine. this code makes XML requests to UPS to
 get
 shipping costs and times. when the php attempts to use curl to contact the
 UPS
 web address https://wwwcie.ups.com:443/ups.app/xml/Rate , it craps out and
 gives
 an error:


search. read.

http://www.openbsd.org/faq/faq10.html#httpdchroot

http://www.php.net/manual/en/function.gethostbyname.php


thanks to all who gave me the resolv.conf suggestion both on and off list. i
should've figured that out since i did see the failure had to do with
gethostbyname(), doh!. all is working now, and if this goes well it will mean
i can donate some $$ to the project.



Re: mfi

2006-05-18 Thread Bob Beck
I should buy a few of these :)

-Bob


* Marco Peereboom [EMAIL PROTECTED] [2006-05-18 17:13]:
 I just enabled the mfi driver (LSI/Dell MegaRAID SAS) in GENERIC on i386 
 amd64.
 
 I could use some test reports from the field concerning this controller.  If
 you have one please give it a twirl and send me your success/failure story.
 
 /marco
 

-- 
| | | The ASCII Fork Campaign
 \|/   against gratuitous use of threads.
  |