Re: tools in openbsd

2005-11-18 Thread Allen

I have been around with a doubt in my mind. While i see many good
tools in the net, i could not figure it out why they cannot be come
default in openbsd dist.


In general this page explains the story in general about particular  
software products:

http://www.openbsd.com/faq/faq1.html#HowAbout


For instance, i am very confortable with tools like qmail and djbdns.



As for these two programs in particular, they're both mentioned  
specifically on that FAQ page because of their restrictive licensing.



I ask because i love programming and i am very confident about my
work.


Certainly looking through the ports tree for the specific apps you  
have in mind is a good place to start. If you want to see a  
particular app included in OpenBSD, licensing permitting, the best  
place to start contributing in most cases is by making a port of that  
application, submit it to the ports@  list and see what the response is.


If you have a look at undeadly.org, there's a slide presentation  
there now that shows how quickly the ports tree has / is growing.


Lastly, it would probably serve you well to have a closer look  
through the FAQs to see if there are other similar things you might  
have in mind that might be addressed there.




Best,
Allen


http://www.memetrics.com -
Web Analytics from Memetrics



OpenBSD/i386 on IBM BladeCenter HS20 eServer install CD error

2005-11-18 Thread Bruno Carnazzi
  Hi all,

When I try to boot with install CD (cd38.iso), it hangs with
'pckbc_start: send error' (after wscons0)... GigaEthernet adapter are
successfully detected and configured (bge0/1) and SCSI controler too
(sd0/1). There is an error message at the very first kernel loading
stage that I can't read (too fast) about a memory trouble (CANNOT LOAD
MEMORY SEGMENT...). I have to press enter just before the kernel load
(saying booting /bsd.rd |\-/...) else it doesn't start... I've try
with a PS/2 keyboard and an USB keyboard, all failed... Is that a
keyboard trouble (bad luck !) or something else ?

I could be very fun if it can work ! (a BladeCenter full of OpenBSD, slurp :)

Best regards,

Bruno.



Re: ccd on active disks?

2005-11-18 Thread per engelbrecht

Markus Wernig wrote:

Hi misc

Is anybody aware of a document that describes how to ccd all slices
(including /) after installation?
I've installed 3.8 generic using just one of two identical disks. Now I
need to mirror that disk onto the other one. I copied the disklabel from
the active disk over. I can of course create ccd's for each slice, but
this means newfs and data loss, and won't work because I can't umount
the root.
Now I assume that my approach was intrinsically bound to fail or just
dumb wrong. I'm sorry if this is covered somewhere public - I found
references to a FAQ on MARC, but was just unable to find my question
covered in the related documentation.
One thing I came up with was to boot from install media and do it from
the shell there, then newfs and reinstall on the ccd devices. But I'm
really not quite sure.

The goal is to bring the box back online as fast as possible after a
disk crash and replacement, and to be then able to rebuild the raidset
online (dd is fine).

thx /markus




Hi Markus

I've worked with 'ccd' on a number of systems, but only for the purpose 
of putting a number of slices into a single bigger one, most often /var.

The easiest way of doint that is during install.

If your want a raid mirror for the entire! disk(s) then have a look at 
bioctl. Yes, you can control how 'ccd' should write to the entries in 
your ccdconfig file, but it's still not a raid solution and 'ccd' on 
/root is not possible (not to my knowledge).


/per
[EMAIL PROTECTED]



Re: Postfix SMTP Authentication using auxprop ldapdb plugin from OpenLDAP

2005-11-18 Thread Paul Jacobson
 Thanks for the idea, but I need to stick with Postfix in this case.  I
 am also trying to avoid having to run any extra authentication
 daemons.
 
 

Hi Don,

I'm about to upgrade an installation with an installation of cyrus-sasl2,
openldap, ldapdp and courier-imap 4.0.x from 3.6 - 3.8 this weekend.

 I'd definitely forget using about using cyrus-sasl2 2.1.20 from the 
ports - you really need to be using the lastest stable version.
 It transforms what was an excercise in hair pulling frustration
into a relatively straight forward procedure.

cheers
Paul



Re: skype security?

2005-11-18 Thread Tobias Ulmer
On Fri, Nov 18, 2005 at 11:14:22AM +0800, Lars Hansson wrote:
 Skype was brought to you by the same people who brought you
 Kazaa. Draw your own conclusions regarding ethics, security and
 openness from that.
 
 ---
 Lars Hansson
 


Skype was recently bought by ebay wich makes it only worse [1].

Have a look at SIP (and SIPS), there is lots of (open) soft and
hardware available.

Tobias

[1] http://www.skype.com/company/news/ebayfaq.html



Re: OpenBSD/i386 on IBM BladeCenter HS20 eServer install CD error

2005-11-18 Thread Bruno Carnazzi
Here is 2 PNG screenshots that might help (sorry, can't do text-only dump)...

The pckbc_start error can be found in :
http://www.kame.net/dev/cvsweb.cgi/kame/openbsd/sys/dev/ic/pckbc.c?rev=1.1.1.
2
in pckbc_start function...


On 11/18/05, Bruno Carnazzi [EMAIL PROTECTED] wrote:
   Hi all,

 When I try to boot with install CD (cd38.iso), it hangs with
 'pckbc_start: send error' (after wscons0)... GigaEthernet adapter are
 successfully detected and configured (bge0/1) and SCSI controler too
 (sd0/1). There is an error message at the very first kernel loading
 stage that I can't read (too fast) about a memory trouble (CANNOT LOAD
 MEMORY SEGMENT...). I have to press enter just before the kernel load
 (saying booting /bsd.rd |\-/...) else it doesn't start... I've try
 with a PS/2 keyboard and an USB keyboard, all failed... Is that a
 keyboard trouble (bad luck !) or something else ?

 I could be very fun if it can work ! (a BladeCenter full of OpenBSD, slurp
:)

 Best regards,

 Bruno.

[demime 1.01d removed an attachment of type image/png which had a name of 
pckbc_start.png]

[demime 1.01d removed an attachment of type image/png which had a name of 
ALLOCATE_RAM.png]



Re: OpenBSD Spanish mirror problem (ftp://ftp.rediris.es)

2005-11-18 Thread José Manuel Macías
El Thursday 17 November 2005 18:18, Alexander von Gernler escribis:
 As a general remark:  If you have questions about how to maintain a
 mirror, or if you want to report problems with a mirror, please
 contact the maintainer of the mirror first, or use the mirror list at
 
 [EMAIL PROTECTED] .

I think this mailing list should be added to the mirror's page. 
  This is the first time I have notice of it... where are the instructions
  to join the list?
 
 Writing such stuff on misc@ won't help us and you much, as most mirror
 maintainers don't read misc@ daily.

   I agree... :)
  
   atb,

   josi manuel.



Re: ccd on active disks?

2005-11-18 Thread Joachim Schipper
On Thu, Nov 17, 2005 at 04:47:03PM +0100, Markus Wernig wrote:
 Hi misc
 
 Is anybody aware of a document that describes how to ccd all slices
 (including /) after installation?
 I've installed 3.8 generic using just one of two identical disks. Now I
 need to mirror that disk onto the other one. I copied the disklabel from
 the active disk over. I can of course create ccd's for each slice, but
 this means newfs and data loss, and won't work because I can't umount
 the root.
 Now I assume that my approach was intrinsically bound to fail or just
 dumb wrong. I'm sorry if this is covered somewhere public - I found
 references to a FAQ on MARC, but was just unable to find my question
 covered in the related documentation.
 One thing I came up with was to boot from install media and do it from
 the shell there, then newfs and reinstall on the ccd devices. But I'm
 really not quite sure.
 
 The goal is to bring the box back online as fast as possible after a
 disk crash and replacement, and to be then able to rebuild the raidset
 online (dd is fine).
 
 thx /markus

Well, it's not ccd, but there are a couple of documents around that
describe how to put root on a RAID-1. This requires a custom kernel, but
works very well - for me at least.

And if the point is disaster recovery, a RAID-1 is as good as ccd if you
keep a spare custom kernel somewhere.

I seem to recall that the kernel will not autoconfigure ccd. That means
you can't put / on it, without monkeying around at least. However, you
could put / on a RAID-1, and then use ccd for the rest (if truly
paranoid, turn most of /etc, /opt, /dev and so on into symlinks to a ccd
mount...)

Joachim



Re: WLAN USB adapter (CNet CWD-854)

2005-11-18 Thread Maxim Bourmistrov
Device added with some help from [EMAIL PROTECTED]
But not workign yet.

On Thursday 17 November 2005 19:08, Maxim Bourmistrov wrote:
 Any ideas what should I do to enable CWD-854?
 It suppose to be an ural, but it is not. No ural0 after generic USB.
 Did I miss something?
 
 Related lines from dmesg:
 
 ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 11
 usb3 at ehci0: USB revision 2.0
 uhub3 at usb3
 uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
 uhub3: 6 ports with 6 removable, self powered
 
 ugen0 at uhub3 port 4
 ugen0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2
 
 //maxim



Re: ccd on active disks?

2005-11-18 Thread Nick Holland
Markus Wernig wrote:
 Hi misc
 
 Is anybody aware of a document that describes how to ccd all slices
 (including /) after installation?

You are wanting to RETROFIT ccd mirroring on a disk that was set up
without it?  No.  Not going to happen easily.

ccd won't do root, though you could use the ALTROOT system to nightly
duplicate root for you.  How often do you change the data on the root
partition?  Hint: you don't need to mirror root. You do need to make
sure your second drive has a bootable and pretty-current root, however.
 That's what ALTROOT does for you.

You *might* be able to do a ccd setup on the second drive, copy your
primary drive to it, boot off the new secondary drive, rebuild the first
drive for ccd config, then duplicate.

 I've installed 3.8 generic using just one of two identical disks. Now I
 need to mirror that disk onto the other one. I copied the disklabel from
 the active disk over. I can of course create ccd's for each slice, but
 this means newfs and data loss, and won't work because I can't umount
 the root.

oh, you will be unmounting the entire system.

 Now I assume that my approach was intrinsically bound to fail or just
 dumb wrong. I'm sorry if this is covered somewhere public - I found
 references to a FAQ on MARC, but was just unable to find my question
 covered in the related documentation.
 One thing I came up with was to boot from install media and do it from
 the shell there, then newfs and reinstall on the ccd devices. But I'm
 really not quite sure.

you will need to /practice/ on a non-production system.  I don't care
what RAID solution you use.  This is a must.

 The goal is to bring the box back online as fast as possible after a
 disk crash and replacement, and to be then able to rebuild the raidset
 online (dd is fine).

rebuilding with dd is done OFF LINE.  You can't duplicate a live file
system.  You also want to make sure your ccd'd partitions are as small
as you can get away with, yes, with most of your disk unused.  That's to
get rebuild time down as low as possible.


Are you working with a system with so much dynamic data that you can't
use a nightly (or weekly) dump/restore to a second drive?  This can be
easily done after initial install.  You can't easily retrofit S/W RAID
into an already configured system.

Nick.



Is the CDDL free Enough to get ZFS into OpenBSD?

2005-11-18 Thread Stefan Held
Hi,

this is a serious question. This really is not a try for trolling or
something, can someone clue me up?


--

  ___      
 / _ \ _ __   ___ _ __ | __ ) ___||  _ \On the side of the Box stands:
| | | | '_ \ / _ \ '_ \|  _ \___ \| | | |
| |_| | |_) |  __/ | | | |_) |__) | |_| |   This Software runs with:
 \___/| .__/ \___|_| |_|//|/Win98/Me/2000/XP or better.
  |_|   Then i installed OpenBSD :)

---
perl -e'map{print pack c,($|++?1:13)+ord,select$,,$,,$,,$|}split//,ESEL.$/'
---
GPG-Keyprint = EAF2 6A65 D102 F2DB 4970  2A67 455B 98F2 572C 3FA9

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: Is the CDDL free Enough to get ZFS into OpenBSD?

2005-11-18 Thread Johan Mson Lindman
On Friday 18 November 2005 13:14, you wrote:
 Hi,

 this is a serious question. This really is not a try for trolling or
 something, can someone clue me up?

As you could've derived from this rather lengthy discussion on tech@ earlier 
this year the answer is, no, atleast not into base.
http://marc.theaimsgroup.com/?l=openbsd-techm=110806948606417w=2


Regards
Johan M:son



Re: Is the CDDL free Enough to get ZFS into OpenBSD?

2005-11-18 Thread Hannah Schroeter
Hello!

On Fri, Nov 18, 2005 at 01:14:37PM +0100, Stefan Held wrote:
this is a serious question. This really is not a try for trolling or
something, can someone clue me up?

No, as far as I can see not.

Of course one could try to build it as LKM and to distribute it
separately or as port. For ports, CDDL will probably be ok I guess.

And I guess the CDDL wouldn't forbid making an LKM around the
ZFS code, either.

Kind regards,

Hannah.



Re: Is the CDDL free Enough to get ZFS into OpenBSD?

2005-11-18 Thread Stefan Held
Am Freitag, den 18.11.2005, 13:22 +0100 schrieb Johan Mson Lindman:

 As you could've derived from this rather lengthy discussion on tech@ earlier
 this year the answer is, no, atleast not into base.
 http://marc.theaimsgroup.com/?l=openbsd-techm=110806948606417w=2

My Bad. I do not follow [EMAIL PROTECTED] You are right i should make my 
homework.
Sorry for that and thx for the answers.


--

  ___      
 / _ \ _ __   ___ _ __ | __ ) ___||  _ \On the side of the Box stands:
| | | | '_ \ / _ \ '_ \|  _ \___ \| | | |
| |_| | |_) |  __/ | | | |_) |__) | |_| |   This Software runs with:
 \___/| .__/ \___|_| |_|//|/Win98/Me/2000/XP or better.
  |_|   Then i installed OpenBSD :)

---
perl -e'map{print pack c,($|++?1:13)+ord,select$,,$,,$,,$|}split//,ESEL.$/'
---
GPG-Keyprint = EAF2 6A65 D102 F2DB 4970  2A67 455B 98F2 572C 3FA9

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



quirk with pf on 3.8 vs 3.7

2005-11-18 Thread Chad M Stewart
While building a new openbsd 3.8/carp/pf firewall pair I discovered  
the following


rl1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:e0:29:5b:31:00
description: LAN
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.1.44 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::2e0:29ff:fe5b:3100%rl1 prefixlen 64 scopeid 0x2
inet 192.168.1.50 netmask 0xff00 broadcast 255.255.255.255


[EMAIL PROTECTED] grep ^int_if /etc/pf.conf
int_if=rl1

[EMAIL PROTECTED] grep ^nat /etc/pf.conf
nat on $ext_if inet proto { tcp, udp, icmp } from $int_if:network to  
any - 1.2.3.4

[EMAIL PROTECTED] pfctl -F nat; pfctl -f /etc/pf.conf ; pfctl -s nat
nat cleared
nat on rl0 inet proto tcp from 192.168.1.0/24 to any - 1.2.3.4
nat on rl0 inet proto tcp from 192.168.1.0/24 to any - 1.2.3.4
nat on rl0 inet proto udp from 192.168.1.0/24 to any - 1.2.3.4
nat on rl0 inet proto udp from 192.168.1.0/24 to any - 1.2.3.4
nat on rl0 inet proto icmp from 192.168.1.0/24 to any - 1.2.3.4
nat on rl0 inet proto icmp from 192.168.1.0/24 to any - 1.2.3.4


Then I changed just the nat line.

[EMAIL PROTECTED] grep ^nat /etc/pf.conf
nat on $ext_if inet proto { tcp, udp, icmp } from 192.168.1.0/24 to  
any - 1.2.3.4

[EMAIL PROTECTED] pfctl -F nat; pfctl -f /etc/pf.conf ; pfctl -s nat
nat cleared
nat on rl0 inet proto tcp from 192.168.1.0/24 to any - 1.2.3.4
nat on rl0 inet proto udp from 192.168.1.0/24 to any - 1.2.3.4
nat on rl0 inet proto icmp from 192.168.1.0/24 to any - 1.2.3.4


Appears to me that when the from is specified as a network  
(192.168.1.0/24) the result is 3 lines of nat rules, what I would  
expect.  What I don't understand is why if I specify $int_if:network  
(which I think is identical to my saying 192.168.1.0/24) there are  
two lines of output for every proto.  Anyone know why?  Normal?


From an OpenBSD 3.7 box

nat on $WAN_INTERFACE inet proto { tcp, udp, icmp } from \
$LAN_INTERFACE:network to any - $WAN_ADDRESS_1

# pfctl -s nat
nat on sis0 inet proto tcp from 192.168.1.0/24 to any - 1.2.2.2
nat on sis0 inet proto udp from 192.168.1.0/24 to any - 1.2.2.2
nat on sis0 inet proto icmp from 192.168.1.0/24 to any - 1.2.2.2

I think the behavior of a 3.8 pf box is the same, but the output is  
making debugging harder. :(


-Chad



Re: skype security?

2005-11-18 Thread Will H. Backman
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
 Tobias Ulmer
 Sent: Friday, November 18, 2005 3:50 AM
 To: misc@openbsd.org
 Subject: Re: skype security?
 
 On Fri, Nov 18, 2005 at 11:14:22AM +0800, Lars Hansson wrote:
  Skype was brought to you by the same people who brought you
  Kazaa. Draw your own conclusions regarding ethics, security and
  openness from that.
 
  ---
  Lars Hansson
 
 
 
 Skype was recently bought by ebay wich makes it only worse [1].
 
 Have a look at SIP (and SIPS), there is lots of (open) soft and
 hardware available.
 
 Tobias
 
 [1] http://www.skype.com/company/news/ebayfaq.html

Good native SIP softphone for OpenBSD?  Looking for reviews.  I connect
to my Asterisk machine using an IAX2 (Asterisk native protocol) client,
and let my asterisk machine do the SIP for me.



PF Queue problem

2005-11-18 Thread viq
Below is the snippet from my pf.conf with all relevant rules (i can paste the 
whole thing, just thought this will be easier to read).
The problem: when i start the program, the traffic from it gets properly 
queued as q_p2p_low. But after a while (10-20 minutes i think) it moves to 
q_def. Application is valknut, if that makes any difference, router is 
running OpenBSD-current (OpenBSD 3.8-current (GENERIC) #252: Tue Nov 15 
22:22:13 MST 2005). Any ideas what could be happening, and how to solve it?

Thanks in advance.

pf.conf snippet:

altq on $ext_if priq bandwidth 272Kb queue { q_pri, q_def, q_p2p_low, 
q_p2p_high }
queue q_pri priority 7
queue q_def priority 3 priq(red) qlimit 70
queue q_p2p_high priority 2 priq(default, red) qlimit 70
queue q_p2p_low priority 1 priq(red) qlimit 250

..

rdr on $ext_if proto { tcp, udp } from any to port $p2p_port \
- $internal_ip port $p2p_port

pass out keep state queue (q_def, q_pri)

pass quick on { lo0 lo $int_if }
antispoof quick for { lo0 lo $int_if }
pass in on $ext_if proto { tcp, udp} to $internal_ip port $p2p_port keep state 
queue (q_p2p_low, q_p2p_high)

-- 
viq

--
Okradaja nas na stacjach?  http://link.interia.pl/f18d4



Re: PF Queue problem

2005-11-18 Thread knitti
I don't know valknut (or the DirectConnect protocol), but if it is
similiar to other p2p filesharing protocols, then you do also uploads
on your outbound connection, e.g. if you connect to another host, and
this host happens to want something from you, you will upload it over
your outbound connection.
at least this case is not covered by the rules you posted.


--knitti



Re: PF Queue problem

2005-11-18 Thread viq
On Friday 18 of November 2005 16:58, knitti wrote:
 I don't know valknut (or the DirectConnect protocol), but if it is
 similiar to other p2p filesharing protocols, then you do also uploads
 on your outbound connection, e.g. if you connect to another host, and
 this host happens to want something from you, you will upload it over
 your outbound connection.
 at least this case is not covered by the rules you posted.

Good point. But after a while ALL traffic goes into the q_def queue. I guess 
the only thing that could help is forcing valknut to use only certain ports 
for outgoing connections... Which i have no idea how to do right now :( 

Snippet from pfctl -vv -s queue :

queue q_pri priority 7 
  [ pkts:  63759  bytes:4304556  dropped pkts:  0 bytes:  0 ]
  [ qlength:   0/ 50 ]
  [ measured: 9.7 packets/s, 5.17Kb/s ]
queue q_def priority 3 qlimit 70 priq( red ) 
  [ pkts:  85507  bytes:  118509579  dropped pkts:786 bytes: 1052782 ]
  [ qlength:  11/ 70 ]
  [ measured:23.5 packets/s, 261.71Kb/s ]
queue q_p2p_high priority 2 qlimit 70 priq( red default ) 
  [ pkts:   7340  bytes: 411376  dropped pkts:222 bytes:  13644 ]
  [ qlength:  10/ 70 ]
  [ measured: 0.4 packets/s, 200 b/s ]
queue q_p2p_low qlimit 250 priq( red ) 
  [ pkts:   6618  bytes:8879271  dropped pkts:  0 bytes:  0 ]
  [ qlength:  13/250 ]
  [ measured: 0.5 packets/s, 5.19Kb/s ]

So some traffic IS assigned to that queue. Just it doesn't match any of the 
uploads...

-- 
viq

--
Okradaja nas na stacjach?  http://link.interia.pl/f18d4



Re: cyrus-sasl2 patch

2005-11-18 Thread dontek
On 11/18/05, Paul Jacobson [EMAIL PROTECTED] wrote:
 Hi There,

 attached is a patch for cyrus-sasl2 v 2.1.21, to bring in all the
 fixes from the openbsd port 2.1.18 plus a couple of other fixes.

 2.1.21 gives you a ./configure option to build the ldapdb plugin so
 no messing around as with 2.1.18.

 You'll need to build  install cyrus-sasl without ldap support,
 install the openldap port with support for cyrus-sasl, then rebuild
 cyrus-sasl2 with ldapdb enabled.

 cheers
 Paul


Paul:

I caught this post right after I replied to your other mail on this
subject.  This seems to be the path I need to follow to get my
postfix/sasl/ldapdb/openldap install working.  Out of curiosity, why
the need to install sasl minus ldap support, install openldap, then
enable the ldapdb in sasl?.. just due to the port depends openldap
looks for?



Re: OpenCON 2005

2005-11-18 Thread Ed White
  I'm surprised that noone have posted any reports on the OpenCON held in
  Venice, Italy this weekend. I would like to thank everyone, and
  especially the staff and developers for a great and well-arranged
  conference. It was well worth the long journey from Norway!


Something was posted on Undeadly

http://undeadly.org/cgi?action=articlesid=20051116145737



Re: RAIDFrame, failed component

2005-11-18 Thread Kurt B. Kaiser
Dennis S.Davidoff [EMAIL PROTECTED] writes:

 Wednesday, November 16, 2005, 11:35:16 PM, you wrote:

 KBK I'm not sure what to make of 'component1'.  It's not an explicit
 KBK device, did you use that string your raid0.conf?  The first slot in
 KBK these commands should refer to an explicit device.

Brian A. Seklecki explained that, thanks.


 # raidctl -vF component1 raid0
 # raidctl -vP raid0
 # raidctl -s raid0
 raid0 Components:
/dev/wd1e: optimal
   component1: spared
 Spares:
/dev/wd0e: used_spare

Well, you got the spare used that time

 Parity status: clean
 Reconstruction is 100% complete.
 Parity Re-write is 100% complete.
 Copyback is 100% complete.

 # raidctl -r /dev/wd0e raid0
 # cat /etc/raid0.conf
 START array
 1 2 0

 START disks
 /dev/wd1e
 /dev/wd0e

So you modified raid0.conf?  I wonder why it didn't show up in the
status below?

You are very close at this point.  Since you are following the
instructions in raidctl (8) section Dealing with Component Failures,
text starting with The second option after the reconstruction is to
simply use /dev/sd4e in place of /dev/sd2e in the configuration file
and moved wd0e in the config file, I think should have been (and
apparently should still be, since -R failed) done.

 START layout
 128 1 1 1

 START queue
 fifo 100
 # raidctl -Rv /dev/wd0e raid0 
  
 raidctl: ioctl (RAIDFRAME_GET_INFO) failed

With this method, you have to fail wd0e before you can reconstruct on it.

raidctl -vF /dev/wd0e raid0  before raidctl -R

If you only have two drives, it's easier to follow the method in the
section starting with A second option is to rebuild directly onto
/dev/sd2e, because you don't have to modify raid0.conf.

I've had to reconstruct a couple of times using that method when I had
an unexpected power failure and my UPS didn't work.  The drive was
physically OK, but RAIDFrame failed it.

Sorry for the slow response, I was away yesterday.

 # raidctl -sv raid0
 raid0 Components:
/dev/wd1e: optimal
   component1: spared
 Spares:
/dev/wd0e: used_spare
 Component label for /dev/wd1e:
Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 777, Mod Counter: 348
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 156038272
RAID Level: 1
Autoconfig: Yes
Root partition: Yes
Last configured as: raid0
 component1 status is: spared.  Skipping label.
 raidctl: ioctl (RAIDFRAME_GET_COMPONENT_LABEL) failed

You really get this after removing wd0e with -r and modifying raid0.conf as 
above?

-- 
KBK



Create postfix account

2005-11-18 Thread netture

Hello

I have install postfix just to quick test it. but I have not see 
anything about creating user mail account.


could somebody help me on how to quick set up postfix and add users 
mails accounts ?


Thanks very much.

Excuses my broken english.



Re: Create postfix account

2005-11-18 Thread Jason Dixon

On Nov 18, 2005, at 11:50 AM, netture wrote:


Hello

I have install postfix just to quick test it. but I have not see  
anything about creating user mail account.


could somebody help me on how to quick set up postfix and add users  
mails accounts ?


http://www.postfix.org/docs.html

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net



thanks

2005-11-18 Thread David fire
hi
thanks all of you.
whit your help i have finished the router and gateway
thanks
david



Re: skype security?

2005-11-18 Thread dick
 Original message 
Date: Fri, 18 Nov 2005 11:14:22 +0800
From: Lars Hansson [EMAIL PROTECTED]  
Subject: Re: skype security?  
To: misc@openbsd.org

Skype was brought to you by the same people who brought you
Kazaa. Draw your own conclusions regarding ethics, security and
openness from that.

yeah, things like this make me worried about using skype. i also read throught
the paper by dr. berson and he lists some possible MITM attack routes against
skype. the one that really caught me eye (ow!) was this one:

A last scenario requires defeat of the security mechanisms at the Skype Central
Server. As I pointed out above, digital certificates created by the certificate
authority are the basis for identity in Skype.

since the central server is a KDC of sorts, it would be the ideal place to put a
backdoor. you could just forge the identity certificates that are stored in
the central server's database and you have a very easy wiretap. i'm pretty sure
this would easily facilitate hijacking session keys, but i guess we can't really
know about that unless we look at the source.

cheers,
jake



Re: Create postfix account

2005-11-18 Thread Roy Morris
 Hello
 
 I have install postfix just to quick test it. but I have not see 
 anything about creating user mail account.
 
 could somebody help me on how to quick set up postfix and add users 
 mails accounts ?
 
 Thanks very much.
 
 Excuses my broken english.

There a different kinds of users but in the simplest form
a postifx user would equal a local user. You should really
read the postfix docs. www.postfix.org 

cheers
rm



3.8 boot floppy stops at pcmcia

2005-11-18 Thread Fletch

Greets

Started to install 3.8 on my laptop (Compaq Presario 2100(2133AP)) this 
morning, but ran into a small issue.


Make the floppy38.fs, boot off it fine, starts doing all its kernel 
driver loading stuff, but then stops at


-- snip --
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
pcic0 at isa0 port 0x3e0/6 iomem 0xd/16384
pcic0 controller 0: Intel 82365L rev 2 has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1

-- end --

And thats about it.  Keyboard is non functional for cttl-alt-del, 
caps-lock doesn't flick the light on-off.  Just stopped.


Have had 3.7 running on this laptop before, but was having some issues 
with getting X.org running. Was going to upgrade to the latest version 
before asking about it thou.


Thanks in advance for any help on this.

Fletch




Here is my dmesg from 3.7

OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: mobile AMD Athlon(tm) XP 1800+ (AuthenticAMD 686-class) 1.53 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 526950400 (514600K)
avail mem = 473886720 (462780K)
using 4278 buffers containing 26451968 bytes (25832K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(65) BIOS, date 12/17/02, BIOS32 rev. 0 @ 0xfd730
pcibios0 at bios0: rev 2.1 @ 0xfd730/0x8d0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Acer Labs M1533 ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xf000 0xcf000/0x800 0xdf000/0x1000! 
0xe/0x4000!

cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ATI RS100 AGP rev 0x13
ppb0 at pci0 dev 1 function 0 ATI RS100 PCI rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon IGP 320M rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 2 function 0 Acer Labs M5237 USB rev 0x03: irq 9, 
version 1.0, legacy support

ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
autri0 at pci0 dev 6 function 0 Acer Labs M5451 Audio rev 0x02: irq 5
ac97: codec id 0x43585429 (Conexant CX20468 rev 1)
ac97: codec features reserved, headphone, 18 bit DAC, 18 bit ADC, No 3D 
Stereo

audio0 at autri0
midi0 at autri0: 4DWAVE MIDI UART
pcib0 at pci0 dev 7 function 0 Acer Labs M1533 ISA rev 0x00
vendor Acer Labs, unknown product 0x5457 (class communications 
subclass modem, rev 0x00) at pci0 dev 8 function 0 not configured

cbb0 at pci0 dev 10 function 0 O2 Micro OZ69[17]2 CardBus rev 0x00: irq 5
pciide0 at pci0 dev 16 function 0 Acer Labs M5229 UDMA IDE rev 0xc4: 
DMA, channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: ST960822A
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: QSI, DVD-ROM SDR-083, MX13 SCSI0 5/cdrom 
removable

cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
Acer Labs M7101 Power Mgmt rev 0x00 at pci0 dev 17 function 0 not 
configured
sis0 at pci0 dev 18 function 0 NS DP83815 10/100 rev 0x00: DP83816A, 
irq 11, address 00:0b:cd:18:7a:ae

nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using 
wsdisplay0

pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
biomask e76d netmask ef6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Re: 3.8 boot floppy stops at pcmcia

2005-11-18 Thread David Hill
On Sat, Nov 19, 2005 at 06:24:49AM +1300, Fletch wrote:
 Greets
 
 Started to install 3.8 on my laptop (Compaq Presario 2100(2133AP)) this 
 morning, but ran into a small issue.
 
 Make the floppy38.fs, boot off it fine, starts doing all its kernel 
 driver loading stuff, but then stops at
 
 -- snip --
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 pcic0 at isa0 port 0x3e0/6 iomem 0xd/16384
 pcic0 controller 0: Intel 82365L rev 2 has sockets A and B
 pcmcia0 at pcic0 controller 0 socket 0
 pcmcia1 at pcic0 controller 0 socket 1
 
 -- end --
 
 And thats about it.  Keyboard is non functional for cttl-alt-del, 
 caps-lock doesn't flick the light on-off.  Just stopped.
 
 Have had 3.7 running on this laptop before, but was having some issues 
 with getting X.org running. Was going to upgrade to the latest version 
 before asking about it thou.
 
 Thanks in advance for any help on this.
 
 Fletch
 
 
 
 
 Here is my dmesg from 3.7
 
 OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: mobile AMD Athlon(tm) XP 1800+ (AuthenticAMD 686-class) 1.53 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real mem  = 526950400 (514600K)
 avail mem = 473886720 (462780K)
 using 4278 buffers containing 26451968 bytes (25832K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+(65) BIOS, date 12/17/02, BIOS32 rev. 0 @ 0xfd730
 pcibios0 at bios0: rev 2.1 @ 0xfd730/0x8d0
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries)
 pcibios0: PCI Interrupt Router at 000:07:0 (Acer Labs M1533 ISA rev 0x00)
 pcibios0: PCI bus #2 is the last bus
 bios0: ROM list: 0xc/0xf000 0xcf000/0x800 0xdf000/0x1000! 
 0xe/0x4000!
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 ATI RS100 AGP rev 0x13
 ppb0 at pci0 dev 1 function 0 ATI RS100 PCI rev 0x01
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 5 function 0 ATI Radeon IGP 320M rev 0x00
 wsdisplay0 at vga1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 ohci0 at pci0 dev 2 function 0 Acer Labs M5237 USB rev 0x03: irq 9, 
 version 1.0, legacy support
 ohci0: SMM does not respond, resetting
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 4 ports with 4 removable, self powered
 autri0 at pci0 dev 6 function 0 Acer Labs M5451 Audio rev 0x02: irq 5
 ac97: codec id 0x43585429 (Conexant CX20468 rev 1)
 ac97: codec features reserved, headphone, 18 bit DAC, 18 bit ADC, No 3D 
 Stereo
 audio0 at autri0
 midi0 at autri0: 4DWAVE MIDI UART
 pcib0 at pci0 dev 7 function 0 Acer Labs M1533 ISA rev 0x00
 vendor Acer Labs, unknown product 0x5457 (class communications 
 subclass modem, rev 0x00) at pci0 dev 8 function 0 not configured
 cbb0 at pci0 dev 10 function 0 O2 Micro OZ69[17]2 CardBus rev 0x00: irq 5
 pciide0 at pci0 dev 16 function 0 Acer Labs M5229 UDMA IDE rev 0xc4: 
 DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
 wd0 at pciide0 channel 0 drive 0: ST960822A
 wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: QSI, DVD-ROM SDR-083, MX13 SCSI0 5/cdrom 
 removable
 cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 Acer Labs M7101 Power Mgmt rev 0x00 at pci0 dev 17 function 0 not 
 configured
 sis0 at pci0 dev 18 function 0 NS DP83815 10/100 rev 0x00: DP83816A, 
 irq 11, address 00:0b:cd:18:7a:ae
 nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
 isa0 at pcib0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using 
 wsdisplay0
 pmsi0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pmsi0 mux 0
 pcppi0 at isa0 port 0x61
 midi1 at pcppi0: PC speaker
 sysbeep0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
 pcmcia0 at cardslot0
 biomask e76d netmask ef6d ttymask ffef
 pctr: user-level cycle counter enabled
 mtrr: Pentium Pro MTRR support
 dkcsum: wd0 matched BIOS disk 80
 root on wd0a
 rootdev=0x0 rrootdev=0x300 rawdev=0x302
 

http://www.openbsd.org/faq/faq4.html#MkInsMedia

Use floppyC38.fs for laptops.



Re: Is the CDDL free Enough to get ZFS into OpenBSD?

2005-11-18 Thread Ted Unangst
On 11/18/05, Stefan Held [EMAIL PROTECTED] wrote:
 this is a serious question. This really is not a try for trolling or
 something, can someone clue me up?

never mind license, i think you'll find a port rather on the difficult
side.  i haven't looked at the code, but every description i've read
leads me to believe it has tendrils all over the i/o layer.



Re: 3.8 boot floppy stops at pcmcia

2005-11-18 Thread Fletch
Seems to boot from the cd38.iso alright thou.  Think thats a bit 
strange, but I'm not complaining.


F


Fletch wrote:

Greets

Started to install 3.8 on my laptop (Compaq Presario 2100(2133AP)) this 
morning, but ran into a small issue.


Make the floppy38.fs, boot off it fine, starts doing all its kernel 
driver loading stuff, but then stops at


-- snip --
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
pcic0 at isa0 port 0x3e0/6 iomem 0xd/16384
pcic0 controller 0: Intel 82365L rev 2 has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1

-- end --

And thats about it.  Keyboard is non functional for cttl-alt-del, 
caps-lock doesn't flick the light on-off.  Just stopped.


Have had 3.7 running on this laptop before, but was having some issues 
with getting X.org running. Was going to upgrade to the latest version 
before asking about it thou.


Thanks in advance for any help on this.

Fletch




Here is my dmesg from 3.7

OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: mobile AMD Athlon(tm) XP 1800+ (AuthenticAMD 686-class) 1.53 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE 


real mem  = 526950400 (514600K)
avail mem = 473886720 (462780K)
using 4278 buffers containing 26451968 bytes (25832K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(65) BIOS, date 12/17/02, BIOS32 rev. 0 @ 0xfd730
pcibios0 at bios0: rev 2.1 @ 0xfd730/0x8d0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Acer Labs M1533 ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xf000 0xcf000/0x800 0xdf000/0x1000! 
0xe/0x4000!

cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ATI RS100 AGP rev 0x13
ppb0 at pci0 dev 1 function 0 ATI RS100 PCI rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon IGP 320M rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 2 function 0 Acer Labs M5237 USB rev 0x03: irq 9, 
version 1.0, legacy support

ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
autri0 at pci0 dev 6 function 0 Acer Labs M5451 Audio rev 0x02: irq 5
ac97: codec id 0x43585429 (Conexant CX20468 rev 1)
ac97: codec features reserved, headphone, 18 bit DAC, 18 bit ADC, No 3D 
Stereo

audio0 at autri0
midi0 at autri0: 4DWAVE MIDI UART
pcib0 at pci0 dev 7 function 0 Acer Labs M1533 ISA rev 0x00
vendor Acer Labs, unknown product 0x5457 (class communications 
subclass modem, rev 0x00) at pci0 dev 8 function 0 not configured

cbb0 at pci0 dev 10 function 0 O2 Micro OZ69[17]2 CardBus rev 0x00: irq 5
pciide0 at pci0 dev 16 function 0 Acer Labs M5229 UDMA IDE rev 0xc4: 
DMA, channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: ST960822A
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: QSI, DVD-ROM SDR-083, MX13 SCSI0 5/cdrom 
removable

cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
Acer Labs M7101 Power Mgmt rev 0x00 at pci0 dev 17 function 0 not 
configured
sis0 at pci0 dev 18 function 0 NS DP83815 10/100 rev 0x00: DP83816A, 
irq 11, address 00:0b:cd:18:7a:ae

nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using 
wsdisplay0

pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
biomask e76d netmask ef6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302




Issues getting Xorg running

2005-11-18 Thread Fletch

Greets

Have had X running under linux for many moons now and so figure I would 
not have any problems under openbsd.  However:


I install all the required base packages, boot and login as root.

I run xorgcfg, and my screen blinks and it fails with Caught signal 11. 
 Server aborting.  So I run xorgconfig instead to set everything up in 
text mode.  Setup all the values as per many times before (under linux), 
and then run startx.  screen blinks, Caught signal 11.  Server aborting. 
 Have checked the logs, nothing helpful, googled the inet, nothing 
helpful.  Have checked that machdep.allowaperture=2 is set in 
sysctl.conf, and am running kernel GENERIC#138 i386, so option APERTURE 
is set according to the FAQ.


Did this under 3.7 as well.

Does anyone know why?

Thanks

Fletch

-- Error Log --

(II) Setting vga for screen 0.
(II) RADEON(0): MMIO registers at 0xe410
(==) RADEON(0): Write-combining range (0xe410,0x8) was already clear
(II) Loading sub module vgahw
(II) LoadModule: vgahw
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor=X.Org Foundation
compiled for 6.8.2, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.7
(II) RADEON(0): vgaHWGetIOBase: hwp-IOBase is 0x03d0, hwp-PIOOffset is 
0x

(II) RADEON(0): PCI bus 1 card 5 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(II) Loading sub module int10
(II) LoadModule: int10
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(II) RADEON(0): initializing int10
(==) RADEON(0): Write-combining range (0xa,0x2) was already clear
(==) RADEON(0): Write-combining range (0xc,0x4) was already clear
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(==) RADEON(0): Write-combining range (0x0,0x1000) was already clear
(--) RADEON(0): Chipset: ATI Radeon IGP320M (U1) 4336 (ChipID = 0x4336)
(--) RADEON(0): Linear framebuffer at 0xec00
(--) RADEON(0): VideoRAM: 8192 kByte (64 bit DDR SDRAM)
(II) Loading sub module ddc
(II) LoadModule: ddc
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module i2c
(II) LoadModule: i2c
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.2.0
ABI class: X.Org Video Driver, version 0.7
(II) RADEON(0): I2C bus DDC initialized.
(II) RADEON(0): Legacy BIOS detected
(II) RADEON(0): LVDS port is not in connector table, added in.
(WW) RADEON(0): LCD DDC Info Table found!
(II) RADEON(0): Connector0: DDCType-5, DACType-1, TMDSType--1, 
ConnectorType-1
(II) RADEON(0): Connector1: DDCType-3, DACType-0, TMDSType--1, 
ConnectorType-2

(II) RADEON(0): I2C device DDC:ddc2 registered at address 0xA0.
(II) RADEON(0): I2C device DDC:ddc2 removed.
(II) RADEON(0): I2C device DDC:ddc2 registered at address 0xA0.
(II) RADEON(0): I2C device DDC:ddc2 removed.
(II) RADEON(0): I2C device DDC:ddc2 registered at address 0xA0.
(II) RADEON(0): I2C device DDC:ddc2 removed.
(II) RADEON(0): DDC Type: 3, Detected Type: 0
(II) RADEON(0):
(II) RADEON(0): Primary:
 Monitor   -- LVDS
 Connector -- VGA
 DAC Type  -- Primary
 TMDS Type -- NONE
 DDC Type  -- VGA_DDC

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 11.  Server aborting


Please consult the The X.Org Foundation support
 at http://wiki.X.Org
 for help.
Please also check the log file at /var/log/Xorg.0.log for additional 
information.


-- Error Log --

-- xorg.conf --

-- snip --

# **
# Monitor section
# **

# Any number of monitor sections may be present

Section Monitor
Identifier  Monitor0
HorizSync   31.5 - 48.5
VertRefresh 40-70
EndSection

# Device configured by xorgconfig:

Section Device
Identifier  Card0
Driver  radeon
#VideoRam8192
# Insert Clocks lines here if appropriate
EndSection


# **
# Screen sections
# **

Section Screen
Identifier  Screen 1
Device  Card0
Monitor Monitor0
DefaultDepth 24

Subsection Display
Depth   8
Modes   1024x768 800x600
ViewPort0 0
EndSubsection
Subsection Display
Depth   16
Modes   1024x768 800x600
   

Possible bug in ksh tab completion

2005-11-18 Thread Arnaud Bergeron
I noticed that, using ksh, if you try to tab-complete any filename
that has a '[' in it while there are more than one file in the
directory will fail.  Simple example:

$ mkdir test
$ cd test
$ touch [a] [b]
$ pico \[a

at the last line, if you type tab, the system beeps and nothing else
happens.  It is not such a big deal  for files with small names like
the ones in the example but can get annoying if you have to type in
verbatim a 60-caracter filename.

So this leads to my question.  Is it a design feature,  a POSIX
requierment, or simply something that has gone unnoticed?

--
They allowed us to set up a separate division almost, that is physically,
geographically, psychologically and spiritually different from what Bill
himself calls the Borg
 - Peter Moore, V.P. in charge of Xbox 360 marketing at Microsoft.



Drives connected to pcscp0 disappeared.

2005-11-18 Thread Matthias Kilian
Hi,

I just noticed that the cd and dvd drives connected to my Tekram
DC-390 host adapter aren't detected since a few days.

What follows are the dmesg of my current system and a diff against a
dmesg some months ago. Please note that

a) in my current system, Ottos patch to sys/sys/queue.h is applied,
b) I roughly remember to used one of the drives a week ago.

If this is neither a PEBKAC nor a known issue, I'll have a look at my
recent backups and search for the very last time the drives have been
detected.

Ciao,
Kili

OpenBSD 3.8-current (GENERIC) #110: Fri Nov 18 20:57:14 CET 2005
[EMAIL PROTECTED]:/var/compile/GENERIC
cpu0: AMD Athlon(TM) XP 2400+ (AuthenticAMD 686-class, 256KB L2 cache) 1.99 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: TS
real mem  = 1073307648 (1048152K)
avail mem = 972795904 (949996K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(bf) BIOS, date 04/21/04, BIOS32 rev. 0 @ 0xf1aa0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x2162
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xd000 0xd/0x6000! 0xd8000/0x1800 0xdc000/0x400 
0xe/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8235 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon 9200 SE Sec rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ATI Radeon 9200 SE rev 0x01 at pci1 dev 0 function 1 not configured
bce0 at pci0 dev 9 function 0 Broadcom BCM4401 rev 0x01: irq 6, address 
00:e0:18:9a:2a:7d
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
pcscp0 at pci0 dev 13 function 0 AMD 53c974 PCscsi-PCI rev 0x10: irq 9
pcscp0: AM53C974, 40MHz, SCSI ID 7
pcscp0: SCSI bus reset
scsibus0 at pcscp0: 8 targets
trm0 at pci0 dev 14 function 0 Tekram DC-3x5U rev 0x01: irq 5
scsibus1 at trm0: 16 targets
trm0: target 1 using 16 bit 20.83 MHz, Offset 15 data transfers 
st0 at scsibus1 targ 1 lun 0: HP, C5683A, C104 SCSI2 1/sequential removable
st0: drive empty or not ready
ral0 at pci0 dev 15 function 0 Ralink RT2560 rev 0x01: irq 6, address 
00:0f:ea:0c:84:5a
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 5
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: Maxtor 6Y080L0
wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: channel 1 disabled (no drives)
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 6
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auvia0
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask ff27 netmask ff67 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
umass0 at uhub3 port 3 configuration 1 interface 0
umass0: Genesyslogic USB Mass Storage Device, rev 2.00/0.33, addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets
sd0 at scsibus2 targ 1 lun 0: SAMSUNG, SV1604N, 0811 SCSI0 0/direct fixed
sd0: 152627MB, 152627 cyl, 64 head, 32 sec, 512 bytes/sec, 312581808 sec total
uhub4 at uhub0 port 1
uhub4: Chicony Generic USB Hub, rev 1.10/1.00, addr 2
uhub4: 3 ports with 2 removable, bus powered
uhidev0 at uhub4 port 1 configuration 1 interface 0
uhidev0: Chicony PFU-65 USB Keyboard, rev 1.10/1.00, addr 3, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0

Re: Possible bug in ksh tab completion

2005-11-18 Thread Matthias Kilian
On Fri, Nov 18, 2005 at 03:53:38PM -0500, Arnaud Bergeron wrote:
 I noticed that, using ksh, if you try to tab-complete any filename
 that has a '[' in it while there are more than one file in the
 directory will fail.  Simple example:
[...]
 So this leads to my question.  Is it a design feature,  a POSIX
 requierment, or simply something that has gone unnoticed?

ksh would need some kind of incremental parser for both parsing
scripts as well for doing tab-completion. Unfortunately, using a
common parser for normal use (parse a script) and for special
interactive use (completion) isn't trivial. The edit implementations
(both emacs and vi) use lots of ad-hoc stuff.

I'd the idea of using a common parser implemented with yacc(1), but
Otto pointed out that this wouldn't help much but also bloat ksh.

So, for now, completion won't work for some pathological cases ('{',
'@', and other unusual characters).

Fixing this would be more than one or two days of work. But have a
look at att ksh -- it even sucks more if it comes to completion.

Ciao,
Kili



Re: Drives connected to pcscp0 disappeared.

2005-11-18 Thread Martin Reindl
Matthias Kilian [EMAIL PROTECTED] wrote:

 Hi,
 
 I just noticed that the cd and dvd drives connected to my Tekram
 DC-390 host adapter aren't detected since a few days.
 
 What follows are the dmesg of my current system and a diff against a
 dmesg some months ago. Please note that
 
 a) in my current system, Ottos patch to sys/sys/queue.h is applied,
 b) I roughly remember to used one of the drives a week ago.
 
 If this is neither a PEBKAC nor a known issue, I'll have a look at my
 recent backups and search for the very last time the drives have been
 detected.

Cannot reproduce here on amd64, need more details.

Martin

OpenBSD 3.8-current (GENERIC) #4: Fri Nov 18 23:39:43 CET 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 536145920 (523580K)
avail mem = 448176128 (437672K)
using 13140 buffers containing 53821440 bytes (52560K) of memory
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon(tm) 64 Processor 3000+, 1995.85 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
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 [...] pcscp0 at pci0 dev
12 function 0 AMD 53c974 PCscsi-PCI rev 0x10: irq 11 pcscp0:
AM53C974, 40MHz, SCSI ID 7 scsibus1 at pcscp0: 8 targets
cd1 at scsibus1 targ 2 lun 0: PLEXTOR, CD-ROM PX-32TS, 1.03 SCSI2
5/cdrom removable sd0 at scsibus1 targ 6 lun 0: SEAGATE, ST34371W,
HP03 SCSI2 0/direct fixed sd0: 4095MB, 5172 cyl, 10 head, 162 sec, 512 
bytes/sec, 8388314 sec total
[...]



Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-18 Thread J Moore
On Wed, Nov 16, 2005 at 09:58:28AM -0800, the unit calling itself Greg Thomas 
wrote:
 On 11/15/05, J Moore [EMAIL PROTECTED] wrote:
 
  On Wed, Nov 16, 2005 at 10:59:07AM +0800, the unit calling itself Lars
  Hansson wrote:
   On Tue, 15 Nov 2005 20:48:38 -0600
   J Moore [EMAIL PROTECTED] wrote:
At least it's not incorrect. How about:
1) local clock error=XXs, adjusting
or,
2) adjusting local clock, error=XXs
  
   Error? There's no error. As many people have said before, the current
  log
   message is correct.
   PEBKAC.
 
  It really doesn't matter how many people say it. The words are defined
  in any English dictionary, and the log message is an incorrect
  description of what is being done. But it's a free world - you do have
  the option to dwell in ignorance.
 
 
 What part of adjusting do you not understand? Nowhere in the log message
 does it say that that adjusting is finished. You are just being obnoxious
 for obnoxious' sake because you didn't get your way.
 
 Greg

No, Greg - I'm not trying to be obnoxious for obnoxious' sake - are you? 
What part of the definition of the word by to you not understand?

Have you looked the word up in a dictionary? Have you imagined yourself 
in a situation where you were standing in front of a clock, and someone 
said to you, adjust that clock by 30 minutes, Greg.

Are you telling me that you would turn to this person, and say, I'm 
sorry, but I don't understand what that means... do you mean change the 
time from 12:00 to 12:30, or do you mean change the clock by a tiny 
amount?

What part of that do you not understand, Greg? Huh? I'd really like for 
you to explain the source of your confusion to the entire friggin' world 
here. Were you sick that day when the teacher went over this?

Now, that said - i want you to leave me the f**k alone, and go somewhere 
else to get your English lessons. 

Jay



Intel 82801 sound not working on OpenBSD 3.8

2005-11-18 Thread wkranec
Hello,

I have just installed OpenBSD 3.8 on my laptop, which has an Intel
82801 sound chip.  I believe that the hardware is detected fine (see
attached dmesg output), but I can't get sound to play.  I have tried
both playing an mp3 (via mpg321) and cat somefile  /dev/audio with no
luck.

I am not exactly sure that the problem is related to the audio driver,
since both commands change play.open=1 and play.active=1 from 0 in the
output of audioctl -a.

I have set output.master.mute=off and output.headphone.mute=off
through mixerctl, but this has not resulted in sound through either
speakers or headphones.

I have tried googling for this situation with little success.  Any
insights you all could offer would be appreciated.

Thanks,

Bill
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.70GHz (GenuineIntel 686-class) 1.70 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
cpu0: Enhanced SpeedStep 1700 MHz (1340 mV): speeds: 1700, 1400, 1200, 1000, 
800, 600 MHz
real mem  = 501719040 (489960K)
avail mem = 450805760 (440240K)
using 4278 buffers containing 25190400 bytes (24600K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(64) BIOS, date 07/21/05, BIOS32 rev. 0 @ 0xfd6d0
pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/304 (17 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xc600! 0xcc800/0x1800 0xdf000/0x1000! 0xe/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02
Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured
Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture at 
0xe800, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 3
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83
pci1 at ppb0 bus 1
cbb0 at pci1 dev 7 function 0 vendor Texas Instruments, unknown product 
0x8031 rev 0x00pci_intr_map: no mapping for pin A
: couldn't map interrupt
vendor Texas Instruments, unknown product 0x8032 (class serial bus subclass 
Firewire, rev 0x00) at pci1 dev 7 function 2 not configured
vendor Texas Instruments, unknown product 0x8033 (class mass storage subclass 
miscellaneous, rev 0x00) at pci1 dev 7 function 3 not configured
bce0 at pci1 dev 8 function 0 Broadcom BCM4401B0 rev 0x02: irq 10, address 
00:03:25:2d:91:3f
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
iwi0 at pci1 dev 9 function 0 Intel PRO/Wireless 2200BG rev 0x05: irq 10, 
address 00:13:ce:3d:cf:e3
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC25N080ATMR04-0
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-RW GCA-4080N, 0G34 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
Intel 82801DB SMBus rev 0x03 at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x03: irq 10, ICH4 
AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x03 at pci0 dev 31 function 6 not configured
isa0 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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot

Motherboard recommendations? Pentium IV, 2GB+ RAM?

2005-11-18 Thread C. Bensend
Hey folks,

   I've been pouring over the archives for a couple of days now,
looking for recommendations for a Pentium IV motherboard for a new
server I'm building.  I've found a lot of AMD and AMD64 posts, but
hardly any P4s.  I would really appreciate any suggestions from any
of you that own motherboards with the following specs:

Needed:

* 1+ PCI-X slot, 64-bit 133MHz (one required)
* Intel Pentium IV, don't care what socket
* Minimum 2GB RAM capacity
* PC3200 RAM, if possible (already have 1GB stick just sitting around)

Wanted:

* Decent gigabit NIC built in, if possible (ie, not %[EMAIL PROTECTED] 
Broadcom)
* 4GB RAM capacity would be nice

Don't need:

* SCSI/SATA on board, not necessary, system will have LSI 21320B U320
  in PCI-X slot (uses 53C1030 chipset, should be supported?)
* Sound
* Video (can pop in crap PCI video card, don't need graphics)

   This server will be running PHP-based webmail with local IMAP
server, SpamAssassin + PostgreSQL (for Bayes), and webhosting via
Apache for a handful of sites.  Very few webmail users, but some
pretty large mail stores that drive Courier into the ground (open to
suggestions for different IMAP servers).

   I'd love to hear from folks that have had good (or even bad)
experiences with motherboards.  This machine will be running
-STABLE.

Thanks a bunch!

Benny


-- 
Young lady, I yelled at you because that paperwork looked like it
had been done by a drunk four-year-old. -- Dr. Bob Kelso, Scrubs



Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-18 Thread Stuart Henderson
On 2005/11/18 17:53:45, J Moore wrote:
 No, Greg - I'm not trying to be obnoxious for obnoxious' sake - are you? 
 What part of the definition of the word by to you not understand?
 
 Have you looked the word up in a dictionary? Have you imagined yourself 
 in a situation where you were standing in front of a clock, and someone 
 said to you, adjust that clock by 30 minutes, Greg.

'adjusting' is a good choice, since a search on list archives using that
as a keyword will find plenty of explanation...

ntpd(8) *may* benefit from a few explanatory words, although that's
debatable, since adjtime(2) is referenced and explains things well enough.



pcmcia aironet card works in 3.7 but not 3.8?

2005-11-18 Thread Matt Van Mater
I have an old laptop where I use a Cisco aironet 350 pcmcia card for
wireless access.  This network card worked fine on this same laptop in
3.7 but now when I try to upgrade or give a fresh install to 3.8 the
card no longer works after the installation.

During the initial installation, the card is detected properly and can
receive an IP address via DHCP.  I can then install 3.8 via ftp over
this wireless card.  Upon the first reboot, the card appears to be
detected properly in the dmesg, but I get an error message highlighted
in blue that states an0: failed to enable MAC.  Has something
changed in the aironet drivers, or some other area that might cause
this?  Perhaps there is some difference between the bsd.rd kernel and
the stock bsd kernel that might affect this?

This is all on happening on the generic 3.8 kernel.  I cannot supply a
dmesg yet because I have no way to get it off the system at the moment
(need to go grab a floppy drive or serial cable).  The best info I can
give for the time being is that the laptop is a Dell Latitude CPi
(400mhz, 128mb ram, 6 G hard drive to give you a feel for it's age).

Any words of wisdom?

Matt



Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-18 Thread Ted Unangst
[i was trying to stay away, but can't.]
On 11/18/05, J Moore [EMAIL PROTECTED] wrote:
 On Wed, Nov 16, 2005 at 09:58:28AM -0800, the unit calling itself Greg Thomas 
 wrote:
  What part of adjusting do you not understand? Nowhere in the log message
  does it say that that adjusting is finished. You are just being obnoxious
  for obnoxious' sake because you didn't get your way.
 
  Greg

 No, Greg - I'm not trying to be obnoxious for obnoxious' sake - are you?
 What part of the definition of the word by to you not understand?

 Have you looked the word up in a dictionary? Have you imagined yourself
 in a situation where you were standing in front of a clock, and someone
 said to you, adjust that clock by 30 minutes, Greg.

the log message says adjusting.  that's the present participle (not
to be confused with gerunds).  it means not done yet.

q: what are you doing in front of the clock?
a1: i adjust the time (this instant only) -- no
a2: i adjusted the time -- no
a3: i will adjust the time -- no
a4: i'm adjusting the time -- we have a winner.  will you be done
adjusting the time the instant that the sentence is out of your mouth?
 or will the adjusting [gerund form here] continue for some time after
the statement is issued?



Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-18 Thread Tony
Ted Unangst:
 [i was trying to stay away, but can't.]

I've never really trusted prepositions ;)
By and by, stand by that clock and adjust it by 30 minutes,
by whatever means and by whatever rubric you deem appropriate.
By which direction, I wonder.

 On 11/18/05, J Moore [EMAIL PROTECTED] wrote:
  On Wed, Nov 16, 2005 at 09:58:28AM -0800, the unit calling
 itself Greg Thomas wrote:
   What part of adjusting do you not understand? Nowhere in the
 log message
   does it say that that adjusting is finished. You are just
 being obnoxious
   for obnoxious' sake because you didn't get your way.
  
   Greg
 
  No, Greg - I'm not trying to be obnoxious for obnoxious' sake - are you?
  What part of the definition of the word by to you not understand?
 
  Have you looked the word up in a dictionary? Have you imagined yourself
  in a situation where you were standing in front of a clock, and someone
  said to you, adjust that clock by 30 minutes, Greg.

 the log message says adjusting.  that's the present participle (not
 to be confused with gerunds).  it means not done yet.

 q: what are you doing in front of the clock?
 a1: i adjust the time (this instant only) -- no
 a2: i adjusted the time -- no
 a3: i will adjust the time -- no
 a4: i'm adjusting the time -- we have a winner.  will you be done
 adjusting the time the instant that the sentence is out of your mouth?
  or will the adjusting [gerund form here] continue for some time after
 the statement is issued?



Help with bridging firewall failover w/ CARP, OpenBSD 3.7

2005-11-18 Thread Ramsey Tantawi
I can't get failover of a bridging firewall to work using CARP and OpenBSD 3.7.

All the documentation + googling I've done leads me to believe it
*should* work.  I think.  But with everything setup all I get is a
flood of ARP requests that paralyze the network and the firewalls.

The setup:

Two computers, each with 4 Ethernet ports:

fxp0 -- WAN -- no IP address
rl0 -- LAN -- no IP address
rl1 -- SSH -- public IP address
rl2 -- pfsync -- directly connected to other computers, IP's are
10.0.0.1 and 10.0.0.2.

fxp0, rl0, rl1 all work fine.  bridgename.bridge0 works fine, the
bridges work great on each computer individually),  tcpdump indicates
that pfsync (hostname.pfsync0) works fine too.

In addition to settings needed for bridging, net.inet.carp.preempt=1
and net.inet.carp.log=1 are set.

Here are my carp settings for the primary firewall:

hostname.carp0:
up vhid 1 carpdev fxp0 pass pass advbase 3

hostname.carp1:
up vhid 2 carpdev rl0 pass pass advbase 3


and for the secondary:

hostname.carp0:
up vhid 1 carpdev fxp0 pass pass advbase 3 advskew 100

hostname.carp1:
up vhid 2 carpdev rl0 pass pass advbase 3 advskew 100

I tried adding a publicly-routable IP address to carp0 and carp1, but
I got a couldn't set this IP address error from those two interfaces
when I ran netstart.  Or should I use a non-routable IP here?

pf.conf consists of just:
set loginterface fxp0
pass all keep state

Network looks like:
   
firewall A -
T1 -- crappy 8-port unmanaged switch --|   |
--- unmanaged switch
   
firewall B -

Any help would be much appreciated!

Ramsey



Re: Motherboard recommendations? Pentium IV, 2GB+ RAM?

2005-11-18 Thread Daniel Ouellet

C. Bensend wrote:

Hey folks,

   I've been pouring over the archives for a couple of days now,
looking for recommendations for a Pentium IV motherboard for a new
server I'm building.  I've found a lot of AMD and AMD64 posts, but
hardly any P4s.  I would really appreciate any suggestions from any
of you that own motherboards with the following specs:


Well, that's because if you do use AMD64 instead of P4, you will get a 
box a hell of a lot faster and the price would be the same to you and 
believe me when I say that! You are MUCH better with AMD64 for a server 
then P4. Flame me if you like, but you will hardly find anyone here 
telling you to go use Intel instead of AMD64, specially if you have the 
choice from now and you can built what you want!


You would be much better off with AMD64, but that's just me!

Fell free to not follow my suggestion, but I would argue that would be a 
mistake!


Daniel



Re: Possible bug in ksh tab completion

2005-11-18 Thread Arnaud Bergeron
On 11/18/05, Matthias Kilian [EMAIL PROTECTED] wrote:
 On Fri, Nov 18, 2005 at 03:53:38PM -0500, Arnaud Bergeron wrote:
  I noticed that, using ksh, if you try to tab-complete any filename
  that has a '[' in it while there are more than one file in the
  directory will fail.  Simple example:
 [...]
  So this leads to my question.  Is it a design feature,  a POSIX
  requierment, or simply something that has gone unnoticed?

 ksh would need some kind of incremental parser for both parsing
 scripts as well for doing tab-completion. Unfortunately, using a
 common parser for normal use (parse a script) and for special
 interactive use (completion) isn't trivial. The edit implementations
 (both emacs and vi) use lots of ad-hoc stuff.

 I'd the idea of using a common parser implemented with yacc(1), but
 Otto pointed out that this wouldn't help much but also bloat ksh.

 So, for now, completion won't work for some pathological cases ('{',
 '@', and other unusual characters).

I reported it precisely because the characters you mentionned (and all
other 'special' chars i know) are working perfectly.  '[' and ']' are
the only chars I have problems with even if they are properly escaped.


 Fixing this would be more than one or two days of work. But have a
 look at att ksh -- it even sucks more if it comes to completion.


Now if you still think it would take more than one or two days, I
think I'll try to code myself a little interactive-only shell.

 Ciao,
 Kili



--
They allowed us to set up a separate division almost, that is physically,
geographically, psychologically and spiritually different from what Bill
himself calls the Borg
 - Peter Moore, V.P. in charge of Xbox 360 marketing at Microsoft.



Re: Can install 3.8, but not boot 3.8 (3.7- worked fine)

2005-11-18 Thread Nick Holland
Gordon Ross wrote:
 On 17 November 2005 at 12:21:27, in message
 [EMAIL PROTECTED],
 [EMAIL PROTECTED] 
 wrote:
 On 11/17/05, Nick Holland [EMAIL PROTECTED] wrote:
 Gordon Ross wrote:
  We've got several VIA based micro ATX systems here. We've been
 using
  OpenBSD on them for years now, and never had any problems.
 
  Today, I installed 3.8 (from the official CDs) and this went fine.
 I
  then rebooted the system off of the HD, and the boot started, but
  stopped at sysbeep0 at pcppi0
 
  I repeated the install on an identical box and got exactly the
 same
  problem.
 
  Below is a dmesg from one of these machines running 3.7
 
  Suggestions as to where I should go from here ?

 This pretty much means that there is something in the GENERIC
 kernel
 that is NOT in the install kernel that is causing problems on this
 machine.  If you can find this device and disable it through ukc,
 you
 should be in business.

 totally wild guess: try disabling ahc.
 
 another totally wild guess: try disabling auvia.
 
 You'll never believe this: nxp0 !
 
 If I disable nxp in UKC, the machine boots fine. [well, until it panics
 ;-)  ]
 
 GTG

Actually, I don't believe you.

Do you mean npx0? :)

it is pretty incredible that you are hanging due to the Numeric
Processor Extension (i.e., the floating point thingie)...but slightly
more believeable than something that doesn't seem to exist. :)

A serial console capture of this thing would be interesting.  I'm
mytified by this...closest thing to an explaination I can think of is
something is being misassigned IRQ 13 for some reason...

Get a serial console on this thing, let's find out what we are dealing
with...

Nick.



Re: Possible bug in ksh tab completion

2005-11-18 Thread Christian Weisgerber
Arnaud Bergeron [EMAIL PROTECTED] wrote:

  So, for now, completion won't work for some pathological cases ('{',
  '@', and other unusual characters).
 
 I reported it precisely because the characters you mentionned (and all
 other 'special' chars i know) are working perfectly.  '[' and ']' are
 the only chars I have problems with even if they are properly escaped.

I haven't examined this exhaustively, but at least ` (backquote)
is also problematic.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: Motherboard recommendations? Pentium IV, 2GB+ RAM?

2005-11-18 Thread C. Bensend
 Well, that's because if you do use AMD64 instead of P4, you will get a
 box a hell of a lot faster and the price would be the same to you and
 believe me when I say that! You are MUCH better with AMD64 for a server
 then P4. Flame me if you like, but you will hardly find anyone here
 telling you to go use Intel instead of AMD64, specially if you have the
 choice from now and you can built what you want!

 You would be much better off with AMD64, but that's just me!

I haven't had good luck with AMD64 so far.  The server I built not
a year ago has had more kernel panics and funky-ass behavior than
any system I've built since the RedHat 6.2 days.  AMD64 is likely
a damned good processor, but it's kind of soured on me.

If people have a known solid motherboard + AMD64 combination they'd
like to recommend that has a PCI-X 64-bit 133MHz slot in it, I'm
certainly willing to consider it.  But this server is my lifeline,
my personal webserver and mailserver (and a few domains for friends),
so I'd rather have a rock-solid system to use and then bring the
AMD64 system back in-house to install 3.8 on and debug the problems.

Benny


-- 
Young lady, I yelled at you because that paperwork looked like it
had been done by a drunk four-year-old. -- Dr. Bob Kelso, Scrubs



Raid and the spare-disk - Forcing the spare disk into sleep-mode?

2005-11-18 Thread Sebastian Rother
Hello everybody,

I would like to know if the spare-disk (specified in the raid.conf of
raidctl) gets powered off until it's needed.

As far as I understood the manpage the spare-disk is used to rebuild
the raid if a HDD fails.

And example what happened to a company I know:

A company I know had 2 Servers, redundant, for working.
As the mainserver crashed (HDDs) they used the secondary Server.
This crashed also 34 Minutes later.
The company bought the Servers at the same time and they where running
all the time.
In this case they had no Spare-Disks.

I ask if the spare-disk gets powered off because the spare-disk could
crash too (lifecricle). Normaly you buy a Server and the disks and also
the (maybe then used) spare disk at the same time.

So the Disks run exactly the same time and this could be a risk (for
the spare disk).

So if this option isn't supported yet (as I said I found nothing at the
manpage) would it make sense to support it (forcing a HDD to suspend
until it's needed (sleep mode))?

Kind regards,
Sebastian



Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-18 Thread J Moore
On Sat, Nov 19, 2005 at 01:02:11AM +, the unit calling itself Stuart 
Henderson wrote:
 On 2005/11/18 17:53:45, J Moore wrote:
  No, Greg - I'm not trying to be obnoxious for obnoxious' sake - are you? 
  What part of the definition of the word by to you not understand?
  
  Have you looked the word up in a dictionary? Have you imagined yourself 
  in a situation where you were standing in front of a clock, and someone 
  said to you, adjust that clock by 30 minutes, Greg.
 
 'adjusting' is a good choice, since a search on list archives using that
 as a keyword will find plenty of explanation...
 
 ntpd(8) *may* benefit from a few explanatory words, although that's
 debatable, since adjtime(2) is referenced and explains things well enough.
 
I agree that it's easy enough to do a search, and discover what ntpd 
is actually doing. That was actually accomplished within the first 2-3 
responses to my OP - that was the easy part  :)  I now understand what 
the author *intended* in the log message. 

In fact, I worry I shall never forget this lesson - to the point that I 
may begin doubting others when they make simple and unambiguous 
statements. For example:

Wife: Wash the car.
Me: Uh, do you mean the *entire* car, or just the front bumper?

Broker: This year's premium is increasing by $1,000.
Me: Uh, do you mean it's going up by $1 this year, and each year 
thereafter until the 1000th year?

Doctor: You're 12 pounds overweight.
Me: Uh, do you mean as of today, or sometime before I die?

Guard: Leave the building
Me: Uh, do you mean take one step toward the door, and wait for further 
instructions, or do you mean go to the front door, and exit?

Discovering the intended meaning of the ntpd log message was easy 
enough. The point that seems to be causing most of the name-calling and 
controversy is this:

If a message or instruction is ambiguous or vague or contains unfamiliar 
words or concepts, then I would expect to have to do a little research 
to reach an understanding of its meaning. However if a statement is 
clear and concise, and contains no new words or concepts then I tend to 
take it at face value, and I don't do any research. I don't think I am 
alone in this practice (although...).

There also seem to be quite a few (several of them have written me 
off-list) who maintain that the phrase in the log message is either:
a) a clear and correct description of ntpd's adjustment, or
b) ambiguous or fuzzy enough to warrant research to find out what it 
really means.

I maintain that the message adjusting clock by XXs is neither of the 
above. 

I'll also say that I don't consider myself to be an authority on the 
English language (I don't think you have to be to divine the meaning of 
the phrase in question).

But since there seems to be no end to the controversy, insults and 
name-calling in this forum, and I'm getting really tired of the 
discussion, I propose to settle the matter as follows:

1. I will place a cashier's check in the amount of $2,000 in escrow with 
a trusted third party TBD; I will call this the OpenBSD Good Grammar 
Prize. The Prize will in effect be my wager that the subject ntpd log 
message is clearly inaccurate.

2. Anyone who wishes to wager to the contrary may likewise place a 
cashier's check in the amount of $2,000 (US) with the same trusted third 
party.

3. Final judgement as to the meaning of the ntpd log message will be 
vested with a panel of judges. Qualifications and selection criteria for 
the judges is TBD, but all judges will be drawn from the faculty of the 
English department at an accredited university in the US.

4. Distribution of the wagers will be made following the judge's final 
decision. Distribution will be as follows:

a) If the judges agree with my interpretation, my $2,000 check is 
returned to me. The other wager's $2,000 is donated to the OpenBSD 
project on the condition that the log message be changed to TBD. (That's 
why it's called The OpenBSD Good Grammar Prize). If the OpenBSD team 
declines to make the change, then the other wager's $2,000 will be 
donated to the Free Software Foundation.

b) If the judges disagree with my interpretation, my $2,000 check will 
be sent to either the other wager, the OpenBSD project, or any other 
organization that he designates. The other wager's check will be 
returned to him.

In any case, the best I can do is break even. The other wager can 
capture the cash for himself, donate it to OpenBSD, donate it to the 
American Literacy Council, or whatever...

5. The judges will need some written guidance on how to conduct their 
evaluation. Whoever wishes to wager should also submit their proposed 
criteria. I've drafted some instructions to the judges below that can be 
used as a point of departure.

So let's get to it, ladies and gentlemen... are there any players?

Draft Instructions to Panel of Judges:

Once impaneled, each of the judges will be instructed that their mission 
is to evaluate a simple phrase 

Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-18 Thread J Moore
On Fri, Nov 18, 2005 at 05:46:40PM -0800, the unit calling itself Ted Unangst 
wrote:
 [i was trying to stay away, but can't.]
 On 11/18/05, J Moore [EMAIL PROTECTED] wrote:
  On Wed, Nov 16, 2005 at 09:58:28AM -0800, the unit calling itself Greg 
  Thomas wrote:
   What part of adjusting do you not understand? Nowhere in the log message
   does it say that that adjusting is finished. You are just being obnoxious
   for obnoxious' sake because you didn't get your way.
  
   Greg
 
  No, Greg - I'm not trying to be obnoxious for obnoxious' sake - are you?
  What part of the definition of the word by to you not understand?
 
  Have you looked the word up in a dictionary? Have you imagined yourself
  in a situation where you were standing in front of a clock, and someone
  said to you, adjust that clock by 30 minutes, Greg.
 
 the log message says adjusting.  that's the present participle (not
 to be confused with gerunds).  it means not done yet.

Agreed, and it's definitely not a gerund

 q: what are you doing in front of the clock?
 a1: i adjust the time (this instant only) -- no
 a2: i adjusted the time -- no
 a3: i will adjust the time -- no
 a4: i'm adjusting the time -- we have a winner.  will you be done
 adjusting the time the instant that the sentence is out of your mouth?
  or will the adjusting [gerund form here] continue for some time after
 the statement is issued?

You have ignored the word by in the log message... according to 
Webster, by = in the amount of

Therefore: adjusting... by = adjusting in the amount of



Re: timekeeping on Soekris net4801 w/ ntpd. 3.8

2005-11-18 Thread Johan
My wife is an English Major, so I eventually had to ask her... and she feels
the message is correct.

I did have to explain it to her in detail though so I guess initial
confusion is understandable. Prolonged confusion, however, is not.

Johan

On 11/18/05, J Moore [EMAIL PROTECTED] wrote:

 On Fri, Nov 18, 2005 at 05:46:40PM -0800, the unit calling itself Ted
 Unangst wrote:
  [i was trying to stay away, but can't.]
  On 11/18/05, J Moore [EMAIL PROTECTED] wrote:
   On Wed, Nov 16, 2005 at 09:58:28AM -0800, the unit calling itself Greg
 Thomas wrote:
What part of adjusting do you not understand? Nowhere in the log
 message
does it say that that adjusting is finished. You are just being
 obnoxious
for obnoxious' sake because you didn't get your way.
   
Greg
  
   No, Greg - I'm not trying to be obnoxious for obnoxious' sake - are
 you?
   What part of the definition of the word by to you not understand?
  
   Have you looked the word up in a dictionary? Have you imagined
 yourself
   in a situation where you were standing in front of a clock, and
 someone
   said to you, adjust that clock by 30 minutes, Greg.
 
  the log message says adjusting. that's the present participle (not
  to be confused with gerunds). it means not done yet.

 Agreed, and it's definitely not a gerund

  q: what are you doing in front of the clock?
  a1: i adjust the time (this instant only) -- no
  a2: i adjusted the time -- no
  a3: i will adjust the time -- no
  a4: i'm adjusting the time -- we have a winner. will you be done
  adjusting the time the instant that the sentence is out of your mouth?
  or will the adjusting [gerund form here] continue for some time after
  the statement is issued?

 You have ignored the word by in the log message... according to
 Webster, by = in the amount of

 Therefore: adjusting... by = adjusting in the amount of



Re: Motherboard recommendations? Pentium IV, 2GB+ RAM?

2005-11-18 Thread Sebastian Rother
For AMD64:

Tyan Motherboards seams to be pretty solid.
I had also no luck with ASUS, they simply just suck.

For INTEL:

Intel Motherboards

There's not that much choice (for me) at the market anymore.
Most vendors build crappy boards to provide the latest shit.

Example: Asus K7V880 (yes socket A, I know):

3 IDE HDDs, 1 SATA HDD - Booting takes about 1 Minute, I have always
select the HDD wich should be bootet manualy.
Even my dual Opteron boots faster! :-)

And this crappy Board/Bios wont notice my Duron 1800.
Duron 1800 == 133 FSB
The board detects just an FSB of about 100 (1350Mhz).
Even an AsRock did a better Job (same CPU and HDDs and bla..).

And before the Opteron I had another ASUS Board with a AMD64 socket 745
(hopefully not wrong). And A8V800 wich sucked too.

Long time ago Asus made good Boards, now even an Asrock is more stable.

Tyan, INTEL... 2 Vendors. 
Not that much Choice but hey, they work!

Kind regards,
Sebastian
-- 
p.s.
Hopefully Genesi changes their mind because I'm looking for a PPC-base
Computer. I just told them that I'm not statisfied with their actions
and hey, they realy answered.
If somebody could recomment a non-Apple PPC-base Computer where OpenBSD
works: I would be happy for every hint :-)