Re: audio recording levels

2010-06-16 Thread Alexandre Ratchov
On Tue, Jun 15, 2010 at 10:46:47AM +0200, Jan Stary wrote:
   Sound cards just get too much noise off the motherboard.
  
  well, it depends on the sound card; properly engineered
  cards don't get noise, including pci ones.
 
 Are some of them known to be better then others in this respect?

any card that claims 100dB S/N should be ok, assuming the
vendor is not lying. I've a m-audio delta 1010lt, and a esi
julia that don't get noise while they are plugged on a
machine I use as a wireless access point (which btw is
probably the most stupid setup).

-- Alexandre



Re: pf.conf: match seems to clean up previous log statements.

2010-06-16 Thread william dunand
 When you use 'match' to set options (e.g. nat-to) it does that for
 for *subsequent* rules, it doesn't retrospectively loop back and
 change addresses on a rule which has *already* been processed.

Yes I know that much. And as my pass rules care about the not-yet
translated source addresses, they have to be before the match...nat-to
rule. I am not sure I am getting your point, but anyway the original
question has been dealt with so I am fine.

Thanks again.
William



Re: Why I left OpenBSD

2010-06-16 Thread Tomas Bodzar
I think that author is really big professional lier and troll. Or so
stupid that it's not possible in this cosmos :D So first he wrote how
he left OpenBSD because of this and this a and this, now after couple
of days he wrote another post where he attacks against OpenBSD and
says that after long research he decided to give some money to NetBSD.
And theen 6 months before this postvoila
http://www.trollaxor.com/2009/12/netbsd-bankrupt-software-distribution.html
. So I think that only man here with need for psychiatrist is author
of that posts/blog or maybe it's very sophisticated way of attack
against BSDs from outside or maybe just someone needs to collect
someones opinions, nicknames, IPs and so on.

On Wed, Jun 16, 2010 at 7:52 AM, Siju George sgeorge...@gmail.com wrote:
 On Wed, Jun 16, 2010 at 6:54 AM, Ted t...@pobox.com wrote:
 Agree he's a troll by name and by actions. He is praising and switched to
 FreeBSD according to this post. Yet in his other post
 (http://www.trollaxor.com/2010/06/why-i-almost-gave-openbsd-10-didnt.html)
 he states he decided to donate $100,000 to NetBSD?

 Makes no sense.


 you really went and read that link? cool :-)

 --Siju



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Alexander Farber
Hello again,

On Wed, Jun 9, 2010 at 8:35 PM, umaxx um...@oleco.net wrote:
 http://wiki.bsdforen.de/howto/strato_mr2_openbsd
 for initial installation procedure since dettus.net was not really
 working for me cause of MBR boot issues (probably my fault).

 (Also I guess I should take amd64 there?)

 Yes.

I've now rented Strato's SR-7 server and since the dettus.net
method (cat floppy47.fs  /dev/sda) doesn't work for me,
I'm trying the qemu method you've suggested, but

  qemu -hda install.img -cdrom install47.iso -boot d

stucks during right at the beginning of the boot:

..
 OpenBSD/amd64 CDBOOT 2.01
boot booting cd0a:/4.7/amd64/bsd.rd: ...numbers

Should I disable anything to make the kernel boot?

Thanks
Alex



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Alexander Farber
Below is the Linux dmesg output (pardon the blasphemy).
Any ideas please how to make amd64 install47.iso boot
at this remote server?

Thank you
Alex

Linux version 2.6.18-194.3.1.el5 (mockbu...@builder10.centos.org) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu May 13 13:08:30
EDT 2010
Command line: ro root=LABEL=/ console=tty0 console=ttyS0,57600
BIOS-provided physical RAM map:
 BIOS-e820: 0001 - 0009f000 (usable)
 BIOS-e820: 0009f000 - 000a (reserved)
 BIOS-e820: 000e4000 - 0010 (reserved)
 BIOS-e820: 0010 - ddfb (usable)
 BIOS-e820: ddfb - ddfbe000 (ACPI data)
 BIOS-e820: ddfbe000 - ddfe (ACPI NVS)
 BIOS-e820: ddfe - ddfee000 (reserved)
 BIOS-e820: ddff - de00 (reserved)
 BIOS-e820: ff70 - 0001 (reserved)
 BIOS-e820: 0001 - 00012000 (usable)
DMI present.
ACPI: RSDP (v000 ACPIAM) @ 0x000faf80
ACPI: RSDT (v001 032510 RSDT1503 0x20100325 MSFT 0x0097) @
0xddfb
ACPI: FADT (v002 032510 FACP1503 0x20100325 MSFT 0x0097) @
0xddfb0200
ACPI: MADT (v001 032510 APIC1503 0x20100325 MSFT 0x0097) @
0xddfb0390
ACPI: MCFG (v001 032510 OEMMCFG  0x20100325 MSFT 0x0097) @
0xddfb0400
ACPI: OEMB (v001 032510 OEMB1503 0x20100325 MSFT 0x0097) @
0xddfbe040
ACPI: HPET (v001 032510 OEMHPET  0x20100325 MSFT 0x0097) @
0xddfb48c0
ACPI: SSDT (v001 A M I  POWERNOW 0x0001 AMD  0x0001) @
0xddfb4900
ACPI: DSDT (v001  A96B3 A96B3210 0x0210 INTL 0x20051117) @
0x
No NUMA configuration found
Faking a node at -00012000
Bootmem setup node 0 -00012000
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
disabling kdump
On node 0 totalpages: 1022763
  DMA zone: 2627 pages, LIFO batch:0
  DMA32 zone: 890856 pages, LIFO batch:31
  Normal zone: 129280 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 0:4 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 0:4 APIC version 16
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
Processor #2 0:4 APIC version 16
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
Processor #3 0:4 APIC version 16
ACPI: IOAPIC (id[0x04] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 4, version 33, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to physical flat
ACPI: HPET id: 0x8300 base: 0xfed0
Using ACPI (MADT) for SMP configuration information
Nosave address range: 0009f000 - 000a
Nosave address range: 000a - 000e4000
Nosave address range: 000e4000 - 0010
Nosave address range: ddfb - ddfbe000
Nosave address range: ddfbe000 - ddfe
Nosave address range: ddfe - ddfee000
Nosave address range: ddfee000 - ddff
Nosave address range: ddff - de00
Nosave address range: de00 - ff70
Nosave address range: ff70 - 0001
Allocating PCI resources starting at e000 (gap: de00:2170)
SMP: Allowing 4 CPUs, 0 hotplug CPUs
Built 1 zonelists.  Total pages: 1022763
Kernel command line: ro root=LABEL=/ console=tty0 console=ttyS0,57600
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Checking aperture...
CPU 0: aperture @ 400 size 32 MB
Aperture too small (32 MB)
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the BIOS setup
This costs you 64 MB of RAM
Mapping aperture over 65536 KB of RAM @ 400
Nosave address range: 0400 - 0800
ACPI: DMAR not present
Memory: 4016200k/4718592k available (2573k kernel code, 144564k
reserved, 1305k data, 212k init)
Calibrating delay loop (skipped), value calculated using timer
frequency.. 5000.20 BogoMIPS (lpj=2500103)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0/0 - Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
SMP alternatives: switching to UP code

Re: audio recording levels

2010-06-16 Thread Alexandre Ratchov
On Wed, Jun 16, 2010 at 12:06:40AM +1200, Paul M wrote:
 On 15/06/2010, at 11:18 PM, Paul M wrote:
 
 On 15/06/2010, at 8:25 PM, Alexandre Ratchov wrote:
 
 On Mon, Jun 14, 2010 at 08:20:57AM -0600, Ted Roby wrote:
 
 Sound cards just get too much noise off the motherboard.
 
 well, it depends on the sound card; properly engineered
 cards don't get noise, including pci ones.
 
 It seems the best I can get with the built-in sound on this computer
 is about 36dB S/N. If the various input gain stages are not set quite
 
 Sorry, that's a typo - should be -46 dB
 

that's not very good; 8-bit samples correspond to 48dB; I
mean with 48dB S/N, only 8 higher bits are significant.

Such a low S/N ratio makes me wonder if your cables, power
supply or whatever are ok.

BTW, how did you measure the S/N ratio?

-- Alexandre



4.7 arrived in Hannover

2010-06-16 Thread Matthias Pfeifer
Yes :)


Thanks to the OpenBSD developers for your time, 
all the work and another great release!




-- 
* *** *** *** *** *** *** *** *** *** *** *** *
meep meep
* *** *** *** *** *** *** *** *** *** *** *** *



Re: Why I left OpenBSD

2010-06-16 Thread VICTOR TARABOLA CORTIANO
Theo de Raadt compares proprietary graphic drivers with apartheid

This made my day.



Re: Why I left OpenBSD

2010-06-16 Thread Rod Whitworth
On Wed, 16 Jun 2010 08:13:59 +0200, Tomas Bodzar wrote:

. So I think that only man here with need for psychiatrist is author
of that posts/blog

Tomas (and others),
That line is all you need. If you need convincing go to the website and
look at some of the articles linked on the right hand column  of the
page you have already seen.

Pick out some of the big names and amaze youself at the filth and
wild imaginings exhibited there. NOT SAFE FOR KIDDIES!!

In this country he'd have been sued into bankruptcy if any of his
characters was an Australian citizen and he was resident here.

Take care...

*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Tomas Bodzar
On Wed, Jun 16, 2010 at 8:41 AM, Alexander Farber
alexander.far...@gmail.com wrote:
 Hello again,

 On Wed, Jun 9, 2010 at 8:35 PM, umaxx um...@oleco.net wrote:
 http://wiki.bsdforen.de/howto/strato_mr2_openbsd
 for initial installation procedure since dettus.net was not really
 working for me cause of MBR boot issues (probably my fault).

 (Also I guess I should take amd64 there?)

 Yes.

 I've now rented Strato's SR-7 server and since the dettus.net
 method (cat floppy47.fs  /dev/sda) doesn't work for me,
 I'm trying the qemu method you've suggested, but

Where on that page is sentence that you need to use cat floppy47.fs 
/dev/sda? Read this http://www.openbsd.org/faq/faq4.html before trying
someones old and untrusted methods and after that try to install
something.


 B qemu -hda install.img -cdrom install47.iso -boot d

 stucks during right at the beginning of the boot:

 ..
 OpenBSD/amd64 CDBOOT 2.01
 boot booting cd0a:/4.7/amd64/bsd.rd: ...numbers

 Should I disable anything to make the kernel boot?

Are you trying this on 64bit machine, with 64bit OS and 64bit Qemu?


 Thanks
 Alex



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Tomas Bodzar
First choose correct floppy image as stated in Installation manual
(previous mail from me), if it's not possible then try to boot from
network or from USB flash (how to prepare USB flash is in FAQ too).
And try both versions i386 and amd64 and send dmesg after that.

On Wed, Jun 16, 2010 at 8:44 AM, Alexander Farber
alexander.far...@gmail.com wrote:
 Below is the Linux dmesg output (pardon the blasphemy).
 Any ideas please how to make amd64 install47.iso boot
 at this remote server?

 Thank you
 Alex

 Linux version 2.6.18-194.3.1.el5 (mockbu...@builder10.centos.org) (gcc
 version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu May 13 13:08:30
 EDT 2010
 Command line: ro root=LABEL=/ console=tty0 console=ttyS0,57600
 BIOS-provided physical RAM map:
 B BIOS-e820: 0001 - 0009f000 (usable)
 B BIOS-e820: 0009f000 - 000a (reserved)
 B BIOS-e820: 000e4000 - 0010 (reserved)
 B BIOS-e820: 0010 - ddfb (usable)
 B BIOS-e820: ddfb - ddfbe000 (ACPI data)
 B BIOS-e820: ddfbe000 - ddfe (ACPI NVS)
 B BIOS-e820: ddfe - ddfee000 (reserved)
 B BIOS-e820: ddff - de00 (reserved)
 B BIOS-e820: ff70 - 0001 (reserved)
 B BIOS-e820: 0001 - 00012000 (usable)
 DMI present.
 ACPI: RSDP (v000 ACPIAM B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B ) @
0x000faf80
 ACPI: RSDT (v001 032510 RSDT1503 0x20100325 MSFT 0x0097) @
 0xddfb
 ACPI: FADT (v002 032510 FACP1503 0x20100325 MSFT 0x0097) @
 0xddfb0200
 ACPI: MADT (v001 032510 APIC1503 0x20100325 MSFT 0x0097) @
 0xddfb0390
 ACPI: MCFG (v001 032510 OEMMCFG B 0x20100325 MSFT 0x0097) @
 0xddfb0400
 ACPI: OEMB (v001 032510 OEMB1503 0x20100325 MSFT 0x0097) @
 0xddfbe040
 ACPI: HPET (v001 032510 OEMHPET B 0x20100325 MSFT 0x0097) @
 0xddfb48c0
 ACPI: SSDT (v001 A M I B POWERNOW 0x0001 AMD B 0x0001) @
 0xddfb4900
 ACPI: DSDT (v001 B A96B3 A96B3210 0x0210 INTL 0x20051117) @
 0x
 No NUMA configuration found
 Faking a node at -00012000
 Bootmem setup node 0 -00012000
 Memory for crash kernel (0x0 to 0x0) notwithin permissible range
 disabling kdump
 On node 0 totalpages: 1022763
 B DMA zone: 2627 pages, LIFO batch:0
 B DMA32 zone: 890856 pages, LIFO batch:31
 B Normal zone: 129280 pages, LIFO batch:31
 ACPI: PM-Timer IO Port: 0x808
 ACPI: Local APIC address 0xfee0
 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
 Processor #0 0:4 APIC version 16
 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
 Processor #1 0:4 APIC version 16
 ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
 Processor #2 0:4 APIC version 16
 ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
 Processor #3 0:4 APIC version 16
 ACPI: IOAPIC (id[0x04] address[0xfec0] gsi_base[0])
 IOAPIC[0]: apic_id 4, version 33, address 0xfec0, GSI 0-23
 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
 ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
 ACPI: IRQ0 used by override.
 ACPI: IRQ2 used by override.
 ACPI: IRQ9 used by override.
 Setting APIC routing to physical flat
 ACPI: HPET id: 0x8300 base: 0xfed0
 Using ACPI (MADT) for SMP configuration information
 Nosave address range: 0009f000 - 000a
 Nosave address range: 000a - 000e4000
 Nosave address range: 000e4000 - 0010
 Nosave address range: ddfb - ddfbe000
 Nosave address range: ddfbe000 - ddfe
 Nosave address range: ddfe - ddfee000
 Nosave address range: ddfee000 - ddff
 Nosave address range: ddff - de00
 Nosave address range: de00 - ff70
 Nosave address range: ff70 - 0001
 Allocating PCI resources starting at e000 (gap: de00:2170)
 SMP: Allowing 4 CPUs, 0 hotplug CPUs
 Built 1 zonelists. B Total pages: 1022763
 Kernel command line: ro root=LABEL=/ console=tty0 console=ttyS0,57600
 Initializing CPU#0
 PID hash table entries: 4096 (order: 12, 32768 bytes)
 Console: colour VGA+ 80x25
 Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
 Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
 Checking aperture...
 CPU 0: aperture @ 400 size 32 MB
 Aperture too small (32 MB)
 No AGP bridge found
 Your BIOS doesn't leave a aperture memory hole
 Please enable the IOMMU option in the BIOS setup
 This costs you 64 MB of RAM
 Mapping aperture over 65536 KB of RAM @ 400
 Nosave address range: 0400 - 0800
 ACPI: DMAR not present
 Memory: 4016200k/4718592k available (2573k kernel code, 144564k
 reserved, 1305k data, 212k init)
 Calibrating delay loop (skipped), value calculated using timer
 frequency.. 

Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Alexander Farber
Hello Thomas,

On Wed, Jun 16, 2010 at 9:07 AM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 On Wed, Jun 16, 2010 at 8:41 AM, Alexander Farber
 alexander.far...@gmail.com wrote:
 On Wed, Jun 9, 2010 at 8:35 PM, umaxx um...@oleco.net wrote:
 http://wiki.bsdforen.de/howto/strato_mr2_openbsd
 for initial installation procedure since dettus.net was not really
 working for me cause of MBR boot issues (probably my fault).

 (Also I guess I should take amd64 there?)

 Yes.

 I've now rented Strato's SR-7 server and since the dettus.net
 method (cat floppy47.fs  /dev/sda) doesn't work for me,
 I'm trying the qemu method you've suggested, but

 Where on that page is sentence that you need to use cat floppy47.fs 
 /dev/sda? Read this http://www.openbsd.org/faq/faq4.html before trying
 someones old and untrusted methods and after that try to install
 something.


  qemu -hda install.img -cdrom install47.iso -boot d

 stucks during right at the beginning of the boot:

 ..
 OpenBSD/amd64 CDBOOT 2.01
 boot booting cd0a:/4.7/amd64/bsd.rd: ...numbers

 Should I disable anything to make the kernel boot?

 Are you trying this on 64bit machine, with 64bit OS and 64bit Qemu?

yes, yes and yes:

CentOS 5.5 64-bit at the Strato HighQ-Server SR-7
with AMD Quad Opteron 1381 and the qemu from CentOS packages.

It hangs when starting install47.iso (AMD64)
right after I enter ENTER or -c or boot -c
(I was hoping to enter disable acpi...)

Regards
Alex

PS: I couldn't change to Hetzner.de because
   I'm locked for 12 months by the Strato's contract

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



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Alexander Farber
Hello,

On Wed, Jun 16, 2010 at 9:07 AM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 On Wed, Jun 16, 2010 at 8:41 AM, Alexander Farber
 alexander.far...@gmail.com wrote:
 Where on that page is sentence that you need to use cat floppy47.fs  
 /dev/sda? Read this http://www.openbsd.org/faq/faq4.html before trying 
 someones old and untrusted methods and after that try to install
 something.

actually I didn't cat floppy47.fs  /dev/sda. What I tried
(numerous times) was:

wget -O- http://www.dettus.net/floppy35_seriell.fs.gz | gzip -d -f /dev/sda

and (prepared my own AMD64 image with boot.conf):

wget -O- http://preferans.de/floppy47.fs.gz | gzip -d -f /dev/sda

Regards
Alex



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Tomas Bodzar
Again. Read FAQ 4 where is correct setup how to prepare floppy for install.

On Wed, Jun 16, 2010 at 9:17 AM, Alexander Farber
alexander.far...@gmail.com wrote:
 Hello,

 On Wed, Jun 16, 2010 at 9:07 AM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 On Wed, Jun 16, 2010 at 8:41 AM, Alexander Farber
 alexander.far...@gmail.com wrote:
 Where on that page is sentence that you need to use cat floppy47.fs  
 /dev/sda? Read this http://www.openbsd.org/faq/faq4.html before trying 
 someones old and untrusted methods and after that try to install
 something.

 actually I didn't cat floppy47.fs  /dev/sda. What I tried
 (numerous times) was:

 wget -O- http://www.dettus.net/floppy35_seriell.fs.gz | gzip -d -f /dev/sda

 and (prepared my own AMD64 image with boot.conf):

 wget -O- http://preferans.de/floppy47.fs.gz | gzip -d -f /dev/sda

 Regards
 Alex



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Tomas Bodzar
Did you try install i386 version if there is same problem and did you
try latest snapshot in case that possible bug, if any, is repaired?

On Wed, Jun 16, 2010 at 9:13 AM, Alexander Farber
alexander.far...@gmail.com wrote:
 Hello Thomas,

 On Wed, Jun 16, 2010 at 9:07 AM, Tomas Bodzar tomas.bod...@gmail.com
wrote:
 On Wed, Jun 16, 2010 at 8:41 AM, Alexander Farber
 alexander.far...@gmail.com wrote:
 On Wed, Jun 9, 2010 at 8:35 PM, umaxx um...@oleco.net wrote:
 http://wiki.bsdforen.de/howto/strato_mr2_openbsd
 for initial installation procedure since dettus.net was not really
 working for me cause of MBR boot issues (probably my fault).

 (Also I guess I should take amd64 there?)

 Yes.

 I've now rented Strato's SR-7 server and since the dettus.net
 method (cat floppy47.fs  /dev/sda) doesn't work for me,
 I'm trying the qemu method you've suggested, but

 Where on that page is sentence that you need to use cat floppy47.fs 
 /dev/sda? Read this http://www.openbsd.org/faq/faq4.html before trying
 someones old and untrusted methods and after that try to install
 something.


 B qemu -hda install.img -cdrom install47.iso -boot d

 stucks during right at the beginning of the boot:

 ..
 OpenBSD/amd64 CDBOOT 2.01
 boot booting cd0a:/4.7/amd64/bsd.rd: ...numbers

 Should I disable anything to make the kernel boot?

 Are you trying this on 64bit machine, with 64bit OS and 64bit Qemu?

 yes, yes and yes:

 CentOS 5.5 64-bit at the Strato HighQ-Server SR-7
 with AMD Quad Opteron 1381 and the qemu from CentOS packages.

 It hangs when starting install47.iso (AMD64)
 right after I enter ENTER or -c or boot -c
 (I was hoping to enter disable acpi...)

 Regards
 Alex

 PS: I couldn't change to Hetzner.de because
 B  B  B  I'm locked for 12 months by the Strato's contract



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Alexander Farber
I don't understand, why you refer me to faq4. What do you mean?

I've mounted AMD64's floppy47.fs by vnconfig and have added
set tty com0
stty com0 57600

to etc/boot.conf there. Then I've written it to /dev/sda (s. below).

After that the remote server doesn't boot
(switched to normal mode) and the Strato
remote console just hangs

Regards
Alex


On Wed, Jun 16, 2010 at 9:32 AM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 Again. Read FAQ 4 where is correct setup how to prepare floppy for install.

 On Wed, Jun 16, 2010 at 9:17 AM, Alexander Farber
 alexander.far...@gmail.com wrote:
 wget -O- http://www.dettus.net/floppy35_seriell.fs.gz | gzip -d -f /dev/sda

 and (prepared my own AMD64 image with boot.conf):

 wget -O- http://preferans.de/floppy47.fs.gz | gzip -d -f /dev/sda



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Tomas Bodzar
But if I'm correct then /dev/sda is first SCSI disk in Linux
terminology and you are trying to write floppy image on it. Why?

On Wed, Jun 16, 2010 at 9:38 AM, Alexander Farber
alexander.far...@gmail.com wrote:
 I don't understand, why you refer me to faq4. What do you mean?

 I've mounted AMD64's floppy47.fs by vnconfig and have added
 B  B set tty com0
 B  B stty com0 57600

 to etc/boot.conf there. Then I've written it to /dev/sda (s. below).

 After that the remote server doesn't boot
 (switched to normal mode) and the Strato
 remote console just hangs

 Regards
 Alex


 On Wed, Jun 16, 2010 at 9:32 AM, Tomas Bodzar tomas.bod...@gmail.com
wrote:
 Again. Read FAQ 4 where is correct setup how to prepare floppy for
install.

 On Wed, Jun 16, 2010 at 9:17 AM, Alexander Farber
 alexander.far...@gmail.com wrote:
 wget -O- http://www.dettus.net/floppy35_seriell.fs.gz | gzip -d -f
/dev/sda

 and (prepared my own AMD64 image with boot.conf):

 wget -O- http://preferans.de/floppy47.fs.gz | gzip -d -f /dev/sda



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Andre
On Wed, Jun 16, 2010 at 09:13:23AM +0200, Alexander Farber wrote:
 
 It hangs when starting install47.iso (AMD64)
 right after I enter ENTER or -c or boot -c
 (I was hoping to enter disable acpi...)

Quit Strato.  Should be painless possible with the 
german 14-28 days money back guarantee when online ordered.

Isn't worth the effort. 
  

Andri
--



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Alexander Farber
I can't quit them, I'm locked until summer 2011 there and
I need a faster server with OpenBSD for my Facebook game now.
So I'm trying to upgrade (i.e. change to their Quad AMD server)
but the remote OpenBSD install doesn't work for me :-(

I wish there would exist a Linux tool for writing bsd.rd
to /dev/hda or /dev/sda or whatever they have there.

Some kind of depenguinator for OpenBSD...

Regards
Alex

On Wed, Jun 16, 2010 at 10:04 AM, Andre li...@braisel.com wrote:
 On Wed, Jun 16, 2010 at 09:13:23AM +0200, Alexander Farber wrote:

 It hangs when starting install47.iso (AMD64)
 right after I enter ENTER or -c or boot -c
 (I was hoping to enter disable acpi...)

 Quit Strato.  Should be painless possible with the
 german 14-28 days money back guarantee when online ordered.

 Isn't worth the effort.



Re: OpenBSD sends RSTs for gratuitous traffic

2010-06-16 Thread Patrick Coleman
On Tue, Jun 15, 2010 at 2:16 PM, LeviaComm Networks NOC
n...@leviacomm.net wrote:

 OpenBSD may be running the network in promiscuous mode, which would be why
 it is responding to MACs that it shouldn't.  If you aren't running a clean
 installation, I would recommend turning off everything except routed,
 including sshd and just use the console for now.  I would also recommend
 removing all your VLAN interfaces and reconnect only 2 then test with that,
 slowly adding VLANs back as they work.

Thanks for the suggestion there, I've managed to narrow it down. I've
connected the OpenBSD box to a 100Mb hub, which is uplinked to the
core switch I mentioned before, and connected two laptops to the hub
so I can establish TCP connections between them. The OpenBSD box now
reproduces the bug perfectly every time - every TCP connection between
the test machines gets as far as the first SYN before receiving a
spoofed RST from OpenBSD [1].

To cut a long story short, I eliminated the issue down to depend on
the following conditions:
- A trunk configured with one or more promiscuous slave ports
- Trunk must not be in promiscuous mode
- The line 'set block-policy return' in pf.conf

Had a poke around in sys/net, and the problem appears to be in
ether_input (if_ethersubr.c:530). The check at line 687 looks to see
if the interface is in promisc mode before it does the destination
check, but packets from a trunk interface get their received interface
changed from the physical interface to the trunk around line 559.
Thus, if the child interface is promisc and the trunk interface is
not, packets not destined for the local machine will be passed into
pf's filtering routines.

The attached patch [2] fixes the issue for me. Not knowing the OpenBSD
network stack, I've tried to fix it in the least intrusive way
possible, which may not be the best solution. Let me know if it'll
break anything, or if I should be submitting the patch elsewhere.

Cheers,

Patrick
--
http://www.labyrinthdata.net.au - WA Backup, Web and VPS Hosting


[1] Two examples of the problem here. 10.10.50.1 sends a SYN to
10.10.50.2, but OpenBSD (10.10.0.2/00:04:23:c9:bd:d0) spoofs a RST
response from 10.10.50.2 and closes the connection.

11:41:39.202711 00:25:00:a0:2a:6e  00:16:cb:d1:5b:fc, ethertype IPv4
(0x0800), length 78: 10.10.50.1.51743  10.10.50.2.: Flags [S], seq
4101611714, win 65535, options [mss 1460,nop,wscale 3,nop,nop,TS val
844767319 ecr 0,sackOK,eol], length 0
11:41:39.203219 00:04:23:c9:bd:d0  00:25:00:a0:2a:6e, ethertype IPv4
(0x0800), length 60: 10.10.50.2.  10.10.50.1.51743: Flags [R.], seq 0,
ack 4101611715, win 0, length 0
11:41:39.411521 00:25:00:a0:2a:6e  00:16:cb:d1:5b:fc, ethertype IPv4
(0x0800), length 78: 10.10.50.1.51744  10.10.50.2.: Flags [S], seq
2093396000, win 65535, options [mss 1460,nop,wscale 3,nop,nop,TS val
844767321 ecr 0,sackOK,eol], length 0
11:41:39.411987 00:04:23:c9:bd:d0  00:25:00:a0:2a:6e, ethertype IPv4
(0x0800), length 60: 10.10.50.2.  10.10.50.1.51744: Flags [R.], seq 0,
ack 2093396001, win 0, length 0

[2] Also up at http://patrick.ld.net.au/20100616-fix-gratuitous-reset.patch,
for less tab clobberyness.

Index: if_ethersubr.c
===
RCS file: /cvs/src/sys/net/if_ethersubr.c,v
retrieving revision 1.139
diff if_ethersubr.c
540a541
   struct ifnet *ifp_orig = ifp0;
568c569,570
   /* Has been set to the trunk interface */
---
   /* Has been set to the trunk interface. ifp_orig preserves the
physical
* input interface. */
685a688,690
*
* Check ifp and ifp_orig, to catch promiscuous members of a
* non-promiscuous trunk.
688c693,695
   (ifp-if_flags  IFF_PROMISC)) {
---
   ((ifp-if_flags  IFF_PROMISC) ||
(ifp_orig-if_flags  IFF_PROMISC))) {



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread David Coppa
On Wed, Jun 16, 2010 at 10:15 AM, Alexander Farber
alexander.far...@gmail.com wrote:
 I can't quit them, I'm locked until summer 2011 there and
 I need a faster server with OpenBSD for my Facebook game now.
 So I'm trying to upgrade (i.e. change to their Quad AMD server)
 but the remote OpenBSD install doesn't work for me :-(

 I wish there would exist a Linux tool for writing bsd.rd
 to /dev/hda or /dev/sda or whatever they have there.

 Some kind of depenguinator for OpenBSD...

As already said on this thread, have you tried yaifo?

ciao,
david



Re: OpenBSD sends RSTs for gratuitous traffic

2010-06-16 Thread David Coppa
On Wed, Jun 16, 2010 at 10:17 AM, Patrick Coleman blin...@gmail.com wrote:

 Index: if_ethersubr.c
 ===
 RCS file: /cvs/src/sys/net/if_ethersubr.c,v
 retrieving revision 1.139
 diff if_ethersubr.c
 540a541
   struct ifnet *ifp_orig = ifp0;
 568c569,570
/* Has been set to the trunk interface */
 ---
   /* Has been set to the trunk interface. ifp_orig preserves
the
 physical
* input interface. */
 685a688,690
*
* Check ifp and ifp_orig, to catch promiscuous members of a
* non-promiscuous trunk.
 688c693,695
(ifp-if_flags  IFF_PROMISC)) {
 ---
   ((ifp-if_flags  IFF_PROMISC) ||
(ifp_orig-if_flags  IFF_PROMISC))) {



diff -u is preferred. Can you resend it in unified format?



Re: OpenBSD sends RSTs for gratuitous traffic

2010-06-16 Thread Patrick Coleman
On Wed, Jun 16, 2010 at 4:28 PM, David Coppa dco...@gmail.com wrote:

 diff -u is preferred. Can you resend it in unified format?

Sure. See http://patrick.ld.net.au/20100616-fix-gratuitous-reset.patch.

Cheers,

Patrick

-- 
http://www.labyrinthdata.net.au - WA Backup, Web and VPS Hosting



Re: OpenBSD sends RSTs for gratuitous traffic

2010-06-16 Thread Bret S. Lambert
On Wed, Jun 16, 2010 at 04:33:42PM +0800, Patrick Coleman wrote:
 On Wed, Jun 16, 2010 at 4:28 PM, David Coppa dco...@gmail.com wrote:
 
  diff -u is preferred. Can you resend it in unified format?
 
 Sure. See http://patrick.ld.net.au/20100616-fix-gratuitous-reset.patch.

And, not to nitpick, but I'm going to nitpick, can you also ``man style'' ?

 
 Cheers,
 
 Patrick
 
 -- 
 http://www.labyrinthdata.net.au - WA Backup, Web and VPS Hosting



Re: Sierra Wireless MC5720 Modem

2010-06-16 Thread Pete Vickers
the full AT command sets are available somewhere here:

http://www.google.com/search?q=at.commands+site:3gpp.org


Note that a large number of the 'modems' these days, expose two serial
interfaces, and only one will listen for AT commands, until correct
initialisation is done...


/Pete



On 16. juni 2010, at 07.25, Dunceor wrote:

 On Wed, Jun 16, 2010 at 5:56 AM, J.C. Roberts list-...@designtools.org
 wrote:
 On Mon, 14 Jun 2010 20:17:44 -0500 Marco Peereboom sl...@peereboom.us
 wrote:

 Anyone got:
 umsm0 at uhub7 port 2 configuration 1 interface 0 Sierra Wireless
 Sierra Wireless MC5720 Modem rev 1.10/0.01 addr 2 ucom0 at umsm0
 To work on OpenBSD?

 I get basically no output from the modem using this in /etc/remote:
 mobile:\
 B  B  B  B  :at=hayes:dv=/dev/cuaU0:dv=/dev/ttya:tc=direct:tc=unixhost:

 # sudo tip remote
 connected

 And then I can type AT all day long and get no response. B The modem
 isn't activated but I don't want to go spend money on activating it
 unless I know if that is what is causing it to not respond.

 Something else weird is that if I fart enough with tip and stuff to
 get to the modem and reboot with it on it hangs the IO subsytem. B Not
 sure why a serial port is sitting on IPL_BIO but that is a different
 story.


 As mentioned off list, a vast number of the early data card designs
 actually have *multiple* serial ports, but only one of them is usable as
 a typical AT-Command modem. The other serial ports on the device(s) can
 only speak proprietary protocols and are used for BS Management and
 Monitoring functions (e.g. constantly checking/reporting signal
 strength). The umsm man page clearly mentions these other unusable
 ports since there's no definitive way to tell which port is usable as a
 modem.

 If a serial port on the device does not respond to AT commands, you have
 the wrong port. If it's the only available port on the device, then you
 need to tweak the umsm sources to make it look for multiple ports on
 your device. If after finding all the available ports on a device, you
 cannot find a port that talks AT commands, then either the device is
 broken or you need some secret sauce to make the device go back to
 speaking normal AT commands (rather being in proprietary mode).

 Additionally, many modems support profiles which is a fancy way to say
 the firmware in the device remembers the settings you previously gave
 it. Clearing the various types of profiles/settings is often
 vendor/device specific. Some of the more common AT commands for
 resetting a device are:

 B  B  B  B ATZ
 B  B  B  B ATF
 B  B  B  B AT+CFUN=1

 Since you will need access to a MS-windows system to do the required
 activation nonsense before the device will work with a given providers
 network, you should look at the device to see what *.inf file is being
 used to define how the device is controlled.

 For example, the Pantech (ZTC) UMW190 I have here uses the
 C:\windows\inf\oem33.inf file as its definition (seeable through device
 properties or Modem/PPP logging if enabled). Look in said file for the
 Reset entry to figure out the proper AT command..

 By comparison, Sierra Wireless is one of the most open source friendly
 of all the data card vendors so digging around for their docs or
 looking how the specific device shows up (number/type of ports) in linux
 might be real helpful. Dan Williams has done a lot of work on the
 various data card devices in linux, including some degree of reverse
 engineering of the proprietary protocols which the unusable ports
 typically speak.

 http://blogs.gnome.org/dcbw/


 Ya, ya, I know... (insert linux rant), but they do have some good info
 and it may be helpful.

 B  B  B  B jcr

 --
 The OpenBSD Journal - http://www.undeadly.org



 All Ericsson based modems can be reseted with AT+CFUN=1 (or if you
 want you can AT+CFUN=0 to turn it off and then AT+CFUN=4 to turn it on
 in UMTS mode).
 A lot of other cards support this also.

 BR
 Dunceor



Re: anyone use these for firewall?

2010-06-16 Thread Lars Nooden

LeviaComm Networks NOC wrote:

In the mean time, if anyone can send me dmesgs detailing the hardware
they are form, I can start setting some of it up.


Mark Kettenis and Dariusz have a port on the RB600A:

http://old.nabble.com/RouterBOARD-RB600A-support-td27828265.html



/Lars



Re: anyone use these for firewall?

2010-06-16 Thread Martin Schröder
2010/6/16 Lars Nooden lars.cura...@gmail.com:
 Mark Kettenis and Dariusz have a port on the RB600A:

Which has been discontinued. :-(

Best
   Martin



Re: Sierra Wireless MC5720 Modem

2010-06-16 Thread Stuart Henderson
On 2010-06-16, J.C. Roberts list-...@designtools.org wrote:
 Since you will need access to a MS-windows system to do the required 
 activation nonsense before the device will work with a given providers
 network,

this may be common in the USA, but isn't needed everywhere.



Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?

2010-06-16 Thread Robert
On Wed, 16 Jun 2010 09:46:27 +0200
Tomas Bodzar tomas.bod...@gmail.com wrote:

 But if I'm correct then /dev/sda is first SCSI disk in Linux
 terminology and you are trying to write floppy image on it. Why?

That used to work and was the easiest way to install ded's with serial.
Not anymore with recent releases. That's where he is stuck.

As so many people wrote before: yaifo.
One does not have to use ssh with yaifo, the serial works just fine.

(yaifo 4.6 ..., works also for 4.7 if you rename the tarballs and mod
index.txt.)



altq+bridge+vether

2010-06-16 Thread Gregory Edigarov
Hello,

Does it supposed to work? If so, could you share the working example?
Yesterday I've been trying but got no packets to the queue.  

-- 
With best regards,
Gregory Edigarov



Re: hostname.if on 4.7 ignoring -inet6

2010-06-16 Thread Todd T. Fries
Penned by Stuart Henderson on 20100614 12:28.46, we have:
| On 2010-06-14, rh...@hushmail.com rh...@hushmail.com wrote:
|  Hello list,
| 
|  I'm looking to explicitly disable IPv6 on interfaces where it is 
|  not used.  This includes link local addresses.
| 
|  However, this :
| 
|  # cat /etc/hostname.em0 
|   
|  description Some Port
|  media 1000baseT
|  inet 172.16.176.166 255.255.255.252 NONE
|  -inet6
|  up
| 
| Please try this diff.
| 
| Index: netstart
| ===
| RCS file: /cvs/src/etc/netstart,v
| retrieving revision 1.129
| diff -u -p -r1.129 netstart
| --- netstart  12 Jan 2010 07:43:41 -  1.129
| +++ netstart  14 Jun 2010 11:27:47 -
| @@ -111,7 +111,7 @@ ifstart() {
|   dest)
|   cmd=$cmd $dtaddr
|   ;;
| - [a-z!]*)
| + [a-z!-]*)
|   cmd2=$dt $dtaddr
|   ;;
|   esac

I'd like to propose this alternate fix.  What this is doing is ..

 if $1 == dest; then
add $2 as a destination address
 else
save all args for next iteration
 fi

Given that intended behavior, I believe the following diff is a more
thorough fix, which even `works' properly for comments:

--- netstart
+++ netstart
@@ -111,7 +111,7 @@ ifstart() {
dest)
cmd=$cmd $dtaddr
;;
-   [a-z!]*)
+   *)
cmd2=$dt $dtaddr
;;
esac

-- 
Todd Fries .. t...@fries.net

 _
| \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com \  1.866.792.3418 (FAX)
| 2525 NW Expy #525, Oklahoma City, OK 73112  \  sip:freedae...@ekiga.net
| ..in support of free software solutions.  \  sip:4052279...@ekiga.net
 \\
 
  37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
http://todd.fries.net/pgp.txt



Re: audio recording levels

2010-06-16 Thread Paul M

On 16/06/2010, at 6:45 PM, Alexandre Ratchov wrote:


On Wed, Jun 16, 2010 at 12:06:40AM +1200, Paul M wrote:

On 15/06/2010, at 11:18 PM, Paul M wrote:


On 15/06/2010, at 8:25 PM, Alexandre Ratchov wrote:


On Mon, Jun 14, 2010 at 08:20:57AM -0600, Ted Roby wrote:


Sound cards just get too much noise off the motherboard.


well, it depends on the sound card; properly engineered
cards don't get noise, including pci ones.


It seems the best I can get with the built-in sound on this computer
is about 36dB S/N. If the various input gain stages are not set quite


Sorry, that's a typo - should be -46 dB



that's not very good; 8-bit samples correspond to 48dB; I
mean with 48dB S/N, only 8 higher bits are significant.

Such a low S/N ratio makes me wonder if your cables, power
supply or whatever are ok.

BTW, how did you measure the S/N ratio?


No, it's not.

I measured by writing samples to a file then examining the file.
For a source, I used a 440 Hz sine wave.
With all the input gains set to minimum, the noise was negligible
( -60 db, which is the smallest I could measure). This is pretty much
just the noise of the chip itself.

I then tweaked the various input levels (preamp, input stage, adc) till
the output of the preamp was just below clipping of the first input
stage, and the samples in the file were also just below clipping.
This gave me my signal level.
Then I disconnected the input and repeated, this gave me my noise -
shorting the input may give better results.

I repeated this over and over to find the best balance between input
stage gain and adc gain. I found the best result was to set the input
stage as low as possible, and adjust the adc gain to give full output.
(dont forget the input signal is as high as it can be without clipping)

Update: Today I reduced the input gain stage to 0 (I didnt try this
yesterday) and got about another 6-8 dB, so now I'm  50 dB.
Jacob mentioned in and earlier mail that '0' for the input stages on
this codec is 0dB gain. FWIW the adc gain is set to 96 (+12dB).

Since my moise is measured with no input connected, this rules out
any external problems such as cables.
The power supply in the computer may be moisy, but I would guess
that crappy circuit layout is more likely. (though I will try another
power supply some time and see if it helps)


paulm



Re: unable to build x11/gnome

2010-06-16 Thread Ted Roby
On Tue, Jun 15, 2010 at 7:07 PM, Stuart Henderson s...@spacehopper.org wrote:

 The build fails because gstreamer-plugins-base does not supposedly
 contain the 'videoscale' plugin.

 update liboil.




No change. Same results.



Re: apm(8) life estimate error?

2010-06-16 Thread TeXitoi
Jona Joachim j...@hcl-club.lu writes:

 Let's compare the outputs of apm and sysctl:
 
 spaceman% apm  sysctl hw.sensors.acpibat0
 Battery state: high, 89% remaining, 74 minutes life estimate
 A/C adapter state: not connected
 Performance adjustment mode: cool running (1000 MHz)
 hw.sensors.acpibat0.volt0=10.80 VDC (voltage)
 hw.sensors.acpibat0.volt1=11.99 VDC (current voltage)
 hw.sensors.acpibat0.watthour0=19.53 Wh (last full capacity)
 hw.sensors.acpibat0.watthour1=0.98 Wh (warning capacity)
 hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity)
 hw.sensors.acpibat0.watthour3=17.56 Wh (remaining capacity), OK
 hw.sensors.acpibat0.raw0=1 (battery discharging), OK
 hw.sensors.acpibat0.raw1=23460 (rate)
 
 The unit of the discharge rate (hw.sensors.acpibat0.raw1) is not
 mentioned so I guess it's mW.
 If we calculate 17.56 Wh * 1000 / 23460 mW we get 0.74 hours. However
 apm reports 74 minutes remaining. I tried this several times and it
 always looks like apm assumes 1 h = 100 min.
 I was browsing a bit through the apmd source code but I couldn't find
 the exact place where apmd queries the battery.
 
 Can anybody comment on this?

I have seen overestimated life estimate on my notebook. It is
consistent with your remark.

I have search a little on my STABLE tree the corresponding code.

On /usr/src/sys/dev/acpi/acpi.c, L1022:

pi-minutes_left = 100 * minutes / rate;

This 100 should be 60 according to your remark. The name of the
variable minutes is not well chosen, as it corresponds to the
remaining capacity of all the batteries, if I understand correctly the
code.

I will not have the time to test this modification before this
weekend.

-- 
Guillaume Pinot   http://www.irccyn.ec-nantes.fr/~pinot/

+ Les grandes personnes ne comprennent jamais rien toutes seules, et
c'est fatigant, pour les enfants, de toujours leur donner des
explications... ; -- Antoine de Saint-Exupiry, Le Petit Prince

()  ASCII ribbon campaign  -- Against HTML e-mail
/\  http://www.asciiribbon.org -- Against proprietary attachments



loja virtual

2010-06-16 Thread Servidores WEB
loja virtual!

[demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a 
name of 5573_lojavirtual.19534DEFANGED-html]



ICMP Port Unreachable NAT Question

2010-06-16 Thread Tobias Wigand

Hi all,

Sorry for cross-posting, but the pf mailing list doesn't seem to be used 
 read very often these days.


I have a problem with ICMP Port Unreachables not getting NATed 
correctly. Maybe someone knows what I am doing wrong.
I am using OpenBSD 4.7 in a simple DSL router setup. I am connecting 
from a client in my LAN to my workplaces OpenVPN server via UDP.
When I disconnect the VPN session, the server keeps on sending UDP 
packets which is normal. UDP is stateless, the server does not know that 
I have disconnected. Theses packets get NATed correctly to my Client, 
which responds with ICMP Port Unreachables.


These ICMP Port Unreachables however don't seem to be NATed correcty 
when leaving the external interface of my DSL router.

They still carry the source IP of my internal host.

Edited tcpdump:

on LAN interface:

VPN_GW_IP.1194  LAN_CLIENT_IP.1194: udp 101 (ttl 56, id 7308, len 129, 
bad cksum 0! differs by 4e57)
LAN_CLIENT_IP  VPN_GW: icmp: LAN_CLIENT_IP udp port 1194 unreachable 
for VPN_GW_IP.1194  LAN_CLIENT_IP.1194: udp 101 (ttl 56, id 7308, len 
129) (ttl 128, id 22873, len 157)


on WAN interface:

VPN_GW_IP.1194  DSL_WAN_IP.59622: udp 125 (DF) (ttl 57, id 0, len 153)
LAN_CLIENT_IP  VPN_GW_IP: icmp: DSL_WAN_IP udp port 59622 unreachable 
for VPN_GW_IP.1194  DSL_WAN_IP.59622: udp 125 (ttl 56, id 55482, len 
153) (ttl 127, id 22706, len 181)


I have been able to reproduce this behaviour with the most minimalistic 
ruleset I could think of:


snip
set skip on { lo0 $LAN_INTERFACE }
match in all scrub (no-df)
block return log
pass out quick on $WAN_INTERFACE inet from $LAN nat-to ($WAN_INTERFACE)
/snip

Any thoughts?

Cheers
Tobias



Re: Why I left OpenBSD

2010-06-16 Thread Andrew Fresh
On Thu, Jun 10, 2010 at 11:28:40AM +0300, Dexter Tomisson wrote:
 http://www.trollaxor.com/2010/06/why-i-left-openbsd.html

On Wed, Jun 16, 2010 at 11:24:01AM +1000, Ted wrote:
 http://www.trollaxor.com/2010/06/why-i-almost-gave-openbsd-10-didnt.html


Since for some reason this thread is still here, I will copy and paste
what I believe to be the most relevant text on either of those pages.

It is duplicated on both, but I will only quote it once.


Disclaimer

This site contains works of fiction. If you don't realize that
you're reading fiction, you shouldn't be here.


l8rZ,
-- 
andrew - ICQ# 253198 - Jabber: and...@rraz.net - Twitter: @AFreshOne

BOFH excuse of the day: Our POP server was kidnapped by a weasel.



disk geometry issues when trying to set up encrypted partition

2010-06-16 Thread Harry Palmer
Hi there.

I'm fairly new to openbsd and I'm hoping someone with better
understanding than me of how its disk handling works can help.

Beginning my effort to encrypt a 300GB drive in a 64bit Ultrasparc,
I followed these initial steps:

1. used disklabel to create a single slice a on the drive

2. made a file system with newfs (is it necessary to have so many
   backup superblocks?)

3. mounted sd2a on /home/cy and touched it with an empty file
 /home/cy/cryptfile

4. zeroed out the file (and efectively the drive) with
 dd if=/dev/zero of=/home/cy/cryptfile bs=512


Here's the (eventual!) output of (4):

 /home/cy: write failed, file system is full
 dd: /home/cy/cryptfile: No space left on device
 576520353+0 records in
 576520352+0 records out
 295178420224 bytes transferred in 19810.722 secs (14899932 bytes/sec)



Now I have:

 # disklabel sd2a 
 # /dev/rsd2a:
 type: SCSI
 disk: SCSI disk
 label: MAW3300NC   
 flags: vendor
 bytes/sector: 512
 sectors/track: 930
 tracks/cylinder: 8
 sectors/cylinder: 7440
 cylinders: 13217
 total sectors: 585937500
 rpm: 10025
 interleave: 1
 boundstart: 0
 boundend: 585937500
 drivedata: 0 

 16 partitions:
 #size   offset  fstype [fsize bsize  cpg]
   a:5859372000  4.2BSD   2048 163841 
   c:5859375000  unused


and:

 # ls -l /home/cy
 total 576661216
 -rw-r--r--  1 root  wheel  295178420224 Jun 16 03:39 cryptfile


and:

 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/sd0a 1007M   44.8M912M 5%/
 /dev/sd0k  247G2.0K235G 0%/home
 /dev/sd0d  3.9G6.0K3.7G 0%/tmp
 /dev/sd0f  2.0G559M1.3G29%/usr
 /dev/sd0g 1007M162M795M17%/usr/X11R6
 /dev/sd0h  5.9G212K5.6G 0%/usr/local
 /dev/sd0j  2.0G2.0K1.9G 0%/usr/obj
 /dev/sd0i  2.0G2.0K1.9G 0%/usr/src
 /dev/sd0e  7.9G7.7M7.5G 0%/var
 /dev/sd2a  275G275G  -13.7G   105%/home/cy



I have no understanding of this. I've never seen a df output
that tells me I'm using 13GB more space than the drive is
capable of holding.

I ask here because there's obviously potential for me to lose
data somewhere down the line. I'll be grateful if anyone can
explain where I've gone wrong.



mplayer segfault

2010-06-16 Thread Adam Borbely
hi!

after updated from 4.6 to 4.7 I can not play tv with mplayer.
mplayer is installed as a package:

* mplayer-20090708p4  movie player supporting MPEG, DivX, AVI, ASF, MOV  more

krumpli$ r gd
gdb mplayer
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-openbsd4.7...(no debugging symbols 
found)

(gdb) set args -monitoraspect 16:10 -xy 2 -fstype none -zoom -vo x11 tv:// -tv 
driver=bsdbt848:freq=224.25
(gdb) break sio_setpar
Breakpoint 1 at 0x3dfda4c: file /usr/src/lib/libsndio/sndio.c, line 292.
(gdb) r
Starting program: /usr/local/bin/mplayer -monitoraspect 16:10 -xy 2 -fstype 
none -zoom -vo x11 tv:// -tv driver=bsdbt848:freq=224.25
Breakpoint 1 at 0xe40da4c: file /usr/src/lib/libsndio/sndio.c, line 292.
MPlayer SVN-r29414-snapshot-3.3.5 (C) 2000-2009 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: bsdbt848
 name: Brooktree848 Support
 author: Charles Henrich
 comment: in development
[Switching to process 31630, thread 0x8a620c00]

Breakpoint 1, sio_setpar (hdl=0x87508b00, par=0xcfbe19a0) at 
/usr/src/lib/libsndio/sndio.c:292
292 hdl-eof = 1;
(gdb) p hdl
$1 = (struct sio_hdl *) 0x87508b00
(gdb) n
291 DPRINTF(sio_getpar: already started\n);
(gdb) n
292 hdl-eof = 1;
(gdb) p hdl
$2 = (struct sio_hdl *) 0x87508b00
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) c
Continuing.

Breakpoint 1, sio_setpar (hdl=0x0, par=0x8512ae0c) at 
/usr/src/lib/libsndio/sndio.c:292
292 hdl-eof = 1;
(gdb) bt
#0  sio_setpar (hdl=0x0, par=0x8512ae0c) at /usr/src/lib/libsndio/sndio.c:292
#1  0x1c140188 in ?? ()
#2  0x in ?? ()

I don't know too much about sndio the only thing I see is that hdl is NUL when
sio_setpar is called the second time.

advices?

please see full dmesg attached.

thank you,
Adam
OpenBSD 4.7 (GENERIC.MP) #449: Wed Mar 17 20:55:07 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (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,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
real mem  = 3219615744 (3070MB)
avail mem = 3127590912 (2982MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/21/07, BIOS32 rev. 0 @ 0xf1de0, SMBIOS 
rev. 2.4 @ 0xf (65 entries)
bios0: vendor Phoenix Technologies, LTD version ASUS M2N-VM DH ACPI BIOS 
Revision 1103 date 05/21/2007
bios0: ASUSTeK Computer INC. M2N-VM DH
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP MCFG APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) UAR1(S5) PS2M(S4) 
PS2K(S4) USB0(S3) USB2(S3) AZAD(S5) MMAC(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (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,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpitz0 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: PWRB
aibs0 at acpi0
aibs0: FSIF: misformed package: 3/5, assume 5
bios0: ROM list: 0xc/0x1
pci0 at mainbus0 bus 0: configuration mode 1 (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
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL5
iic1 at nviic0
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
bktr0 at pci1 dev 8 function 0 Brooktree BT848 rev 0x12: apic 2 int 11 (irq 
11)
bktr0: Pinnacle/Miro TV, Temic PAL tuner.
azalia0 at pci0 dev 5 function 0 NVIDIA MCP61 HD Audio rev 0xa2: apic 2 int 5 
(irq 5)
azalia0: codecs: Analog Devices AD1988A
audio0 at azalia0

Re: Processeur Atom ?

2010-06-16 Thread Martin Schröder
2010/6/12 E.T ad...@wordpress-fr.fr:
 mother card PIII, is compatible: usb2, usb3, e-sata, sata2, sata3,
 firewire800, raid0, raid1, raid6

No. I seriously doubt that you will get usb3 or sata2 adapters (PCI?)
for PIII systems. And even if you get them, they don't make sense.
Even new Intel systems have problems with usb3 performance...

And I'd love to see your face when your PIII system rebuilds your
10TB RAID6 array... :-)

Best
   Martin



Re: Processeur Atom ?

2010-06-16 Thread Leonardo Carneiro - Veltrac

Sure thing!


On 06/16/2010 05:28 PM, Martin Schrvder wrote:

2010/6/12 E.Tad...@wordpress-fr.fr:
   

mother card PIII, is compatible: usb2, usb3, e-sata, sata2, sata3,
firewire800, raid0, raid1, raid6
 

...

And I'd love to see your face when your PIII system rebuilds your
10TB RAID6 array... :-)




Re: disk geometry issues when trying to set up encrypted partition

2010-06-16 Thread Nick Holland

please don't cross post...

Harry Palmer wrote:
...

3. mounted sd2a on /home/cy and touched it with an empty file
 /home/cy/cryptfile

4. zeroed out the file (and efectively the drive) with
 dd if=/dev/zero of=/home/cy/cryptfile bs=512


apparently, as root...

...


 # ls -l /home/cy
 total 576661216
 -rw-r--r--  1 root  wheel  295178420224 Jun 16 03:39 cryptfile


yes...




and:

 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on

...

 /dev/sd2a  275G275G  -13.7G   105%/home/cy

I have no understanding of this. I've never seen a df output
that tells me I'm using 13GB more space than the drive is
capable of holding.

I ask here because there's obviously potential for me to lose
data somewhere down the line. I'll be grateful if anyone can
explain where I've gone wrong.


http://www.openbsd.org/faq/faq14.html#NegSpace


Nick.



Re: Processeur Atom ?

2010-06-16 Thread Kevin Chadwick
 No. I seriously doubt that you will get usb3 or sata2 adapters (PCI?)
 for PIII systems. And even if you get them, they don't make sense.
 Even new Intel systems have problems with usb3 performance...

 

I heard intel have postponed usb3 for atleast 6 months too.



Re: disk geometry issues when trying to set up encrypted partition

2010-06-16 Thread Kevin Chadwick
 I have no understanding of this. I've never seen a df output
 that tells me I'm using 13GB more space than the drive is
 capable of holding.
 
 I ask here because there's obviously potential for me to lose
 data somewhere down the line. I'll be grateful if anyone can
 explain where I've gone wrong.
 

You can zero the disk device directly but use bs=2m to speed it up or
use the file you've created as an encryption device with vnconfig.

There are a few ways of encrypting though.

Don't worry the -13G is perfectly normal.

275 * 0.05 = 13.75 ie 5% is reserved as root for stability and
important work, had you written the file as a normal user you would have
had 0 space left and be using 261Gs of 275.

Lookup up the faq or previous mails at marc.info as I'm sure the answer
is in both.



Re: mplayer segfault

2010-06-16 Thread Jacob Meuser
On Wed, Jun 16, 2010 at 09:44:16PM +0200, Adam Borbely wrote:
 hi!
 
 after updated from 4.6 to 4.7 I can not play tv with mplayer.
 mplayer is installed as a package:

that's already been fixed in -current.  you can probably just replace
patch-stream_tvi_bsdbt848_c with the one in the -current port.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Processeur Atom ?

2010-06-16 Thread Martin Schröder
2010/6/16 Kevin Chadwick ma1l1i...@yahoo.co.uk:
 I heard intel have postponed usb3 for atleast 6 months too.

Even worse: Their PCIe is too slow for usb3.

Best
   Martin



Re: mplayer segfault

2010-06-16 Thread Alexandre Ratchov
On Wed, Jun 16, 2010 at 09:44:16PM +0200, Adam Borbely wrote:
 hi!
 
 after updated from 4.6 to 4.7 I can not play tv with mplayer.
 mplayer is installed as a package:
 
 * mplayer-20090708p4  movie player supporting MPEG, DivX, AVI, ASF, MOV  more
 
 krumpli$ r gd
 gdb mplayer
 GNU gdb 6.3
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for details.
 This GDB was configured as i386-unknown-openbsd4.7...(no debugging symbols 
 found)
 
 (gdb) set args -monitoraspect 16:10 -xy 2 -fstype none -zoom -vo x11 tv:// 
 -tv driver=bsdbt848:freq=224.25
 (gdb) break sio_setpar
 Breakpoint 1 at 0x3dfda4c: file /usr/src/lib/libsndio/sndio.c, line 292.
 (gdb) r
 Starting program: /usr/local/bin/mplayer -monitoraspect 16:10 -xy 2 -fstype 
 none -zoom -vo x11 tv:// -tv driver=bsdbt848:freq=224.25
 Breakpoint 1 at 0xe40da4c: file /usr/src/lib/libsndio/sndio.c, line 292.
 MPlayer SVN-r29414-snapshot-3.3.5 (C) 2000-2009 MPlayer Team
 
 Playing tv://.
 TV file format detected.
 Selected driver: bsdbt848
  name: Brooktree848 Support
  author: Charles Henrich
  comment: in development
 [Switching to process 31630, thread 0x8a620c00]
 
 Breakpoint 1, sio_setpar (hdl=0x87508b00, par=0xcfbe19a0) at 
 /usr/src/lib/libsndio/sndio.c:292
 292 hdl-eof = 1;
 (gdb) p hdl
 $1 = (struct sio_hdl *) 0x87508b00
 (gdb) n
 291 DPRINTF(sio_getpar: already started\n);
 (gdb) n
 292 hdl-eof = 1;
 (gdb) p hdl
 $2 = (struct sio_hdl *) 0x87508b00
 (gdb) r
 The program being debugged has been started already.
 Start it from the beginning? (y or n) n
 Program not restarted.
 (gdb) c
 Continuing.
 
 Breakpoint 1, sio_setpar (hdl=0x0, par=0x8512ae0c) at 
 /usr/src/lib/libsndio/sndio.c:292
 292 hdl-eof = 1;
 (gdb) bt
 #0  sio_setpar (hdl=0x0, par=0x8512ae0c) at /usr/src/lib/libsndio/sndio.c:292
 #1  0x1c140188 in ?? ()
 #2  0x in ?? ()
 
 I don't know too much about sndio the only thing I see is that hdl is NUL when
 sio_setpar is called the second time.
 
 advices?
 

does the error occur if the bt848 is not involved? any hints
on how to reproduce it without a bt848?

You could try to ``export SIO_DEBUG=1'' and see if you get
more information on what causes the crash.

-- Alexandre



LICITACIONES PÚBLICAS EN MÉXICO D.F. PRESENTADAS POR PMS CAPACITACION EFECTIVA DE MÉXICO

2010-06-16 Thread Lic. Marla Kolovos
[IMAGE]

!Promociones Especiales para Grupos!

Copyright (C) 2010, PMS Capacitacisn Efectiva de Mixico S.C. Derechos
Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas
registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas
estratigicas de ningzn tipo dentro de la Republica Mexicana. NO SE DEJE
ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales
e imagenes son propiedad de sus respectivas corporaciones y se utilizan
con fines informativos solamente.

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, en este acto autoriza de manera expresa
que Pms de Mixico le puede contactar vma correo electrsnico u otros
medios.
Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject BAJALICITACION
Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE LICITACION
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia y no es intencisn de la empresa la inconformidad del
receptor.

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
image00c1.jpg]



Re: disk geometry issues when trying to set up encrypted partition

2010-06-16 Thread Harry Palmer
On Wed, 16 Jun 2010 22:46 +0100, Kevin Chadwick
ma1l1i...@yahoo.co.uk wrote:
  I have no understanding of this. I've never seen a df output
  that tells me I'm using 13GB more space than the drive is
  capable of holding.
  
  I ask here because there's obviously potential for me to lose
  data somewhere down the line. I'll be grateful if anyone can
  explain where I've gone wrong.
  
 
 You can zero the disk device directly but use bs=2m to speed it up or
 use the file you've created as an encryption device with vnconfig.
 
 There are a few ways of encrypting though.
 
 Don't worry the -13G is perfectly normal.
 
 275 * 0.05 = 13.75 ie 5% is reserved as root for stability and
 important work, had you written the file as a normal user you would have
 had 0 space left and be using 261Gs of 275.
 
 Lookup up the faq or previous mails at marc.info as I'm sure the answer
 is in both.



Ok... thanks to all of you for very helpful and quick replies.

Also, apologies for not scouring the faq with sufficient tenacity - I've
printed it off for some joyous(?) future lunch hours at work.

And no more cross-posting if that's written in stone. In this case it
didn't seem unreasonable.

Thanks again chaps.



Re: disk geometry issues when trying to set up encrypted partition

2010-06-16 Thread George Morgan

Quoting Harry Palmer tumblew...@fast-mail.org:


Hi there.

I'm fairly new to openbsd and I'm hoping someone with better
understanding than me of how its disk handling works can help.

Beginning my effort to encrypt a 300GB drive in a 64bit Ultrasparc,
I followed these initial steps:

1. used disklabel to create a single slice a on the drive

2. made a file system with newfs (is it necessary to have so many
   backup superblocks?)

3. mounted sd2a on /home/cy and touched it with an empty file
 /home/cy/cryptfile

4. zeroed out the file (and efectively the drive) with
 dd if=/dev/zero of=/home/cy/cryptfile bs=512


Here's the (eventual!) output of (4):

 /home/cy: write failed, file system is full
 dd: /home/cy/cryptfile: No space left on device
 576520353+0 records in
 576520352+0 records out
 295178420224 bytes transferred in 19810.722 secs (14899932 bytes/sec)



Now I have:

 # disklabel sd2a
 # /dev/rsd2a:
 type: SCSI
 disk: SCSI disk
 label: MAW3300NC
 flags: vendor
 bytes/sector: 512
 sectors/track: 930
 tracks/cylinder: 8
 sectors/cylinder: 7440
 cylinders: 13217
 total sectors: 585937500
 rpm: 10025
 interleave: 1
 boundstart: 0
 boundend: 585937500
 drivedata: 0

 16 partitions:
 #size   offset  fstype [fsize bsize  cpg]
   a:5859372000  4.2BSD   2048 163841
   c:5859375000  unused


and:

 # ls -l /home/cy
 total 576661216
 -rw-r--r--  1 root  wheel  295178420224 Jun 16 03:39 cryptfile


and:

 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/sd0a 1007M   44.8M912M 5%/
 /dev/sd0k  247G2.0K235G 0%/home
 /dev/sd0d  3.9G6.0K3.7G 0%/tmp
 /dev/sd0f  2.0G559M1.3G29%/usr
 /dev/sd0g 1007M162M795M17%/usr/X11R6
 /dev/sd0h  5.9G212K5.6G 0%/usr/local
 /dev/sd0j  2.0G2.0K1.9G 0%/usr/obj
 /dev/sd0i  2.0G2.0K1.9G 0%/usr/src
 /dev/sd0e  7.9G7.7M7.5G 0%/var
 /dev/sd2a  275G275G  -13.7G   105%/home/cy



I have no understanding of this. I've never seen a df output
that tells me I'm using 13GB more space than the drive is
capable of holding.

I ask here because there's obviously potential for me to lose
data somewhere down the line. I'll be grateful if anyone can
explain where I've gone wrong.


I've seen the greater than 100% full on a UFS? filesystem before when
you exceed the size of the filesystem.  There is space in the
filesystem for lost+found and all those superblocks? you were
complaining about that can get overwritten if you write too much to a
partition.

So setting up your dd to actually stop before you overfill the
filesystem is what you need to do. (using bs=# count=# ... info you
can get before you start initializing your file with the df command
without the -k or -h to get number of blocks and block size)

I'm sure the fine people on these lists will correct me if I'm wrong
in my assumptions...  :-)

George Morgan



manuel vous invite à …

2010-06-16 Thread Stephane - BetClic
manuel burnel vous invite C 
rejoindre BetClic

Bonjour,

manuel burnel vous invite C 
joindre
la communautC) BetClic et souhaite vous parrainer. Comme lui, pariez
sur les C)vC(nements sportifs, jouez et gagnez !

Voici son message :

Comme moi, rejoins la communaut#233; des joueurs BetClic !

Comment C'a marche ?

GrCce C  l'invitation de manuel vous bC)nC)ficiez
d'une
offre exclusive ! Votre premier pari est remboursC) C  hauteur de 
25,00nbsp;euro;

Si vous perdez, Betclic vous rembourse !

ou recopiez le lien ci-dessous dans votre navigateur :
https://www.betclic.fr/register.aspx?s=flemioe=m...@openbsd.org

A tout de suite sur BetClic !

https://www.betclic.fr/


) 2005-2010 BetClick Ltd - tous droits riservis.

Mot de passe oublii?
http://email-info.betclic.fr/cgi-bin11/DM/y/mw7e0VVTeQ0A0BVcI0Bo9BzzpzZmWXAS

Se disabonner
https://www.betclic.fr/nlSubscription.aspx?p=#UNSUB_ID#

Contactez-nous
http://email-info.betclic.fr/cgi-bin11/DM/y/mw7e0VVTeQ0A0BWBA0BA9BzzpzZmWXAS

Dipendance
http://email-info.betclic.fr/cgi-bin11/DM/y/mw7e0VVTeQ0A0BWBB0BB9BzzpzZmWXAS

@ tout moment, vous disposez d'un droit d'acchs, de modification, de
rectification et de suppression des donnies qui vous concernent. Les
cotes ci-dessus peuvent fluctuer.

Consultez nos conditions d'utilisation et notre rhglement sur le
respect de la vie privie.
) 2005-2010 BetClick Ltd  tous droits riservis

BetClic Enterprises Limited est une sociiti enregistrie ` Malte,
domiciliie ` Portomaso Business Tower, Level 6, St Julians STJ4011,
Malta, sous le numiro C49376. BetClic Enterprises Ltd a obtenu les
agriments LGA/CL1/288/2006; LGA/CL2/288/2006; LGA/CL3/288/2006; 
LGA/CL1/588/2009 (LOI).
dilivris par l'Autoriti de Rigulation des Jeux En Ligne (ARJEL).



Is there any crypt device that support both linux and OpenBSD ?

2010-06-16 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi All,
I'm looking for some crypt methods that will encrypt the whole disk ,
rather than saving it to a single file.

And i need it to be supported both Linux and OpenBSD , is it possible ?

Thanks in advance !

- -- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwZjs0ACgkQvf41sEptMqBv1wCghMmHBLpDs0+KL8q9scR+/ui4
6XEAoKtQqZZ1MhzqxfzGGrGcZe8YVpFq
=AMXX
-END PGP SIGNATURE-



INSCRIPCIONES ABIERTAS: CONGRESO NACIONAL PARA SERVIDORES PÚBLICOS

2010-06-16 Thread Lic. Gabriela Ruiz
[IMAGE]

B!Promociones Especiales para Grupos!

Mayores informes responda este correo electrC3nico con los siguientes
datos.

Empresa:

Nombre:

TelC)fono:

Email:

NC:mero de Interesados:

Y en breve le haremos llegar la informaciC3n completa del evento.

O bien comunCquense a nuestros telC)fonos un ejecutivo con gusto le
atenderC!

Tels. (33) 8851-2365, (33)8851-2741.

Copyright (C) 2010, PMS CapacitaciC3n Efectiva de MC)xico S.C. Derechos
Reservados. PMS de MC)xico, El logo de PMS de MC)xico son marcas
registradas.

ADVERTENCIA PMS de MC)xico no cuenta con alianzas estratC)gicas de
ningC:n tipo dentro de la Republica Mexicana. NO SE DEJE ENGACAR - DIGA
NO A LA PIRATERIA. Todos los logotipos, marcas comerciales e imC!genes
son propiedad de sus respectivas corporaciones y se utilizan con fines
informativos solamente.

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
MC)xico o bien un usuario le refiriC3 para recibir este boletCn.

Como usuario de Pms de MC)xico, en este acto autoriza de manera expresa
que Pms de MC)xico le puede contactar vCa correo electrC3nico u otros
medios.

Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject BAJACONGRESO

Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJACONGRESO Tenga en cuenta que la gestiC3n de nuestras
bases de datos es de suma importancia y no es intenciC3n de la empresa la
inconformidad del receptor.

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
congreso.jpg]



Re: disk geometry issues when trying to set up encrypted partition

2010-06-16 Thread Otto Moerbeek
On Wed, Jun 16, 2010 at 05:45:40PM -0400, George Morgan wrote:

 Quoting Harry Palmer tumblew...@fast-mail.org:
 
 Hi there.
 
 I'm fairly new to openbsd and I'm hoping someone with better
 understanding than me of how its disk handling works can help.
 
 Beginning my effort to encrypt a 300GB drive in a 64bit Ultrasparc,
 I followed these initial steps:
 
 1. used disklabel to create a single slice a on the drive
 
 2. made a file system with newfs (is it necessary to have so many
backup superblocks?)
 
 3. mounted sd2a on /home/cy and touched it with an empty file
  /home/cy/cryptfile
 
 4. zeroed out the file (and efectively the drive) with
  dd if=/dev/zero of=/home/cy/cryptfile bs=512
 
 
 Here's the (eventual!) output of (4):
 
  /home/cy: write failed, file system is full
  dd: /home/cy/cryptfile: No space left on device
  576520353+0 records in
  576520352+0 records out
  295178420224 bytes transferred in 19810.722 secs (14899932 bytes/sec)
 
 
 
 Now I have:
 
  # disklabel sd2a
  # /dev/rsd2a:
  type: SCSI
  disk: SCSI disk
  label: MAW3300NC
  flags: vendor
  bytes/sector: 512
  sectors/track: 930
  tracks/cylinder: 8
  sectors/cylinder: 7440
  cylinders: 13217
  total sectors: 585937500
  rpm: 10025
  interleave: 1
  boundstart: 0
  boundend: 585937500
  drivedata: 0
 
  16 partitions:
  #size   offset  fstype [fsize bsize  cpg]
a:5859372000  4.2BSD   2048 163841
c:5859375000  unused
 
 
 and:
 
  # ls -l /home/cy
  total 576661216
  -rw-r--r--  1 root  wheel  295178420224 Jun 16 03:39 cryptfile
 
 
 and:
 
  # df -h
  Filesystem SizeUsed   Avail Capacity  Mounted on
  /dev/sd0a 1007M   44.8M912M 5%/
  /dev/sd0k  247G2.0K235G 0%/home
  /dev/sd0d  3.9G6.0K3.7G 0%/tmp
  /dev/sd0f  2.0G559M1.3G29%/usr
  /dev/sd0g 1007M162M795M17%/usr/X11R6
  /dev/sd0h  5.9G212K5.6G 0%/usr/local
  /dev/sd0j  2.0G2.0K1.9G 0%/usr/obj
  /dev/sd0i  2.0G2.0K1.9G 0%/usr/src
  /dev/sd0e  7.9G7.7M7.5G 0%/var
  /dev/sd2a  275G275G  -13.7G   105%/home/cy
 
 
 
 I have no understanding of this. I've never seen a df output
 that tells me I'm using 13GB more space than the drive is
 capable of holding.
 
 I ask here because there's obviously potential for me to lose
 data somewhere down the line. I'll be grateful if anyone can
 explain where I've gone wrong.
 
 I've seen the greater than 100% full on a UFS? filesystem before when
 you exceed the size of the filesystem.  There is space in the
 filesystem for lost+found and all those superblocks? you were
 complaining about that can get overwritten if you write too much to a
 partition.

Spoace for superblocks and other metadata is subtracted from available
blocks. lost+found is an ordinary directory. 

 
 So setting up your dd to actually stop before you overfill the
 filesystem is what you need to do. (using bs=# count=# ... info you
 can get before you start initializing your file with the df command
 without the -k or -h to get number of blocks and block size)
 
 I'm sure the fine people on these lists will correct me if I'm wrong
 in my assumptions...  :-)

You are wrong, there;s no such thing as overfilling a filesystem. It's
just the 5% reserved for root. An ordinary user runs out earlier. It's
in the FAQ. 


-Otto
 
 George Morgan



Re: mplayer segfault

2010-06-16 Thread Jacob Meuser
On Wed, Jun 16, 2010 at 11:50:18PM +0200, Alexandre Ratchov wrote:
 On Wed, Jun 16, 2010 at 09:44:16PM +0200, Adam Borbely wrote:
  hi!
  
  after updated from 4.6 to 4.7 I can not play tv with mplayer.
  mplayer is installed as a package:
  
  * mplayer-20090708p4  movie player supporting MPEG, DivX, AVI, ASF, MOV  
  more
  
  krumpli$ r gd
  gdb mplayer
  GNU gdb 6.3
  Copyright 2004 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you are
  welcome to change it and/or distribute copies of it under certain 
  conditions.
  Type show copying to see the conditions.
  There is absolutely no warranty for GDB.  Type show warranty for details.
  This GDB was configured as i386-unknown-openbsd4.7...(no debugging 
  symbols found)
  
  (gdb) set args -monitoraspect 16:10 -xy 2 -fstype none -zoom -vo x11 tv:// 
  -tv driver=bsdbt848:freq=224.25
  (gdb) break sio_setpar
  Breakpoint 1 at 0x3dfda4c: file /usr/src/lib/libsndio/sndio.c, line 292.
  (gdb) r
  Starting program: /usr/local/bin/mplayer -monitoraspect 16:10 -xy 2 -fstype 
  none -zoom -vo x11 tv:// -tv driver=bsdbt848:freq=224.25
  Breakpoint 1 at 0xe40da4c: file /usr/src/lib/libsndio/sndio.c, line 292.
  MPlayer SVN-r29414-snapshot-3.3.5 (C) 2000-2009 MPlayer Team
  
  Playing tv://.
  TV file format detected.
  Selected driver: bsdbt848
   name: Brooktree848 Support
   author: Charles Henrich
   comment: in development
  [Switching to process 31630, thread 0x8a620c00]
  
  Breakpoint 1, sio_setpar (hdl=0x87508b00, par=0xcfbe19a0) at 
  /usr/src/lib/libsndio/sndio.c:292
  292 hdl-eof = 1;
  (gdb) p hdl
  $1 = (struct sio_hdl *) 0x87508b00
  (gdb) n
  291 DPRINTF(sio_getpar: already started\n);
  (gdb) n
  292 hdl-eof = 1;
  (gdb) p hdl
  $2 = (struct sio_hdl *) 0x87508b00
  (gdb) r
  The program being debugged has been started already.
  Start it from the beginning? (y or n) n
  Program not restarted.
  (gdb) c
  Continuing.
  
  Breakpoint 1, sio_setpar (hdl=0x0, par=0x8512ae0c) at 
  /usr/src/lib/libsndio/sndio.c:292
  292 hdl-eof = 1;
  (gdb) bt
  #0  sio_setpar (hdl=0x0, par=0x8512ae0c) at 
  /usr/src/lib/libsndio/sndio.c:292
  #1  0x1c140188 in ?? ()
  #2  0x in ?? ()
  
  I don't know too much about sndio the only thing I see is that hdl is NUL 
  when
  sio_setpar is called the second time.
  
  advices?
  
 
 does the error occur if the bt848 is not involved? any hints
 on how to reproduce it without a bt848?
 
 You could try to ``export SIO_DEBUG=1'' and see if you get
 more information on what causes the crash.

this is the stupidity of the bsdbt848 mplayer driver.  it has it's
own audio code.  what needs to happen (as I said when I sent the
untested patch to ports@ (and I was clear it was untested)) is to
remove the audio code from bsdbt848 completely, finish the sndio
streams code (there's a start there but it's unfinished and
untested).  actually, there's absolutely no need to use the audio
sampling interface when watching TV (recording yes, watching no).
that's the really stupid part.

oh, and if anyone ever wants to record audio/video with mencoder
using uvideo(4), the mplayer sndio streams implementation will need
to be finished.  (though I've never been able to capture any video
with mencoder and a uvideo(4)).

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Seminario especial de ventas, Montevideo 25 de junio.

2010-06-16 Thread Eventos en MVD | 25 junio
CICLO DE EVENTOS 2010
SEMINARIO ESPECIAL DE 6 HORAS - CUPOS MUY LIMITADOS
ESCUELA DE ALTA GERENCIA


CLMNICA PARA DETECTAR PATOLOGMAS EN LOS
MITODOS DE VENTAS
COMO MARCAR LA DIFERENCIA EN LA FORMA Y EL ESTILO DE COMERCIALIZAR PRODUCTOS Y
SERVICIOS

Sabemos que a la hora de convocar a nuestros potenciales clientes, suelen
aparecer situaciones que pueden impedir la concrecisn de una reunisn, les
proponemos optimizar este paso de la entrevista y asm aumentar la posibilidad
de llegar al cierre y una vez arribados a esta instancia realizar el mejor
manejo de las objeciones que casi siempre aparecen.
CLAVES PARA OPTIMIZAR EL MANEJO TELEFSNICO
RESPIRACISN
PROYECCISN DE LA VOZ
ARTICULACISN
ACTITUD
PREPARACISN

TALLER DE CIERRE Y MANEJO DE OBJECIONES
PREPARACISN
ESTADO MENTAL
VISUALIZACISN
ACTITUD FMSICA
LENGUAJES
25 DE JUNIO - HORARIO DE 15 A 21HRS
Expositora invitada:
GRACIELA SUAREZ
Consultora de empresas y docente. Directora del grupo SAC. Formada en recursos
humanos, gerencia y ventas. Se ha especializado en la creacisn y reestructura
de departamentos o areas comerciales, asm como la motivacisn y entrenamiento
de sus integrantes. Posee decenas de clientes entre ellos Real Seguros, Salus,
Hotel Lafayette, Danone, etc.
Inversion:
$1800 (inscribiindose hasta el 22/6/2010: $1500 pesos ).
Grupos pagan 2 entran 3, consulte por descuentos para asistentes del
interior.
 - Se incluye material y certificado.
 - Puede abonar por Abitab, BROU o cobrador. Financia Visa, OCA o Master.

Reserve su lugar:
Telifono 315-33-30, Montevideo.
Movil: 093.753319 de lunes a sabados de 10 a 22 hs.
E-mail:



CUPOS MUY LIMITADOS - RESERVE HOY



Gracias por recibir esta propuesta por e-mail y no deseamos ser molestia para
usted por dicha vma intentando las mmnimas comunicaciones.
Si no desea recibir mas mensajes envmenos un correo con la palabra remover o
baja en el asunto, y el sistema automaticamente lo realiza.