Re: OpenSMTPD on OpenBSD 5.9

2016-04-12 Thread Rod Whitworth
On Sun, 10 Apr 2016 12:31:35 +1100, Rod Whitworth wrote:

>On Sat, 9 Apr 2016 10:12:23 -0500, Edgar Pettijohn wrote:
>
>>On 04/08/16 23:25, Rod Whitworth wrote:
>>> I'm trying to replace Postfix with OpenSMTPD and I'm having a battle.
>>>
>>> I don't seem to be able to get the clues to match the hardware and the
>>> configure recipes that I need.
>>>
>>> The most up to date I can find breaks at the second stanza and I can
>>> guess that the instructions for configuring for PF are for OpenBSD 5.6
>>> means that I should find a up to date have clue set.
>>>
>>> Does anyone have pointer to a rescue?
>>>
>>> Rod/
>>> (who doesn't want to revert to Postfix..)
>>>
>>> *** NOTE *** Please DO NOT CC me. I  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.
>>>
>>I think you may need to describe what you are trying to achieve. Perhaps 
>>your old postfix configuration as well.
>>
>
>What I am trying to achieve is a copy of the up-to-date instructions.
>
>As I said the most recent copy is around 5.6.
>I am running 5.9.
>
>The most recent recipe is written by someone who makes considerable
>mods and I like to   refrain from making changes until I find a change
>that appears to have a solid reason.
>
>Postfix is no help in getting OpenSMTPD working. Believe me and I've
>been running Postfix since about OpenBSD 2.5 and doing it for some
>large businesses.
>
>The present instructions for OpenSMTPD go likes this:
>1 Install some packages (3)
>
>2 Create Maildir
>
>Crash. Well it doesn't work as it is suppose to.
>
>Study further and realise that you need up to date instructions.
>
>So try to install 5.9 OpenBSD and run
>http://puffysecurity.com/wiki/opensmtpd.html
>
>Lots-a-luck.
>
>Rod/
>
>From the land "down under": Australia.
>Do we look  from up over?
>

Well it seems I must go to Postfix..

What I needed was a version 5.9 as distributed not a hero's advanced
version already heading to 6.0. That is for developers and I respect
them but they are not for me: I'm not that smart.

There are some (apart from the 5.9+ code) which are not for me as they
are (a) not 5.9 code or (b) not polished trying to try for 5.9

I would love to see someone reply telling me that I have bad eyes and a
5.9 is running and it's getting it correct.

Meanwhile I have to bring up a new server and Postfix seems to be the
only candidate.

At least I can build a mailserver that works on that.

Sorry for the noise

Rod/


Rod/

>From the land "down under": Australia.
Do we look  from up over?



Re: Ldapd features list

2016-04-12 Thread Jonathan Matthew
On Tue, Apr 12, 2016 at 09:22:26AM +0530, Vivek Vinod wrote:
> Dear List members,
> ???Can someone please point me to where I can get the list of features
> supported by ldapd? Also if possible, features not supported by ldapd.
> Given the excellent documentation standards of OpenBSD - Am I right in
> assuming, whatever is in the manpages for ldapd.conf and ldapd???...
> those might be the only supported features?

Yes.

ldapd is not really under active development, so what's there now is likely
all it will do for the forseeable future.



Re: Getting started with an OpenBSD Desktop...

2016-04-12 Thread Chris Bennett
On Tue, Apr 12, 2016 at 08:24:15PM -0500, frederick w. soucy wrote:
> It could be that your wifi card needs firmware that isn`t installed.
> If you can connect via ethernet try to run fw_update. 

You may need to use wired network to get the firmware.
When I install onto a usb flash drive, I use fw_update -a to make sure I
have firmware for anything I might run into.
That command installs everything! But it will also cover your new wifi
card after the present one cooks itself dead later!

But all the firmware really isn't that big a group. It's up to you.

Chris Bennett



Re: Getting started with an OpenBSD Desktop...

2016-04-12 Thread Chris Bennett
On Tue, Apr 12, 2016 at 08:34:16PM -0400, Implausibility wrote:
> Hi.
> 
> I have a few old ThinkPads here, and I'd like to explore getting OpenBSD
> running as a lightweight desktop computer.
> 
> I don't need a lot, I spend most of my time at a shell prompt, but I'm
> thinking I need a better window manager, possibly Firefox (or a recommended
> lightweight alternative) and any invaluable X-based utilities.

I'm biased in that I use older computers. I find that using spectrwm as
a window manager and terminus fonts to be an excellent and extremely low
memory and CPU time. It defaults to 10 screens and can be extended to 22
(right?)Within each screen you can have multiple windows and "float"
them into nice positions, just like managers like KDE do.

I started off with KDE, coming from the windows world, but quickly tired
of it and jumped over to spectrwm once it was developed.

Ports contains a few programs that are NOT in packages and also some
FLAVORS that you might prefer over the standard packages. But always use
the packages unless you have some special needs. I find looking around
the ports tree very helpful to find out possible programs I need.
Then I just type pkg_add program_i_need program_to_try, etc.

I install lynx text browser and use lynx $PKG_PATH to look for relevant
but not obvious choices. I speak Spanish also which makes finding
Spanish language files for different programs a breeze doing that.
But lynx works poorly outside of a window manager xterm. I open another
xterm next to it and pkg_add away everything I see that might be good.

Maybe bad advice, but I use ifconfig xxx0 down, pull the card out, then
back in and try again. ifconfig xxx0 scan is very helpful!

And of course, asking for exactly what you need (in subject!) might get
you good advice. Or maybe not. Behind the scenes, the developers are
working their arses off making things better, so don't be offended if
you don't get an answer.

Good luck

Chris Bennett

> 
> I've had trouble getting the laptop connected to my local WiFi network,
> despite having compatible cards and a straightforward security config (WPA2),
> despite having followed the documentation.  If there's a
> network-connection-manager GUI available, that would be nice, but isn't
> essential.
> 
> I know how to install things via the ports, but traversing the directory
> structure to find useful packages is painful.  If there's a more friendly way
> to search for and discover new/interesting ports packages, I'd appreciate a
> link.
> 
> Thanks.



Re: Getting started with an OpenBSD Desktop...

2016-04-12 Thread frederick w. soucy
On 2016.04.12, Implausibility wrote:
> Hi.
> 
> I have a few old ThinkPads here, and I'd like to explore getting OpenBSD
> running as a lightweight desktop computer.
> 
> I don't need a lot, I spend most of my time at a shell prompt, but I'm
> thinking I need a better window manager, possibly Firefox (or a recommended
> lightweight alternative) and any invaluable X-based utilities.
> 
OpenBSD comes with the excellent window manager cwm installed by 
default. It has top-notch keyboard control, the ability to organize
windows into groups and dynamically display them and search for windows
by name to list some of it`s highlights. Also it isn`t an obnoxious
tiling monstrosity that seem all the rage these days.

> I've had trouble getting the laptop connected to my local WiFi network,
> despite having compatible cards and a straightforward security config (WPA2),

Wifi is pretty straight forward in OpenBSD. Either from the cli:
# ifconfig  up nwid  wpakey 
# dhclient 
check man hostname.if for a permenant setup.

It could be that your wifi card needs firmware that isn`t installed.
If you can connect via ethernet try to run fw_update. 

> despite having followed the documentation.  If there's a
> network-connection-manager GUI available, that would be nice, but isn't
> essential.
> 
> I know how to install things via the ports, but traversing the directory
> structure to find useful packages is painful.  If there's a more friendly way
> to search for and discover new/interesting ports packages, I'd appreciate a
> link.

As was said pkg_info -Q  will perform a search for you.
There are some websites where you can browse the ports tree in 
catagory form. Keep in mind though that they are showing the ports for
-current and some may not be available in -release.
http://ports.su
http://openports.se

> 
> Thanks.



Re: X crashes since ~1 week on -current/amd64 with radeon

2016-04-12 Thread Jonathan Gray
On Tue, Apr 12, 2016 at 10:49:57PM +0200, Mattieu Baptiste wrote:
> Hi,
> 
> Since about ~1 week I encounter X crashes on my main desktop running
> -current/amd64 with a radeon hd 4670.
> It's not very frequent (one or two times a day).
> 
> Nothing particular appears on the console.
> 
> How can I help debug this ?

If you can get a core dump and a trace that would help, see
"How to get a core file out of the X server?" in
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/xenocara/README?rev=1.36=text/plain

> 
> Here are the dmesg and Xorg.0.log.old:
> 
> OpenBSD 5.9-current (GENERIC.MP) #1982: Sat Apr  2 11:43:48 MDT 2016
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8571518976 (8174MB)
> avail mem = 8307380224 (7922MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf0710 (68 entries)
> bios0: vendor American Megatrends Inc. version "2003" date 12/14/2010
> bios0: ASUSTeK Computer INC. P7P55D
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP APIC MCFG OEMB HPET DMAR ASPT OSFR
> acpi0: wakeup devices P0P4(S4) BR1E(S4) UAR1(S4) PS2K(S4) PS2M(S4)
> EUSB(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) USBE(S4) USB4(S4)
> USB5(S4) USB6(S4) BR21(S4) BR22(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3374.38 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 160MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
> cpu1 at mainbus0: apid 4 (application processor)
> cpu1: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.89 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 2, package 0
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.89 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 1, core 0, package 0
> cpu3 at mainbus0: apid 5 (application processor)
> cpu3: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.89 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 2, package 0
> ioapic0 at mainbus0: apid 6 pa 0xfec0, version 20, 24 pins
> ioapic0: misconfigured as apic 1, remapped to apid 6
> acpimcfg0 at acpi0 addr 0xf800, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 7 (BR1E)
> acpiprt2 at acpi0: bus -1 (BR21)
> acpiprt3 at acpi0: bus -1 (BR22)
> acpiprt4 at acpi0: bus -1 (BR23)
> acpiprt5 at acpi0: bus 1 (P0P1)
> acpiprt6 at acpi0: bus -1 (P0P3)
> acpiprt7 at acpi0: bus -1 (P0P5)
> acpiprt8 at acpi0: bus -1 (P0P6)
> acpiprt9 at acpi0: bus 6 (BR20)
> acpiprt10 at acpi0: bus 5 (BR24)
> acpiprt11 at acpi0: bus 4 (BR25)
> acpiprt12 at acpi0: bus 3 (BR26)
> acpiprt13 at acpi0: bus 2 (BR27)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C1(@1 halt!)
> acpicpu1 at acpi0: C1(@1 halt!)
> acpicpu2 at acpi0: C1(@1 halt!)
> acpicpu3 at acpi0: C1(@1 halt!)
> "PNP0C09" at acpi0 not configured
> aibs0 at acpi0 GGRP GITM SITM
> "PNP0103" at acpi0 not configured
> "PNP0501" at acpi0 not configured
> "PNP0303" at acpi0 not configured
> acpibtn0 at acpi0: PWRB
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x12
> ppb0 at pci0 dev 1 function 0 "Intel Core PCIE" rev 0x12: msi
> pci1 at ppb0 bus 1
> radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 4670" rev 0x00
> drm0 at radeondrm0
> radeondrm0: msi
> azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: msi
> azalia0: no supported codecs
> ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 6 int 16
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia1 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi

Re: Getting started with an OpenBSD Desktop...

2016-04-12 Thread Michael McConville
Implausibility wrote:
> I know how to install things via the ports, but traversing the
> directory structure to find useful packages is painful.  If there's a
> more friendly way to search for and discover new/interesting ports
> packages, I'd appreciate a link.

'pkg_info -Q $YOUR_QUERY' will show package names containing
$YOUR_QUERY.



Getting started with an OpenBSD Desktop...

2016-04-12 Thread Implausibility
Hi.

I have a few old ThinkPads here, and I'd like to explore getting OpenBSD
running as a lightweight desktop computer.

I don't need a lot, I spend most of my time at a shell prompt, but I'm
thinking I need a better window manager, possibly Firefox (or a recommended
lightweight alternative) and any invaluable X-based utilities.

I've had trouble getting the laptop connected to my local WiFi network,
despite having compatible cards and a straightforward security config (WPA2),
despite having followed the documentation.  If there's a
network-connection-manager GUI available, that would be nice, but isn't
essential.

I know how to install things via the ports, but traversing the directory
structure to find useful packages is painful.  If there's a more friendly way
to search for and discover new/interesting ports packages, I'd appreciate a
link.

Thanks.



Re: Apr 4th amd64 snapshot problems, various outcomes including panic with USB hardware, no panic but fails without

2016-04-12 Thread Chris Bennett
OK, dmesg after reboot with radeon firmware.

OpenBSD 5.9-current (GENERIC.MP) #1983: Mon Apr  4 21:50:41 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4277862400 (4079MB)
avail mem = 4143853568 (3951MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f800 (48 entries)
bios0: vendor American Megatrends Inc. version "080014" date 01/13/2009
bios0: BIOSTAR Group A760G M2+
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) 
PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) PS2K(S1) PS2M(S1) UAR1(S1) 
P0PC(S4) UHC1(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.50 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.14 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.14 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu2: AMD erratum 721 detected and fixed
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.14 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu3: AMD erratum 721 detected and fixed
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus 2 (PCE7)
acpiprt5 at acpi0: bus 3 (P0PC)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpicpu2 at acpi0: C1(@1 halt!), PSS
acpicpu3 at acpi0: C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 127 degC
"PNP0401" at acpi0 not configured
"PNP0103" at acpi0 not configured
"PNP0303" at acpi0 not configured
"PNP0501" at acpi0 not configured
acpibtn0 at acpi0: PWRB
"PNP0C14" at acpi0 not configured
cpu0: 2200 MHz: speeds: 2200 1100 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00
ppb0 at pci0 dev 2 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 4350" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 7 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
re0 at pci2 dev 

Re: Apr 4th amd64 snapshot problems, various outcomes including panic with USB hardware, no panic but fails without

2016-04-12 Thread Chris Bennett
I have successfully installed this snap on an old 1GB flash drive and it
boots and can install packages.
Happy to know that the snap and my computer work fine together.

Proper dmesg:
Oops, just noticed I need to reboot for firmware. Will send this anyway.

Chris Bennett

OpenBSD 5.9-current (GENERIC.MP) #1983: Mon Apr  4 21:50:41 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4277862400 (4079MB)
avail mem = 4143853568 (3951MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f800 (48 entries)
bios0: vendor American Megatrends Inc. version "080014" date 01/13/2009
bios0: BIOSTAR Group A760G M2+
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) 
PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) PS2K(S1) PS2M(S1) UAR1(S1) 
P0PC(S4) UHC1(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.45 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.14 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.14 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu2: AMD erratum 721 detected and fixed
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.14 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu3: AMD erratum 721 detected and fixed
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus 2 (PCE7)
acpiprt5 at acpi0: bus 3 (P0PC)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpicpu2 at acpi0: C1(@1 halt!), PSS
acpicpu3 at acpi0: C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 127 degC
"PNP0401" at acpi0 not configured
"PNP0103" at acpi0 not configured
"PNP0303" at acpi0 not configured
"PNP0501" at acpi0 not configured
acpibtn0 at acpi0: PWRB
"PNP0C14" at acpi0 not configured
cpu0: 2200 MHz: speeds: 2200 1100 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00
ppb0 at pci0 dev 2 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 4350" rev 0x00
drm0 at 

Re: Apr 4th amd64 snapshot problems, various outcomes including panic with USB hardware, no panic but fails without

2016-04-12 Thread Chris Bennett
On Tue, Apr 12, 2016 at 02:06:51PM -0700, Philip Guenther wrote:
> To track this down, we need to have a clue when it broke.
> What was the date of the last snap where this *worked*?
> 

Sorry I can't give an exact answer for sure.
I get bad downloads occasionally, so I re-download when I have a
problem.
It was working on the snap before this one or the one right before that.

But I can't be sure. After doing a fresh install on top, There just
aren't the dates or files anymore to be sure.

Best I can offer is to do as many builds as are necessary to find
problem.

The usb stick does mount and work correctly. I see no other problems at
all except with booting.

Chris Bennett



Re: Apr 4th amd64 snapshot problems, various outcomes including panic with USB hardware, no panic but fails without

2016-04-12 Thread Philip Guenther
On Tue, Apr 12, 2016 at 12:52 PM, Chris Bennett
 wrote:
> I bring this up late, but I was out of town with i386 laptop.
>
> I have a Sandisk 32G USB3 compatible flash.
> I have been running snaps for a good while with no problems at all.
> I am also running a USB3 compatible 1TB passport drive too.
>
> Once I upgraded to this snap, I got a panic right after booting showed a
> problem with usb6 and it being disabled. Re-updated snap, not fixed.

To track this down, we need to have a clue when it broke.
What was the date of the last snap where this *worked*?


Philip Guenther



X crashes since ~1 week on -current/amd64 with radeon

2016-04-12 Thread Mattieu Baptiste
Hi,

Since about ~1 week I encounter X crashes on my main desktop running
-current/amd64 with a radeon hd 4670.
It's not very frequent (one or two times a day).

Nothing particular appears on the console.

How can I help debug this ?

Here are the dmesg and Xorg.0.log.old:

OpenBSD 5.9-current (GENERIC.MP) #1982: Sat Apr  2 11:43:48 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8571518976 (8174MB)
avail mem = 8307380224 (7922MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf0710 (68 entries)
bios0: vendor American Megatrends Inc. version "2003" date 12/14/2010
bios0: ASUSTeK Computer INC. P7P55D
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET DMAR ASPT OSFR
acpi0: wakeup devices P0P4(S4) BR1E(S4) UAR1(S4) PS2K(S4) PS2M(S4)
EUSB(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) USBE(S4) USB4(S4)
USB5(S4) USB6(S4) BR21(S4) BR22(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3374.38 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 160MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.89 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 2, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.89 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.89 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 2, package 0
ioapic0 at mainbus0: apid 6 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 1, remapped to apid 6
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 7 (BR1E)
acpiprt2 at acpi0: bus -1 (BR21)
acpiprt3 at acpi0: bus -1 (BR22)
acpiprt4 at acpi0: bus -1 (BR23)
acpiprt5 at acpi0: bus 1 (P0P1)
acpiprt6 at acpi0: bus -1 (P0P3)
acpiprt7 at acpi0: bus -1 (P0P5)
acpiprt8 at acpi0: bus -1 (P0P6)
acpiprt9 at acpi0: bus 6 (BR20)
acpiprt10 at acpi0: bus 5 (BR24)
acpiprt11 at acpi0: bus 4 (BR25)
acpiprt12 at acpi0: bus 3 (BR26)
acpiprt13 at acpi0: bus 2 (BR27)
acpiec0 at acpi0
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
acpicpu2 at acpi0: C1(@1 halt!)
acpicpu3 at acpi0: C1(@1 halt!)
"PNP0C09" at acpi0 not configured
aibs0 at acpi0 GGRP GITM SITM
"PNP0103" at acpi0 not configured
"PNP0501" at acpi0 not configured
"PNP0303" at acpi0 not configured
acpibtn0 at acpi0: PWRB
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x12
ppb0 at pci0 dev 1 function 0 "Intel Core PCIE" rev 0x12: msi
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 4670" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: msi
azalia0: no supported codecs
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 6 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi
azalia1: codecs: VIA/0x4441
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: msi
pci2 at ppb1 bus 6
em0 at pci2 dev 0 function 0 "Intel 82571EB" rev 0x06: apic 6 int 16,
address 00:15:17:8a:8f:d2
em1 at pci2 dev 0 function 1 "Intel 82571EB" rev 0x06: apic 6 int 17,
address 00:15:17:8a:8f:d3
ppb2 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: msi
pci3 at ppb2 bus 5
ppb3 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x06: 

Re: Apr 4th amd64 snapshot problems, various outcomes including panic with USB hardware, no panic but fails without

2016-04-12 Thread Chris Bennett
I put pictures of what I could get from ddb at:
www.bennettconstruction.us/our_house/

Chris Bennett



OpenBSD 5.[8-9] and Quagga rip(ng)d ?

2016-04-12 Thread Christophe H. STux

Hello there,

(don't really know if it is misc@ or tech@ , sorry :) ).

Upgrading and old 4.8 (quagga running) OpenBSD to 5.9 was "in fine" 
quite easy .


copied /etc/hostname.* from old to new => OK
/etc/mygate, the same. => OK
/etc/pf.conf , only two rules to adapt (from about 1000) => OK.

The only problem I encounter is quagga package :
It was in 0.99.16 (in 4.8 release) ; migrating in 0.99.24p1 (from 
OpenBSD packages for 5.9).


This config speaks only RIPv2 and RIPng , but with quite specific 
configuration about route distribution : distribute only one prefix on 
one interface, distribute all except this on other interface, and so on ...


The need is (for instance) :

In RIPv2 :
"redistribute connected" (for most of all network interfaces)

but on interface vlan210 and vlan211 (only these) :
"no redistribute 172.18.1.0/24"
"no redistribute 172.18.8.0/23"
but
"redistribute 172.18.0.0/16"

acheived in quagga/vtysh (while using 4.8 obsd and 0.99.16 quagga) by :

_

router rip
 version 2
 timers basic 60 120 60
 redistribute connected
 network trunk0
 network vlan210
 network vlan211
 network vlan212
 network vlan3
 network vlan200
 network vlan201
 network vlan202
 [...]
 network vlan255

 [...]
 distribute-list 11 out vlan210
 distribute-list 11 out vlan211
 distance 10
!

access-list 11 remark Filter routing announces on only local network 
(for vlan21[01])

access-list 11 deny 172.18.1.0 0.0.0.255
access-list 11 deny 172.18.8.0 0.0.1.255
access-list 11 permit 172.18.0.0 0.0.255.255
access-list 11 deny any



If using 5.9 obsd and 0.99.24p1 quagga absolutely nothing works about 
RIPv2 :


quagga's ripd complains about (on all network interfaces) :

RIP: can't setsockopt IP_ADD_MEMBERSHIP Can't assign requested address

Tried to implement OpenBSD's ripd, but can't find a way to restrict 
output updates for one or seveval network interfaces (meaning "don't 
redistribute this prefix on this interface"). This ends with a syntax 
error (and while browsing man and parse.yy of ripd, seems not possible).


Any clue to solve this dilemma ?

RIPng : it's about the same :( .
Found a way by using "route6d -O 2a01:dead:bef1::/48,vlan210,vlan211 -O 
2a01:dead:bef2::/48,vlan210,vlan211" but not realy as clever as "the 
good old" quagga was able to do ...


Thanks for reading :)
Christophe.



Re: Apr 4th amd64 snapshot problems, various outcomes including panic with USB hardware, no panic but fails without

2016-04-12 Thread Chris Bennett
On Tue, Apr 12, 2016 at 02:52:38PM -0500, Chris Bennett wrote:
> Once I upgraded to this snap, I got a panic right after booting showed a
> problem with usb6 and it being disabled. Re-updated snap, not fixed.
> 

 Sorry, right after delaying on usb6, said uhub1 was disabled

 Chris



Apr 4th amd64 snapshot problems, various outcomes including panic with USB hardware, no panic but fails without

2016-04-12 Thread Chris Bennett
I bring this up late, but I was out of town with i386 laptop.

I have a Sandisk 32G USB3 compatible flash.
I have been running snaps for a good while with no problems at all.
I am also running a USB3 compatible 1TB passport drive too.

Once I upgraded to this snap, I got a panic right after booting showed a
problem with usb6 and it being disabled. Re-updated snap, not fixed.

Did a fresh install today from a CD, no fix.

I had removed a Radeon video card to make a space, but no problems with
other snaps. Still, I thought it best to put things as before. Nope.

I played with many BIOS settings for USB, legacy support, usb 2
high-speed or slower, EHCI handoff. Could only stop booting from drive,
no other changes.

Legacy support on auto said that it only turned on if usb devices
attached. This gave me the idea to remove all other usb and use ps/2
keyboard.

No panic but stopped at boot method:
typing help showed the other methods such as network cards.

Could this be a problem with the snap? Or is a hardware problem more
likely?

I will try getting ddb info using the ps/2 key now. USB keyboard was
dead after panic.

Thanks
Chris Bennett


flash disk is:
umass2 at uhub1 port 3 configuration 1 interface 0 "SanDisk Ultra" rev 
2.10/1.00 addr 3
umass2: using SCSI over Bulk-Only
scsibus6 at umass2: 2 targets, initiator 0
sd2 at scsibus6 targ 1 lun 0:  SCSI4 0/direct removable 
serial.07815581431206101032
sd2: 29664MB, 512 bytes/sector, 60751872 sectors


OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4277862400 (4079MB)
avail mem = 4144320512 (3952MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f800 (48 entries)
bios0: vendor American Megatrends Inc. version "080014" date 01/13/2009
bios0: BIOSTAR Group A760G M2+
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) 
PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) PS2K(S1) PS2M(S1) UAR1(S1) 
P0PC(S4) UHC1(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.47 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.14 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.14 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu2: AMD erratum 721 detected and fixed
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Phenom(tm) 9550 Quad-Core Processor, 2200.14 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,ITSC
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 2MB 64b/line 32-way L3 cache
cpu3: ITLB 32 4KB 

Re: Recording computer sound.

2016-04-12 Thread lists
Mon, 11 Apr 2016 19:17:31 +0200 Alexandre Ratchov 
> On Sun, Apr 10, 2016 at 12:16:42PM +0300, li...@wrant.com wrote:
> > 
> > Just an idea, before providing a diff, does it look like a good
> > candidate to go into FAQ13.4?  Thank you for your consideration.
> 
> Yes, this would be good candidate (for the FAQ 13.5), as this is
> not the first time this is being discussed.

Same observation here.  I was suggesting it could be a continuation of
the record audio sub-section 13.4, now doing it for 13.5 in accordance
with your recommendation and renumbering below (and the index page).

Thank you for clarifying the numbering point, mailing the diff shortly.

> Basically this proves that the code is not simple enough and
> usability needs to be improved.

And additionally shows an important feature either not directly obvious
from the manual, or merely frequently used enough to need a FAQ mention.



Re: routes get assigned to a wrong interface, openbsd 5.9

2016-04-12 Thread Martin Pieuchot
On 12/04/16(Tue) 16:20, Mart Tõnso wrote:
> Hello.
> 
> I am hitting a strange behaviour with openbsd 5.9.
> 
> # uname -a
> OpenBSD router_dev01.lan 5.9 GENERIC.MP#1888 amd64
> 
> There's pppd running on the box (for a 3g connection) and OpenVPN
> connection on top of that.
> 
> The bug is that any routes pushed from openvpn server get assigned to
> ppp0 interface (instead of tun0, as I would naively expect).
> 
> It's possible reproduce this behaviour by running "route add" command
> manually, for example:
> 
> # route add 1.2.3.4/32 10.88.0.1
> add host 1.2.3.4/32: gateway 10.88.0.1
> 
> # netstat -rn -f inet
> Routing tables
> 
> Internet:
> DestinationGatewayFlags   Refs  Use   Mtu  Prio Iface
> default10.64.64.64UGS1   19 - 8 ppp0
> 1.2.3.410.88.0.1  UGHS   00 - 8 ppp0
> 10.64.64.6410.145.0.40UH 11 - 8 ppp0
> 10.88.0/24 10.88.0.124UGS0  161 - 8 tun0
> 10.88.0.12410.88.0.124UHl11 - 1 tun0
> 10.88.0.12410.88.0.124UH 00 - 8 tun0
> 10.90.0/24 10.88.0.1  UGS00 - 8 ppp0
> 10.99.0/24 10.88.0.1  UGS00 - 8 ppp0
> 10.145.0.4010.145.0.40UHl04 - 1 ppp0
> ...
> 
> Note that 10.88.0/24 network is associated with interface tun0.
> The new route (with gw in that network, 10.88.0.1) however get's
> assigned to interface ppp0.
> 
> What's happening here?

Hard to say since you did not include the complete routing table output.

Don't you have 10.88.0.1 configured on ppp0?  What is your ifconfig
output?  What does "$ route -n get 10.88.0.1" returns you?



routes get assigned to a wrong interface, openbsd 5.9

2016-04-12 Thread Mart Tõnso
Hello.

I am hitting a strange behaviour with openbsd 5.9.

# uname -a
OpenBSD router_dev01.lan 5.9 GENERIC.MP#1888 amd64

There's pppd running on the box (for a 3g connection) and OpenVPN
connection on top of that.

The bug is that any routes pushed from openvpn server get assigned to
ppp0 interface (instead of tun0, as I would naively expect).

It's possible reproduce this behaviour by running "route add" command
manually, for example:

# route add 1.2.3.4/32 10.88.0.1
add host 1.2.3.4/32: gateway 10.88.0.1

# netstat -rn -f inet
Routing tables

Internet:
DestinationGatewayFlags   Refs  Use   Mtu  Prio Iface
default10.64.64.64UGS1   19 - 8 ppp0
1.2.3.410.88.0.1  UGHS   00 - 8 ppp0
10.64.64.6410.145.0.40UH 11 - 8 ppp0
10.88.0/24 10.88.0.124UGS0  161 - 8 tun0
10.88.0.12410.88.0.124UHl11 - 1 tun0
10.88.0.12410.88.0.124UH 00 - 8 tun0
10.90.0/24 10.88.0.1  UGS00 - 8 ppp0
10.99.0/24 10.88.0.1  UGS00 - 8 ppp0
10.145.0.4010.145.0.40UHl04 - 1 ppp0
...

Note that 10.88.0/24 network is associated with interface tun0.
The new route (with gw in that network, 10.88.0.1) however get's
assigned to interface ppp0.

What's happening here?

---
Regards,

Mart



Xeon-D 10GE nics

2016-04-12 Thread Stuart Henderson
Does anyone know if the 10GE NICs on Xeon-D SoCs work on OpenBSD yet?
e.g. "Dual 10G SFP+ from D-1500 SoC" on Supermicro SYS-5018D-FN8T.



Re: Smokeping performance

2016-04-12 Thread Stuart Henderson
On 2016-04-12, Steve Shockley  wrote:
> I have several machines running Smokeping on OpenBSD 5.8 amd64 to 
> monitor latency through several web proxy servers.  I have a lot of 
> frequent monitors (mostly curl) so performance is degrading.  Opening 
> one of the Smokeping web pages can take 30-45 seconds at times, but from 
> what I can see I'm not CPU or disk bound.  So do I just have too many 
> connections open at once?  Is there anything I can do to improve 
> performance without scaling out to more machines?  Thanks.

I've just added a section about using rrdcached with smokeping to
the pkg-readme in -current, this may help you.

When anoncvs/cvsweb updates it will show up at the bottom of
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/net/smokeping/pkg/README?content-type=text/plain
(I'll avoid pasting it directly in this mail in case I want to
revise/update it, as it's more useful for the list archives that
way, but will send you a copy off-list to avoid the lag).



Re: pf from self user _rebound to port 53 and rebound in front of unbound

2016-04-12 Thread Craig Skinner
Hi Kevin/Jeremie/all,

On 2016-04-11 Mon 13:57 PM |, Jeremie Courreges-Anglas wrote:
> Kevin Chadwick  writes:
> 
> >> Something like
> >> 
> >>   pass out ... proto udp from any to any port 53 user = _rebound
> >> 
> >> same for tcp.
> >
> > Yeah but have you tried it and been successful without getting a syntax
> > error?
> 
> This doesn't give a syntax error and seems to do what you're looking
> for.  s/_rebound/_unbound/ ; this is on -current but I doubt that the
> syntax changed recently.
> 
> block out proto tcp from any to any port 53
> block out proto udp from any to any port 53
> pass out proto tcp from any to any port 53 user = _unbound
> pass out proto udp from any to any port 53 user = _unbound
> 
> ritchie ~$ dig +short +tcp +dnssec openbsd.org mx @127.0.0.1
> 6 shear.ucar.edu.
> ritchie ~$ dig +short +tcp +dnssec openbsd.org mx @8.8.8.8
> ;; Connection to 8.8.8.8#53(8.8.8.8) for openbsd.org failed: host unreachable.
> 

While I don't use rebound, rules like these work for me:

block in all
block return out


...

# NSD notify and unbound query:
pass out on egress inet proto {udp, tcp} \
from egress port > 1023 \
to any port domain \
user {_nsd, _unbound}


$ dig @8.8.8.8 openbsd.org MX +short

; <<>> DiG 9.4.2-P2 <<>> @8.8.8.8 openbsd.org MX +short
; (1 server found)
;; global options:  printcmd
;; connection timed out; no servers could be reached
 (9) $ dig openbsd.org MX +short
6 shear.ucar.edu.
$ dig @localhost openbsd.org MX +short
6 shear.ucar.edu.
$