Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Matthias Kilian
On Wed, Feb 11, 2009 at 02:09:15PM +0700, Insan Praja SW wrote:
 When upgrading my OBSD 4.5-beta machine, I got
 === usr.sbin/bind
 PATH=/bin:/usr/bin:/sbin:/usr/sbin  CC=cc CFLAGS=-O2 -pipe
 LDFLAGS=  INSTALL_PROGRAM=install -c -s  sh  
 /usr/src/usr.sbin/bind/configure --prefix=/usr  --localstatedir=/var   
 --sysconfdir=/etc  --disable-shared  --disable-threads  
 --disable-openssl-version-check
 Segmentation fault (core dumped)
 *** Error code 139

Did you clean your /usr/obj before running make build?
i.e. rm -rf /usr/obj/*

Ciao,
Kili



Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Matthias Kilian
On Wed, Feb 11, 2009 at 09:47:57AM +0100, Matthias Kilian wrote:
 Did you clean your /usr/obj before running make build?
 i.e. rm -rf /usr/obj/*

And of course, make obj after it.



Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Insan Praja SW
On Wed, 11 Feb 2009 15:59:23 +0700, Alexander Yurchenko  
gra...@disorder.ru wrote:



do a binary update from the snapshot using bsd.rd first. then try to
make build.


Well of course, my usual step on upgrading my experiment boxes would be:
1. get latest source.
 cd /usr/src
 cvs -danon...@anoncvs1.ca.openbsd.org:/cvs -q up -Pd
2. compile new kernel
 config GENERIC
 ../compile/GENERIC
 make clean  make depend  make  make install
3. Sometimes I rebooted the machine or straight to;
 cd /usr/src
 rm -rf /usr/obj*  make obj  cd /usr/src/etc
 env DESTDIR=/ make distrib-dirs
 cd /usr/src  make build

Just like in the FAQ.
Thanks.


On Wed, Feb 11, 2009 at 02:09:15PM +0700, Insan Praja SW wrote:

Hi Guys,
When upgrading my OBSD 4.5-beta machine, I got
=== usr.sbin/bind
PATH=/bin:/usr/bin:/sbin:/usr/sbin  CC=cc CFLAGS=-O2 -pipe  
LDFLAGS=  INSTALL_PROGRAM=install -c -s  sh
/usr/src/usr.sbin/bind/configure --prefix=/usr  --localstatedir=/var
--sysconfdir=/etc  --disable-shared  --disable-threads
--disable-openssl-version-check
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/src/usr.sbin/bind (line 70 of
/usr/src/usr.sbin/bind/Makefile.bsd-wrapper).
*** Error code 1

Stop in /usr/src/usr.sbin (line 48 of /usr/share/mk/bsd.subdir.mk).
*** Error code 1

Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk).
*** Error code 1

Stop in /usr/src (line 73 of Makefile).

on line 70 /usr/src/usr.sbin/bind/Makefile.bsd-wrapper would be;

66: config.status:
67:PATH=/bin:/usr/bin:/sbin:/usr/sbin \
68:${XCFLAGS} \
69:INSTALL_PROGRAM=${INSTALL} ${INSTALL_COPY}  
${INSTALL_STRIP} \

70:sh ${.CURDIR}/configure ${CONFIGURE_OPTS}

Any suggestions is much appreciated.
Thanks,

Insan
--
insandotpraja(at)gmaildotcom






--
insandotpraja(at)gmaildotcom



Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Harald Dunkel
I cannot speak for OpenBSD here, but for Linux a core dump of gcc
was an indication for bad RAM, i.e. a hardware problem.


Regards

Harri



Re: upgrading packages and ports, ugh

2009-02-11 Thread frantisek holop
hmm, on Tue, Feb 10, 2009 at 03:02:28AM +0100, Ingo Schwarze said that
  unace-1.2bp0
  unarj-2.43
  unrar-3.81
 
 Due to nasty licences, you must build those from source.

or perhaps use p7zip which can deal with these, if i am not mistaken.

-f
-- 
i have nothing to say, but i can say it loudly.



Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Michiel van Baak
On 10:51, Wed 11 Feb 09, Harald Dunkel wrote:
 I cannot speak for OpenBSD here, but for Linux a core dump of gcc
 was an indication for bad RAM, i.e. a hardware problem.

Or a box running out of memory and the kernel starts killing processes.

 
 
 Regards
 
 Harri
 

-- 

Michiel van Baak
mich...@vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD

Why is it drug addicts and computer aficionados are both called users?



Re: upgrading packages and ports, ugh

2009-02-11 Thread Remco
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?
 
 --
 jm

Please check the ports(7) man page to see if any of the targets mentioned
fits your upgrade/update scenario.



4.4 snapshot still not booting with empty sata dvd drive - panics in ahci - amd64

2009-02-11 Thread Marius

I write this partly as a reply to my message from May 18, 2008:
 4.3, snapshot panic while booting after ahci when no cd in drive (amd64)

To cut it short:
The kernel panics on boot if the drive is empty or open.
I can boot if there is a blank cd or dvd in the drive.
Some nonempty discs also cause a panic.

It also panics if I try to mount a cd / dvd.

I can boot from cd.

*ddb output:*
ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 1 int 22 
(irq 11), AHCI 1.1

scsibus0 at ahci0: 32 targets, initiator 32
sd0 at scsibus0 targ 0 lun 0: ATA, SAMSUNG HD082GJ, JE10 SCSI3 
0/direct fixed

sd0: 76319MB, 512 bytes/sec, 156301488 sec total
panic: kernel diagnostic assertion ccb-ccb_xa.state == ATA_S_ONCHIP
failed: file ../../../../dev/pci/ahci.c, line 1810
Stopped at  Debugger+0x5:leave
Debugger() at Debugger+0x5
panic() at panic+0x122
__assert() at __assert+0x21
ahci_port_intr() at ahci_port_intr+0x218
ahci_poll() at ahci_poll+0x4d
ahci_ata_cmd() at ahci_ata_cmd+0x9b
ata_exec() at ata_exec+0x19
scsi_execute_xs() at scsi_execute_xs+0x6d
scsi_scsi_cmd() at scsi_scsi_cmd+0xcb
scsi_test_unit_ready() at ascsi_test_unit_ready+0x43
end trace frame: 0x80c25a70, count: 0

*ddb{0} trace*
Debugger() at Debugger+0x5
panic() at panic+0x122
__assert() at __assert+0x21
ahci_port_intr() at ahci_port_intr+0x218
ahci_poll() at ahci_poll+0x4d
ahci_ata_cmd() at ahci_ata_cmd+0x9b
ata_exec() at ata_exec+0x19
scsi_execute_xs() at scsi_execute_xs+0x6d
scsi_scsi_cmd() ata scsi_scsi_cmd+0xcb
scsi_test_unit_ready() ata scsi_test_unit_ready+0x43
scsi_probedev() at scsi_pobedev+0x3c2
scsi_probe_target() at scsi_probe_target+0x26
scsi_probe_bus() at scsi_probe_bus+0x38
config_attach() at config_attach+0x11b
atascsi_attach() at atascsi_attach+0xf8
ahci_pci_attach() ata ahci_pci_attach+0x18a
config_attach() at config_attach+0x11b
pci_probe_device() at pci_probe_device+0x218
pci_enumerate_bus() at pci_enumerate_bus+0x104
config_attach() at config_attach+0x11b
mainbus_attach() at mainbus_attach+0x14f
config_attach() at config_attach+0x11b
cpu_configure() at cpu_configure+0x1c
main() at main+0x3d0
end trace frame: 0x0, count: -24

*ddb{0} ps*
 PID   PPID   PGRP   UID  S   FLAGS  WAIT   COMMAND
*0 -1  0 0  7 0x80200 swapper

*dmesg:*
OpenBSD 4.4-current (GENERIC.MP) #2086: Fri Feb  6 14:24:23 MST 2009
   t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2012020736 (1918MB)
avail mem = 1941286912 (1851MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfb990 (48 entries)
bios0: vendor American Megatrends Inc. version V1.5 date 10/15/2007
bios0: MICRO-STAR INTERANTIONAL CO.,LTD MS-7368
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) 
PCE7(S4) SBAZ(S4) PS2K(S1) PS2M(S1) P0PC(S4) AC97(S4) MC97(S4) USB1(S4) 
USB2(S4) USB3(S4) USB4(S4) USB5(S4) EUSB(S4) PWRB(S1)

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) Processor LE-1600, 2200.25 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache

cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0 apid 1 pa 0xfec0, version 21, 24 pins
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus 2 (PCE7)
acpiprt8 at acpi0: bus 3 (P0PC)
acpicpu0 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: PowerNow! K8 2200 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
ppb0 at pci0 dev 1 function 0 ATI RS690 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon X1250 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 18 (irq 10)
drm0 at radeondrm0
azalia0 at pci1 dev 5 function 2 ATI RS690 HD Audio rev 0x00: apic 1 
int 19 (irq 10)

azalia0: codecs: ATI/0x791a
audio0 at azalia0
ppb1 at pci0 dev 7 function 0 ATI RS690 PCIE rev 0x00
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 Realtek 8168 rev 0x01: RTL8168 2 
(0x3800), apic 1 int 19 (irq 10), address 00:1d:92:34:4f:37

rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 1 int 22 
(irq 11), AHCI 1.1

scsibus0 at ahci0: 32 targets, initiator 32
sd0 at scsibus0 targ 0 

Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Nick Holland
Insan Praja SW wrote:
 On Wed, 11 Feb 2009 15:59:23 +0700, Alexander Yurchenko  
 gra...@disorder.ru wrote:
 
 do a binary update from the snapshot using bsd.rd first. then try to
 make build.

 Well of course, my usual step on upgrading my experiment boxes would be:
 1. get latest source.
cd /usr/src
cvs -danon...@anoncvs1.ca.openbsd.org:/cvs -q up -Pd
 2. compile new kernel
config GENERIC
../compile/GENERIC
make clean  make depend  make  make install
 3. Sometimes I rebooted the machine or straight to;
cd /usr/src
rm -rf /usr/obj*  make obj  cd /usr/src/etc
env DESTDIR=/ make distrib-dirs
cd /usr/src  make build
 
 Just like in the FAQ.

That's not what the FAQ says...it says START FROM THE MOST RECENT
SNAPSHOT.  (5.3.2)

Upgrading from source is NOT supported.
Upgrading from source is NOT supported.
Upgrading from source is NOT supported.
Upgrading from source is NOT supported.
Upgrading from source is NOT supported.
Upgrading from source is NOT supported.

Nick.

 Thanks.
 
 On Wed, Feb 11, 2009 at 02:09:15PM +0700, Insan Praja SW wrote:
 Hi Guys,
 When upgrading my OBSD 4.5-beta machine, I got
 ^  BZZZT.  Try again.



Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Insan Praja SW
On Wed, 11 Feb 2009 18:57:19 +0700, Nick Holland  
n...@holland-consulting.net wrote:



Insan Praja SW wrote:

On Wed, 11 Feb 2009 15:59:23 +0700, Alexander Yurchenko
gra...@disorder.ru wrote:


do a binary update from the snapshot using bsd.rd first. then try to
make build.


Well of course, my usual step on upgrading my experiment boxes would be:
1. get latest source.
 cd /usr/src
 cvs -danon...@anoncvs1.ca.openbsd.org:/cvs -q up -Pd
2. compile new kernel
 config GENERIC
 ../compile/GENERIC
 make clean  make depend  make  make install
3. Sometimes I rebooted the machine or straight to;
 cd /usr/src
 rm -rf /usr/obj*  make obj  cd /usr/src/etc
 env DESTDIR=/ make distrib-dirs
 cd /usr/src  make build

Just like in the FAQ.


That's not what the FAQ says...it says START FROM THE MOST RECENT
SNAPSHOT.  (5.3.2)

Upgrading from source is NOT supported.
Upgrading from source is NOT supported.
Upgrading from source is NOT supported.
Upgrading from source is NOT supported.
Upgrading from source is NOT supported.
Upgrading from source is NOT supported.

Nick.


True.


Thanks.


On Wed, Feb 11, 2009 at 02:09:15PM +0700, Insan Praja SW wrote:

Hi Guys,
When upgrading my OBSD 4.5-beta machine, I got

 ^  BZZZT.  Try again.





--
insandotpraja(at)gmaildotcom



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

2009-02-11 Thread Stuart Henderson
On 2009/02/11 13:13, rancor wrote:
 Thanks Stuart but it did not help me all the way
 
 The example assumes that you want to redirect a specific port but I
 want to redirect any port to from a specific IP to another specific
 IP.
 
 May you explain how to make it work?

see the pf.conf manual, TRANSLATION section.



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

2009-02-11 Thread Steve Shockley

On 2/10/2009 4:35 PM, L. V. Lammert wrote:

Why not rsync/rshapshot  your own USB drive?


That probably doesn't qualify as off site, there's a good chance the 
USB drive will still be plugged into the server during a disaster.


Depending on the size of each backup, you could email an attachment to a 
free webmail provider, or use one of the GMail-disk programs.




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

2009-02-11 Thread rancor
Thanks Stuart but it did not help me all the way

The example assumes that you want to redirect a specific port but I
want to redirect any port to from a specific IP to another specific
IP.

May you explain how to make it work?

Best Regards Johan Ryberg aka rancor


On Fri, Jan 16, 2009 at 1:13 PM, Stuart Henderson s...@spacehopper.org wrote:
 see the nat+rdr combination in the faq.

 On 2009-01-16, rancor theran...@gmail.com wrote:
 Hi.

 I need help with a problem and I hope there is someone who can help me
 out there =)

 I need to make some kind of mirror/reflector that redirects IP from
 an external IP-address to another external IP-address on the same
 interface.

 I have used both ipfreely for TCP/IP and netcat for UDP/IP when I just
 redirects a single socket but now I need to redirect all IP traffic,
 no matter if it's UDP or TCP and on every socket between two
 IP-addresses.

 I have tried this but it's not working
 binat on fxp0 from 111.111.111.111 to any - 222.222.222.222

 The tcpdump gives me:
 Jan 16 12:52:36.554054 0:5:5d:18:98:42 0:c:f1:e3:de:72 0800 66:
 111.111.111.111.2420  333.333.333.333.80: S 3313211319:3313211319(0)
 win 65535 mss 1380,nop,wscale 1,nop,nop,sackOK (DF) [tos 0x88]
 Jan 16 12:52:36.554094 0:c:f1:e3:de:72 0:5:5d:18:98:42 0800 54:
 333.333.333.333.80  111.111.111.111:2420: R 0:0(0) ack 3313211320 win
 0 (DF)

 I have enabled ip forwarding if that has something with it to do, also
 a wide open firewall

 Best Regards rancor



Re: upgrading packages and ports, ugh

2009-02-11 Thread Hannah Schroeter
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.



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

2009-02-11 Thread rancor
Hi, thanks for your reply. I have read it several times, and now +1
and I have tried numerous times to made it work.

This is how I did the last time:

ext_if= { fxp0 }
client= { 85.117.200.163 }
mirror= { 85.117.161.85 }
server= { 74.125.77.103 }

rdr on $ext_if proto tcp from $client to $mirror port 1:65535 - $server
no nat on $ext_if proto tcp from $ext_if to $ext_if
nat on $ext_if proto tcp from $client to $mirror port 1:65535 - $ext_if


Maybe It's completely wrong but I'm not skilled enough to figure it
out and I need help to solve it. I have read every thing I can imagine
on the FAQ at openbsd.org och the man pages according to pf.conf

Then I target $mirror on ANY port from $client I want the mirror to
connect to the $server

Best Regards Johan Ryberg aka rancor




On Wed, Feb 11, 2009 at 1:19 PM, Stuart Henderson s...@spacehopper.org wrote:
 On 2009/02/11 13:13, rancor wrote:
 Thanks Stuart but it did not help me all the way

 The example assumes that you want to redirect a specific port but I
 want to redirect any port to from a specific IP to another specific
 IP.

 May you explain how to make it work?

 see the pf.conf manual, TRANSLATION section.



Re: SOCKS proxy

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 3:17 PM, Diana Eichert deich...@wrench.com wrote:

 do you know what a2 is?  you say it a Firewall with Proxy
 if it's a application layer gateway (alg) it actually acts as a MITM to
 forward your connection.


 On Tue, 10 Feb 2009, Tony Berth wrote:

  Dear List,

 I have following case:

-
||
 --   | Firewall with Proxy:port [a2]
 |
 ---
 | client [a1]  | - ||
 --(internet)-| Public accessible server with static IP
 [a3]  |
 --
 'a1' connects only via browser to the internet after defining the
 proxy:port
 of 'a2'

 Is it possible to create a SOCKS Proxy from 'a1' to 'a3'?
 If 'a1' wasn't blocked to the internet I would: ssh -p 443 -D 2000
 userid@a3 but this command times out!
 is a way to 'tell' to make use of the proxy in 'a2' and redirect all the
 traffic?

 Thanks

 Tony


I just realised that my graph wasn't readable so I'll try here to re-draw
it:

-
client [a1]
-
  |
  |
-
Firewall
Proxy:port
[a2]

 |
 |
(internet)
 |
 |
-
remote server
with static IP
[a3]


Hope that this one will help to draw some attention from the list.

Thanks

Tony

---

Hi Diana,

The 'a2' is rather a logical entity. Actually there are 2 machines. One
blocking all direct traffic to the Internet and the other is a proxy which
address is included in the 'a1's' browser in order to be able to access the
Internet!

Hope I did answer your question!

Thanks Tony



Re: SOCKS proxy

2009-02-11 Thread Diana Eichert

On Wed, 11 Feb 2009, Tony Berth wrote:




I just realised that my graph wasn't readable so I'll try here to re-draw
it:

-
client [a1]
-
 |
 |
-
Firewall
Proxy:port
[a2]

|
|
(internet)
|
|
-
remote server
with static IP
[a3]


Hope that this one will help to draw some attention from the list.

Thanks

Tony

---

Hi Diana,

The 'a2' is rather a logical entity. Actually there are 2 machines. One
blocking all direct traffic to the Internet and the other is a proxy which
address is included in the 'a1's' browser in order to be able to access the
Internet!

Hope I did answer your question!

Thanks Tony


Tony

First, I put on my corporate network security hat on.  If you're trying to
get around corporate policies you're setting yourself up for other 
problem if they catch you.  We find you doing this where I work and ... .


Second my helpful reply.  :-)

Ok, so you don't know the specifics of the proxy.  The reason I ask is if
it's a MITM proxy, ala Bluecoat, the proxy actually looks at the session
contents.  If the packets don't look like proper allowed traffic it gets
blocked.

If it's a dumb proxy you might be able to get through using something like
httptunnel.  Stating access the Internet doesn't explain what kind of
traffic is allowed, however my assumption ( I hate to assume ) is they
only want to allow http / https traffic, with perhaps ftp traffic too.

diana



Qlogic ISP SATA JBOD hardwiring disk drives

2009-02-11 Thread Marshall Midden
I am trying to hardwire two eurologic bays of 12 each sata 250gb disk drives to 
use with raidframe.

I had both on one port of the qlogic 23xx and noticed that the drives appeared 
to swap depending on the order of powering up the two bays. I now have the two 
bays on different qlogic ports.

Forming the correct question is difficult due to possibilities.
Question try#1: is there some way to WWN tie the ports to sd device?
Question try#2: is there some way to do this? If I pull out a drive, they all 
shift (on that isp device).
Question try#3: Is there a way to volume label drives and have them mount?
Question try#4: Is there a way to have out of order raids work nicely with 
raidframe (don't know if it works?)?
Ok, whatever the right question to be asking is.



Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
Dear List,

in a 4.4 box with Postgresql 8.3.3 I try to create a new tablespace in a
different filesystem and get the following error:

---
template1=# CREATE TABLESPACE tbspace-name OWNER DB-user LOCATION
'/home/DB-user/db';
ERROR:  could not set permissions on directory /home/DB-user/db:
Permission denied
---

/home/DB-user/db does exist and belongs to DB-user who has the same
name in Postgresql and in Unix!

Thanks for your help

Tony



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Jason Dixon
On Wed, Feb 11, 2009 at 03:59:53PM +0100, Tony Berth wrote:
 Dear List,
 
 in a 4.4 box with Postgresql 8.3.3 I try to create a new tablespace in a
 different filesystem and get the following error:
 
 ---
 template1=# CREATE TABLESPACE tbspace-name OWNER DB-user LOCATION
 '/home/DB-user/db';
 ERROR:  could not set permissions on directory /home/DB-user/db:
 Permission denied
 ---
 
 /home/DB-user/db does exist and belongs to DB-user who has the same
 name in Postgresql and in Unix!

It sounds to me like DB-user is a role account.  Any filesystem-level
changes would probably be performed by the _postgresql user that the
database process runs at.

http://www.postgresql.org/docs/8.3/static/manage-ag-tablespaces.html

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



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

2009-02-11 Thread Bruno Bigras
Steve B a icrit :
 Can anyone recommend one of the free, online backup service providers? I
 would like to tar up all of my config files, custom scripts, etc any time
 they change and then upload them to some place offsite. I do not need a lot
 of space1GB would be more than sufficient. It would need to be a service
 that I can use SSH, FTP or some other protocol to transfer the data.
 
 Steve

You can use duplicity to store your files on GMail.



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Pereresus ne Vlezaet Buggy
On 11 February 2009 c. 17:59:53 Tony Berth wrote:
 Dear List,

 in a 4.4 box with Postgresql 8.3.3 I try to create a new tablespace in
 a different filesystem and get the following error:

 ---
 template1=# CREATE TABLESPACE tbspace-name OWNER DB-user LOCATION
 '/home/DB-user/db';
 ERROR:  could not set permissions on directory /home/DB-user/db:
 Permission denied
 ---

 /home/DB-user/db does exist and belongs to DB-user who has the
 same name in Postgresql and in Unix!

 Thanks for your help

 Tony

PostgreSQL runs under system _postgresql user,
see /usr/local/share/doc/postgresql/README.OpenBSD

--
  WBR,
Pereresus ne Vlezaet Buggy



Re: SOCKS proxy

2009-02-11 Thread Randal L. Schwartz
 Diana == Diana Eichert deich...@wrench.com writes:

Diana First, I put on my corporate network security hat on.  If you're trying
Diana to get around corporate policies you're setting yourself up for other
Diana problem if they catch you.  We find you doing this where I work and
Diana ... .

And if you think bad things can't happen to good people, that's pretty much
the story behind my conviction, described at http://www.lightlink.com/fors/.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion



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

2009-02-11 Thread Dan Colish
 That probably doesn't qualify as off site, there's a good chance the USB
 drive will still be plugged into the server during a disaster.

 Depending on the size of each backup, you could email an attachment to a
 free webmail provider, or use one of the GMail-disk programs.


the concept of good DR and free are way out of sync here. use s3 if you want
a cheap solution.



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

2009-02-11 Thread Jim Razmus
* Dan Colish dcol...@gmail.com [090211 10:44]:
  That probably doesn't qualify as off site, there's a good chance the USB
  drive will still be plugged into the server during a disaster.
 
  Depending on the size of each backup, you could email an attachment to a
  free webmail provider, or use one of the GMail-disk programs.
 
 
 the concept of good DR and free are way out of sync here. use s3 if you want
 a cheap solution.
 

Amen.  For my purposes, duplicity to Amazon S3 has been great.  Last
monthly bill was $0.17 USD.  That's not a typo, 17 cents for daily
incremental backups spanning 60 days.  That is, a full every 30 days,
incrementals otherwise, and retaining two consecutive sets at any given
time.  It's so cheap, how can you not afford good backups...

Be sure you test recovery before you have a failure.  Backups are
worthless unless you can recover them.  Preacher, choir, ...

Jim



Re: SOCKS proxy

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 3:57 PM, Diana Eichert deich...@wrench.com wrote:

 On Wed, 11 Feb 2009, Tony Berth wrote:


  I just realised that my graph wasn't readable so I'll try here to
 re-draw
 it:

 -
 client [a1]
 -
 |
 |
 -
 Firewall
 Proxy:port
 [a2]
 
|
|
 (internet)
|
|
 -
 remote server
 with static IP
 [a3]
 

 Hope that this one will help to draw some attention from the list.

 Thanks

 Tony


 ---

 Hi Diana,

 The 'a2' is rather a logical entity. Actually there are 2 machines. One
 blocking all direct traffic to the Internet and the other is a proxy which
 address is included in the 'a1's' browser in order to be able to access
 the
 Internet!

 Hope I did answer your question!

 Thanks Tony


 Tony

 First, I put on my corporate network security hat on.  If you're trying to
 get around corporate policies you're setting yourself up for other problem
 if they catch you.  We find you doing this where I work and ... .

 Second my helpful reply.  :-)

 Ok, so you don't know the specifics of the proxy.  The reason I ask is if
 it's a MITM proxy, ala Bluecoat, the proxy actually looks at the session
 contents.  If the packets don't look like proper allowed traffic it gets
 blocked.

 If it's a dumb proxy you might be able to get through using something like
 httptunnel.  Stating access the Internet doesn't explain what kind of
 traffic is allowed, however my assumption ( I hate to assume ) is they
 only want to allow http / https traffic, with perhaps ftp traffic too.

 diana


Hi Diana,

this is a 'dumb' proxy and allows http/https traffic only. So ports 80 and
443!

What I'm after is the ssh command I have to issue in order to open a
connection from 'a1' to 'a3'! If I read correctly, in case I would have used
putty on 'a1' I should do the following:

http://meinit.nl/using-putty-and-an-http-proxy-to-ssh-anywhere-through-firewalls

I was wondering if ssh flag '-L' is doing the same job.

By 'httptunnel' you mean the following:

http://www.jumperz.net/index.php?i=2a=0b=0

Thanks

Tony



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 4:13 PM, Jason Dixon ja...@dixongroup.net wrote:

 On Wed, Feb 11, 2009 at 03:59:53PM +0100, Tony Berth wrote:
  Dear List,
 
  in a 4.4 box with Postgresql 8.3.3 I try to create a new tablespace in a
  different filesystem and get the following error:
 
  ---
  template1=# CREATE TABLESPACE tbspace-name OWNER DB-user LOCATION
  '/home/DB-user/db';
  ERROR:  could not set permissions on directory /home/DB-user/db:
  Permission denied
  ---
 
  /home/DB-user/db does exist and belongs to DB-user who has the same
  name in Postgresql and in Unix!

 It sounds to me like DB-user is a role account.  Any filesystem-level
 changes would probably be performed by the _postgresql user that the
 database process runs at.

 http://www.postgresql.org/docs/8.3/static/manage-ag-tablespaces.html

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



I did assign that directory to '_postgresql' user too but I still get the
same error!

DB-user is indeed a role account and a Unix user!

I can't connect via psql using '_postgresql'. I can only connect as
'postgres'!

Thanks

Tony



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Jason Dixon
On Wed, Feb 11, 2009 at 05:07:45PM +0100, Tony Berth wrote:
 On Wed, Feb 11, 2009 at 4:13 PM, Jason Dixon ja...@dixongroup.net wrote:
 
  On Wed, Feb 11, 2009 at 03:59:53PM +0100, Tony Berth wrote:
   Dear List,
  
   in a 4.4 box with Postgresql 8.3.3 I try to create a new tablespace in a
   different filesystem and get the following error:
  
   ---
   template1=# CREATE TABLESPACE tbspace-name OWNER DB-user LOCATION
   '/home/DB-user/db';
   ERROR:  could not set permissions on directory /home/DB-user/db:
   Permission denied
   ---
  
   /home/DB-user/db does exist and belongs to DB-user who has the same
   name in Postgresql and in Unix!
 
  It sounds to me like DB-user is a role account.  Any filesystem-level
  changes would probably be performed by the _postgresql user that the
  database process runs at.
 
  http://www.postgresql.org/docs/8.3/static/manage-ag-tablespaces.html
 
 I did assign that directory to '_postgresql' user too but I still get the
 same error!
 
 DB-user is indeed a role account and a Unix user!
 
 I can't connect via psql using '_postgresql'. I can only connect as
 'postgres'!

Obviously you're doing something wrong.  But you're not showing us your
commands or the errors, so we're not going to be much help.

P.S.  I also suggest re-reading the PostgreSQL documentation.  You need
a better understanding of the role accounts and how they differ from the
system user postgresql runs as.

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



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 5:17 PM, Jason Dixon ja...@dixongroup.net wrote:

 On Wed, Feb 11, 2009 at 05:07:45PM +0100, Tony Berth wrote:
  On Wed, Feb 11, 2009 at 4:13 PM, Jason Dixon ja...@dixongroup.net
 wrote:
 
   On Wed, Feb 11, 2009 at 03:59:53PM +0100, Tony Berth wrote:
Dear List,
   
in a 4.4 box with Postgresql 8.3.3 I try to create a new tablespace
 in a
different filesystem and get the following error:
   
---
template1=# CREATE TABLESPACE tbspace-name OWNER DB-user LOCATION
'/home/DB-user/db';
ERROR:  could not set permissions on directory /home/DB-user/db:
Permission denied
---
   
/home/DB-user/db does exist and belongs to DB-user who has the
 same
name in Postgresql and in Unix!
  
   It sounds to me like DB-user is a role account.  Any filesystem-level
   changes would probably be performed by the _postgresql user that the
   database process runs at.
  
   http://www.postgresql.org/docs/8.3/static/manage-ag-tablespaces.html
 
  I did assign that directory to '_postgresql' user too but I still get the
  same error!
 
  DB-user is indeed a role account and a Unix user!
 
  I can't connect via psql using '_postgresql'. I can only connect as
  'postgres'!

 Obviously you're doing something wrong.  But you're not showing us your
 commands or the errors, so we're not going to be much help.

 P.S.  I also suggest re-reading the PostgreSQL documentation.  You need
 a better understanding of the role accounts and how they differ from the
 system user postgresql runs as.

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


I did the following:

- as '_postgresql' UNIX user I issued psql -d template1 postgres
- then issued twice the CREATE TABLESPACE cmd as already described and got
the error (with OWNER defined both 'postgres' and 'DB-user')

that's all I did!

Thanks

Tony



Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Ingo Schwarze
Harald Dunkel schrieb am Wed, Feb 11, 2009 at 10:51:35AM +0100:

 I cannot speak for OpenBSD here, but for Linux a core dump of gcc
 was an indication for bad RAM, i.e. a hardware problem.

Insan didn't report a core dump of gcc, but of ksh.
I would be very surprised if this particular one were a hardware problem.



Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Ingo Schwarze
Hi Insan,

Insan Praja SW wroto on Wed, Feb 11, 2009 at 02:09:15PM +0700:

 When upgrading my OBSD 4.5-beta machine, I got
 === usr.sbin/bind
 PATH=/bin:/usr/bin:/sbin:/usr/sbin  CC=cc CFLAGS=-O2 -pipe
 LDFLAGS=  INSTALL_PROGRAM=install -c -s  sh  
 /usr/src/usr.sbin/bind/configure --prefix=/usr  --localstatedir=/var   
 --sysconfdir=/etc  --disable-shared  --disable-threads  
 --disable-openssl-version-check
 Segmentation fault (core dumped)

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

To confirm, type

 $ /bin/ksh
 $ set -o posix
 $ echo

and show me the output.

To fix that, type

 $ cd /usr/src/bin/ksh
 $ cvs up -dP
 $ make clean
 $ make obj
 $ make depend
 $ make
 $ sudo make install

and start over building bind.

Nick is right, building from source is not supported, but that's
no reason not to tell you.  ;-)

Sorry for the inconvenience,
  Ingo



Re: openBSD newbie: how to display INSTALL.arch during install

2009-02-11 Thread Neoklis Kyriazis
On 2/10/09, Jesus Sanchez zexe...@gmail.com wrote:
 Josh Grosse escribis:

 O.o... another computer with screen near??

Yep! right in front of me ;-)

 belive me, print out some pages would affect the subsistence of
 trees, the paper factories use controlated environments with fast grown
 trees species to don't cut forests (at least here in Spain).

OK, I guess I will select the more difficult parts and make a
printout. I have some docs with a blank back anyhow - recycling!

Thanks for the replies.

-- 
Best regards


Neoklis  Ham Radio call 5B4AZ
Website: http://5b4az.chronos.org.uk/



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Jason Dixon
On Wed, Feb 11, 2009 at 05:24:41PM +0100, Tony Berth wrote:
 On Wed, Feb 11, 2009 at 5:17 PM, Jason Dixon ja...@dixongroup.net wrote:
 
  On Wed, Feb 11, 2009 at 05:07:45PM +0100, Tony Berth wrote:
   On Wed, Feb 11, 2009 at 4:13 PM, Jason Dixon ja...@dixongroup.net
  wrote:
  
On Wed, Feb 11, 2009 at 03:59:53PM +0100, Tony Berth wrote:
 Dear List,

 in a 4.4 box with Postgresql 8.3.3 I try to create a new tablespace
  in a
 different filesystem and get the following error:

 ---
 template1=# CREATE TABLESPACE tbspace-name OWNER DB-user LOCATION
 '/home/DB-user/db';
 ERROR:  could not set permissions on directory /home/DB-user/db:
 Permission denied
 ---

 /home/DB-user/db does exist and belongs to DB-user who has the
  same
 name in Postgresql and in Unix!
   
It sounds to me like DB-user is a role account.  Any filesystem-level
changes would probably be performed by the _postgresql user that the
database process runs at.
   
http://www.postgresql.org/docs/8.3/static/manage-ag-tablespaces.html
  
   I did assign that directory to '_postgresql' user too but I still get the
   same error!
  
   DB-user is indeed a role account and a Unix user!
  
   I can't connect via psql using '_postgresql'. I can only connect as
   'postgres'!
 
  Obviously you're doing something wrong.  But you're not showing us your
  commands or the errors, so we're not going to be much help.
 
  P.S.  I also suggest re-reading the PostgreSQL documentation.  You need
  a better understanding of the role accounts and how they differ from the
  system user postgresql runs as.
 
 I did the following:
 
 - as '_postgresql' UNIX user I issued psql -d template1 postgres
 - then issued twice the CREATE TABLESPACE cmd as already described and got
 the error (with OWNER defined both 'postgres' and 'DB-user')
 
 that's all I did!

Ok, let's try this one more time.  Put yourself in my shoes.  I'd like
to help, but you're giving me ZERO useful information.  What else might
be useful?  Perhaps to see the actual directory permissions?  To see
your commands from the actual command-line, and not a re-typing of what
you *think* you ran?

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



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Dan Colish
Apologies, for the typo, its postgresql not postgres, although it can work
with either.



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 5:31 PM, Jason Dixon ja...@dixongroup.net wrote:

 On Wed, Feb 11, 2009 at 05:24:41PM +0100, Tony Berth wrote:
  On Wed, Feb 11, 2009 at 5:17 PM, Jason Dixon ja...@dixongroup.net
 wrote:
 
   On Wed, Feb 11, 2009 at 05:07:45PM +0100, Tony Berth wrote:
On Wed, Feb 11, 2009 at 4:13 PM, Jason Dixon ja...@dixongroup.net
   wrote:
   
 On Wed, Feb 11, 2009 at 03:59:53PM +0100, Tony Berth wrote:
  Dear List,
 
  in a 4.4 box with Postgresql 8.3.3 I try to create a new
 tablespace
   in a
  different filesystem and get the following error:
 
  ---
  template1=# CREATE TABLESPACE tbspace-name OWNER DB-user
 LOCATION
  '/home/DB-user/db';
  ERROR:  could not set permissions on directory
 /home/DB-user/db:
  Permission denied
  ---
 
  /home/DB-user/db does exist and belongs to DB-user who has
 the
   same
  name in Postgresql and in Unix!

 It sounds to me like DB-user is a role account.  Any
 filesystem-level
 changes would probably be performed by the _postgresql user that
 the
 database process runs at.


 http://www.postgresql.org/docs/8.3/static/manage-ag-tablespaces.html
   
I did assign that directory to '_postgresql' user too but I still get
 the
same error!
   
DB-user is indeed a role account and a Unix user!
   
I can't connect via psql using '_postgresql'. I can only connect as
'postgres'!
  
   Obviously you're doing something wrong.  But you're not showing us your
   commands or the errors, so we're not going to be much help.
  
   P.S.  I also suggest re-reading the PostgreSQL documentation.  You need
   a better understanding of the role accounts and how they differ from
 the
   system user postgresql runs as.
 
  I did the following:
 
  - as '_postgresql' UNIX user I issued psql -d template1 postgres
  - then issued twice the CREATE TABLESPACE cmd as already described and
 got
  the error (with OWNER defined both 'postgres' and 'DB-user')
 
  that's all I did!

 Ok, let's try this one more time.  Put yourself in my shoes.  I'd like
 to help, but you're giving me ZERO useful information.  What else might
 be useful?  Perhaps to see the actual directory permissions?  To see
 your commands from the actual command-line, and not a re-typing of what
 you *think* you ran?

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


when using 'OWNER DB-user', the permissions of the directory were set to
the UNIX 'DB-user' and when using 'OWNER postgres' the permissions were
set to '_postgresql'!

Now this should be wrong but there is no UNIX user 'postgres' in OpenBSD! I
tried exactly the same scenario in a debian box and it did work but there, I
did have a UNIX 'postgres' user instead!

I'll do the same thing all over again and I'll copy the commands and send to
you in case I missed something!

Thanks

Tony



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Dan Colish
 I did the following:

 - as '_postgresql' UNIX user I issued psql -d template1 postgres
 - then issued twice the CREATE TABLESPACE cmd as already described and got
 the error (with OWNER defined both 'postgres' and 'DB-user')

 that's all I did!

 Thanks

 Tony


You should have a read of /usr/local/share/doc/postgresql/README.OpenBSD
The users that you're using are just wrong. The database is run using
postgres not _postgresql.



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Jason Dixon
On Wed, Feb 11, 2009 at 05:46:28PM +0100, Tony Berth wrote:
 
 case#1:
 
 my /home/DB-user/db dir is owned by _postgresql:_postgresql

Wow, you've managed to completely ignore all advice both Dan Colish and
myself have given you.  Since you continue to refuse to do any of these
things, or give me what I keep asking for (directory permission
listings), I'm going to have to cut you off.

Good Luck.

===
P.S.  The correct response should be been something like:

$ ls -ld /home/foo/db
result
$ ls -ld /home/foo
result
===

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



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Darrin Chandler
  Obviously you're doing something wrong.  But you're not showing us your
  commands or the errors, so we're not going to be much help.

 I did the following:

 - as '_postgresql' UNIX user I issued psql -d template1 postgres
 - then issued twice the CREATE TABLESPACE cmd as already described and got
 the error (with OWNER defined both 'postgres' and 'DB-user')

 that's all I did!

Just to be clear, you're not showing us your commands or the errors, so
we're not going to be much help.

You're trying something which should work (and does work for others),
but for some reason it's not working for you. Likely this is because of
some small detail that's not correct. If you just say I did it right
and it didn't work then there's no way to figure out what's wrong.

Here's an example of how to show things:

-
Help! echo doesn't echo what I type!!!

$ echo foo   bar
foo bar
-

Given the above the answer is forthcoming. Without the output it's
unlikely anybody can/will answer.

--
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
dwchand...@stilyagin.com   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG
Federation

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



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Dan Colish
learn to create users or http://www.ubuntu.com/getubuntu/download



Re: Thinkpad R61 support

2009-02-11 Thread Marc Espie
On Mon, Feb 09, 2009 at 01:08:33PM -0500, STeve Andre' wrote:
 On Monday 09 February 2009 01:59:56 Michiel van Baak wrote:
  On 01:04, Mon 09 Feb 09, Marc Espie wrote:
   On Sun, Feb 08, 2009 at 08:37:43AM -0500, Kenneth R Westerback wrote:
On Sat, Feb 07, 2009 at 07:39:24PM -0200, Christiano Farina Haesbaert 
 wrote:
 Hello there, I'm considering buying a thinkpad R61, if someone has
 any information on the hardware support for it I would appreciate.

 Best Regards.

 --
 Christiano Farina Haesbaert
   
We bought a bunch of R61's at work and had nothing but trouble with
them, especially the wireless. But this is with Windows and not
OpenBSD. They also weigh a ton.
  
   The wireless works under OpenBSD, but it loses network once in a while.
   The best fix so far is some ifconfig iwn0 down; dhclient iwn0
   That makes it work again...
 
  ipw in the T61p has the same.
  Once a week or something.
 
 I think these iwn problems are machine specific.  I have a W500 ThinkPad, and
 iwn0 is rock stable here.  As long as I have a signal, I have a connection, 
 and, its more sensitive than other laptops.

It's quite possible that I see issues related to other wifi networks in my
building. Maybe yours isn't that busy...



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 5:38 PM, Tony Berth tonybe...@googlemail.comwrote:

 On Wed, Feb 11, 2009 at 5:31 PM, Jason Dixon ja...@dixongroup.net wrote:

 On Wed, Feb 11, 2009 at 05:24:41PM +0100, Tony Berth wrote:
  On Wed, Feb 11, 2009 at 5:17 PM, Jason Dixon ja...@dixongroup.net
 wrote:
 
   On Wed, Feb 11, 2009 at 05:07:45PM +0100, Tony Berth wrote:
On Wed, Feb 11, 2009 at 4:13 PM, Jason Dixon ja...@dixongroup.net
   wrote:
   
 On Wed, Feb 11, 2009 at 03:59:53PM +0100, Tony Berth wrote:
  Dear List,
 
  in a 4.4 box with Postgresql 8.3.3 I try to create a new
 tablespace
   in a
  different filesystem and get the following error:
 
  ---
  template1=# CREATE TABLESPACE tbspace-name OWNER DB-user
 LOCATION
  '/home/DB-user/db';
  ERROR:  could not set permissions on directory
 /home/DB-user/db:
  Permission denied
  ---
 
  /home/DB-user/db does exist and belongs to DB-user who has
 the
   same
  name in Postgresql and in Unix!

 It sounds to me like DB-user is a role account.  Any
 filesystem-level
 changes would probably be performed by the _postgresql user that
 the
 database process runs at.


 http://www.postgresql.org/docs/8.3/static/manage-ag-tablespaces.html
   
I did assign that directory to '_postgresql' user too but I still
 get the
same error!
   
DB-user is indeed a role account and a Unix user!
   
I can't connect via psql using '_postgresql'. I can only connect as
'postgres'!
  
   Obviously you're doing something wrong.  But you're not showing us
 your
   commands or the errors, so we're not going to be much help.
  
   P.S.  I also suggest re-reading the PostgreSQL documentation.  You
 need
   a better understanding of the role accounts and how they differ from
 the
   system user postgresql runs as.
 
  I did the following:
 
  - as '_postgresql' UNIX user I issued psql -d template1 postgres
  - then issued twice the CREATE TABLESPACE cmd as already described and
 got
  the error (with OWNER defined both 'postgres' and 'DB-user')
 
  that's all I did!

 Ok, let's try this one more time.  Put yourself in my shoes.  I'd like
 to help, but you're giving me ZERO useful information.  What else might
 be useful?  Perhaps to see the actual directory permissions?  To see
 your commands from the actual command-line, and not a re-typing of what
 you *think* you ran?

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


 when using 'OWNER DB-user', the permissions of the directory were set to
 the UNIX 'DB-user' and when using 'OWNER postgres' the permissions were
 set to '_postgresql'!

 Now this should be wrong but there is no UNIX user 'postgres' in OpenBSD! I
 tried exactly the same scenario in a debian box and it did work but there, I
 did have a UNIX 'postgres' user instead!

 I'll do the same thing all over again and I'll copy the commands and send
 to you in case I missed something!

 Thanks

 Tony


case#1:

my /home/DB-user/db dir is owned by _postgresql:_postgresql

$su - _postgresql
Password:
$ psql -d template1 postgres
Password for user postgres:
Welcome to psql 8.3.3, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
   \h for help with SQL commands
   \? for help with psql commands
   \g or terminate with semicolon to execute query
   \q to quit

template1=# CREATE TABLESPACE kp OWNER postgres LOCATION
'/home/DB-user/db';
ERROR:  could not set permissions on directory /home/DB-user/db:
Permission denied

case #2:

my /home/DB-user/db dir is owned by DB-user:users

$ psql -d template1 DB-user
Password for user DB-user:
Welcome to psql 8.3.3, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
   \h for help with SQL commands
   \? for help with psql commands
   \g or terminate with semicolon to execute query
   \q to quit

template1=# CREATE TABLESPACE kp OWNER DB-user LOCATION '/home/kp/db';
ERROR:  could not set permissions on directory /home/DB-user/db:
Permission denied

Thanks

Tony



Re: laptop heating due to wpi(4)?

2009-02-11 Thread Alexander Hall

Amarendra Godbole wrote:

i recently started using intel wireless on my thinkpad x60, through
the wpi(4) driver. earlier, i had heating issues, which were resolved
by setting hw.setperf to 0, but now i again see my laptop heating up
-- especially below my right palm.

temperature sensor outputs from sysctl shows:
hw.sensors.acpitz0.temp0=60.05 degC (zone temperature)
hw.sensors.acpitz1.temp0=60.05 degC (zone temperature)
hw.sensors.cpu0.temp0=58.00 degC
hw.sensors.wpi0.raw0=155 (temperature 0 - 285)
hw.sensors.aps0.temp0=57.00 degC
hw.sensors.aps0.temp1=57.00 degC

wpi shows 155, which is roughly 68 deg C. is the heating because of
wpi? that's what has changed. any pointers to cooling down the laptop
will be appreciated. dmesg, if needed, is here
http://www.obscure.org/~amunix/tmp/dmesg


I've had heat issues with my X61s, running i386, but I've never related 
it to the wpi, which works without issues for me. I seem to recall 
someone mentioning this not being an issue for amd64, but I may be wrong.


For me, extensive gaming (e.g. xmoto) made acpitz bail out. The fan 
speed is always running at a constant low speed.


Any year now I'll get my thumb out of my ass and upgrade to amd64 and 
see what happens. :)


/Alexander



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 5:51 PM, Jason Dixon ja...@dixongroup.net wrote:

 On Wed, Feb 11, 2009 at 05:46:28PM +0100, Tony Berth wrote:
 
  case#1:
 
  my /home/DB-user/db dir is owned by _postgresql:_postgresql

 Wow, you've managed to completely ignore all advice both Dan Colish and
 myself have given you.  Since you continue to refuse to do any of these
 things, or give me what I keep asking for (directory permission
 listings), I'm going to have to cut you off.

 Good Luck.

 ===
 P.S.  The correct response should be been something like:

 $ ls -ld /home/foo/db
 result
 $ ls -ld /home/foo
 result
 ===

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


found the cause of the problem

Thanks for your help



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Alexander Hall

Tony Berth wrote:

On Wed, Feb 11, 2009 at 5:51 PM, Jason Dixon ja...@dixongroup.net wrote:


On Wed, Feb 11, 2009 at 05:46:28PM +0100, Tony Berth wrote:

case#1:

my /home/DB-user/db dir is owned by _postgresql:_postgresql

Wow, you've managed to completely ignore all advice both Dan Colish and
myself have given you.  Since you continue to refuse to do any of these
things, or give me what I keep asking for (directory permission
listings), I'm going to have to cut you off.

Good Luck.

===
P.S.  The correct response should be been something like:

$ ls -ld /home/foo/db
result
$ ls -ld /home/foo
result
===

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



found the cause of the problem

Thanks for your help


Please share your findings and the solution for the list archives.

/Alexander



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 7:23 PM, Alexander Hall alexan...@beard.se wrote:

 Tony Berth wrote:

 On Wed, Feb 11, 2009 at 5:51 PM, Jason Dixon ja...@dixongroup.net
 wrote:

  On Wed, Feb 11, 2009 at 05:46:28PM +0100, Tony Berth wrote:

 case#1:

 my /home/DB-user/db dir is owned by _postgresql:_postgresql

 Wow, you've managed to completely ignore all advice both Dan Colish and
 myself have given you.  Since you continue to refuse to do any of these
 things, or give me what I keep asking for (directory permission
 listings), I'm going to have to cut you off.

 Good Luck.

 ===
 P.S.  The correct response should be been something like:

 $ ls -ld /home/foo/db
 result
 $ ls -ld /home/foo
 result
 ===

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


 found the cause of the problem

 Thanks for your help


 Please share your findings and the solution for the list archives.

 /Alexander


it was just a stupid typo in the permissions. That's why I didn't refer to a
'solution'!

Thanks



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Alexander Hall

Tony Berth wrote:

On Wed, Feb 11, 2009 at 7:23 PM, Alexander Hall alexan...@beard.se wrote:


Tony Berth wrote:


On Wed, Feb 11, 2009 at 5:51 PM, Jason Dixon ja...@dixongroup.net
wrote:

 On Wed, Feb 11, 2009 at 05:46:28PM +0100, Tony Berth wrote:

case#1:

my /home/DB-user/db dir is owned by _postgresql:_postgresql


Wow, you've managed to completely ignore all advice both Dan Colish and
myself have given you.  Since you continue to refuse to do any of these
things, or give me what I keep asking for (directory permission
listings), I'm going to have to cut you off.

Good Luck.

===
P.S.  The correct response should be been something like:

$ ls -ld /home/foo/db
result
$ ls -ld /home/foo
result
===

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



found the cause of the problem

Thanks for your help


Please share your findings and the solution for the list archives.

/Alexander



it was just a stupid typo in the permissions. That's why I didn't refer to a
'solution'!


Ok, now you got me even more curious. Stupid typos could happen to 
anyone, so don't feel bad about it. Anyway, I, and likely a few with me, 
who has bothered to read this thread, would _still_ appreciate to know 
what the problem was. I do not understand what a stupid typo in the 
permissions refers to. I could guess, but I'd rather not.


Pretty please with sugar on top? :)

/Alexander



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 7:48 PM, Alexander Hall alexan...@beard.se wrote:

 Tony Berth wrote:

 On Wed, Feb 11, 2009 at 7:23 PM, Alexander Hall alexan...@beard.se
 wrote:

  Tony Berth wrote:

  On Wed, Feb 11, 2009 at 5:51 PM, Jason Dixon ja...@dixongroup.net
 wrote:

  On Wed, Feb 11, 2009 at 05:46:28PM +0100, Tony Berth wrote:

 case#1:

 my /home/DB-user/db dir is owned by _postgresql:_postgresql

  Wow, you've managed to completely ignore all advice both Dan Colish
 and
 myself have given you.  Since you continue to refuse to do any of these
 things, or give me what I keep asking for (directory permission
 listings), I'm going to have to cut you off.

 Good Luck.

 ===
 P.S.  The correct response should be been something like:

 $ ls -ld /home/foo/db
 result
 $ ls -ld /home/foo
 result
 ===

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


  found the cause of the problem

 Thanks for your help

  Please share your findings and the solution for the list archives.

 /Alexander


 it was just a stupid typo in the permissions. That's why I didn't refer to
 a
 'solution'!


 Ok, now you got me even more curious. Stupid typos could happen to anyone,
 so don't feel bad about it. Anyway, I, and likely a few with me, who has
 bothered to read this thread, would _still_ appreciate to know what the
 problem was. I do not understand what a stupid typo in the permissions
 refers to. I could guess, but I'd rather not.

 Pretty please with sugar on top? :)

 /Alexander



very simple! Instead of '_postgresql' it was '_potgresql'! It was one 's'
missing! I had a rather small font defined for my terminals connected to the
server and was not easy to spot it!

Thanks



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 7:48 PM, Alexander Hall alexan...@beard.se wrote:

 Tony Berth wrote:

 On Wed, Feb 11, 2009 at 7:23 PM, Alexander Hall alexan...@beard.se
 wrote:

  Tony Berth wrote:

  On Wed, Feb 11, 2009 at 5:51 PM, Jason Dixon ja...@dixongroup.net
 wrote:

  On Wed, Feb 11, 2009 at 05:46:28PM +0100, Tony Berth wrote:

 case#1:

 my /home/DB-user/db dir is owned by _postgresql:_postgresql

  Wow, you've managed to completely ignore all advice both Dan Colish
 and
 myself have given you.  Since you continue to refuse to do any of these
 things, or give me what I keep asking for (directory permission
 listings), I'm going to have to cut you off.

 Good Luck.

 ===
 P.S.  The correct response should be been something like:

 $ ls -ld /home/foo/db
 result
 $ ls -ld /home/foo
 result
 ===

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


  found the cause of the problem

 Thanks for your help

  Please share your findings and the solution for the list archives.

 /Alexander


 it was just a stupid typo in the permissions. That's why I didn't refer to
 a
 'solution'!


 Ok, now you got me even more curious. Stupid typos could happen to anyone,
 so don't feel bad about it. Anyway, I, and likely a few with me, who has
 bothered to read this thread, would _still_ appreciate to know what the
 problem was. I do not understand what a stupid typo in the permissions
 refers to. I could guess, but I'd rather not.

 Pretty please with sugar on top? :)

 /Alexander



very simple! Instead of '_postgresql' it was '_potgresql'! It was one 's'
missing! I had a rather small font defined for my terminals connected to the
s



Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Insan Praja SW

On Wed, 11 Feb 2009 23:29:31 +0700, Ingo Schwarze schwa...@usta.de wrote:


Hi Insan,

Insan Praja SW wroto on Wed, Feb 11, 2009 at 02:09:15PM +0700:


When upgrading my OBSD 4.5-beta machine, I got
=== usr.sbin/bind
PATH=/bin:/usr/bin:/sbin:/usr/sbin  CC=cc CFLAGS=-O2 -pipe  
LDFLAGS=  INSTALL_PROGRAM=install -c -s  sh
/usr/src/usr.sbin/bind/configure --prefix=/usr  --localstatedir=/var
--sysconfdir=/etc  --disable-shared  --disable-threads
--disable-openssl-version-check
Segmentation fault (core dumped)


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

To confirm, type

 $ /bin/ksh
 $ set -o posix
 $ echo

and show me the output.

To fix that, type

 $ cd /usr/src/bin/ksh
 $ cvs up -dP
 $ make clean
 $ make obj
 $ make depend
 $ make
 $ sudo make install

and start over building bind.

Nick is right, building from source is not supported, but that's
no reason not to tell you.  ;-)

Sorry for the inconvenience,
  Ingo


Thanks Ingo and people at m...@. Before asking anything to the list, I  
prepare for inputs. I'm subcribe to the list, I respect their stand point,  
love their jokes and enjoyed the flame wars :P.
And you're right, just because building from the source is not supported,  
it doesn't mean I can't ask and people can't tell me. I'm just a nOOb and  
in love with -current :).

Best Regards,


Insan
--
insandotpraja(at)gmaildotcom



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Jason Dixon
On Wed, Feb 11, 2009 at 07:56:36PM +0100, Tony Berth wrote:
 
 very simple! Instead of '_postgresql' it was '_potgresql'! It was one 's'
 missing! I had a rather small font defined for my terminals connected to the

And do you see how much time/frustration would have been saved if you
would have simply copy/pasted that information from the very beginning?

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



kernel freeze randomly

2009-02-11 Thread Markus Bergkvist

Hi

I get kernel freeze randomly on Compaq 6710b with -CURRENT synced today. 
It is best reproduced by keeping the system busy, such as building 
userland, but there are no guarantees.


I've been running memtester and also memory and hd test in bios, no 
errors were found.


I get no ddb or any other output on terminal, it just freezes up. What 
can I do to retrieve information so I can file a proper bug report? 
There is no DE-9 contact but the serial port is enabled in BIOS and I do 
have a uftdi-device, if that might be useful. Any help is appreciated.


/Markus


OpenBSD 4.5-beta (GENERIC.MP) #67: Wed Feb 11 19:31:29 CET 2009
r...@klang:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2137718784 (2038MB)
avail mem = 2063872000 (1968MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2a6d (25 entries)
bios0: vendor Hewlett-Packard version 68DDU Ver. F.10 date 01/11/2008
bios0: Hewlett-Packard HP Compaq 6710b (GR679ET#AK8)
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT 
SSDT SSDT
acpi0: wakeup devices C0B0(S5) C108(S3) C10F(S3) C110(S3) C111(S3) 
C119(S3) C11A(S3) C11B(S3) C131(S5) C2A1(S5) C132(S5) C137(S5) C134(S5) 
C2A2(S5) C23D(S5)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.31 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG

cpu0: 2MB 64b/line 8-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG

cpu1: 2MB 64b/line 8-way L2 cache
ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 2 (C0B0)
acpiprt1 at acpi0: bus 8 (C11D)
acpiprt2 at acpi0: bus 16 (C131)
acpiprt3 at acpi0: bus 24 (C132)
acpiprt4 at acpi0: bus 40 (C134)
acpiprt5 at acpi0: bus 0 (C003)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature 105 degC
acpitz1 at acpi0: critical temperature 108 degC
acpitz2 at acpi0: critical temperature 110 degC
acpitz3 at acpi0: critical temperature 256 degC
acpitz4 at acpi0: critical temperature 108 degC
acpibat0 at acpi0: C23B model Primary serial 20667 2007/08/17 type 
LIon oem Hewlett-Packard

acpibat1 at acpi0: C23A not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: C2BF
acpibtn1 at acpi0: C153
acpivideo at acpi0 not configured
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at inteldrm0
Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 
16 (irq 10)
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 
17 (irq 10)
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 
18 (irq 11)

usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: apic 
1 int 16 (irq 10)
azalia0: codecs: Analog Devices AD1981HD, ATT/Lucent/0x1040, using 
Analog Devices AD1981HD

audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03
pci1 at ppb0 bus 8
ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int 
17 (irq 10)

pci2 at ppb1 bus 16
wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: 
apic 1 int 17 (irq 10), MoW2, address 00:1b:77:c7:4a:bc
ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: apic 1 int 
18 (irq 11)

pci3 at ppb2 bus 24
bge0 at pci3 dev 0 function 0 Broadcom BCM5787M rev 0x02, BCM5754/5787 
A2 (0xb002): apic 1 int 18 (irq 11), address 00:1a:4b:69:c0:69

brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0
ppb3 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: apic 1 int 
16 (irq 10)

pci4 at ppb3 bus 40
uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 
20 (irq 10)
uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 
21 (irq 10)
uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: apic 1 int 
18 (irq 11)
ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 1 

Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 8:11 PM, Jason Dixon ja...@dixongroup.net wrote:

 On Wed, Feb 11, 2009 at 07:56:36PM +0100, Tony Berth wrote:
 
  very simple! Instead of '_postgresql' it was '_potgresql'! It was one 's'
  missing! I had a rather small font defined for my terminals connected to
 the

 And do you see how much time/frustration would have been saved if you
 would have simply copy/pasted that information from the very beginning?

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


indeed



Re: Postgresql create tablespace permissions problem

2009-02-11 Thread Dan Colish
out of sheer morbid curiosity, why are you creating a tablespace owned by
the _postgresql daemon user under /home?



Re: Can't ping top-level public IP subnets

2009-02-11 Thread Vivek Ayer
So I tried pinging to the unreachable subnet from my router with pf
disabled. The address is resolved by the DNS server I have listed, but
I still get no response. I ping that IP address and it doesn't want to
respond (destination unreachable). This is with pf disabled too, so I
can't blame pf. What else can I blame?

However I find that I can ping the 184.159.35.xxx subnet. I even
played around with the netmask changing it from 255.255.255.0 to
255.255.0.0, but that didn't seem to help.

So I can ping hosts on my own public IP subnet, I can ping hosts
outside of 184.159.xxx.xxx like google etc, but I can't ping hosts
within 184.159.xxx.xxx itself aside from 35. We actually have other
computers on the 184.159.35.xxx subnet and they can reach all hosts on
all subnets, no problem. For that, we're using a standard netgear
gigabit router.

What else can I change on ifconfig to tweak with this?

Thanks,
Vivek

On Tue, Feb 3, 2009 at 5:16 PM, Jon Simola jsim...@gmail.com wrote:
 On Tue, Feb 3, 2009 at 3:56 PM, Vivek Ayer vivek.a...@gmail.com wrote:

 Since I'm in control of a public IP, I'm supposed to set the netmask
 for the ext_if on my openbsd router to 255.255.0.0 not 255.255.255.0.
 Would that solve the mysterious ping problem?

 Actually a not-mysterious routing problem.

 The entity that assigned you the IP address would have also provided
 you with an IP, a netmask and a gateway IP, possibly DNS servers as
 well. You would have to check with them (commonly one of network
 admin, DHCP server, or ISP).

 --
 Jon



Re: Can't ping top-level public IP subnets

2009-02-11 Thread Jussi Peltola
1. ifconfig
2. route -n show
3. a network topology description

-- 
Jussi Peltola



Re: Segmentation fault (Core dumped) when Make Build

2009-02-11 Thread Insan Praja SW

On Wed, 11 Feb 2009 23:29:31 +0700, Ingo Schwarze schwa...@usta.de wrote:


Hi Insan,

Insan Praja SW wroto on Wed, Feb 11, 2009 at 02:09:15PM +0700:


When upgrading my OBSD 4.5-beta machine, I got
=== usr.sbin/bind
PATH=/bin:/usr/bin:/sbin:/usr/sbin  CC=cc CFLAGS=-O2 -pipe  
LDFLAGS=  INSTALL_PROGRAM=install -c -s  sh
/usr/src/usr.sbin/bind/configure --prefix=/usr  --localstatedir=/var
--sysconfdir=/etc  --disable-shared  --disable-threads
--disable-openssl-version-check
Segmentation fault (core dumped)


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

To confirm, type

 $ /bin/ksh
 $ set -o posix
 $ echo

and show me the output.



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


To fix that, type

 $ cd /usr/src/bin/ksh
 $ cvs up -dP
 $ make clean
 $ make obj
 $ make depend
 $ make
 $ sudo make install

and start over building bind.



$ sudo cvs -danon...@anoncvs1.ca.openbsd.org:/cvs  up -dP
Password:
cvs server: Updating .
cvs server: Updating tests


Nick is right, building from source is not supported, but that's
no reason not to tell you.  ;-)

Sorry for the inconvenience,
  Ingo


--snip--
cd /usr/src/share/man  exec make makedb
/usr/libexec/makewhatis /usr/share/man


And it works!
Thanks,


Insan
--
insandotpraja(at)gmaildotcom



Re: SOCKS proxy

2009-02-11 Thread Diana Eichert

On Wed, 11 Feb 2009, Tony Berth wrote:


Hi Diana,

this is a 'dumb' proxy and allows http/https traffic only. So ports 80 and
443!

What I'm after is the ssh command I have to issue in order to open a
connection from 'a1' to 'a3'! If I read correctly, in case I would have used
putty on 'a1' I should do the following:

http://meinit.nl/using-putty-and-an-http-proxy-to-ssh-anywhere-through-firewalls

I was wondering if ssh flag '-L' is doing the same job.

By 'httptunnel' you mean the following:

http://www.jumperz.net/index.php?i=2a=0b=0

Thanks

Tony


httptunnel nows refers to more than one software project to tunnel tcp
traffic via an http proxy.

take a look at SSH(1) -C
and   SSH_CONFIG(5)   LocalCommand



Re: Can't ping top-level public IP subnets

2009-02-11 Thread Vivek Ayer
I tried that and here's some interesting information.

First of all, I forgot to mention that this router was carped with
another one. Not sure if this could be leading to the problem. But
anyway, I did route -n show and for my external interface re0
corresponding to carp0 here's the relevant info:

Dest   GatewayInterface
default   184.159.35.1 re0
184.159/16 link #6   carp0  ---
184.159.35/24link #2   re0
184.159.35.1  (MAC addr)re0
184.159.35.23184.159.35.23   carp0

The second line is interesting because it makes me wonder whether
there's more to setting up the carp interface. I assume carp0 has the
same netmask as re0, but if you can explain the second line, that'd be
great.

Thanks,
Vivek

Just so that you don't get confused, I think in previous emails, I
said 29 was my subnet and I'm now saying 35 when I meant to say 29,
but you get the idea, whatever.

On Wed, Feb 11, 2009 at 11:58 AM, Jussi Peltola pe...@pelzi.net wrote:
 1. ifconfig
 2. route -n show
 3. a network topology description

 --
 Jussi Peltola



Re: Can't ping top-level public IP subnets

2009-02-11 Thread Jussi Peltola
Everything to 184.159/16, that is, 184.159.x.x, goes out of carp0. You
need to specify a netmask for carp just like any interface, and in any
sane situation it should be the same as the parent's (I assume re0) when
they both have (different) addresses in the same subnet.


On Wed, Feb 11, 2009 at 12:35:05PM -0800, Vivek Ayer wrote:
 I tried that and here's some interesting information.
 
 First of all, I forgot to mention that this router was carped with
 another one. Not sure if this could be leading to the problem. But
 anyway, I did route -n show and for my external interface re0
 corresponding to carp0 here's the relevant info:
 
 Dest   GatewayInterface
 default   184.159.35.1 re0
 184.159/16 link #6   carp0  ---
 184.159.35/24link #2   re0
 184.159.35.1  (MAC addr)re0
 184.159.35.23184.159.35.23   carp0
 
 The second line is interesting because it makes me wonder whether
 there's more to setting up the carp interface. I assume carp0 has the
 same netmask as re0, but if you can explain the second line, that'd be
 great.
 
 Thanks,
 Vivek
 
 Just so that you don't get confused, I think in previous emails, I
 said 29 was my subnet and I'm now saying 35 when I meant to say 29,
 but you get the idea, whatever.
 
 On Wed, Feb 11, 2009 at 11:58 AM, Jussi Peltola pe...@pelzi.net wrote:
  1. ifconfig
  2. route -n show
  3. a network topology description
 
  --
  Jussi Peltola



special chars in path in fstab

2009-02-11 Thread Jon Sjöstedt
Hello all!
I want to use space in dir-names that are mount-points, but mount-a says
Inappropriate file type or format. I can perfectly use mount manually
to mount a filesystem on a dir with space in its dir-name.

I have tried quoting in , '' and 44, but that didnt help. Can this be
done in any way?


Jon



OpenBGPD handling

2009-02-11 Thread Justin Krejci
I am curious to know how well OpenBGPD handles the BGP update dynamics as
described in this Cisco RFP.

 

http://www.cisco.com/web/about/ac50/ac207/crc_new/university/RFP/rfp07026.ht
ml

 

This is assuming running OpenBGPD with full tables over gig ethernet
connections and on a modern hardware (multi gigahertz CPU and multi
gigabytes of RAM + intel gigE nics). Are there any general concerns or
issues with BGP updates causing performance issues on the system?
Compatibility problems with any hardware vendors' BGP implementations? Etc

 

 

From my reading it seems that all normal/standard BGP functionality is
present if not enhanced (bgp session key management, etc) in OpenBGPD and
that performance is comparable to expensive Cisco grade router hardware and
the user testimonials look pretty good too.
http://www.openbgpd.org/users.html. Are there any features or functionality
that anyone has found lacking in OpenBGPD?

 

Thanks for your time



Re: Can't ping top-level public IP subnets

2009-02-11 Thread Vivek Ayer
carp0 doesn't automatically know the netmask of its parent? Well, that
would explain the problem, right? Because I don't believe I fiddled
with netmask in /etc/hostname.carp0.

Thanks,
Vivek

On Wed, Feb 11, 2009 at 12:43 PM, Jussi Peltola pe...@pelzi.net wrote:
 Everything to 184.159/16, that is, 184.159.x.x, goes out of carp0. You
 need to specify a netmask for carp just like any interface, and in any
 sane situation it should be the same as the parent's (I assume re0) when
 they both have (different) addresses in the same subnet.


 On Wed, Feb 11, 2009 at 12:35:05PM -0800, Vivek Ayer wrote:
 I tried that and here's some interesting information.

 First of all, I forgot to mention that this router was carped with
 another one. Not sure if this could be leading to the problem. But
 anyway, I did route -n show and for my external interface re0
 corresponding to carp0 here's the relevant info:

 Dest   GatewayInterface
 default   184.159.35.1 re0
 184.159/16 link #6   carp0  ---
 184.159.35/24link #2   re0
 184.159.35.1  (MAC addr)re0
 184.159.35.23184.159.35.23   carp0

 The second line is interesting because it makes me wonder whether
 there's more to setting up the carp interface. I assume carp0 has the
 same netmask as re0, but if you can explain the second line, that'd be
 great.

 Thanks,
 Vivek

 Just so that you don't get confused, I think in previous emails, I
 said 29 was my subnet and I'm now saying 35 when I meant to say 29,
 but you get the idea, whatever.

 On Wed, Feb 11, 2009 at 11:58 AM, Jussi Peltola pe...@pelzi.net wrote:
  1. ifconfig
  2. route -n show
  3. a network topology description
 
  --
  Jussi Peltola



Re: special chars in path in fstab

2009-02-11 Thread Alexander Hall

Jon Sjvstedt wrote:

Hello all!
I want to use space in dir-names that are mount-points, but mount-a says
Inappropriate file type or format. I can perfectly use mount manually
to mount a filesystem on a dir with space in its dir-name.

I have tried quoting in , '' and 44, but that didnt help. Can this be
done in any way?


Jon


By adding them to /etc/fstab, I'd say no since the fields are delimited 
by tab or space (see /usr/src/lib/libc/gen/fstab.c for details). Two 
other options:


1. Add the manual mounts to /etc/rc.local
OR
2. Mount the file systems somewhere else and create symlinks to them 
from the originally intended mount points.


/Alexander



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

2009-02-11 Thread Steve B
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.

Steve



Re: Can't ping top-level public IP subnets

2009-02-11 Thread Jussi Peltola
CARP interfaces don't share L3 (IP) config with the parent, it's just
the physical interface where packets travel through. You need to
configure the netmask and ip address separately; they may even be in
completely different networks. If you don't specify a netmask for carp0
some default will be used, which is likely wrong.

On Wed, Feb 11, 2009 at 01:39:32PM -0800, Vivek Ayer wrote:
 carp0 doesn't automatically know the netmask of its parent? Well, that
 would explain the problem, right? Because I don't believe I fiddled
 with netmask in /etc/hostname.carp0.
 
 Thanks,
 Vivek
 
 On Wed, Feb 11, 2009 at 12:43 PM, Jussi Peltola pe...@pelzi.net wrote:
  Everything to 184.159/16, that is, 184.159.x.x, goes out of carp0. You
  need to specify a netmask for carp just like any interface, and in any
  sane situation it should be the same as the parent's (I assume re0) when
  they both have (different) addresses in the same subnet.
 
 
  On Wed, Feb 11, 2009 at 12:35:05PM -0800, Vivek Ayer wrote:
  I tried that and here's some interesting information.
 
  First of all, I forgot to mention that this router was carped with
  another one. Not sure if this could be leading to the problem. But
  anyway, I did route -n show and for my external interface re0
  corresponding to carp0 here's the relevant info:
 
  Dest   GatewayInterface
  default   184.159.35.1 re0
  184.159/16 link #6   carp0  ---
  184.159.35/24link #2   re0
  184.159.35.1  (MAC addr)re0
  184.159.35.23184.159.35.23   carp0
 
  The second line is interesting because it makes me wonder whether
  there's more to setting up the carp interface. I assume carp0 has the
  same netmask as re0, but if you can explain the second line, that'd be
  great.
 
  Thanks,
  Vivek
 
  Just so that you don't get confused, I think in previous emails, I
  said 29 was my subnet and I'm now saying 35 when I meant to say 29,
  but you get the idea, whatever.
 
  On Wed, Feb 11, 2009 at 11:58 AM, Jussi Peltola pe...@pelzi.net wrote:
   1. ifconfig
   2. route -n show
   3. a network topology description
  
   --
   Jussi Peltola



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

2009-02-11 Thread Jason Dixon
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/



Re: Hardware or 4.4 vm problem?

2009-02-11 Thread Karl O. Pinc

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.

(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.)


Karl k...@meme.com
Free Software:  You don't pay back, you pay forward.
 -- Robert A. Heinlein



Re: Can't ping top-level public IP subnets

2009-02-11 Thread Vivek Ayer
This is what I had:

/etc/hostname.carp0:
up 184.159.29.23 vhid 1

/etc/hostname.carp1:
up 192.168.1.1 vhid 1

I can use up or inet, right? The syntax would be something like this:
inet 184.159.29.23 255.255.255.0 184.159.29.255 vhid 1, right? Then
again, how would not having a netmask on the carp interface block
certain subnets, but not all of them?

I'll let you know once I've put in the netmask  broadcast to see if it works.

Thanks a bunch!
Vivek

On Wed, Feb 11, 2009 at 2:25 PM, Jussi Peltola pe...@pelzi.net wrote:
 CARP interfaces don't share L3 (IP) config with the parent, it's just
 the physical interface where packets travel through. You need to
 configure the netmask and ip address separately; they may even be in
 completely different networks. If you don't specify a netmask for carp0
 some default will be used, which is likely wrong.

 On Wed, Feb 11, 2009 at 01:39:32PM -0800, Vivek Ayer wrote:
 carp0 doesn't automatically know the netmask of its parent? Well, that
 would explain the problem, right? Because I don't believe I fiddled
 with netmask in /etc/hostname.carp0.

 Thanks,
 Vivek

 On Wed, Feb 11, 2009 at 12:43 PM, Jussi Peltola pe...@pelzi.net wrote:
  Everything to 184.159/16, that is, 184.159.x.x, goes out of carp0. You
  need to specify a netmask for carp just like any interface, and in any
  sane situation it should be the same as the parent's (I assume re0) when
  they both have (different) addresses in the same subnet.
 
 
  On Wed, Feb 11, 2009 at 12:35:05PM -0800, Vivek Ayer wrote:
  I tried that and here's some interesting information.
 
  First of all, I forgot to mention that this router was carped with
  another one. Not sure if this could be leading to the problem. But
  anyway, I did route -n show and for my external interface re0
  corresponding to carp0 here's the relevant info:
 
  Dest   GatewayInterface
  default   184.159.35.1 re0
  184.159/16 link #6   carp0  ---
  184.159.35/24link #2   re0
  184.159.35.1  (MAC addr)re0
  184.159.35.23184.159.35.23   carp0
 
  The second line is interesting because it makes me wonder whether
  there's more to setting up the carp interface. I assume carp0 has the
  same netmask as re0, but if you can explain the second line, that'd be
  great.
 
  Thanks,
  Vivek
 
  Just so that you don't get confused, I think in previous emails, I
  said 29 was my subnet and I'm now saying 35 when I meant to say 29,
  but you get the idea, whatever.
 
  On Wed, Feb 11, 2009 at 11:58 AM, Jussi Peltola pe...@pelzi.net wrote:
   1. ifconfig
   2. route -n show
   3. a network topology description
  
   --
   Jussi Peltola



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

2009-02-11 Thread Jacob Yocom-Piatt

Jason Dixon wrote:

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.

  



they run this awesome store where you can buy books and stuff. can you 
not see why they are the best choice for online backups?


sarcasm aside their rates are very competitive.



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

2009-02-11 Thread Jim Razmus
* 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



AsiaBSDCon 2009 time table updated

2009-02-11 Thread Hiroki Sato
Hello,

 I would like to announce AsiaBSDCon 2009 time table is published.  It
 will be held on 12-15 March 2009 in Tokyo.  You can find the details
 at:

  http://2009.asiabsdcon.org

 On-line registration will open early next week.  If you have a
 question about the conference, please do not hesitate to contact
 secret...@asiabsdcon.org.  Thank you.

--
| Hiroki SATO

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



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

2009-02-11 Thread shr @dslextreme.com
On Wed, Feb 11, 2009 at 3:30 PM, Jim Razmus j...@bonetruck.org 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.


I'm looking into using Duplicity (which is in packages) to back up to the
Amazon S3.



Re: Can't ping top-level public IP subnets

2009-02-11 Thread Vivek Ayer
Thanks very much! Problem Solved!

Vivek

On Wed, Feb 11, 2009 at 2:56 PM, Vivek Ayer vivek.a...@gmail.com wrote:
 This is what I had:

 /etc/hostname.carp0:
 up 184.159.29.23 vhid 1

 /etc/hostname.carp1:
 up 192.168.1.1 vhid 1

 I can use up or inet, right? The syntax would be something like this:
 inet 184.159.29.23 255.255.255.0 184.159.29.255 vhid 1, right? Then
 again, how would not having a netmask on the carp interface block
 certain subnets, but not all of them?

 I'll let you know once I've put in the netmask  broadcast to see if it works.

 Thanks a bunch!
 Vivek

 On Wed, Feb 11, 2009 at 2:25 PM, Jussi Peltola pe...@pelzi.net wrote:
 CARP interfaces don't share L3 (IP) config with the parent, it's just
 the physical interface where packets travel through. You need to
 configure the netmask and ip address separately; they may even be in
 completely different networks. If you don't specify a netmask for carp0
 some default will be used, which is likely wrong.

 On Wed, Feb 11, 2009 at 01:39:32PM -0800, Vivek Ayer wrote:
 carp0 doesn't automatically know the netmask of its parent? Well, that
 would explain the problem, right? Because I don't believe I fiddled
 with netmask in /etc/hostname.carp0.

 Thanks,
 Vivek

 On Wed, Feb 11, 2009 at 12:43 PM, Jussi Peltola pe...@pelzi.net wrote:
  Everything to 184.159/16, that is, 184.159.x.x, goes out of carp0. You
  need to specify a netmask for carp just like any interface, and in any
  sane situation it should be the same as the parent's (I assume re0) when
  they both have (different) addresses in the same subnet.
 
 
  On Wed, Feb 11, 2009 at 12:35:05PM -0800, Vivek Ayer wrote:
  I tried that and here's some interesting information.
 
  First of all, I forgot to mention that this router was carped with
  another one. Not sure if this could be leading to the problem. But
  anyway, I did route -n show and for my external interface re0
  corresponding to carp0 here's the relevant info:
 
  Dest   GatewayInterface
  default   184.159.35.1 re0
  184.159/16 link #6   carp0  ---
  184.159.35/24link #2   re0
  184.159.35.1  (MAC addr)re0
  184.159.35.23184.159.35.23   carp0
 
  The second line is interesting because it makes me wonder whether
  there's more to setting up the carp interface. I assume carp0 has the
  same netmask as re0, but if you can explain the second line, that'd be
  great.
 
  Thanks,
  Vivek
 
  Just so that you don't get confused, I think in previous emails, I
  said 29 was my subnet and I'm now saying 35 when I meant to say 29,
  but you get the idea, whatever.
 
  On Wed, Feb 11, 2009 at 11:58 AM, Jussi Peltola pe...@pelzi.net wrote:
   1. ifconfig
   2. route -n show
   3. a network topology description
  
   --
   Jussi Peltola



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

2009-02-11 Thread Stuart Henderson
On 2009-02-11, rancor theran...@gmail.com wrote:
 Hi, thanks for your reply. I have read it several times, and now +1
 and I have tried numerous times to made it work.

 This is how I did the last time:

 ext_if= { fxp0 }
 client= { 85.117.200.163 }
 mirror= { 85.117.161.85 }
 server= { 74.125.77.103 }

 rdr on $ext_if proto tcp from $client to $mirror port 1:65535 - $server
 no nat on $ext_if proto tcp from $ext_if to $ext_if
 nat on $ext_if proto tcp from $client to $mirror port 1:65535 - $ext_if


 Maybe It's completely wrong but I'm not skilled enough to figure it
 out and I need help to solve it. I have read every thing I can imagine
 on the FAQ at openbsd.org och the man pages according to pf.conf

 Then I target $mirror on ANY port from $client I want the mirror to
 connect to the $server

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.



X forwarding at amd64 to i386

2009-02-11 Thread Chris Bennett
I saw on the list a while back that some stuff only works on i386, but 
not amd.

Forget what it was but was something I use.

If I were to get an amd64, could I use x11 forwarding to access an i386 
and run an application that wouldn't fly under amd64 but works on i386??




Openbsd as a transparent bridge

2009-02-11 Thread dabheeruz
List,



I have following setup:





B sys:a ---SWITCHOPENBSD/BRIDGESWITCHsys:b

B 192.168.1.2(NO IPs)192.168.1.10

B 

B 

I have enabled bridging by doing the following:

B 

B B /etc/hostname.bge0

up

/etc/hostname.bge1

up




/etc/hostname.bridge0

add bge0

add bge1



I have enabled ip forwarding in /etc/sysctl.conf

B Shouldn't I see sys:a from sys:b???




I can't see the sys:a from sys:b or sys:b from sys:a. B It doesn't seem that
openbsd/bridge is forwarding the packets to the other side.




I would appreciate any help.




thx.



Re: X forwarding at amd64 to i386

2009-02-11 Thread Stuart Henderson
On 2009-02-12, Chris Bennett ch...@bennettconstruction.biz wrote:
 I saw on the list a while back that some stuff only works on i386, but 
 not amd.
 Forget what it was but was something I use.

 If I were to get an amd64, could I use x11 forwarding to access an i386 
 and run an application that wouldn't fly under amd64 but works on i386??

yes, but some apps don't work too well with X forwarding.



Transparent Bridge - Openbsd

2009-02-11 Thread dabheeruz

sys:a ---SWITCHOPENBSD/BRIDGESWITCHsys:b
192.168.1.2(NO IPs)192.168.1.10

I have enabled bridging by doing the following:


/etc/hostname.bge0
   up
/etc/hostname.bge1
   up

/etc/hostname.bridge0
   add bge0
   add bge1
   
I have enabled ip forwarding in /etc/sysctl.conf


Shouldn't I see sys:a from sys:b???


I can't see the sys:a from sys:b or sys:b from sys:a. It doesn't seem 
that

openbsd/bridge is forwarding the packets to the other side.


I would appreciate any help.

**Sorry for the resend but rich text email was enabled.  I just 
disabled it now.




Re: Openbsd as a transparent bridge

2009-02-11 Thread patrick keshishian
On Wed, Feb 11, 2009 at 7:36 PM,  dabhee...@aim.com wrote:
 /etc/hostname.bridge0

add bge0

add bge1


You need to finished /etc/bridgename.bridge0 with an up

$ cat /etc/bridgename.bridge0
add dc0
add dc1
add dc2
up


 I have enabled ip forwarding in /etc/sysctl.conf

not necessary.


--patrick



Re: Openbsd as a transparent bridge

2009-02-11 Thread dabheeruz
Thanks Patrick.  Will give it a shot.


-Original Message-
From: patrick keshishian pkesh...@gmail.com
To: dabhee...@aim.com
Cc: misc@openbsd.org
Sent: Wed, 11 Feb 2009 9:44 pm
Subject: Re: Openbsd as a transparent bridge






On Wed, Feb 11, 2009 at 7:36 PM,  dabhee...@aim.com wrote:
 /etc/hostname.bridge0

add bge0

add bge1


You need to finished /etc/bridgename.bridge0 with an up

$ cat /etc/bridgename.bridge0
add dc0
add dc1
add dc2
up


 I have enabled ip forwarding in /etc/sysctl.conf

not necessary.


--patrick



IBM ServeRAID support

2009-02-11 Thread Alexander Yurchenko
as some of you might know the ips(4) driver aimed to support IBM
ServeRAID SATA/SCSI controllers was here starting from 4.1. but due to a
nasty bug in the code it was not enabled on any install media.

the snap from the feb 11 contains the updated ips driver with that bug
fixed and various other improvements. read the man page to see what
controllers are supported. the driver enabled on the installation cd.

if you have a machine you always wanted to run openbsd but couldn't
because the lack of this driver please give it a try. if everything goes
smooth just mail your dmesg to dm...@openbsd.org after install. if you
have any problems mail me.

before mailing me about the bugs first do a little thing. attach a
serial console to the machine having the problems. type in the
boot prompt:

boot boot -d

then in the ddb prompt:

ddb w ips_debug 0xff
ddb c

you should see a lot of debug messages on the console which will help me
to debug your problem. grab them all and add to your mail.

the tree will be locked for the 4.5 release very soon so if you want to have
a stable ServeRAID support in 4.5 please test it asap.

thanks.

-- 
   Alexander Yurchenko