Re: Dell FX2 or Huawei E9000 dmesg(s), anyone?

2015-07-17 Thread Hrvoje Popovski
On 16.7.2015. 1:46, Hrvoje Popovski wrote:
 On 13.7.2015. 7:52, OpenBSD user wrote:
 Would anyone care to share amd64 dmesg(s) from
 Dell FX2 or Huawei E9000?

 Would be truly grateful!

 
 next week i will get access to dell fc630. i'm quite sure that fc630
 have dual port QLogic 577xx/578xx 10 GbE BCM57810 card which is not
 supported in OpenBSD.
 


dmesg from Dell PowerEdge FC630


on 0 Intel E5 v3 Host rev 0x02
ppb0 at pci0 dev 1 function 0 Intel E5 v3 PCIE rev 0x02
pci1 at ppb0 bus 1
1:0:0: mem address conflict 0xfff8/0x8
1:0:1: mem address conflict 0xfff8/0x8
Broadcom BCM57810 rev 0x10 at pci1 dev 0 function 0 not configured
Broadcom BCM57810 rev 0x10 at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 2 function 0 Intel E5 v3 PCIE rev 0x02
pci2 at ppb1 bus 2
mfii0 at pci2 dev 0 function 0 Symbios Logic MegaRAID SAS3008 rev
0x02: msi
mfii0: PERC H330 Mini, firmware 25.3.0.0016
scsibus0 at mfii0: 32 targets
sd0 at scsibus0 targ 0 lun 0: DELL, PERC H330 Mini, 4.25 SCSI3
0/direct fixed naa.644a84202682df001d01986f0a483a1d
sd0: 915200MB, 512 bytes/sector, 1874329600 sectors
scsibus1 at mfii0: 256 targets
ppb2 at pci0 dev 3 function 0 Intel E5 v3 PCIE rev 0x02
pci3 at ppb2 bus 3
ppb3 at pci3 dev 0 function 0 vendor PLX, unknown product 0x8733 rev 0xca
pci4 at ppb3 bus 4
ppb4 at pci4 dev 8 function 0 vendor PLX, unknown product 0x8733 rev 0xca
pci5 at ppb4 bus 5
ppb5 at pci5 dev 0 function 0 vendor PLX, unknown product 0x8780 rev 0xab
pci6 at ppb5 bus 6
Intel E5 v3 Address Map rev 0x02 at pci0 dev 5 function 0 not configured
Intel E5 v3 Hot Plug rev 0x02 at pci0 dev 5 function 1 not configured
Intel E5 v3 Error Reporting rev 0x02 at pci0 dev 5 function 2 not
configured
Intel E5 v3 I/O APIC rev 0x02 at pci0 dev 5 function 4 not configured
Intel C610 MS SPSR rev 0x05 at pci0 dev 17 function 0 not configured
ahci0 at pci0 dev 17 function 4 Intel C610 AHCI rev 0x05: msi, AHCI 1.3
scsibus2 at ahci0: 32 targets
Intel C610 MEI rev 0x05 at pci0 dev 22 function 0 not configured
Intel C610 MEI rev 0x05 at pci0 dev 22 function 1 not configured
ehci0 at pci0 dev 26 function 0 Intel C610 USB rev 0x05: apic 8 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb6 at pci0 dev 28 function 0 Intel C610 PCIE rev 0xd5
pci7 at ppb6 bus 7
ppb7 at pci0 dev 28 function 7 Intel C610 PCIE rev 0xd5: msi
pci8 at ppb7 bus 8
ppb8 at pci8 dev 0 function 0 vendor Renesas, unknown product 0x001d
rev 0x00
pci9 at ppb8 bus 9
ppb9 at pci9 dev 0 function 0 vendor Renesas, unknown product 0x001d
rev 0x00
pci10 at ppb9 bus 10
ppb10 at pci10 dev 0 function 0 vendor Renesas, unknown product 0x001a
rev 0x00
pci11 at ppb10 bus 11
vga1 at pci11 dev 0 function 0 Matrox MGA G200eR rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ehci1 at pci0 dev 29 function 0 Intel C610 USB rev 0x05: apic 8 int 18
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
Intel C610 LPC rev 0x05 at pci0 dev 31 function 0 not configured
ahci1 at pci0 dev 31 function 2 Intel C610 AHCI rev 0x05: msi, AHCI 1.3
scsibus3 at ahci1: 32 targets
pci12 at mainbus0 bus 255
Intel E5 v3 QPI rev 0x02 at pci12 dev 8 function 0 not configured
Intel E5 v3 QPI rev 0x02 at pci12 dev 8 function 2 not configured
Intel E5 v3 QPI rev 0x02 at pci12 dev 8 function 3 not configured
Intel E5 v3 QPI rev 0x02 at pci12 dev 9 function 0 not configured
Intel E5 v3 QPI rev 0x02 at pci12 dev 9 function 2 not configured
Intel E5 v3 QPI rev 0x02 at pci12 dev 9 function 3 not configured
Intel E5 v3 QPI Monitor rev 0x02 at pci12 dev 11 function 0 not configured
Intel E5 v3 QPI Monitor rev 0x02 at pci12 dev 11 function 1 not configured
Intel E5 v3 QPI Monitor rev 0x02 at pci12 dev 11 function 2 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 12 function 0 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 12 function 1 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 12 function 2 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 12 function 3 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 12 function 4 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 12 function 5 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 12 function 6 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 12 function 7 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 13 function 0 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 13 function 1 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 13 function 2 not configured
Intel E5 v3 Unicast rev 0x02 at pci12 dev 13 function 3 not configured
Intel E5 v3 Ring Agent rev 0x02 at pci12 dev 15 function 0 not configured
Intel E5 v3 Ring Agent rev 0x02 at pci12 dev 15 function 1 not configured
Intel E5 v3 Ring Agent rev 0x02 at pci12 dev 15 function 2 not configured
Intel E5 v3 Ring Agent rev 0x02 at pci12 dev 15 function 3 not configured
Intel E5 v3 SAD rev 0x02 at pci12 dev 15 function 4 not 

hp dl360 gen9

2015-07-17 Thread Remi Locherer
Hi,

I'm just starting to use hp dl360 gen9 servers with OpenBSD. With a few
tweaks in the bios most stuff works fine:

System Options
o Processor Options
  - Hyperthreading - disable # HT does not help on a OpenBSD firewall
  - Core disable - 4 # That way the other cores can run at
  # higher speed
  - Processor x2apic support - disabled
  # if enabled OpenBSD only sees cpu0 and
  # not the others
o USB Options
  - USB 3.0 Mode - disabled  # with usb3 enabled the keyboard does not
  # work in boot promt
o Boot Options
  - Boot Mode - legacy bios mode
  # disable uefi


Unfortunately the serial console does not work. I try to use the virtual
serial port via iLO. While I have access to the BIOS and the boot loader
it stops working once the kernel starts. dmesg says:

com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com1: probed fifo depth: 0 bytes

On gen8 servers also a ns16550a is recoginized and it works nicely.

Anybody knows how to make this work?

Below outputs from dmesg, pcidump and usbdevs.

Remi


OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 68572934144 (65396MB)
avail mem = 66743619584 (63651MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x79173000 (218 entries)
bios0: vendor HP version P89 date 03/05/2015
bios0: HP ProLiant DL360 Gen9
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP UEFI MCEJ SSDT HEST BERT ERST EINJ HPET PMCT WDDT APIC 
MCFG SRAT SPMI RASF SPCR MSCT BDAT PCCT SSDT SSDT SSDT DMAR
acpi0: wakeup devices PEX4(S4) BR05(S4) BR03(S4) BR07(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.54 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.0, IBE
cpu1 at mainbus0: apid 12 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.23 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 6, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.23 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 14 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 2397.23 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 7, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 9 pa 0xfec01000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0x8000, bus 0-255
acpiprt0 at acpi0: bus 255 (UNC0)
acpiprt1 at acpi0: bus 0 (PCI0)
acpiprt2 at acpi0: bus 1 (PEX2)
acpiprt3 at acpi0: bus 2 (PEX4)
acpiprt4 at acpi0: bus 3 (BR01)
acpiprt5 at acpi0: bus 4 (BR05)
acpiprt6 at acpi0: bus 5 (BR03)
acpiprt7 at acpi0: bus 8 (BR07)
acpicpu0 at acpi0: C2, C1
acpicpu1 at acpi0: C2, C1
acpicpu2 at acpi0: C2, C1
acpicpu3 at acpi0: C2, C1
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel E5 v3 Host rev 0x02
ppb0 at pci0 dev 1 function 0 Intel E5 v3 PCIE rev 0x02
pci1 at ppb0 bus 3
ciss0 at pci1 dev 0 function 0 Hewlett-Packard Smart 

Re: taking a shot from the webcamera

2015-07-17 Thread Paul de Weerd
On Fri, Jul 17, 2015 at 04:00:15PM +0300, Joseph Oficre wrote:
| hello!
| i know i can write some video with video utility, but how can i take a
| shot from it? I cant find any information. I dont want to install something
| big like Mplayer or what to do that, just i small command line stuff.
| Maybe im too dumb to understand video man, but can u guys help me with it?

There was a thread on this very topic just one month ago.  I replied
to it too: http://marc.info/?l=openbsd-miscm=143445803307171w=2

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



taking a shot from the webcamera

2015-07-17 Thread Joseph Oficre
hello!
i know i can write some video with video utility, but how can i take a
shot from it? I cant find any information. I dont want to install something
big like Mplayer or what to do that, just i small command line stuff.
Maybe im too dumb to understand video man, but can u guys help me with it?



Re: SPARC minimum hardware specification

2015-07-17 Thread Karel Gardas
On Fri, Jul 17, 2015 at 1:03 PM, Riccardo Mottola
riccardo.mott...@libero.it wrote:
 The only non-intel machines that could be used as a desktop were PPC macs,
 but even those suffer today.

Do you have any experience with SPARC64 VI/VII? I'm curious since I've
thought this is the only chip which can give some hope for this so I'm
curious if I've been wrong on this.

Thanks,
Karel



Re: taking a shot from the webcamera

2015-07-17 Thread Joseph Oficre
Wow, thank u a lot, i saw this thread, but didnt see this reply. Ill try it!

2015-07-17 16:15 GMT+03:00 Paul de Weerd we...@weirdnet.nl:

 On Fri, Jul 17, 2015 at 04:00:15PM +0300, Joseph Oficre wrote:
 | hello!
 | i know i can write some video with video utility, but how can i take a
 | shot from it? I cant find any information. I dont want to install
 something
 | big like Mplayer or what to do that, just i small command line stuff.
 | Maybe im too dumb to understand video man, but can u guys help me with
 it?

 There was a thread on this very topic just one month ago.  I replied
 to it too: http://marc.info/?l=openbsd-miscm=143445803307171w=2

 Paul 'WEiRD' de Weerd

 --
 [++-]+++.+++[---].+++[+
 +++-].++[-]+.--.[-]
  http://www.weirdnet.nl/



Re: Audio Boost for Sndio

2015-07-17 Thread Артур Истомин
On Fri, Jul 10, 2015 at 06:01:17AM -0700, tekk wrote:
 I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
 is just a bit too quiet to be comfortable even when I have everything maxed
 out. I had a similar problem on Linux and I was able to create a boost
 device to feed audio through before it went to the speakers, could I do the
 same in OpenBSD? I've thrown in dmesg as well as mixerctl and audioctl
 output, not sure if anything else is needed. I remember reading that there
 was already some boost by default as well, but it defaulted to being maxed
 for me so it's not much help.

I have the same troubles (with the same hardware). In most cases this is due
to sound channels of movie clip - 6 or more channels. 2 channels' movies
almost always playing perfect for me. Here is my solution for mplayer:

mplayer -channels 6 -af pan=2:1:0:0:1:1:0:0:1:1.3:1.3:1:1
(see http://hddaudio.net/viewtopic.php?pid=105601#p105601 for more info)

If it does not help, try to enable software mixer:

mplayer -softvol -softvol-max 1000
(but it damage sound when player's volume is max)

If you will find another solution for OpenBSD, please email me. 



Re: SPARC minimum hardware specification

2015-07-17 Thread Riccardo Mottola

Hi,

Mihai Popescu wrote:

What are the minimum requirements for a decent SPARC machine? I mean
by that a machine who is able to run OpenBSD as a desktop. I am
currently use a Pentium 4 3.2GHz with 2 GB DDR and it barely meets my
needs. Tell me please the CPU or the machine name, I will search the
prices:-).
if desktop includes browsing the answer is none. None that can 
won't be too big or too noisy.


Your P4 is still a mighty machine as a CPU, but it is single-core and 
has a terribly long pipeline too: today for browsing and most web-based 
stuff it is just not enough, even a slower, but dual-core cpu works better.

And you need a decent graphics card too.

The only non-intel machines that could be used as a desktop were PPC 
macs, but even those suffer today.


For all the rest, including development, compilation, email, 
newsgroup... even a decently fitted Ultra workstation could do.


I used to have non intel hardware for everything, but today it is not 
feasible anymore. You just need an intel laptop for that convenience. 
Not only for the power, but also because Firefox  friends often show 
bugs on non-intel. Furthermore if you do need Skype or other proprietary 
crap, you need Linux at least or directly Windows/Mac.


I love all my alternative architectures and OS's... but I need to have a 
standard piece of hardware handy. A pity, but for my even basic needs it 
is that way.

SSH to your sparc box, export display.

Riccardo



Re: Softraid crypto - howto mount partitions from multiple devices at boot?

2015-07-17 Thread Maurice McCarthy
On Thu, Jul 16, 2015 at 11:17:16PM +0200 or thereabouts, Jan Vlach wrote:
 Hello misc,
 
 I have a small netbook with two flash devices - 32G and 4G. I'm using
 softraid crypto discipline with passphrase on the 32G one. That works
 fine.
 
 I would also like to use softraid crypto on the second (4G) device and
 have it also mounted at boot.
 
 How to achieve this? What is current best practice? Can the passphrase
 be shared between the devices or should a key device be used? 
 
 I've checked the manual pages for softraid and bioctl, but I don't
 understand what is supposed to be a keydisk (partition? device holding a
 binary file to be used as a key? )
 
 Thank you for clues
 
 Jan
 

Isthis any help?
http://undeadly.org/cgi?action=articlesid=20131112031806
 M



Re: nat on addresses with different default routes

2015-07-17 Thread lausgans
 9 июля 2015 г., в 17:14, Giancarlo Razzolini grazzol...@gmail.com 
 написал(а):
 
 Em 09-07-2015 02:27, lausg...@gmail.com escreveu:
 Thank you for the answer! Indeed its a more correct approach.
 Is there a simple way to teach (any openbsd compliant) dhcp client to use 
 mpath? Also not sure whether it will work in this 
 case:http://www.rinta-aho.org/blog/?p=214
 I don't recall if the openbsd base dhclient have it, but you could possibly 
 use some that is on ports and make it not add the default routes. And, you 
 could make it call a script that creates them. They need to be created with 
 the -mpath modifier anyway.
 
 Cheers,
 Giancarlo Razzolini

Ok, so isc-dhclient + dhclient-script with this modification 
http://www.rinta-aho.org/docs/openbsd-pf/dhclient-script.patch supplied to it + 
route-to rules used like in http://www.rinta-aho.org/docs/openbsd-pf/pf.conf do 
work.
However round-robin http://www.openbsd.org/faq/pf/pools.html#outgoing 
construction doesn't work for this case.
Rule like
pass in on lan inet from lan:network to !lan:0 route-to { (cnmac1 
gw_cnmac1), (cnmac2 gw_cnmac2) } round-robin
fails with
multiple tables or dynamic interfaces not supported for translation or routing
and I don't know other way of dynamic passing of gateways from dhclient to pf 
for this rule without usage of multiple tables.



Re: hp dl360 gen9

2015-07-17 Thread Benjamin Perrault
Hey Remi,

 I'm just starting to use hp dl360 gen9 servers with OpenBSD. With a few
 tweaks in the bios most stuff works fine:
 
 System Options
 o Processor Options
  - Hyperthreading - disable # HT does not help on a OpenBSD firewall
  - Core disable - 4 # That way the other cores can run at
  # higher speed
  - Processor x2apic support - disabled
  # if enabled OpenBSD only sees cpu0 and
  # not the others
 o USB Options
  - USB 3.0 Mode - disabled  # with usb3 enabled the keyboard does not
  # work in boot promt
 o Boot Options
  - Boot Mode - legacy bios mode
  # disable uefi
 
 
 Unfortunately the serial console does not work. I try to use the virtual
 serial port via iLO. While I have access to the BIOS and the boot loader
 it stops working once the kernel starts. dmesg says:
 
 com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 com1: probed fifo depth: 0 bytes
 
 On gen8 servers also a ns16550a is recoginized and it works nicely.
 
 Anybody knows how to make this work?

To my knowledge it doesn’t ( I have a many gen9 systems in various configs ). 
Even on linux - to get the virtual serial console to work on the gen9 - it 
requires an iLO driver ( which is bundled with the linux kernel ). So unless 
some one ports that over, me are pretty much out of luck on any of the BSDs at 
the moment (unless you find a magical work around, but even HP has said this is 
the case).

I’ve been working with a few HP engineers on allowing direct access to the 
serial device in a future iLO firmware, but in the mean time.. 

later,
-bp



Re: SPARC minimum hardware specification

2015-07-17 Thread BSD
On Thu, 16 Jul 2015 21:09:30 +0300
Mihai Popescu mih...@gmail.com wrote:

 Hello,
 
 I never used a SPARC machine but I recall there are some people on the
 list doing this.
 
 What are the minimum requirements for a decent SPARC machine? I mean
 by that a machine who is able to run OpenBSD as a desktop. I am
 currently use a Pentium 4 3.2GHz with 2 GB DDR and it barely meets my
 needs. Tell me please the CPU or the machine name, I will search the
 prices :-).
 
 Thanks
 

Hello Misc,

As a new user, I find myself in the same position as the OP: very
interested in non-Intel products. But there seems to be a vacuum of
information around this topic. (Which tells me I'm on the right track) 

No operating system can protect itself from its own hardware. So how
does one protect one's family in these hostile and trying times and
what-not?

The replies to the OP seem discouraging. If not Oracle, and not
Fujitsu, then what? If not a sparc desktop, then what about a sparc
router? A RISC anything??

I have yet to achieve that warm fuzzy feeling, and I fear that it is
not within my reach. Long live Puffy!


All the best,

Keith Larsen
CPS Coatings
318-222-6100



Re: Audio Boost for Sndio

2015-07-17 Thread tekk
On Fri, Jul 17, 2015 at 07:47:16AM -0700, Артур Истомин wrote:
 
 On Fri, Jul 10, 2015 at 06:01:17AM -0700, tekk wrote:
  I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
  is just a bit too quiet to be comfortable even when I have everything maxed
  out. I had a similar problem on Linux and I was able to create a boost
  device to feed audio through before it went to the speakers, could I do the
  same in OpenBSD? I've thrown in dmesg as well as mixerctl and audioctl
  output, not sure if anything else is needed. I remember reading that there
  was already some boost by default as well, but it defaulted to being maxed
  for me so it's not much help.
 
 I have the same troubles (with the same hardware). In most cases this is due
 to sound channels of movie clip - 6 or more channels. 2 channels' movies
 almost always playing perfect for me. Here is my solution for mplayer:
 
 mplayer -channels 6 -af pan=2:1:0:0:1:1:0:0:1:1.3:1.3:1:1
 (see http://hddaudio.net/viewtopic.php?pid=105601#p105601 for more info)
 
 If it does not help, try to enable software mixer:
 
 mplayer -softvol -softvol-max 1000
 (but it damage sound when player's volume is max)
 
 If you will find another solution for OpenBSD, please email me. 
 

I'm certain it's not an issue of sound channels since most of what I'm using 
sound
for is stereo videos on youtube. I'll give the -softvol parameter a shot next 
time
I'm on OpenBSD; hopefully mpv has it since it's an mplayer fork, but an actual 
way
to fix this would be ideal; the fact that my mix device is capping out at 174 
rather
than 255 is very suspicious to me. Do you actually experience the same? When 
you run
mixerctl it should say something like inputs.mix-0-2: 174,174 when you have your
volume turned all the way up. I don't remember the device name exactly but it's 
along
those lines.



Re: SPARC minimum hardware specification

2015-07-17 Thread Karel Gardas
Have you seen TemLib[1]? That's may be the way for SPARC, otherwise
MIPS64/Octeon or ARM.

Good luck!
Karel

[1]: http://temlib.org/site/

On Fri, Jul 17, 2015 at 6:15 PM, BSD b...@cpscoatings.net wrote:
 On Thu, 16 Jul 2015 21:09:30 +0300
 Mihai Popescu mih...@gmail.com wrote:

 Hello,

 I never used a SPARC machine but I recall there are some people on the
 list doing this.

 What are the minimum requirements for a decent SPARC machine? I mean
 by that a machine who is able to run OpenBSD as a desktop. I am
 currently use a Pentium 4 3.2GHz with 2 GB DDR and it barely meets my
 needs. Tell me please the CPU or the machine name, I will search the
 prices :-).

 Thanks


 Hello Misc,

 As a new user, I find myself in the same position as the OP: very
 interested in non-Intel products. But there seems to be a vacuum of
 information around this topic. (Which tells me I'm on the right track)

 No operating system can protect itself from its own hardware. So how
 does one protect one's family in these hostile and trying times and
 what-not?

 The replies to the OP seem discouraging. If not Oracle, and not
 Fujitsu, then what? If not a sparc desktop, then what about a sparc
 router? A RISC anything??

 I have yet to achieve that warm fuzzy feeling, and I fear that it is
 not within my reach. Long live Puffy!


 All the best,

 Keith Larsen
 CPS Coatings
 318-222-6100



Re: nat on addresses with different default routes

2015-07-17 Thread Giancarlo Razzolini

Em 17-07-2015 14:17, lausg...@gmail.com escreveu:

Ok, so isc-dhclient + dhclient-script with this 
modificationhttp://www.rinta-aho.org/docs/openbsd-pf/dhclient-script.patch  
supplied to it + route-to rules used like 
inhttp://www.rinta-aho.org/docs/openbsd-pf/pf.conf  do work.


Nice to hear that. This script can sure be improved.


However round-robinhttp://www.openbsd.org/faq/pf/pools.html#outgoing  
construction doesn't work for this case.
Rule like
pass in on lan inet from lan:network to !lan:0 route-to { (cnmac1 gw_cnmac1), (cnmac2 
gw_cnmac2) } round-robin
fails with
multiple tables or dynamic interfaces not supported for translation or routing
and I don't know other way of dynamic passing of gateways from dhclient to pf 
for this rule without usage of multiple tables.
As I mentioned, I would use least-states, instead of round-robin. Also, 
I had a similar issue and solved it using (egress). Since your 
interfaces will have default routes, they will be all part of the egress 
group. You can exploit that. Use tags and tcpdump to debug your rules, I 
believe you can find a solution.


Cheers,
Giancarlo Razzolini



Re: SPARC minimum hardware specification

2015-07-17 Thread Theo de Raadt
 On Fri, Jul 17, 2015 at 08:45:23PM +, Christian Weisgerber wrote:
  On 2015-07-17, BSD b...@cpscoatings.net wrote:
  
   As a new user, I find myself in the same position as the OP: very
   interested in non-Intel products. But there seems to be a vacuum of
   information around this topic.
  
  You're 15 years too late.  x86 has won.
 
 Generally yes but there's still POWER8 and OpenPOWER
 group. They claim docs should be open and TYAN[1] has
 a cheap server with POWER8.
 
 IBM won't kill this HW as they invested money to have
 OpenStack running on it, they also ported KVM on POWER8.
 
 [1] http://www.tyan.com/solutions/tyan_openpower_system.html

I suspect your diff was MIME encoded, and therefore got removed...

Please be realistic.



Re: SPARC minimum hardware specification

2015-07-17 Thread Jiri B
On Fri, Jul 17, 2015 at 08:45:23PM +, Christian Weisgerber wrote:
 On 2015-07-17, BSD b...@cpscoatings.net wrote:
 
  As a new user, I find myself in the same position as the OP: very
  interested in non-Intel products. But there seems to be a vacuum of
  information around this topic.
 
 You're 15 years too late.  x86 has won.

Generally yes but there's still POWER8 and OpenPOWER
group. They claim docs should be open and TYAN[1] has
a cheap server with POWER8.

IBM won't kill this HW as they invested money to have
OpenStack running on it, they also ported KVM on POWER8.

[1] http://www.tyan.com/solutions/tyan_openpower_system.html

j.



PPPOE issue

2015-07-17 Thread Dante F. B. Colò

Greetings

I already posted this question here but i think i didn't explain very 
well, i have a issue in a openbsd 5.7 (tried also 5.6 and 5.5 same 
thing) with pppoe internet broadband connection , when i start the 
pppoe0 interface the connection does not estabilish and shows the 
message below repeatdly ,how can i troubleshoot this , does anyone here 
have any idea ?


pppoe0: host unique tag found , but it belongs to a connection in state 3
pppoe: received PADO but could not find request for it


Best Regards
Dante F. B. Colò



Re: nat on addresses with different default routes

2015-07-17 Thread Giancarlo Razzolini

Em 17-07-2015 17:38, lausg...@gmail.com escreveu:

Thanks much for all your good help! I will try it.


No problem.


For now I'm just still using probabilistic rules with quick keyword + fallback 
rule but using mpath instead of rdomain and this works smoothly now!


If I recall correctly, you could mix mpath with rdomains. But, as much 
as I like rdomains, I still prefer mpath for multiple ISP's setups.



If I'll need to setup multi-isp setup ever, I'll use anchors and make ifstated 
check for the gateways availability, and update the rules accordingly like you 
suggested.


ifstated works great in this. It's a state machine, so you can code any 
scripts into it and handle very complex setups. The most complex I ever 
recall I've done was a firewall with 4 different ISP's, and a complex 
ruleset. There were all sorts of checks and failovers, lots of anchors. 
This was almost 10 years ago. Things have changed. But some didn't.


Cheers,
Giancarlo Razzolini



Re: PPPOE issue

2015-07-17 Thread Giancarlo Razzolini

Em 17-07-2015 18:56, Dante F. B. Colò escreveu:
I already posted this question here but i think i didn't explain very 
well, i have a issue in a openbsd 5.7 (tried also 5.6 and 5.5 same 
thing) with pppoe internet broadband connection , when i start the 
pppoe0 interface the connection does not estabilish and shows the 
message below repeatdly ,how can i troubleshoot this , does anyone 
here have any idea ?


pppoe0: host unique tag found , but it belongs to a connection in state 3
pppoe: received PADO but could not find request for it 
With only this there isn't much we can do to help you. How are you 
configuring you pppoe interface? What does tcpdump on the physical 
device tells you? I had some problems with more than one concentrator 
replying to PADI requests. Had to block it's MAC address requests using 
a bridge and mac filter rules. It wasn't ideal, but it worked. My ISP 
had a broken configuration where more than one concentrator would reply. 
They eventually fixed it, but I had to debug a lot to get to this. 
Perhaps you're seeing something similar. But without more information 
it's difficult to know.


Cheers,
Giancarlo Razzolini



Re: SPARC minimum hardware specification

2015-07-17 Thread Benjamin Perrault
 On Jul 17, 2015, at 1:45 PM, Christian Weisgerber na...@mips.inka.de wrote:
 
 On 2015-07-17, BSD b...@cpscoatings.net wrote:
 
 As a new user, I find myself in the same position as the OP: very
 interested in non-Intel products. But there seems to be a vacuum of
 information around this topic.
 
 You're 15 years too late.  x86 has won.

I couldn’t have said it better. 

To my knowledge - the fastest non-x86 desktop type system that OpenBSD runs on 
in the PowerMac G5, it’s 10 years old, and a nicely specked can cost almost as 
much as a much faster x86 box.

Things like the BeagleBones and Edge Routers are great for what they are - be 
it a router or embedded platform or simple web server, etc. - but the modern 
desktop environment and things like firefox are just to slow on anything non 
intel esp. w/o accelerate graphics. Just how it is.

-bp
@creepingfur




Re: nat on addresses with different default routes

2015-07-17 Thread lausgans
 17 июля 2015 г., в 22:35, Giancarlo Razzolini grazzol...@gmail.com 
 написал(а):
 
 Em 17-07-2015 14:17, lausg...@gmail.com escreveu:
 Ok, so isc-dhclient + dhclient-script with this 
 modificationhttp://www.rinta-aho.org/docs/openbsd-pf/dhclient-script.patch  
 supplied to it + route-to rules used like 
 inhttp://www.rinta-aho.org/docs/openbsd-pf/pf.conf  do work.
 
 Nice to hear that. This script can sure be improved.
 
 However round-robinhttp://www.openbsd.org/faq/pf/pools.html#outgoing  
 construction doesn't work for this case.
 Rule like
 pass in on lan inet from lan:network to !lan:0 route-to { (cnmac1 
 gw_cnmac1), (cnmac2 gw_cnmac2) } round-robin
 fails with
 multiple tables or dynamic interfaces not supported for translation or 
 routing
 and I don't know other way of dynamic passing of gateways from dhclient to 
 pf for this rule without usage of multiple tables.
 As I mentioned, I would use least-states, instead of round-robin. Also, I had 
 a similar issue and solved it using (egress). Since your interfaces will have 
 default routes, they will be all part of the egress group. You can exploit 
 that. Use tags and tcpdump to debug your rules, I believe you can find a 
 solution.
 
 Cheers,
 Giancarlo Razzolini

Thanks much for all your good help! I will try it.
For now I'm just still using probabilistic rules with quick keyword + fallback 
rule but using mpath instead of rdomain and this works smoothly now! 
If I'll need to setup multi-isp setup ever, I'll use anchors and make ifstated 
check for the gateways availability, and update the rules accordingly like you 
suggested.



Re: SPARC minimum hardware specification

2015-07-17 Thread Christian Weisgerber
On 2015-07-17, BSD b...@cpscoatings.net wrote:

 As a new user, I find myself in the same position as the OP: very
 interested in non-Intel products. But there seems to be a vacuum of
 information around this topic.

You're 15 years too late.  x86 has won.

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Re: SPARC minimum hardware specification

2015-07-17 Thread Karel Gardas
On Fri, Jul 17, 2015 at 11:29 PM, Jiri B ji...@devio.us wrote:
 Generally yes but there's still POWER8 and OpenPOWER
 group. They claim docs should be open and TYAN[1] has
 a cheap server with POWER8.

I would not bet on POWER8 on desktop, it's too big beast, rather on
smaller ARMv8 which is already winning on mobile...