Re: Ethernet jumbo frames?

2007-12-29 Thread johan beisser

On Dec 29, 2007, at 10:41 PM, Girish Venkatachalam wrote:


What on earth is this?

http://www.cyberciti.biz/faq/rhel-centos-debian-ubuntu-jumbo-frames-configuration/


Jumbo frames.  Ethernet frames with more than 1500 bytes of payload/ 
larger MTU than 1500..



I was under the impression that Ethernet frames can never be more than
1500 bytes.


Unless they're jumbo frames, yes.


Or is it some kind of stupid linux hack? Or does it have any meaning?


It's permitted in IEEE 802.3, if not encouraged.


Is there real value in this?


Fewer frames get corrupted, means less processing overhead per frame.  
Outside of that, the remaining advantage is fewer frames going over  
the line. It's not recommended on the same LAN as systems not using  
jumbo frames.




Re: Ethernet jumbo frames?

2007-12-29 Thread Chris Kuethe
Yes, there's value in it. NFS can benefit greatly if you can stuff a
single read/write block into a single ethernet frame (rather than
splitting it across 3 or 4). It's also helpful for wringing maximum
throughput out of your network at higher speeds. Think about the
interrupt rate to send 1Gb/s with 1500B frames and compare that to
6000B frames. Even if your card is totally insane, you've just got 4
times more data out of one interrupt.

Check the manpages for the various network drivers...

On Dec 29, 2007 11:41 PM, Girish Venkatachalam
<[EMAIL PROTECTED]> wrote:
> What on earth is this?
>
> http://www.cyberciti.biz/faq/rhel-centos-debian-ubuntu-jumbo-frames-configuration/
>
> I was under the impression that Ethernet frames can never be more than
> 1500 bytes.
>
> Or is it some kind of stupid linux hack? Or does it have any meaning?
>
> Is there real value in this?
>
> I don't get it.
>
> -Girish
>
>



-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: UNIX way of undeleting files?

2007-12-29 Thread Antti Harri

On Sun, 30 Dec 2007, Girish Venkatachalam wrote:


It is clear that it is impossible to undelete an FFS  file.


It isn't impossible, it's just not worth the effort because
once the references to the data have been removed it's highly
likely they will be allocated for another file again.

Just create a backup strategy for yourself, *know and test* how to
restore files from your backups and you're all set.

PS. check the archives :-)

--
Antti Harri



Re: Ethernet jumbo frames?

2007-12-29 Thread Darren Spruell
On Dec 29, 2007 11:41 PM, Girish Venkatachalam
<[EMAIL PROTECTED]> wrote:
> What on earth is this?
>
> http://www.cyberciti.biz/faq/rhel-centos-debian-ubuntu-jumbo-frames-configuration/
>
> I was under the impression that Ethernet frames can never be more than
> 1500 bytes.
>
> Or is it some kind of stupid linux hack? Or does it have any meaning?

No, yes.

> Is there real value in this?

Can be.

http://www.psc.edu/~rreddy/networking/mtu.html

> I don't get it.

http://sd.wareonearth.com/~phil/net/jumbo/
http://en.wikipedia.org/wiki/Jumbo_frames

DS



Re: Ethernet jumbo frames?

2007-12-29 Thread Karthik Kumar
This should help you: http://sd.wareonearth.com/~phil/net/jumbo/

On Dec 30, 2007 12:11 PM, Girish Venkatachalam
<[EMAIL PROTECTED]> wrote:
> What on earth is this?
>
> http://www.cyberciti.biz/faq/rhel-centos-debian-ubuntu-jumbo-frames-configuration/
>
> I was under the impression that Ethernet frames can never be more than
> 1500 bytes.
>
> Or is it some kind of stupid linux hack? Or does it have any meaning?
>
> Is there real value in this?
>
> I don't get it.
>
> -Girish
>
>



-- 
Karthik
http://guilt.bafsoft.net



Re: Ethernet jumbo frames?

2007-12-29 Thread Aaron Glenn
Jumbo frames are very real. A simple google search will enlighten you :)


On 12/29/07, Girish Venkatachalam <[EMAIL PROTECTED]> wrote:
> What on earth is this?
>
> http://www.cyberciti.biz/faq/rhel-centos-debian-ubuntu-jumbo-frames-configuration/
>
> I was under the impression that Ethernet frames can never be more than
> 1500 bytes.
>
> Or is it some kind of stupid linux hack? Or does it have any meaning?
>
> Is there real value in this?
>
> I don't get it.
>
> -Girish



User's Supplementary Documents

2007-12-29 Thread Karthik Kumar
Hi,

The Makefile in /usr/share/doc/usd complains about missing or not
installed documentation. I talked to a few people and they told me it
was partly because of copyright reasons. Is that true?

In case it was missing, a google for 02.learn yielded me this
location: http://stuff.mit.edu/afs/athena/system/usrdoc/usd/

and the Makefile s in those directories indicate they are from a
Berkeley distribution sometime in 1986.. I wonder if this was removed
in BSD-Lite intentionally (and eventually it's successors)?

I would like to know if it possible for an unencumbered, complete usd
documentation in the docs set.

-- 
Karthik
http://guilt.bafsoft.net



Ethernet jumbo frames?

2007-12-29 Thread Girish Venkatachalam
What on earth is this?

http://www.cyberciti.biz/faq/rhel-centos-debian-ubuntu-jumbo-frames-configuration/

I was under the impression that Ethernet frames can never be more than
1500 bytes.

Or is it some kind of stupid linux hack? Or does it have any meaning?

Is there real value in this?

I don't get it.

-Girish



Re: process tree in openbsd.

2007-12-29 Thread badeguruji
for those who need. sorry if you do not.
 

~~aapka kalyan ho~~

- Original Message 
From: Diana Eichert <[EMAIL PROTECTED]>
To: misc@openbsd.org
Sent: Saturday, December 29, 2007 11:39:05 PM
Subject: Re: process tree in openbsd.


On Sat, 29 Dec 2007, badeguruji wrote:

> i found this here:
> http://www.tonns.org/ptree/
> thx.
> -BG

What is the point to your post?



Re: process tree in openbsd.

2007-12-29 Thread Diana Eichert

On Sat, 29 Dec 2007, badeguruji wrote:


i found this here:
http://www.tonns.org/ptree/
thx.
-BG


What is the point to your post?



process tree in openbsd.

2007-12-29 Thread badeguruji
i found this here:
http://www.tonns.org/ptree/
thx.
-BG
 

~~Kalyan-mastu~~



Re: MSI K9N6GM vs. ASUS m2a-vm and 4.2

2007-12-29 Thread Pawel Veselov
Hi,

Since I kinda needed a stable system, I switched to MSI K9N6GM,
that has NVIDIA MCP61 chipset.

It doesn't at all support AHCI (not that I can tell), but IDE access for SATA
is supported in DMA mode (UDMA5).

nfe interface also seems to be working.

I get 70-80 MBps according to 'dd' (iostat only shows 32MBps)

What is the good rate that can actually be achieved on 3Gbps drives?

And I still get those "no compatible PCI ICU found" and
"unable to fix up PCI interrupts routing" messages...
It was suggested that these messages can be ignored...

On Dec 29, 2007 4:32 AM, Peter Strvmberg <[EMAIL PROTECTED]> wrote:
> On 28 Dec 2007 at 21:29, Pawel Veselov wrote:
>
> > Hi,
> >
> > Just had some experience installing 4.2 on ASUS m2a-vm... Wasn't
pleasant.
>
> Try -current, it will work better, with some gotchas thou.
>
> > 3Gbs drive shows max of 0.2MBs tranfer rate (according to iostat). My
> > old drive shows appx 30MB on IDE bus. Tested using dd if=/dev/zero
> > of=file. Any disk access takes forever.
> The drive is in pio-mode

I couldn't find a way to switch it into DMA mode...

>
> > Selecting SATA interface as AHCI doesn't work (doesn't show up, or
> > reboots the system when discovery attepmted).
>
> In -current you can install to ahci/sata, but then generic doesn't boot.
> You need to boot -c and disable ahci, change fstab to wd and then compile
> a kernel with a KASSERT removed (in dev/pci/ahci.c, line 1757)
> Change fstab again, and reboot. You'll get some ahci warnings, but it will
work
[ skipped ]
> Other quirks, the radeonhd driver doesn't work if you (only) use a dvi
cable.
> With an vga and a dvi cable you can run X

Well, I was mostly venting here, it's great current supports all this
better, but I'd like some peace for this box :)

OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ ("AuthenticAMD"
686-class, 512KB L2 cache) 2.42 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
real mem  = 2079748096 (1983MB)
avail mem = 2003210240 (1910MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/29/06, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.5 @ 0xfbda0 (48 entries)
bios0: vendor American Megatrends Inc. version "V1.5" date 11/29/2006
bios0: MSI MS-7309
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5100/272 (15 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x10de product 0x03e0
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xee00
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ ("AuthenticAMD"
686-class, 512KB L2 cache) 2.42 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 4 is type PCI
mainbus0: bus 5 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
"NVIDIA MCP61 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA MCP61 ISA" rev 0xa2
nviic0 at pci0 dev 1 function 1 "NVIDIA MCP61 SMBus" rev 0xa2
iic0 at nviic0
iic1 at nviic0
iic1: addr 0x2f 00=c0 01=0f 02=00 03=01 04=07 05=00 06=18 07=00 08=00
14=14 15=62 16=02 17=05
"NVIDIA MCP61 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured
ohci0 at pci0 dev 2 function 0 "NVIDIA MCP61 USB" rev 0xa2: apic 2 int
5 (irq 5), version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 "NVIDIA MPC61 USB" rev 0xa2: apic 2 int
10 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
ppb0 at pci0 dev 4 function 0 "NVIDIA MCP61" rev 0xa1
pci1 at ppb0 bus 1
skc0 at pci1 dev 9 function 0 "D-Link Systems DGE-530T B1" rev 0x11,
Yukon Lite(0x9): apic 2 int 10 (irq 10)
sk0 at skc0 port A: address 00:15:e9:bd:30:88
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
rl0 at pci1 dev 10 function 0 "Realtek 8139" rev 0x10: apic 2 int 11
(irq 11), address 00:0e:2e:5b:45:90
rlphy0 at rl0 phy 0: RTL internal PHY
azalia0 at pci0 dev 5 function 0 "NVIDIA MCP61 HD Audio" rev 0xa2:
apic 2 int 11 (irq 11)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Realtek ALC883 (rev. 0.2), HDA version 1.0
audio0 at azalia0
pciide0 at pci0 dev 6 function 0 "NVIDIA MCP61 IDE" rev 0xa2: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0:

Re: router/firewall PF

2007-12-29 Thread baldoni
>I'm looking for a basic router/firewall configuration

http://home.nuug.no/~peter/pf/en/


Gian



Re: router/firewall PF

2007-12-29 Thread Daniel Ouellet

Beavis wrote:

   Just wanted to get some feedback on setting up pf(4) as a
router/firewall only (no nat involved). I've been digging the list
archive but most of the configurations on them has the a natted
network. I'm looking for a basic router/firewall configuration. any
help would be greatly appreciated.


http://openbsd.org/faq/pf/index.html

http://home.nuug.no/~peter/pf/

http://openbsd.org/books.html#1



router/firewall PF

2007-12-29 Thread Beavis
   Just wanted to get some feedback on setting up pf(4) as a
router/firewall only (no nat involved). I've been digging the list
archive but most of the configurations on them has the a natted
network. I'm looking for a basic router/firewall configuration. any
help would be greatly appreciated.


regards,
-b



Re: UNIX way of undeleting files?

2007-12-29 Thread Girish Venkatachalam
On 02:34:15 Dec 30, Hannah Schroeter wrote:
> 
> If you type rm foo and foo was the last link to the file (the underlying
> inode) and there was no open file descriptor and no mapped memory
> referring to the inode, either (I hope I've covered the important kinds
> of references to inodes), the inode (data structure on your disk) will
> be completely cleared and the inode and the data blocks will be
> returned to the freelist (managed as bitmaps), on FFS. Of course also
> the directory entry "foo", which maintained the link between the file
> name and the inode, will be cleared. So both the links between the name
> and the inode, as well as the link between the inode (the file) and the
> data (the blocks containing your text, or other data) will be gone.
> 

If what you are saying is indeed accurate then that puts paid to that.

It is clear that it is impossible to undelete an FFS  file.

Thanks.

-Girish



Re: UNIX way of undeleting files?

2007-12-29 Thread Girish Venkatachalam
On 12:32:58 Dec 29, Unix Fan wrote:
> From my understanding, restoring a file after deletion would be very 
> complicated because files aren't stored in a "sequential" fashion...
> 
> 
> 
> When you delete a file, the inode for the file is removed.. (assuming there 
> wasn't another hard link to it...)...  That inode contained the only list of 
> blocks that were allocated for that file.
> 
> 
> 
> As you can see, The data remains on the drive.. but as Chris Kuethe said... 
> do you like jigsaw puzzles?
> 

I get you but I have read mails on the local LUG where people speak
about linux tools that do the dirty job for you. They perhaps scour the
disk and rebuild the list of inodes and link them. I dunno.

I don't recollect the name of the tool though.

-Girish



Hard Drive Speed

2007-12-29 Thread Dave Sorg
I have a 1TB hard drive in an external box. When I use USB 2.0 to write to it,
I eventually get read/write errors. When I use USB 1, I don't.

I know that my drive has a reported speed of 7200 rpm, but that it is
generally advised to only run at 5400 rpm, and I believe that this is the
problem. My question is: how do I set it up to use USB 2.0 at 5400 rpm?
_
im is proud to present Cause Effect, a series about real people making a
difference.
http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect



Re: UNIX way of undeleting files?

2007-12-29 Thread Hannah Schroeter
Hi!

On Sat, Dec 29, 2007 at 07:16:11PM -0500, [EMAIL PROTECTED] wrote:
>Now, I'm sure I'm interpreting the word "remove" improperly here.  But not
>to put too fine a point on it, the inode is removed?

>Is it that link between the inod number and the file that is removed?

>In this arena I am truly ignorant, but nonetheless not blissed.

If you type rm foo and foo was the last link to the file (the underlying
inode) and there was no open file descriptor and no mapped memory
referring to the inode, either (I hope I've covered the important kinds
of references to inodes), the inode (data structure on your disk) will
be completely cleared and the inode and the data blocks will be
returned to the freelist (managed as bitmaps), on FFS. Of course also
the directory entry "foo", which maintained the link between the file
name and the inode, will be cleared. So both the links between the name
and the inode, as well as the link between the inode (the file) and the
data (the blocks containing your text, or other data) will be gone.

Kind regards,

Hannah.



Re: kernel/5690: system crash when running rtorrent

2007-12-29 Thread viq
On Sat, Dec 29, 2007 at 04:04:59AM +0100, [EMAIL PROTECTED] wrote:

[snip a lot of irrelevant stuff]

> I hope you spend some attention to viq after he noticed the bug as well.

Some more people need to send good bug reports, with trace data and
such, for anyone to be able to find what's going on. I sent a request to
close this bug for two reasons: 
1) This box currently crashes even when
doing nothing. First conclusion: faulty hardware, and as it's an old
toy-box I don't feel at the moment like trying to figure out which
component causes this, or whether it's something else.
2) I tried running same torrent on a box with better CPU and same amount
of RAM. It survived the experience, even with more torrents. I tried
running it on a considerably better box, both CPU- and RAM-wise, both
with that torrent and another ones, it survived the experience. Someone
else tested the same torrent on an even slower box, one that is often
running rtorrent. It survived the experience. Someone else tested the
same torrent on yet another machine, which... Yes, you guessed it,
survived the experience. So, untill proven otherwise, with solid proof
and traces, there is no information to work on regarding deciding
whether it's a bug of some sort, or my local problem.
 
> 
> Kind regards,
> Sebastian

-- 
viq



Re: UNIX way of undeleting files?

2007-12-29 Thread baldoni
Now, I'm sure I'm interpreting the word "remove" improperly here.  But not
to put too fine a point on it, the inode is removed?

Is it that link between the inod number and the file that is removed?

In this arena I am truly ignorant, but nonetheless not blissed.



Gian



Re: backup firewall connectivity

2007-12-29 Thread Darren Spruell
On Dec 29, 2007 4:41 PM, Aaron <[EMAIL PROTECTED]> wrote:
> I also added in my aliases on the external interface (two less aliases
> now),  with the
> prescribed 255.255.255.255 netmask.  All of my aliases now have only
> their address as the
> broadcast address.  I realize this is right using a /32 netmask, but
> will this affect
> the workings of the network?

Nope, network functions will be fine. Those that rely on these
settings do so from the primary IP settings on the interface, not the
interface aliases. Note as from hostname.if(5) that the broadcast
address is typically optional; a setting of NONE will result in
computation from the network mask and for aliases it can be left off
entirely with no ill effects. Examples given:

 inet 10.0.1.12 255.255.255.0 10.0.1.255 media 100baseTX description Uplink
 inet alias 10.0.1.13 255.255.255.255 10.0.1.13
 inet alias 10.0.1.14 255.255.255.255 NONE
 inet alias 10.0.1.15 255.255.255.255
 inet alias 10.0.1.16 0x

DS



Re: backup firewall connectivity

2007-12-29 Thread Aaron

Darren Spruell wrote:

On Dec 29, 2007 2:59 PM, Aaron <[EMAIL PROTECTED]> wrote:
  

Otto Moerbeek wrote:


I think your problem will be solved if you assign an alias in the
192.168.3.0 net to fxp0 and an alias in the 192.168.247.0 net to fxp3.
Just like Henning already suggested.
  

Henning wrote:



that depends wether you "external" carp interface has numbered or
unnumbered parents.
if the parents ("carpdev") are unnumbered (no ipassigned),it is quite
normal. otherwise you have sth wrong.

  

I guess I'm missing something or I didn't understand what he means by (no 
ipassigned).
All carp parents are numbered by the inverse of the definition he gave for 
unnumbered,
because there are ip's assigned to all of the carpdev interfaces, just not with 
the same
network as the carp interfaces.   Is it required for the carp parents' ip 
addresses
to be in the same network as the carp interfaces?  I didn't see that anywhere 
as a requirement.



The typical configuration is that the CARP interfaces will be assigned
addresses on the same IP subnet as the parent interfaces. I don't
believe that this is a requirement, per se, but it is hinted at in
ifconfig(8):

 carpdev iface
 If the driver is a carp(4) pseudo-device, attach it to iface.  If
 not specified, the kernel will attempt to select an interface
 with a subnet matching that of the carp interface.

This configuration is the only way that makes sense to me; you don't
have to overlap subnets on the same Ethernet segment, you don't have
to fiddle with interface aliases, and if you need to reach the
"natural" IP addresses for the real (parent) interfaces, they're
routed and reachable the same as the CARP addresses.

Again, not knowing if this impacts your problem, but may be worth testing.

DS

  


I got rid of the aliases on the parent interfaces and made their 
addresses part of the
carp network and things now seem to be working.  This is great, and not 
so great as
for my public address space, i'm losing another two addresses that i 
have to give to

the firewall. :-(

Is this the way it was intended or have i bumped into some unfortunate 
untested 'issue'?


I also added in my aliases on the external interface (two less aliases 
now),  with the
prescribed 255.255.255.255 netmask.  All of my aliases now have only 
their address as the
broadcast address.  I realize this is right using a /32 netmask, but 
will this affect

the workings of the network?

Thanks to all,

Aaron Martinez



Re: backup firewall connectivity

2007-12-29 Thread Darren Spruell
On Dec 29, 2007 2:59 PM, Aaron <[EMAIL PROTECTED]> wrote:
> Otto Moerbeek wrote:
> > I think your problem will be solved if you assign an alias in the
> > 192.168.3.0 net to fxp0 and an alias in the 192.168.247.0 net to fxp3.
> > Just like Henning already suggested.
> Henning wrote:
>
> >that depends wether you "external" carp interface has numbered or
> > unnumbered parents.
> > if the parents ("carpdev") are unnumbered (no ipassigned),it is quite
> > normal. otherwise you have sth wrong.
> >
>
> I guess I'm missing something or I didn't understand what he means by (no 
> ipassigned).
> All carp parents are numbered by the inverse of the definition he gave for 
> unnumbered,
> because there are ip's assigned to all of the carpdev interfaces, just not 
> with the same
> network as the carp interfaces.   Is it required for the carp parents' ip 
> addresses
> to be in the same network as the carp interfaces?  I didn't see that anywhere 
> as a requirement.

The typical configuration is that the CARP interfaces will be assigned
addresses on the same IP subnet as the parent interfaces. I don't
believe that this is a requirement, per se, but it is hinted at in
ifconfig(8):

 carpdev iface
 If the driver is a carp(4) pseudo-device, attach it to iface.  If
 not specified, the kernel will attempt to select an interface
 with a subnet matching that of the carp interface.

This configuration is the only way that makes sense to me; you don't
have to overlap subnets on the same Ethernet segment, you don't have
to fiddle with interface aliases, and if you need to reach the
"natural" IP addresses for the real (parent) interfaces, they're
routed and reachable the same as the CARP addresses.

Again, not knowing if this impacts your problem, but may be worth testing.

DS



Re: Embedding OpenBSD

2007-12-29 Thread Steve Shockley

[EMAIL PROTECTED] wrote:

On the other hand, the stash of Compaq iPaqs I came across recently have
built-in sound, a very capable built-in speaker, nearly silent in
operation and are easy for Joe Average to understand.  We've got enough
we could even ship out a spare with the system for spare parts.


Is that one of the handheld Windows Mobile devices, or one of the "thin 
client" things they used to sell?




Re: openldap with dbv4 crash

2007-12-29 Thread Daniel
On Sat, 29 Dec 2007 13:41:06 -0600
Vijay Sankar <[EMAIL PROTECTED]> wrote:

> On December 29, 2007 11:23:19 am Daniel wrote:
> > Hi (again, sorry, now with Subject)!
> >
> > Anyone experiencing or experienced segfaults with openldap using
> > the bdb backed? I'm using -current ports tree, and built the
> > openldap-{client,server}, dbv4 and cyrus-sasl2 packages from there.
> >
> > I will certanly provide much more info, I just want to know if there
> > are other people out there who are experiencing this same behaviour.
> >
> > Thanks!
> >
> > Daniel
> 
> No problems here so far, my test servers are running -current as of
> Thu Dec 27 13:53:57 CST 2007. slapd and slurpd are OK and replication
> is also working well. No seg faults yet.
> 
> 
Can you tell me which FLAVOR are you using with dbv4 and openldap?

Daniel



Re: backup firewall connectivity

2007-12-29 Thread Aaron

Otto Moerbeek wrote:

On Sat, Dec 29, 2007 at 01:30:23PM -0600, Aaron wrote:

  

Darren Spruell wrote:


On Dec 28, 2007 7:13 AM, Aaron <[EMAIL PROTECTED]> wrote:
  
  

main firewall Carp0:
inet 192.168.3.65 255.255.255.224 192.168.3.95 vhid 1 carpdev fxp0 pass
tester1
inet alias 192.168.3.66 255.255.255.224
inet alias 192.168.3.67 255.255.255.224



Not to solution your problem, but the "correct" netmask for interface
aliases is 255.255.255.255.

Refer to archives and hostname.if(5).

DS

  
  

Thanks Darren,

I tried this, and although I know you said it's not going to solve my 
problem, i was hoping, with no change in results.


I have verified that my carp interfaces have the same exact settings via 
diff, and the only changes are the advskew settings.


I taken the alias addresses out of the equation and am still getting the 
same results.  I then cut down to two active
physical interfaces on each machine, plus carp interfaces.  lan side and 
wan side no dmz or dual wan, so my setup looks like this:


lan---|carp3/fxp3|-OBSD BOX|fxp0/carp0|-wan
|   |
something to do with the problem so i updated
to -stable with same results.  If i had any hair, i'm sure i would have 
pulled it all out by this point.


here are my  configs.

machine A:
# cat /etc/hostname.fxp0
inet 10.125.221.2 255.255.255.0 NONE
# cat /etc/hostname.carp0
inet 192.168.3.65 255.255.255.224 192.168.3.95 vhid 1 carpdev fxp0 pass 
tester0

# cat /etc/hostname.fxp3
inet 10.128.221.2 255.255.255.0 NONE
# cat /etc/hostname.carp3
inet 192.168.247.136 255.255.255.0 192.168.247.255 vhid 4 carpdev fxp3 pass 
tester4



I think your problem will be solved if you assign an alias in the
192.168.3.0 net to fxp0 and an alias in the 192.168.247.0 net to fxp3.
Just like Henning already suggested.

-Otto

  

Henning wrote:


that depends wether you "external" carp interface has numbered or
unnumbered parents.
if the parents ("carpdev") are unnumbered (no ipassigned),it is quite
normal. otherwise you have sth wrong.



I guess I'm missing something or I didn't understand what he means by (no 
ipassigned).
All carp parents are numbered by the inverse of the definition he gave for 
unnumbered,
because there are ip's assigned to all of the carpdev interfaces, just not with 
the same
network as the carp interfaces.   Is it required for the carp parents' ip 
addresses
to be in the same network as the carp interfaces?  I didn't see that anywhere 
as a requirement.

I should also clarify, this is not happening only on my external carp interface. 
This is the behavior on all interfaces.  There is no connectivity (i'm currently
seeing some connectivity between the parents from a to b only (shown below)) when a machine 
is in the BACKUP state.


Hoping anything will work, I gave it a try.

Machine A:
# cat /etc/hostname.fxp0
inet 10.125.221.2 255.255.255.0 NONE
inet alias 192.168.3.67 255.255.255.255
# ifconfig fxp0
fxp0: flags=8943 mtu 1500
   lladdr 00:0e:0c:74:6d:61
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 10.125.221.2 netmask 0xff00 broadcast 10.125.221.255
   inet6 fe80::20e:cff:fe74:6d61%fxp0 prefixlen 64 scopeid 0x1
   inet 192.168.3.67 netmask 0x broadcast 192.168.3.67
# ifconfig carp0
carp0: flags=8843 mtu 1500
   lladdr 00:00:5e:00:01:01
   carp: MASTER carpdev fxp0 vhid 1 advbase 1 advskew 0
   groups: carp egress
   inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0x9
   inet 192.168.3.65 netmask 0xffe0 broadcast 192.168.3.95

Machine B:
# cat /etc/hostname.fxp0
inet 10.125.221.3 255.255.255.0 NONE
inet alias 192.168.3.66 255.255.255.255
# ifconfig fxp0
fxp0: flags=8943 mtu 1500
   lladdr 00:03:47:ad:be:2e
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 10.125.221.3 netmask 0xff00 broadcast 10.125.221.255
   inet6 fe80::203:47ff:fead:be2e%fxp0 prefixlen 64 scopeid 0x1
   inet 192.168.3.66 netmask 0x broadcast 192.168.3.66
# ifconfig carp0
carp0: flags=8843 mtu 1500
   lladdr 00:00:5e:00:01:01
   carp: BACKUP carpdev fxp0 vhid 1 advbase 1 advskew 100
   groups: carp egress
   inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0x9
   inet 192.168.3.65 netmask 0xffe0 broadcast 192.168.3.95

I rebooted just to make sure nothing bad was hanging around after running 
netstart,
same exact results.  


FROM MACHINE B while in backup state:
# ping 192.168.3.94
PING 192.168.3.94 (192.168.3.94): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 192.168.3.94 64 chars, ret=-1
--- 192.168.3.94 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
# ping 192.168.3.65
PING 192.168.3.65 (192.168.3.65): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 192.168.3.65 64 chars, ret=-1
--- 192.168.3.65 ping st

Re: openldap with dbv4 crash

2007-12-29 Thread Vijay Sankar
On December 29, 2007 02:15:15 pm Daniel wrote:
> On Sat, 29 Dec 2007 13:41:06 -0600
>
> Vijay Sankar <[EMAIL PROTECTED]> wrote:
> > On December 29, 2007 11:23:19 am Daniel wrote:
> > > Hi (again, sorry, now with Subject)!
> > >
> > > Anyone experiencing or experienced segfaults with openldap using
> > > the bdb backed? I'm using -current ports tree, and built the
> > > openldap-{client,server}, dbv4 and cyrus-sasl2 packages from there.
> > >
> > > I will certanly provide much more info, I just want to know if there
> > > are other people out there who are experiencing this same behaviour.
> > >
> > > Thanks!
> > >
> > > Daniel
> >
> > No problems here so far, my test servers are running -current as of
> > Thu Dec 27 13:53:57 CST 2007. slapd and slurpd are OK and replication
> > is also working well. No seg faults yet.
>
> Can you tell me which FLAVOR are you using with dbv4 and openldap?
>
> Daniel

Hopefully I did not misunderstand your question.

Here is what I did: 

env FLAVOR=bdb make package

ls -l /usr/ports/packages/i386/all/openld*

-rw-r--r--  3 root  wheel  1244876 Dec 27 14:41 openldap-client-2.3.33p0.tgz
-rw-r--r--  3 root  wheel   916837 Dec 27 14:44 
openldap-server-2.3.33p2-bdb.tgz

Then I just did a pkg_add for openldap-server-2.3.33p2-bdb.tgz. The db package 
was db-4.6.21.

Vijay



Re: syslog-ng and isakmpd

2007-12-29 Thread Joachim Schipper
On Sat, Dec 29, 2007 at 02:17:03PM -0700, Brent Graveland wrote:
> On 29-Dec-2007, at 13:49, Markus Wernig wrote:
>> Hi all
>>
>> I have replaced syslogd with syslog-ng on my OBSD4.2 boxes (needed tcp,
>> encryption and fifos). I have managed to mimick all traditional log
>> behaviour (as per the default syslogd config) with one exception:
>> isakmpd will not log a single bit into any facility.

>> source src {
>>unix-dgram("/dev/log");
>>internal();
>> };
>> [...]
>> filter f_daemon { facility(daemon); };
>> [...]
>> destination d_daemon { file("/var/log/daemon"); };
>> [...]
>> log { source src; filter f_daemon; destination d_daemon; };
>> [...]
>>
>> Which works fine for ntpd.
>
> I haven't run into this personally, but make sure that syslog-ng also 
> listens on /var/empty/dev/log for chrooted daemons.

And extend this to any chroot jail (notably, named has its own jail; -a
/var/named/dev/log is automatically added to the syslogd_flags when
required).

(You are most likely not running named, or you'd most likely have seen
this issue; but I wanted to get it in the archives for future use.)

Joachim

-- 
TFMotD: sudo, sudoedit (8) - execute a command as another user



Re: syslog-ng and isakmpd

2007-12-29 Thread Brent Graveland

On 29-Dec-2007, at 13:49, Markus Wernig wrote:

Hi all

I have replaced syslogd with syslog-ng on my OBSD4.2 boxes (needed  
tcp,

encryption and fifos). I have managed to mimick all traditional log
behaviour (as per the default syslogd config) with one exception:
isakmpd will not log a single bit into any facility. afaik isakmpd  
uses

the daemon facility (as does ntpd), so I have the following in
syslog-ng.conf:

source src {
   unix-dgram("/dev/log");
   internal();
};
[...]
filter f_daemon { facility(daemon); };
[...]
destination d_daemon { file("/var/log/daemon"); };
[...]
log { source src; filter f_daemon; destination d_daemon; };
[...]

Which works fine for ntpd. But no word from isakmpd in any file, not
even the catchall, not even with logging turned up to the maximum.
I've tried every which way but just can't see what to change.
Has anyone seen this before?

Thx /markus



I haven't run into this personally, but make sure that syslog-ng also  
listens on /var/empty/dev/log for chrooted daemons.


--
Brent Graveland
[EMAIL PROTECTED]



syslog-ng and isakmpd

2007-12-29 Thread Markus Wernig
Hi all

I have replaced syslogd with syslog-ng on my OBSD4.2 boxes (needed tcp,
encryption and fifos). I have managed to mimick all traditional log
behaviour (as per the default syslogd config) with one exception:
isakmpd will not log a single bit into any facility. afaik isakmpd uses
the daemon facility (as does ntpd), so I have the following in
syslog-ng.conf:

source src {
unix-dgram("/dev/log");
internal();
};
[...]
filter f_daemon { facility(daemon); };
[...]
destination d_daemon { file("/var/log/daemon"); };
[...]
log { source src; filter f_daemon; destination d_daemon; };
[...]

Which works fine for ntpd. But no word from isakmpd in any file, not
even the catchall, not even with logging turned up to the maximum.
I've tried every which way but just can't see what to change.
Has anyone seen this before?

Thx /markus



Re: UNIX way of undeleting files?

2007-12-29 Thread Unix Fan
>From my understanding, restoring a file after deletion would be very 
>complicated because files aren't stored in a "sequential" fashion...



When you delete a file, the inode for the file is removed.. (assuming there 
wasn't another hard link to it...)...  That inode contained the only list of 
blocks that were allocated for that file.



As you can see, The data remains on the drive.. but as Chris Kuethe said... do 
you like jigsaw puzzles?



-Nix Fan.



Re: backup firewall connectivity

2007-12-29 Thread Aaron

Aaron wrote:

Darren Spruell wrote:

On Dec 28, 2007 7:13 AM, Aaron <[EMAIL PROTECTED]> wrote:
 

main firewall Carp0:
inet 192.168.3.65 255.255.255.224 192.168.3.95 vhid 1 carpdev fxp0 pass
tester1
inet alias 192.168.3.66 255.255.255.224
inet alias 192.168.3.67 255.255.255.224



Not to solution your problem, but the "correct" netmask for interface
aliases is 255.255.255.255.

Refer to archives and hostname.if(5).

DS

  

Thanks Darren,

I tried this, and although I know you said it's not going to solve my 
problem, i was hoping, with no change in results.


I have verified that my carp interfaces have the same exact settings 
via diff, and the only changes are the advskew settings.


I taken the alias addresses out of the equation and am still getting 
the same results.  I then cut down to two active
physical interfaces on each machine, plus carp interfaces.  lan side 
and wan side no dmz or dual wan, so my setup looks like this:


lan---|carp3/fxp3|-OBSD BOX|fxp0/carp0|-wan
|   |
something to do with the problem so i updated
to -stable with same results.  If i had any hair, i'm sure i would 
have pulled it all out by this point.

--- snip
somehow part of the last message got messed up.

here is what is should look like:

 |--|carp3/fxp3|-OBSD BOX|fxp0/carp0|--|
lan ---|
 |--wan

 |--|carp3/fxp3|-OBSD BOX|fxp0/carp0|--|

I am running obsd 4.2, was release, but thought that might have 
something to do with the problem so i updated
to -stable with same results.  If i had any hair, i'm sure i would have 
pulled it all out by this point.




Re: sparc on Tatung COMPstation U10

2007-12-29 Thread David Vasek

On Sat, 29 Dec 2007, Miod Vallat wrote:


A friend of mine is moving out of town and has a couple Tatung
COMPstations U10 in mint condition
(they come with the original monitors , keyboards, and the mouses ) that
can be mine for $10 a piece.
He claims that he is running Debian sparc 64 (with X ) but I believe
they are actually sparc architecture not sparc 64.

[...]


Although Tatung is known to have produced clones of sparc (not sparc64)
designs in the past, this name sounds like an Ultra 10 (hence sparc64)
clone.


Yes, it is.
http://si.tatung.com.tw/%E7%94%A2%E5%93%81%E5%9E%8B%E9%8C%84/server/TWS-3500.htm

Looks like a nice machine.

Regards,
David



Re: backup firewall connectivity

2007-12-29 Thread Otto Moerbeek
On Sat, Dec 29, 2007 at 01:30:23PM -0600, Aaron wrote:

> Darren Spruell wrote:
>> On Dec 28, 2007 7:13 AM, Aaron <[EMAIL PROTECTED]> wrote:
>>   
>>> main firewall Carp0:
>>> inet 192.168.3.65 255.255.255.224 192.168.3.95 vhid 1 carpdev fxp0 pass
>>> tester1
>>> inet alias 192.168.3.66 255.255.255.224
>>> inet alias 192.168.3.67 255.255.255.224
>>> 
>>
>> Not to solution your problem, but the "correct" netmask for interface
>> aliases is 255.255.255.255.
>>
>> Refer to archives and hostname.if(5).
>>
>> DS
>>
>>   
> Thanks Darren,
>
> I tried this, and although I know you said it's not going to solve my 
> problem, i was hoping, with no change in results.
>
> I have verified that my carp interfaces have the same exact settings via 
> diff, and the only changes are the advskew settings.
>
> I taken the alias addresses out of the equation and am still getting the 
> same results.  I then cut down to two active
> physical interfaces on each machine, plus carp interfaces.  lan side and 
> wan side no dmz or dual wan, so my setup looks like this:
>
> lan---|carp3/fxp3|-OBSD BOX|fxp0/carp0|-wan
> |   |
> something to do with the problem so i updated
> to -stable with same results.  If i had any hair, i'm sure i would have 
> pulled it all out by this point.
>
> here are my  configs.
>
> machine A:
> # cat /etc/hostname.fxp0
> inet 10.125.221.2 255.255.255.0 NONE
> # cat /etc/hostname.carp0
> inet 192.168.3.65 255.255.255.224 192.168.3.95 vhid 1 carpdev fxp0 pass 
> tester0
> # cat /etc/hostname.fxp3
> inet 10.128.221.2 255.255.255.0 NONE
> # cat /etc/hostname.carp3
> inet 192.168.247.136 255.255.255.0 192.168.247.255 vhid 4 carpdev fxp3 pass 
> tester4

I think your problem will be solved if you assign an alias in the
192.168.3.0 net to fxp0 and an alias in the 192.168.247.0 net to fxp3.
Just like Henning already suggested.

-Otto


>
> Machine B:
> # cat /etc/hostname.fxp0
> inet 10.125.221.3 255.255.255.0 NONE
> # cat /etc/hostname.carp0
> inet 192.168.3.65 255.255.255.224 192.168.3.95 vhid 1 carpdev fxp0 pass 
> tester0 advskew 100
> # cat /etc/hostname.fxp3
> inet 10.128.221.3 255.255.255.0 NONE
> # cat /etc/hostname.carp3
> inet 192.168.247.136 255.255.255.0 192.168.247.255 vhid 4 carpdev fxp3 pass 
> tester4 advskew 100
>
> ifconfig Machine A:
> # ifconfig -aA
> lo0: flags=8049 mtu 33208
>groups: lo
>inet 127.0.0.1 netmask 0xff00
>inet6 ::1 prefixlen 128
>inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
> fxp0: flags=8943 mtu 1500
>lladdr 00:0e:0c:74:6d:61
>media: Ethernet autoselect (100baseTX full-duplex)
>status: active
>inet 10.125.221.2 netmask 0xff00 broadcast 10.125.221.255
>inet6 fe80::20e:cff:fe74:6d61%fxp0 prefixlen 64 scopeid 0x1
> fxp1: flags=8802 mtu 1500
>lladdr 00:0e:0c:3b:3f:2e
>media: Ethernet autoselect (none)
>status: no carrier
> fxp2: flags=8802 mtu 1500
>lladdr 00:0e:0c:74:6d:a2
>media: Ethernet autoselect (none)
>status: no carrier
> fxp3: flags=8943 mtu 1500
>lladdr 00:03:47:b1:2c:c4
>media: Ethernet autoselect (100baseTX full-duplex)
>status: active
>inet 10.128.221.2 netmask 0xff00 broadcast 10.128.221.255
>inet6 fe80::203:47ff:feb1:2cc4%fxp3 prefixlen 64 scopeid 0x4
> rl0: flags=8843 mtu 1500
>lladdr 00:50:bf:72:51:c9
>media: Ethernet autoselect (100baseTX full-duplex)
>status: active
>inet 10.23.183.2 netmask 0xff00 broadcast 10.23.183.255
>inet6 fe80::250:bfff:fe72:51c9%rl0 prefixlen 64 scopeid 0x5
> enc0: flags=0<> mtu 1536
> pfsync0: flags=41 mtu 1460
>pfsync: syncdev: rl0 syncpeer: 224.0.0.240 maxupd: 128
>groups: carp pfsync
> pflog0: flags=141 mtu 33208
>groups: pflog
> carp0: flags=8843 mtu 1500
>lladdr 00:00:5e:00:01:01
>carp: MASTER carpdev fxp0 vhid 1 advbase 1 advskew 0
>groups: carp egress
>inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0x9
>inet 192.168.3.65 netmask 0xffe0 broadcast 192.168.3.95
> carp3: flags=8843 mtu 1500
>lladdr 00:00:5e:00:01:04
>carp: MASTER carpdev fxp3 vhid 4 advbase 1 advskew 0
>groups: carp
>inet6 fe80::200:5eff:fe00:104%carp3 prefixlen 64 scopeid 0xa
>inet 192.168.247.136 netmask 0xff00 broadcast 192.168.247.255
>
> ifconfig Machine B:
> # ifconfig -aA
> lo0: flags=8049 mtu 33208
>groups: lo
>inet6 ::1 prefixlen 128
>inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
>inet 127.0.0.1 netmask 0xff00
> fxp0: flags=8943 mtu 1500
>lladdr 00:03:47:ad:be:2e
>media: Ethernet autoselect (100baseTX full-duplex)
>status: active
>inet6 fe80::203:47ff:fead:be2e%fxp0 prefixlen 64 scopeid 0x1
>inet 10.125.221.3 netmask 0xff00 broadcast 10.125.221.255
> fxp1: flags=8802 mtu 

job opportunity as a model/selling agent

2007-12-29 Thread Viva Models
Imagine having an exciting high-paying job as a model or selling agent
for new magazine. Imagine having your photo taken for Vogue, your
favorite magazine or top sellers companies. You can work online directly
from your computer by sending us your picture and making the front page
of magazine,company catalog, online advertisement page, and modeling for
new wesbites with your picture on the home page.

We are looking for models for models or selling agent for new
magazine,both male and female. Models will need to have excellent skin,
natural looking and good body figure(fat or thin). As a model,actress or
actors you may have the opportunity to travel to beautiful locations, be
pampered, attend events with celebrities everything sponsored and earn
thousands of dollars a day. Modeling can also lead to many other fabulous
opportunities.

As a model your work may involve:
***Working directly from your computer at home .
***Editorial (magazine and newspaper) modeling .
***Print advertisements for bookseller companies.
***Catalog and brochures modeling for retail stores, custom salons or
specialty stores.
***Salary Range: $5,000.00 - $50,000.00/ engagement.
***Salaries can be vary.
***Gender: Female / Male
***Age: from 18 to 36
***Ethnicity: Any -
***Hair Color: Any -
***Body Type: Any -

As a Selling Agent your work may involve:
***Working directly from your computer at home .
***Selling magazine online through auction or classified sites.
***Receiving payment from buyers.
***Calling and staying in Contact with buyers.
***Gender: Female / Male
***Age: from 22 to 50
***Salary Range: Salary Range: $10,000.00 - $35,000.00/ per month
***Salaries can be vary.

Qualifications:
Education  Some college degrees or coursework in Art, Drama, Dance, or
Fashion Design is helpful.
Experience  none required but we need someone who enjoying modeling but
experience are required for a Selling Agent in customer service duties.
Personal Characteristics/Skills  photogenic and physically attractive
and body measurements falling within certain industry standards;
familiarity with different modeling techniques, formal fashion show
procedures and the use of cosmetics; excellent fashion style; good people
skills; self-discipline; a positive attitude for models.

 To apply as a Selling Agent or applying as a model, both male and
female please send your CV/Resume to our email:
[EMAIL PROTECTED]

VIVA MODELING AND MAGAZINE AGENCY
http://www.vivamodels.fr/



Re: openldap with dbv4 crash

2007-12-29 Thread Vijay Sankar
On December 29, 2007 11:23:19 am Daniel wrote:
> Hi (again, sorry, now with Subject)!
>
> Anyone experiencing or experienced segfaults with openldap using the bdb
> backed? I'm using -current ports tree, and built the
> openldap-{client,server}, dbv4 and cyrus-sasl2 packages from there.
>
> I will certanly provide much more info, I just want to know if there
> are other people out there who are experiencing this same behaviour.
>
> Thanks!
>
> Daniel

No problems here so far, my test servers are running -current as of Thu Dec 27 
13:53:57 CST 2007. slapd and slurpd are OK and replication is also working 
well. No seg faults yet.


-- 
Vijay Sankar, M.Eng., P.Eng.
President & CEO
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB Canada R3J 0X6
Phone: +1 204 885 9535, E-Mail: [EMAIL PROTECTED]



Re: backup firewall connectivity

2007-12-29 Thread Aaron

Darren Spruell wrote:

On Dec 28, 2007 7:13 AM, Aaron <[EMAIL PROTECTED]> wrote:
  

main firewall Carp0:
inet 192.168.3.65 255.255.255.224 192.168.3.95 vhid 1 carpdev fxp0 pass
tester1
inet alias 192.168.3.66 255.255.255.224
inet alias 192.168.3.67 255.255.255.224



Not to solution your problem, but the "correct" netmask for interface
aliases is 255.255.255.255.

Refer to archives and hostname.if(5).

DS

  

Thanks Darren,

I tried this, and although I know you said it's not going to solve my 
problem, i was hoping, with no change in results.


I have verified that my carp interfaces have the same exact settings via 
diff, and the only changes are the advskew settings.


I taken the alias addresses out of the equation and am still getting the 
same results.  I then cut down to two active
physical interfaces on each machine, plus carp interfaces.  lan side and 
wan side no dmz or dual wan, so my setup looks like this:


lan---|carp3/fxp3|-OBSD BOX|fxp0/carp0|-wan
|   |
something to do with the problem so i updated
to -stable with same results.  If i had any hair, i'm sure i would have 
pulled it all out by this point.


here are my  configs.

machine A:
# cat /etc/hostname.fxp0
inet 10.125.221.2 255.255.255.0 NONE
# cat /etc/hostname.carp0
inet 192.168.3.65 255.255.255.224 192.168.3.95 vhid 1 carpdev fxp0 pass 
tester0

# cat /etc/hostname.fxp3
inet 10.128.221.2 255.255.255.0 NONE
# cat /etc/hostname.carp3
inet 192.168.247.136 255.255.255.0 192.168.247.255 vhid 4 carpdev fxp3 
pass tester4


Machine B:
# cat /etc/hostname.fxp0
inet 10.125.221.3 255.255.255.0 NONE
# cat /etc/hostname.carp0
inet 192.168.3.65 255.255.255.224 192.168.3.95 vhid 1 carpdev fxp0 pass 
tester0 advskew 100

# cat /etc/hostname.fxp3
inet 10.128.221.3 255.255.255.0 NONE
# cat /etc/hostname.carp3
inet 192.168.247.136 255.255.255.0 192.168.247.255 vhid 4 carpdev fxp3 
pass tester4 advskew 100


ifconfig Machine A:
# ifconfig -aA
lo0: flags=8049 mtu 33208
   groups: lo
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
fxp0: flags=8943 mtu 1500
   lladdr 00:0e:0c:74:6d:61
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 10.125.221.2 netmask 0xff00 broadcast 10.125.221.255
   inet6 fe80::20e:cff:fe74:6d61%fxp0 prefixlen 64 scopeid 0x1
fxp1: flags=8802 mtu 1500
   lladdr 00:0e:0c:3b:3f:2e
   media: Ethernet autoselect (none)
   status: no carrier
fxp2: flags=8802 mtu 1500
   lladdr 00:0e:0c:74:6d:a2
   media: Ethernet autoselect (none)
   status: no carrier
fxp3: flags=8943 mtu 1500
   lladdr 00:03:47:b1:2c:c4
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 10.128.221.2 netmask 0xff00 broadcast 10.128.221.255
   inet6 fe80::203:47ff:feb1:2cc4%fxp3 prefixlen 64 scopeid 0x4
rl0: flags=8843 mtu 1500
   lladdr 00:50:bf:72:51:c9
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 10.23.183.2 netmask 0xff00 broadcast 10.23.183.255
   inet6 fe80::250:bfff:fe72:51c9%rl0 prefixlen 64 scopeid 0x5
enc0: flags=0<> mtu 1536
pfsync0: flags=41 mtu 1460
   pfsync: syncdev: rl0 syncpeer: 224.0.0.240 maxupd: 128
   groups: carp pfsync
pflog0: flags=141 mtu 33208
   groups: pflog
carp0: flags=8843 mtu 1500
   lladdr 00:00:5e:00:01:01
   carp: MASTER carpdev fxp0 vhid 1 advbase 1 advskew 0
   groups: carp egress
   inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0x9
   inet 192.168.3.65 netmask 0xffe0 broadcast 192.168.3.95
carp3: flags=8843 mtu 1500
   lladdr 00:00:5e:00:01:04
   carp: MASTER carpdev fxp3 vhid 4 advbase 1 advskew 0
   groups: carp
   inet6 fe80::200:5eff:fe00:104%carp3 prefixlen 64 scopeid 0xa
   inet 192.168.247.136 netmask 0xff00 broadcast 192.168.247.255

ifconfig Machine B:
# ifconfig -aA
lo0: flags=8049 mtu 33208
   groups: lo
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
   inet 127.0.0.1 netmask 0xff00
fxp0: flags=8943 mtu 1500
   lladdr 00:03:47:ad:be:2e
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::203:47ff:fead:be2e%fxp0 prefixlen 64 scopeid 0x1
   inet 10.125.221.3 netmask 0xff00 broadcast 10.125.221.255
fxp1: flags=8802 mtu 1500
   lladdr 00:d0:b7:3e:c1:dc
   media: Ethernet autoselect (none)
   status: no carrier
fxp2: flags=8802 mtu 1500
   lladdr 00:d0:b7:8f:4e:54
   media: Ethernet autoselect (none)
   status: no carrier
fxp3: flags=8943 mtu 1500
   lladdr 00:90:27:8f:4b:28
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::290:27ff:fe8f:4b28%fxp3 prefixlen 64 scopeid 0x4
   inet 10.128.221.3 netmask 0xff00 broadcast 10.128.221.255

openldap with dbv4 crash

2007-12-29 Thread Daniel
Hi (again, sorry, now with Subject)!

Anyone experiencing or experienced segfaults with openldap using the bdb
backed? I'm using -current ports tree, and built the
openldap-{client,server}, dbv4 and cyrus-sasl2 packages from there.

I will certanly provide much more info, I just want to know if there
are other people out there who are experiencing this same behaviour.

Thanks!

Daniel



Re: UNIX way of undeleting files?

2007-12-29 Thread Chris Kuethe
On Dec 29, 2007 9:56 AM, Girish Venkatachalam
<[EMAIL PROTECTED]> wrote:
> Just wondering if there was a way to undelete a file.
>
> I have never run into the situation so far (surprise, surprise) but I
> sure will in future.

dd, a hex editor and a love of jigsaw puzzles?

maybe sysutils/sleuthkit?

CK

-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



[no subject]

2007-12-29 Thread Daniel
Hi!

Anyone experiencing or experienced segfaults with openldap using the bdb
backed? I'm using -current ports tree, and built the
openldap-{client,server}, dbv4 and cyrus-sasl2 packages from there.

I will certanly provide much more info, I just want to know if there
are other people out there who are experiencing this same behaviour.

Thanks!

Daniel



UNIX way of undeleting files?

2007-12-29 Thread Girish Venkatachalam
Just wondering if there was a way to undelete a file.

I have never run into the situation so far (surprise, surprise) but I
sure will in future.

It is best to know.

I saw something like this.

$ grep -a -B[size before] -A[size after] 'text' /dev/[your_partition]

I want something from the old school, something more formal and using
the traditional UNIX method of doing it the right way.

Apparently lsof from linux world could help too.

I guess depending on the file system one could use a different
recovery command. What is the way to do it with FFS?

ncheck_ffs?

Thanks.

-Girish



Re: UNIX way of undeleting files?

2007-12-29 Thread Markus Hennecke

Girish Venkatachalam schrieb:

Just wondering if there was a way to undelete a file.


Get it from your backup. No backup? Then it is gone.

Best regards,
  Markus



Re: UNIX way of undeleting files?

2007-12-29 Thread Antti Harri

Restoring from backups.

--
Antti Harri



Re: Embedding OpenBSD

2007-12-29 Thread Douglas A. Tutty
On Sat, Dec 29, 2007 at 12:34:13AM -0500, [EMAIL PROTECTED] wrote:
> Gary Baluha wrote:
> > On Dec 27, 2007 10:41 PM, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
 
> >> You could have a "Please wait" light to be lit during the reboot.
> 
> This is precisely why I asked this question, to make sure this doesn't
> happen.  While having a self-cleaning mess beats having a persistent
> mess, I'd rather just avoid the mess. :)
> 

With standard COTS hardware and a admittedly bug-containing OS (yes,
everyone agrees that even OpenBSD contains bugs), you cannot guarantee
that something won't happen to either cause a spontaneous reboot or to
make the device stop working causing any heartbeat monitor to force a
reboot.

 
> Getting an off-the-shelf MP3 player to play one sound file is not too
> difficult.  Ah, heck, a tape loop would work fine, too.
> 
> Getting it to play one of a pile of different sound files, not trivial.
> 

I didn't read your description of the issue to mean playing different
sounds.  With this spec, some sort of logic would make sense.

 
> As it is, 1/3 of the storage device (I'm not gonna use the 'f' word here,
> as people apparently keyed off it and have been answering questions I didn't
> ask, so just pretend it is a little, slow disk) is a DOS FAT partition, so
> someone (anyone!) could remove the storage device, plug it into their
> Windows computer, and add, remove, replace, or re-order the message files.
> (I've also set it up that if someone plugs a USB storage device in at boot,
> it uses that for sound files rather than the "on-board" files.)

I wouldn't want to risk the root filesystem by having the device its on
be plugged into a random user's windows box.  It would make more sense
to use your CF card for the root device and provide a USB port under a
flap or something for people to mount replacement sound files.  It would
be nice if it could be ro mounted-on-insert and used with the next coin and
unmounted-on-removal to revert to the built-in tunes.  Save the reboot.

 
> About the only compromise I took that I really didn't like was not using
> the parallel port for the input on the thing.  I wasn't having much luck
> doing that when the idea of using a mouse as an input device was suggested
> to me by the artist I'm working with.  My first thought was, "that's crazy",
> but then I realized I could simply hack wsmoused to execute a program
> whenever the mouse is clicked, and ta-da, we got ourselves a solution.  I
> don't think I spent more than a couple hours doing that before I had
> a demonstrator program running.  When I got the opportunity to get the
> iPaq desktops, I grabbed one, flipped it over, saw PS/2, parallel and
> serial ports, figured "That's it!", and grabbed twenty of the things.
> You can see where I'm going: I kid you not, the one I grabbed was the ONLY
> one with PS/2, parallel and serial, the rest were all "legacy free".
> Suddenly, the mouse-as-input-device didn't seem anywhere near so stupid. :)

What was the problem having the coin detector trigger the "printer
ready" line on a parport or one of the status lines on a serial port?
Would seem to be less hacking.  Personally, I would avoid hacking the
base system (e.g. wsmoused) and instead have my program over top of
base.  Python has both a parallel and a serial module to allow accessing
those ports.  

> If something goes wrong in the field, the people near the machine will be
> much more likely to be able to put a monitor and keyboard on it than they
> will be able to put a serial terminal.

I wasn't suggesting a serial terminal for use by the user.  I was
suggesting a phone jack that the user plugs in then you or another
service tech dials in to the unit from the comfort of your office.

Summary:

I still suggest a heartbeat monitor and a modem.

Good luck,

Doug.



Re: ASUS m2a-vm and 4.2

2007-12-29 Thread Peter Strömberg
On 28 Dec 2007 at 21:29, Pawel Veselov wrote:

> Hi,
> 
> Just had some experience installing 4.2 on ASUS m2a-vm... Wasn't pleasant.

Try -current, it will work better, with some gotchas thou.

> 3Gbs drive shows max of 0.2MBs tranfer rate (according to iostat). My
> old drive shows appx 30MB on IDE bus. Tested using dd if=/dev/zero
> of=file. Any disk access takes forever.

The drive is in pio-mode

> Selecting SATA interface as AHCI doesn't work (doesn't show up, or
> reboots the system when discovery attepmted).

In -current you can install to ahci/sata, but then generic doesn't boot.
You need to boot -c and disable ahci, change fstab to wd and then compile
a kernel with a KASSERT removed (in dev/pci/ahci.c, line 1757)
Change fstab again, and reboot. You'll get some ahci warnings, but it will work

> Installing 64bit version reboots the installer at the time disks were 
> accessed.
> 
> There seem to be some problems with built-in card, as in it won't send
> any packets, at least with 10MB media (re driver).

Still doesn't work in -current

Other quirks, the radeonhd driver doesn't work if you (only) use a dvi cable.
With an vga and a dvi cable you can run X

OpenBSD 4.2-current (MICRO.MP) #8: Sat Dec 29 13:01:47 CET 2007
[EMAIL PROTECTED]:/sys/arch/amd64/compile/MICRO.MP
real mem = 2011688960 (1918MB)
avail mem = 1941458944 (1851MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (58 entries)
bios0: vendor Phoenix Technologies, LTD version "ASUS M2A-VM ACPI BIOS Revision 
1603" date 11/30/2007
bios0: ASUSTeK Computer INC. M2A-VM
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices USB0(S5) USB1(S5) USB2(S5) USB3(S5) USB4(S5) USB5(S5) 
AZAL(S3) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) 
PCE8(S4) UAR1(S5) UAR2(S5) PS2M(S5) PS2K(S5) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) X2 Dual Core Processor BE-2350, 2100.22 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) X2 Dual Core Processor BE-2350, 2099.92 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0 apid 4 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P2P_)
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 -1 (PCE8)
acpiprt9 at acpi0: bus 1 (AGP_)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature 75 degC
acpibtn0 at acpi0: PWRB
cpu0: PowerNow! K8 2099 MHz: speeds: 2100 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)
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 
4 int 19 (irq 5), address 00:1b:fc:8b:7c:9c
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ahci0 at pci0 dev 18 function 0 "ATI IXP600 SATA" rev 0x00: apic 4 int 22 (irq 
11), AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0:  SCSI3 0/direct fixed
sd0: 305245MB, 38913 cyl, 255 head, 63 sec, 512 bytes/sec, 625142448 sec total
ahci0: stopping the port, softreset slot 5 was still active.
atascsi_atapi_cmd_done, timeout
ahci0: stopping the port, softreset slot 7 was still active.
atascsi_atapi_cmd_done, timeout
ahci0: stopping the port, softreset slot 9 was still active.
atascsi_atapi_cmd_done, timeout
ahci0: stopping the port, softreset slot 11 was still active.
atascsi_atapi_cmd_done, timeout
ahci0: stopping the port, softreset slot 13 was still active.
atascsi_atapi_cmd_done, timeout
ahci0: stopping the port, softreset

Re: What does this mean?

2007-12-29 Thread scott
Yes, but the third tab on your link clearly shows that 1 through 9 of
the 10 worst (spamhaus definition) spammers (not spam origins) are non
U.S. culprits -- Russian, Ukraine, Hong Kong, Russian, Australia,
Russian, Russian, India, Ukraine and USA.

-Original Message-
From: Girish Venkatachalam <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: OpenBSD misc 
Subject: What does this mean?
Date: Sat, 29 Dec 2007 13:56:09 +0530
Mailer: Mutt/1.5.17 (2007-11-01)
Delivered-To: [EMAIL PROTECTED]

Check out

http://www.spamhaus.org/statistics/countries.lasso

There is USA right at the top head and shoulders above the rest.

The way I look at it is this:

 1) It takes a lot of talent/energy even to cause harm

 2) Spammers may use cheap tools written by others but they are a
powerful cartel very similar to the underworld. It requires great
coordination, planning and heavy resources to write/use the
sophisticated tools used by them

I would not imagine a nation like Nigeria coming up with tools like
this. ;)

-Girish



Re: Linus about C++

2007-12-29 Thread Tony Abernethy
L wrote:

> "Oh, now I get it - computers are for people who can't learn 
> how to use 
> a pencil and paper."

Actually quite the opposite.
Computers are good for automating stuff.
They work much much better when people know what they are doing
rather than trying to substitute automation for competence.



What does this mean?

2007-12-29 Thread Girish Venkatachalam
Check out

http://www.spamhaus.org/statistics/countries.lasso

There is USA right at the top head and shoulders above the rest.

The way I look at it is this:

 1) It takes a lot of talent/energy even to cause harm

 2) Spammers may use cheap tools written by others but they are a
powerful cartel very similar to the underworld. It requires great
coordination, planning and heavy resources to write/use the
sophisticated tools used by them

I would not imagine a nation like Nigeria coming up with tools like
this. ;)

-Girish