Re: OT: Free, online backup service provider compatible with BSD

2009-02-12 Thread STeve Andre'
On Wednesday 11 February 2009 18:30:56 Jim Razmus wrote:
 * Jason Dixon ja...@dixongroup.net [090211 17:46]:
  On Wed, Feb 11, 2009 at 03:02:51PM -0700, Steve B wrote:
   Thanks to all for the ideas. Amazon looks like it might be the best for
   me. They should be around for a while, and at $0.17 that's almost free.
   While I agree with some that DR and free are not synonymous this is for
   my home server so it's not as critical as work.
 
  Why would you want to backup your home server to Amazon?  That makes no
  sense to me.
 
  --
  Jason Dixon
  DixonGroup Consulting
  http://www.dixongroup.net/

 In my case, I want my data backed up off site.  A power surge several
 months back destroyed all 4 of my computers and a Soekris.  The Soekris
 was even burned on the inside of the case where the power connection met
 the board.  While I was upset about losing my computers, my data was
 safe off site.  I'm a firm believer in backups.

 Jim

Amen to backups, but why trust some company far away to handle things?
How do you know your data is in good hands, and that they won't slip up
let others see it?  I won't mention the concept of the place going under,
financially.

If you want to make backups, get a cheap USB disk, or build one yourself
with a USB enclosure and disk from some place like Newegg.  Make the
backup and stuff the disk somewhere like a friends house.  Far faster and
I daresay more secure.

--STeve Andre'



OpenSSL rsa key to use with OpenSSH

2009-02-12 Thread LÉVAI Dániel
Hi!

I was wondering if I could get away with using my already working OpenSSL 
private/public key pair with OpenSSH, so I wouldn't need to create a new one 
with ssh-keygen (yes, this is just for plain convenience :). But unfortunately 
I can't get it to work. I've created a public key from my existing OpenSSL rsa 
key with `openssl rsa -in privkey.key -pubout` and copied it to the 
~/.ssh/authorized_key file. When trying to connect with `ssh -l user -i 
privkey.key host` I'm getting: Permission denied (publickey). on the client, 
and:
sshd[6689]: error: buffer_get_string_ret: bad string length 813801264
sshd[6689]: error: key_from_blob: can't read key type
sshd[6689]: error: key_read: key_from_blob MIGqGSIb[...pubkey...] failed
on the server.

Is this possible at all?

Daniel

-- 
LEVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Re: OT: Free, online backup service provider compatible with BSD

2009-02-12 Thread Martin Schröder
2009/2/12 STeve Andre' and...@msu.edu:
 How do you know your data is in good hands, and that they won't slip up
 let others see it?  I won't mention the concept of the place going under,
 financially.

That's why you use duplicity. And amazon going under is unlikely. :-)

Best
   Martin



Re: Postgresql create tablespace permissions problem

2009-02-12 Thread Tony Berth
is a temp solution due to space constarints in '/var' on a test box.

Isn't meant to be an operational solution!

On Wed, Feb 11, 2009 at 8:29 PM, Dan Colish dcol...@gmail.com wrote:

 out of sheer morbid curiosity, why are you creating a tablespace owned by
 the _postgresql daemon user under /home?



Re: OT: Free, online backup service provider compatible with BSD

2009-02-12 Thread Otto Moerbeek
On Thu, Feb 12, 2009 at 10:04:58AM +0100, Martin Schr?der wrote:

 2009/2/12 STeve Andre' and...@msu.edu:
  How do you know your data is in good hands, and that they won't slip up
  let others see it?  I won't mention the concept of the place going under,
  financially.
 
 That's why you use duplicity. And amazon going under is unlikely. :-)

my guess would be that it has the same chances going under as a big
bank. And amazon won't be saved by any government. 

-Otto



Re: Hardware or 4.4 vm problem?

2009-02-12 Thread Ariane van der Steldt
On Wed, Feb 11, 2009 at 04:55:34PM -0600, Karl O. Pinc wrote:
 On 02/08/2009 08:23:44 PM, Ariane van der Steldt wrote:
  On Sun, Feb 01, 2009 at 10:07:49PM -0600, Karl O. Pinc wrote:
   I seem to have a problem where 4.4 hangs writing to swap.
  
  Chances are its fixed in -current.
 
 I just upgraded to a snapshot and the problem seems
 to have gone away.  Thanks.
 
 Can you point me to the fix or some other reference
 so I could tell what other systems might be affected?
 Thanks.

src/sys/uvm/uvm_pager.c, rev 1.46

 (FWIW, I just had a panic on a similar 4.4 box. It could
 be totally unrelated.  I noticed that the named
 total memory seems to keep going up even though
 I've limited the max-cache-size.  It may eventually
 be filling up swap.)

I'll need more info to comment on that.
-- 
Ariane



Re: snmpd GET and GETNEXT against scalar OIDs

2009-02-12 Thread Ariane van der Steldt
On Tue, Feb 03, 2009 at 05:20:28PM -0500, (private) HKS wrote:
 I made the following bug report on 2009-01-08, but didn't get a PR
 number back. Did I botch this report, or does the bugs@ address
 require hands-on that this report simply hasn't gotten yet?
 
 Thanks for the clarification.

PR's are assigned to bugs made using the sendbug program.
I notice PR/6071 looks similar to yours, maybe that's the one you're
looking for?

-- 
Ariane



Re: mp3 player USB issue (ehci0: port reset timeout)

2009-02-12 Thread Michael
Hi again,

updated to the last 4.4-current snapshot before 4.5-beta got tagged and
the mp3 player works again now with USB 2.0. :-)


Michael schrieb:
 Additional info...
 
 ...I am pretty sure that it still worked with 4.3.
 
 
 Michael schrieb:
 when attaching my Sansa USB player the kernel reports the following:

 ehci0: port reset timeout
 ehci_freex: xfer=0xd1b11000 not busy, 0x4f4e5155

 Guess it is needless to say that I am not able to access the memory.
 Loading the battery works however... also accessing it works just fine
 with Windows.


Michael



Re: Relayd and SSL - signed certificate problems

2009-02-12 Thread Johan Ström

On Feb 12, 2009, at 15:29 , Claus Larsen wrote:


I am having some problems with a SSL proxy like the one described on
https://calomel.org/relayd.html

No problems getting it up and running, but the browser cannot verify  
the

signed certificates.

Internet Explorer says:
The security certificate presented by this website was not issued by a
trusted certificate authority.

Safari says:
www.x.com
Issued by: Comodo Class 3 Security Services CA
Expires: .
This certificate was signed by an unknown authority

My certificates works fine when running on apache.

Research tells me that I need a chain/intermediate certificate to  
get things

working.

But I have not been able to find any info about this with relayd.

I have recieved the following files with my certifcate:
AddTrustExternalCARoot.crt
UTNAddTrustServerCA.crt


cat yourcert.crt  combinedcert.crt
cat UTNAddTrustServerCA.crt  combinedcert.crt
cat AddTrustExternalCARoot.crt  combinedcert.crt

not sure about the order though.. But I'm quite sure your own cert  
goes first, and then the others should go with the master last. I  
think. :)


Make sure there are a newline at the end of each file first, or at  
least that the resulting file have a newline between each cert (not a  
blank line, but just so they dont get mixed up on the same lines)


When all are added, use combinedcert.crt in /etc/ssl for your IP.

Good luck :) 



How to combine boot bsd.rd and set tty?

2009-02-12 Thread J.A. Bal
Hi all, 
I have problems booting a box with 4.4 stable. Been able to extract dmesg with 
a serial console (set tty at boot). Also been able to boot bsd.rd. Now i would 
like to combine both in order to obtain the dmesg from bsd.rd.

So my question is: How to combine boot bsd.rd and set tty? Just combining at 
boot results in: boot: illegal argument set.

Problem with normal boot is that it gets stuck half way. More on that when i 
extract the dmesg.

Kind regards,
Jasper



Re: snmpd GET and GETNEXT against scalar OIDs

2009-02-12 Thread (private) HKS
On Thu, Feb 12, 2009 at 8:29 AM, Ariane van der Steldt ari...@stack.nl wrote:
 On Tue, Feb 03, 2009 at 05:20:28PM -0500, (private) HKS wrote:
 I made the following bug report on 2009-01-08, but didn't get a PR
 number back. Did I botch this report, or does the bugs@ address
 require hands-on that this report simply hasn't gotten yet?

 Thanks for the clarification.

 PR's are assigned to bugs made using the sendbug program.
 I notice PR/6071 looks similar to yours, maybe that's the one you're
 looking for?

 --
 Ariane


Thanks for the response. Stuart Henderson replied off the list and
pointed out that my formatting was broken. I resubmitted with sendbug
-P and it looks like it's going through the proper channels now.

-HKS



Re: How to combine boot bsd.rd and set tty?

2009-02-12 Thread Peter Strömberg
On 12 Feb 2009 at 15:47, J.A. Bal wrote:

 Hi all, 
 I have problems booting a box with 4.4 stable. Been able to extract
 dmesg with a serial console (set tty at boot). Also been able to boot
 bsd.rd. Now i would like to combine both in order to obtain the dmesg
 from bsd.rd. 
 
 So my question is: How to combine boot bsd.rd and set tty? Just
 combining at boot results in: boot: illegal argument set. 

At the boot prompt:

set image bsd.rd
set tty com0



Corny shit with filesystems + mp3 player

2009-02-12 Thread auto709563
Is it possible to end up with
a FAT 12 file system + some kind
of Netware (Novell or otherwise)
on a hard drive which used to
be a hard drive with one partition
through plugging in an Intenso Video Voyager
with a MicroSDHC?

It once was a functioning install...



Re: OT: Free, online backup service provider compatible with BSD

2009-02-12 Thread Daniel Bolgheroni
On Thu, 12 Feb 2009, STeve Andre' wrote:

 On Wednesday 11 February 2009 18:30:56 Jim Razmus wrote:
  * Jason Dixon ja...@dixongroup.net [090211 17:46]:
   On Wed, Feb 11, 2009 at 03:02:51PM -0700, Steve B wrote:
Thanks to all for the ideas. Amazon looks like it might be the best for
me. They should be around for a while, and at $0.17 that's almost free.
While I agree with some that DR and free are not synonymous this is for
my home server so it's not as critical as work.
  
   Why would you want to backup your home server to Amazon?  That makes no
   sense to me.
  
   --
   Jason Dixon
   DixonGroup Consulting
   http://www.dixongroup.net/
 
  In my case, I want my data backed up off site.  A power surge several
  months back destroyed all 4 of my computers and a Soekris.  The Soekris
  was even burned on the inside of the case where the power connection met
  the board.  While I was upset about losing my computers, my data was
  safe off site.  I'm a firm believer in backups.
 
  Jim
 
 Amen to backups, but why trust some company far away to handle things?
 How do you know your data is in good hands, and that they won't slip up
 let others see it?  I won't mention the concept of the place going under,
 financially.

If it's important, you can use cryptography. If it's *very* important, 
you won't have just one backup.

Maybe it's in the contract that they can't disappear with the data if 
they close the door. People in America usually love lawyers, contracts, 
etc.

I usually don't believe in the ethics of big companies, but I do think 
they have a lot more resources to not blow up everything and keep things 
running.

 If you want to make backups, get a cheap USB disk, or build one yourself
 with a USB enclosure and disk from some place like Newegg.  Make the
 backup and stuff the disk somewhere like a friends house.  Far faster and
 I daresay more secure.

Teers,

--
Daniel Bolgheroni m...@dbolgheroni.eng.br
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: OT: Free, online backup service provider compatible with BSD

2009-02-12 Thread Jim Razmus
* STeve Andre' and...@msu.edu [090212 03:05]:
 On Wednesday 11 February 2009 18:30:56 Jim Razmus wrote:
  * Jason Dixon ja...@dixongroup.net [090211 17:46]:
   On Wed, Feb 11, 2009 at 03:02:51PM -0700, Steve B wrote:
Thanks to all for the ideas. Amazon looks like it might be the best for
me. They should be around for a while, and at $0.17 that's almost free.
While I agree with some that DR and free are not synonymous this is for
my home server so it's not as critical as work.
  
   Why would you want to backup your home server to Amazon?  That makes no
   sense to me.
  
   --
   Jason Dixon
   DixonGroup Consulting
   http://www.dixongroup.net/
 
  In my case, I want my data backed up off site.  A power surge several
  months back destroyed all 4 of my computers and a Soekris.  The Soekris
  was even burned on the inside of the case where the power connection met
  the board.  While I was upset about losing my computers, my data was
  safe off site.  I'm a firm believer in backups.
 
  Jim
 
 Amen to backups, but why trust some company far away to handle things?
 How do you know your data is in good hands, and that they won't slip up
 let others see it?  I won't mention the concept of the place going under,
 financially.
 

Duplicity encrypts backups with GnuPG before shipping them off site.

 If you want to make backups, get a cheap USB disk, or build one yourself
 with a USB enclosure and disk from some place like Newegg.  Make the

Cheaper than 17 cents?  My assumption is Amazon puts a bit of effort
into creating reliable storage infrastructure given their customer base.
Even if I'm wrong and they use a cheap USB disk, I don't have to frog
around with it.

 backup and stuff the disk somewhere like a friends house.  Far faster and
 I daresay more secure.
 
 --STeve Andre'
 

Security is relative.  If someone wants my data bad enough, they can
find me and ask for it one way or another.

But to each his own.  If a USB drive at a friends house is sufficient
for your needs, by all means, do it.  At least your have a backup.  More
than I can say for most people.

Jim



boot halts halfway after fresh install, bsd.rd boots fine...

2009-02-12 Thread Jasper Bal
As I was able to pull the dmesg with a serial console and found a floppy 
after turning upside down the entire office, I now give you, as 
promised, the dmesg in question. First one is regular boot. It halts at 
agp0 at vga1:. I found an old 4x/2x AGP videocard and switched it with 
the one present. Same difference. I also immediately installed a second 
copy of 4.4 on the second disk. Again, same difference. bsd.rd boots 
fine. dmesg included.


Any ideas? Don't know where to start.

Kind regards,
Jasper

 OpenBSD/i386 BOOT 3.02
boot
booting hd0a:/bsd: 6238560+1041588 [52+319712+302630]=0x7896c4
entry point at 0x200120

[ using 622768 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
  The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved.  
http://www.OpenBSD.org


OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 552 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE 


cpu0: disabling processor serial number
real mem  = 133722112 (127MB)
avail mem = 120881152 (115MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/14/00, BIOS32 rev. 0 @ 0xfd80c, 
SMBIOS rev. 2.2 @ 0xf0940 (54 entries)

bios0: vendor Phoenix Technologies LTD version 4.06.25 PN date 01/14/2000
bios0: Hewlett Packard HP NetServer
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC BOOT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PCI1)
acpicpu0 at acpi0
bios0: ROM list: 0xc/0x8000 0xc8000/0x5800 0xcd800/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Mach64 GZ rev 0x7a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1:


 OpenBSD/i386 BOOT 3.02
boot
boot AT S7=45 S0=0 L
boot boot hd0a:/bsd.rd
booting hd0a:/bsd.rd: 5155412+901212 [52+196192+181801]=0x6230e4
entry point at 0x200120

Copyright (c) 1982, 1986, 1989, 1991, 1993
  The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved.  
http://www.OpenBSD.org


OpenBSD 4.4 (RAMDISK_CD) #857: Tue Aug 12 17:31:49 MDT 2008
  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 552 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE 


cpu0: disabling processor serial number
real mem  = 133722112 (127MB)
avail mem = 122728448 (117MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/14/00, BIOS32 rev. 0 @ 0xfd80c, 
SMBIOS rev. 2.2 @ 0xf0940 (54 entries)

bios0: vendor Phoenix Technologies LTD version 4.06.25 PN date 01/14/2000
bios0: Hewlett Packard HP NetServer
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC BOOT
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PCI1)
bios0: ROM list: 0xc/0x8000 0xc8000/0x5800 0xcd800/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Mach64 GZ rev 0x7a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 4 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 4 function 1 Intel 82371AB IDE rev 0x01: DMA, 
channel 0 wired to compatibility, channel 1 wired to compatibility

atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: HITACHI, CDR-8435, 0010 ATAPI 5/cdrom 
removable

cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
wd0 at pciide0 channel 1 drive 0: ST3120023A
wd0: 16-sector PIO, LBA, 114473MB, 234441648 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 4 function 2 Intel 82371AB USB rev 0x01: irq 11
Intel 82371AB Power rev 0x02 at pci0 dev 4 function 3 not configured
ahc0 at pci0 dev 5 function 0 Adaptec AIC-7895 rev 0x04: irq 10
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus1 at ahc0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0: HP, 9.10GB A 68-SA40, SA40 SCSI2 
0/direct fixed

sd0: 8678MB, 11474 cyl, 5 head, 309 sec, 512 bytes/sec, 17773524 sec total
ahc1 at pci0 dev 5 function 1 Adaptec AIC-7895 rev 0x04: irq 10
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus2 at ahc1: 16 targets, initiator 7
fxp0 at pci0 dev 6 function 0 Intel 8255x rev 0x08, i82559: irq 11, 
address 00:e0:18:c3:18:2b

inphy0 at fxp0 phy 1: i82555 

bnx(4) transmit slow

2009-02-12 Thread (private) HKS
OpenBSD 4.4 on a Dell Poweredge 2950.

When testing with FTP or a benchmarking app like iperf, bnx(4)
transmitting is much slower than receiving. I can replicate this with
multiple clients on different OSes and hardware platforms, but my
Poweredge 2850 running 4.4 with em(4) interfaces is unaffected.

I've tested this on three separate 2950s (each running 4.4) and all
exhibit the same behavior. Has anyone else run into this? Numbers/
config/dmesg are below.

-HKS



iperf (rx) is with the bnx host running iperf -s and my test box
running iperf -c 10.123.0.20. iperf (tx) is the inverse. FTP tests
were conducted by getting (rx) and putting (tx) a 376MB ISO file.

Numbers:
---
iperf (rx): 878 Mbits/sec
iperf (tx): 109 Mbits/sec
---
ftp (rx): 393969664 bytes received in 4.40 seconds (85.29 MB/s)
ftp (tx): 393969664 bytes sent in 25.43 seconds (14.78 MB/s)
---


ifconfig:
---
bnx0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:1e:c9:43:0e:d6
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,master)
status: active
inet 10.123.0.20 netmask 0xff00 broadcast 10.123.0.255
inet6 fe80::21e:c9ff:fe43:ed6%bnx0 prefixlen 64 scopeid 0x4
---


netstat -nI bnx0:
---
NameMtu   Network Address  Ipkts IerrsOpkts Oerrs Colls
bnx01500  Link  00:1e:c9:43:0e:d6 39134263 0 24382795 0 0
bnx01500  10.123.0/24 10.123.0.20   39134263 0 24382795 0 0
bnx01500  fe80::%bnx0 fe80::21e:c9ff:fe 39134263 0 24382795 0 0
---


sysctl variables:
---
kern.maxclusters=131072
net.inet.tcp.recvspace=65536
net.inet.tcp.sendspace=65536
---






Dmesg:
---
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz (GenuineIntel 686-class) 2 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR
real mem  = 2142142464 (2042MB)
avail mem = 2062938112 (1967MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/05/08, BIOS32 rev. 0 @
0xffe90, SMBIOS rev. 2.5 @ 0x7fb9c000 (66 entries)
bios0: vendor Dell Inc. version 2.2.6 date 02/05/2008
bios0: Dell Inc. PowerEdge 2950
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT EINJ TCPA
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (PEX2)
acpiprt2 at acpi0: bus 5 (UPST)
acpiprt3 at acpi0: bus 6 (DWN1)
acpiprt4 at acpi0: bus 8 (DWN2)
acpiprt5 at acpi0: bus 1 (PEX3)
acpiprt6 at acpi0: bus 0 (PE2P)
acpiprt7 at acpi0: bus 10 (PEX4)
acpiprt8 at acpi0: bus 12 (PEX6)
acpiprt9 at acpi0: bus 2 (SBEX)
acpiprt10 at acpi0: bus 14 (COMP)
acpicpu0 at acpi0: C3
bios0: ROM list: 0xc/0x9000! 0xc9000/0x1000 0xca000/0x1e00
0xcc000/0x5e00 0xec000/0x4000!
ipmi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
pci1 at ppb0 bus 4
ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci2 at ppb1 bus 5
ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci3 at ppb2 bus 6
ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci4 at ppb3 bus 7
bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 5
ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01: irq 5
pci5 at ppb4 bus 8
ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
pci6 at ppb5 bus 9
ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
pci7 at ppb6 bus 1
mfi0 at pci7 dev 0 function 0 Symbios Logic SAS1078 rev 0x04: irq 5,
Dell PERC 6/i integrated
mfi0: logical drives 1, version 6.0.2-0002, 256MB RAM
scsibus0 at mfi0: 1 targets, initiator 64
sd0 at scsibus0 targ 0 lun 0: DELL, PERC 6/i, 1.11 SCSI3 0/direct fixed
sd0: 2859520MB, 44942 cyl, 511 head, 255 sec, 512 bytes/sec,
5856296960 sec total
ppb7 at pci0 dev 4 function 0 Intel 5000 PCIE x8 rev 0x12
pci8 at ppb7 bus 10
ppb8 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12
pci9 at ppb8 bus 11
ppb9 at pci0 dev 6 function 0 Intel 5000 PCIE x8 rev 0x12
pci10 at ppb9 bus 12
ppb10 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12
pci11 at ppb10 bus 13
pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12
pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12
pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x12
pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x12
pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x12
pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x12
pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x12
ppb11 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09
pci12 at ppb11 bus 2
ppb12 at pci12 dev 0 

Re: Segmentation fault (Core dumped) when Make Build

2009-02-12 Thread Ingo Schwarze
Hi Insan,

Insan Praja SW wrote on Thu, Feb 12, 2009 at 03:01:26AM +0700:
 On Wed, 11 Feb 2009 23:29:31 +0700, Ingo Schwarze schwa...@usta.de wrote:

 I bet you missed
   http://www.openbsd.org/cgi-bin/cvsweb/src/bin/ksh/c_ksh.c#rev1.33

 To confirm, type [...] and show me the output.

 $ /bin/ksh
 $ set -o posix
 $ echo
 Segmentation fault (core dumped)

Bingo.

 $ sudo cvs -danon...@anoncvs1.ca.openbsd.org:/cvs  up -dP

Uh, bad idea.  Do not run cvs as root.
You don't want /usr/src owned by root.

That way, you would have to su to root whenever you edit a source
file.  You do not want to do things as root when it is not needed.
In particular, neither of tar -x, cvs co, cvs up, diff, patch
and make (except make install and friends, of course) want root.

Yours,
  Ingo



Re: Segmentation fault (Core dumped) when Make Build

2009-02-12 Thread Wade, Daniel
  $ sudo cvs -danon...@anoncvs1.ca.openbsd.org:/cvs  up -dP

 Uh, bad idea.  Do not run cvs as root.
 You don't want /usr/src owned by root.

 That way, you would have to su to root whenever you edit a source
 file.  You do not want to do things as root when it is not needed.
 In particular, neither of tar -x, cvs co, cvs up, diff, patch
 and make (except make install and friends, of course) want root.

 Yours,
   Ingo


The FAQ uses root all over the place for this.  Maybe we should change that.

http://www.openbsd.org/faq/faq5.html#BldGetSrc



dmesg reporting wrong CPU

2009-02-12 Thread Daniel Bolgheroni
Hi,

my dmesg is reporting a wrong CPU.

OpenBSD 4.5-beta (GENERIC) #1676: Tue Feb 10 07:49:40 MST 2009
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class, 128KB L2 cache) 769 
MHz

(...)

Actually it's a Celeron. Is this expected?

Thank you.

--
Daniel Bolgheroni m...@dbolgheroni.eng.br
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: upgrading packages and ports, ugh

2009-02-12 Thread Juan Miscaro
2009/2/11 Hannah Schroeter han...@schlund.de:
 Hi!

 On Tue, Feb 10, 2009 at 10:00:31PM -0500, Juan Miscaro wrote:
[...]

Thanks everyone for these responses.

I've since tried to reinstall (make reinstall) one of those ports and
it now cries:

=== archivers/freeze
===  Cleaning for freeze-2.5
/usr/sbin/pkg_delete  freeze-2.5
Can't remove freeze-2.5 without also removing:
amavisd-new-2.6.2
*** Error code 1 (ignored)

Really strange.

Like I said, I installed amavisd-new via ports (which brought in
freeze).  Then 'pkg_add -u' upgraded amavisd-new using packages.  Now
those packages that need to be upgraded via ports (freeze) cannot do
so without first removing amavisd-new!

What does one do in such cases?

 make update, if the version number changes.

 Else make package and pkg_add -riv /path/to/package/that/was/just/built
 (copypaste the package path from the output of make package).

 Kind regards,

 Hannah.


Thanks everyone.  Got it going.

--
jm



Nvidia bug

2009-02-12 Thread Christiano Farina Haesbaert
Can anyone tell me if that bug in the nv driver is applicable to every
nvidia card ? 
I had a FX7500LE on my desktop and openbsd was quite
slow, I remembered I have an old geforce 32mb, would it work ? or I
would probably have the same results.

Best regards.
-- 
Christiano Farina Haesbaert



Re: Nvidia bug

2009-02-12 Thread Marco Peereboom
Trash it and buy something that doesn't suck.

On Fri, Feb 13, 2009 at 12:16:50AM -0200, Christiano Farina Haesbaert wrote:
 Can anyone tell me if that bug in the nv driver is applicable to every
 nvidia card ? 
 I had a FX7500LE on my desktop and openbsd was quite
 slow, I remembered I have an old geforce 32mb, would it work ? or I
 would probably have the same results.
 
 Best regards.
 -- 
 Christiano Farina Haesbaert



Re: OT: Free, online backup service provider compatible with BSD

2009-02-12 Thread Dieter
 :Amen to backups, but why trust some company far away to handle things?
 :How do you know your data is in good hands, and that they won't slip up
 :let others see it?  I won't mention the concept of the place going under,
 :financially.
 :
 
 at one job we rented a PO Box, and drove the tapes there on our way home
 from work.  Since stealing from the Post Office was a Federal Offense,
 it was somewhat safe.

Interesting use for a PO box.  You can also rent a safety deposit box,
and there are companies that store media for off site backups.
These are off site, but not very far off site.  Think Katrina scale
disaster.  Several hundred miles away would be better.  Which involves
either shipping media or having a T1 line.  And you'd want this to
have serious encryption in any case.

 Worst Vegetable of the Year:
   The brussels sprout.  This is also the worst vegetable of next
   year.
   -- Steve Rubenstein

Lima beans are far worse than brussel sprouts.  Yeeck.
Brussel sprouts can actually be good if prepared properly.



Re: How to redirect IP from external IP-address to another external IP-adress on the same interface?

2009-02-12 Thread rancor
Thanks! The initial test worked perfectly =)

Regards Johan Ryberg aka rancor

On Thu, Feb 12, 2009 at 3:51 AM, Stuart Henderson s...@spacehopper.org wrote:

 here's an example you can base it on. to simplify my example, this doesn't
 restrict to a specific client - this could have some repercussions if you're
 configuring the pf box remotely, so probably best do it from the console.
  :-)

 mirror=11.22.33.44
 server=33.44.55.66

 rdr on re0 proto tcp to $mirror - $server
 no nat on re0 proto tcp from $mirror to $server
 nat on re0 proto tcp to $server - $mirror

 this is tested and does work.