Re: OpenBSD 6.0 CDs arrived today

2016-09-07 Thread patrick keshishian
Also arrived in Southern California USA

http://sidster.org/gallery/obsd/60/img_2538.sml.jpg

Fantastic work folks and great tee-shirt design!
Also a "thank you" to Lyn at OpenBSD Store.

--patrick


On 9/7/16, Kenneth Gober  wrote:
> Shipments of OpenBSD 6.0 CDs have started arriving, I'm in the USA,
> New York area.
>
> -ken



Re: mail aliases question

2016-09-07 Thread Alexander Hall
On Wed, Sep 07, 2016 at 12:41:45PM +, Callum R. Davies wrote:
> Your user was added to /etc/aliases by the installer, when the account
> was created.

No, this is not true at all.



Re: can't get vmd to work on current

2016-09-07 Thread Alexander Hall
On Wed, Sep 07, 2016 at 07:07:01PM +0300, Mart Tõnso wrote:
> >> OpenBSD 6.0-current (TIMMU) #4: Wed Sep  7 00:35:13 EEST 2016
> >
> > Not going to help with custom kernels. Work on -current on real
> 
> Only reason that I'm using a custom kernel is to enable vmm, so this
> is a catch 22.

True. If it was merely GENERIC[.MP] with vmm enabled, then fine. But a
kernel named "TIMMU" could deserve some explanation as to what's been
done to it.

/Alexander

> 
> > hardware with a standard kernel if you want to play with vmm please.
> 
> Hm, yes, bare metal makes sense
> 
> ---
> Regards,
> 
> Mart
> 
> > -ml
> >
> >> r...@bsd1.lan:/usr/src/sys/arch/amd64/compile/TIMMU
> >> real mem = 1056899072 (1007MB)
> >> avail mem = 1020399616 (973MB)
> >> mpath0 at root
> >> scsibus0 at mpath0: 256 targets
> >> mainbus0 at root
> >> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries)
> >> bios0: vendor innotek GmbH version "VirtualBox" date 12/01/2006
> >> bios0: innotek GmbH VirtualBox
> >> acpi0 at bios0: rev 2
> >> acpi0: sleep states S0 S5
> >> acpi0: tables DSDT FACP APIC SSDT
> >> acpi0: wakeup devices
> >> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> >> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> >> cpu0 at mainbus0: apid 0 (boot processor)
> >> cpu0: Intel(R) Pentium(R) CPU G4400 @ 3.30GHz, 3312.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,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,RDRAND,NXE,LONG,LAHF,ABM,3DNOWP,ITSC,RDSEED,CLFLUSHOPT
> >> cpu0: 256KB 64b/line 8-way L2 cache
> >> cpu0: smt 0, core 0, package 0
> >> mtrr: CPU supports MTRRs but not enabled by BIOS
> >> cpu0: apic clock running at 1009MHz
> >> cpu1 at mainbus0: apid 1 (application processor)
> >> cpu1: Intel(R) Pentium(R) CPU G4400 @ 3.30GHz, 3345.27 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,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,RDRAND,NXE,LONG,LAHF,ABM,3DNOWP,ITSC,RDSEED,CLFLUSHOPT
> >> cpu1: 256KB 64b/line 8-way L2 cache
> >> cpu1: smt 0, core 1, package 0
> >> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
> >> acpiprt0 at acpi0: bus 0 (PCI0)
> >> acpicpu0 at acpi0: C1(@1 halt!)
> >> acpicpu1 at acpi0: C1(@1 halt!)
> >> "PNP0303" at acpi0 not configured
> >> "PNP0F03" at acpi0 not configured
> >> "PNP0501" at acpi0 not configured
> >> acpiac0 at acpi0: AC unit online
> >> acpivideo0 at acpi0: GFX0
> >> pci0 at mainbus0 bus 0
> >> pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
> >> pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
> >> pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, 
> >> channel 0 configured to compatibility, channel 1 configured to 
> >> compatibility
> >> wd0 at pciide0 channel 0 drive 0: 
> >> wd0: 128-sector PIO, LBA, 20480MB, 41943040 sectors
> >> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> >> atapiscsi0 at pciide0 channel 1 drive 0
> >> scsibus1 at atapiscsi0: 2 targets
> >> cd0 at scsibus1 targ 0 lun 0:  ATAPI 5/cdrom removable
> >> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> >> vga1 at pci0 dev 2 function 0 "InnoTek VirtualBox Graphics Adapter" rev 
> >> 0x00
> >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> >> em0 at pci0 dev 3 function 0 "Intel 82540EM" rev 0x02: apic 2 int 19, 
> >> address 08:00:27:4e:af:77
> >> "InnoTek VirtualBox Guest Service" rev 0x00 at pci0 dev 4 function 0 not 
> >> configured
> >> ohci0 at pci0 dev 6 function 0 "Apple Intrepid USB" rev 0x00: apic 2 int 
> >> 22, version 1.0
> >> piixpm0 at pci0 dev 7 function 0 "Intel 82371AB Power" rev 0x08: apic 2 
> >> int 23
> >> iic0 at piixpm0
> >> isa0 at pcib0
> >> isadma0 at isa0
> >> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> >> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> >> pckbd0 at pckbc0 (kbd slot)
> >> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> >> pms0 at pckbc0 (aux slot)
> >> wsmouse0 at pms0 mux 0
> >> pcppi0 at isa0 port 0x61
> >> spkr0 at pcppi0
> >> usb0 at ohci0: USB revision 1.0
> >> uhub0 at usb0 configuration 1 interface 0 "Apple OHCI root hub" rev 
> >> 1.00/1.00 addr 1
> >> vmm at mainbus0 not configured
> >> vscsi0 at root
> >> scsibus2 at vscsi0: 256 targets
> >> softraid0 at root
> >> scsibus3 at softraid0: 256 targets
> >> root on wd0a (0726640cbb73e288.a) swap on wd0b dump on wd0b
> >> o
> >> On Wed, Sep 07, 2016 at 08:50:02AM -0700, Mike Larkin wrote:
> >> > On Wed, Sep 07, 2016 at 09:43:47PM +0300, Mart T??nso wrote:
> >> > > Hello,
> >> > >
> >> > > I'm trying to get vmd working, but am failing so far.
> >> > >
> >> > > What I've done:
> >> > >
> >> > > Custom kernel config to enable vmm:
> >> > >
> >> > > include "arch/amd64/conf/GENERIC"
> >> > >
> >> > > option  MULTIPROCESSOR
> >> > > #option MP_LOCKDEBUG
> >> > >
> >> 

OpenBSD 6.0 CDs arrived today

2016-09-07 Thread Kenneth Gober
Shipments of OpenBSD 6.0 CDs have started arriving, I'm in the USA,
New York area.

-ken



Re: Check for wxneeded option?

2016-09-07 Thread Karel Gardas
On Wed, Sep 7, 2016 at 8:22 PM, Theo de Raadt  wrote:
[...]
> Almost immediately after 6.0 unlocked, 6.0-current moved back to new
> harsher semantics.  That gives the ports guys the right model for
> pushing harder with labelling executables.  Progress sometimes takes
> a few cycles.

Thanks for explanation, I was also confused by this behavior.



Re: Check for wxneeded option?

2016-09-07 Thread Theo de Raadt
>Now, just out of curiosity with regard to java: I get a "/bsd:
>java(46091): mprotect W^X violation" message when I use it on
>6.0-release (on a filesystem mounted with wxallowed), it's not linked
>with the wxneeded option, and it still works.  How is that possible?
>Doesn't that contradict the release announcement ("We are pleased to
>announce the official release of OpenBSD 6.0. [...] W^X is now
>strictly enforced by default; a program can only violate it if the
>executable is marked with PT_OPENBSD_WXNEEDED and is located on a
>filesystem mounted with the wxallowed mount(8) option.)?

Glad you asked the question.  Leading up 6.0 I was pretty sure we
could pull it off.  As in, label all the bad executables.  But soon
the ports guys exposed that the situation is a nest of vipers.  Lots
of discussion about strategy.  Then we tuned the policy so that
wxallowed on the fileysstem is required for W^X violations to proceed
silently, otherwise a report is issued for the first operation a
program does which violates W^X.  You now you can judge the software
your system has installed.  It still runs, on that a filesystem which
lets it.  The ELF wxneeded flag silences the warning, as it was
designed.

As long as your /usr/local is a seperate partition, the rest of your
filesystems will be pure, rejecting W^X.  So sshd or ntpd will be
killed if it attempts a W^X violationg operation.  People who
hand-select "whole disk as /" lose again, but that is nothing new,
I've been preaching that message for almost 20 years.

Almost immediately after 6.0 unlocked, 6.0-current moved back to new
harsher semantics.  That gives the ports guys the right model for
pushing harder with labelling executables.  Progress sometimes takes
a few cycles.



Re: Verified Executables for OpenBSD?

2016-09-07 Thread Philip Guenther
On Wed, Sep 7, 2016 at 9:19 AM, Simeon Benjamin  wrote:
> hi mom! http://www.users.on.net/~blymn/veriexec/ Does OpenBSD has
> Verified Executables protection too? More detailed here:
> http://www.users.on.net/~blymn/veriexec/sexec.html Thanks!

No.



Re: mail aliases question

2016-09-07 Thread Marko Cupać
On Wed, 7 Sep 2016 13:36:42 + (UTC)
Christian Weisgerber  wrote:

> On 2016-09-07, Marko Cupać  wrote:
>
> > I noticed that locally originated email (such as daily outputs)
> > ends up in my user's mailbox - /var/mail/, and not in root's.
> > I never touched aliases file, never run newaliases.
> >
> > How is this enabled?
>
> /root/.forward
> This is created by the installer when you set up a user during
> installation.

That's it, thank you for clarification.

--
Before enlightenment - chop wood, draw water.
After  enlightenment - chop wood, draw water.

Marko Cupać
https://www.mimar.rs/



AMD graphics adapter hcl

2016-09-07 Thread Simon Mages
Hi there,

can somebody tell me which AMD graphics adapters are supported by the OpenBSD
kernel?

radeon(4) has a very big list of supported adapters or chip families. I
greped
a bit in /usr/src/sys/dev/pci/drm/radeon to see which ones are supported.

Am i right with the assumption that all chips of the recent years up to VERDE
are supported?

Im asking because my RADEON HD5850 died today and i have to replace it
because
the GPU of the APU im using is a KAVERI which seems is not supported.

cvs log tells me that the current state of the radeon/amd kernel driver is
based on Linux 3.8.13. Is somebody working on an update for that? I have no
idea how much work it is though. My knowledge of graphics stuff is rather
limited...

dmesg:
OpenBSD 6.0-current (GENERIC.MP) #1: Mon Sep  5 23:03:49 CEST 2016
r...@satan.lan:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 7433760768 (7089MB)
avail mem = 7203934208 (6870MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xebf50 (19 entries)
bios0: vendor American Megatrends Inc. version "P2.70" date 05/22/2015
bios0: ASRock FM2A75M-HD+
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG HPET AAFT SSDT SSDT CRAT SSDT
acpi0: wakeup devices PB21(S4) PB22(S4) PB31(S4) PB32(S4) PB33(S4)
PB34(S4) SBAZ(S4) PS2K(S4) UAR1(S4) P0PC(S4) OHC1(S4) EHC1(S4)
OHC2(S4) EHC2(S4) OHC3(S4) EHC3(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G, 3693.75 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
FSGSBASE,BMI1
cpu0: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G, 3693.29 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
FSGSBASE,BMI1
cpu1: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 18 (application processor)
cpu2: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G, 3693.29 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
FSGSBASE,BMI1
cpu2: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 19 (application processor)
cpu3: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G, 3693.29 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
FSGSBASE,BMI1
cpu3: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 5 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 6 pa 0xfec01000, version 21, 32 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt0: no apic found for irq 56
acpiprt0: no apic found for irq 57
acpiprt0: no apic found for irq 58
acpiprt0: no apic found for irq 59
acpiprt1 at acpi0: bus 1 (PB21)
acpiprt2 at 

Sun V100 with >127Gb drives on 6.0 supported and working now?

2016-09-07 Thread Daniel Ouellet
A quick question on this as I only notice this in the last few days by
accident actually, and I want to know if that's real or not.

I always used to re-install, but only rename my partition, not redoing
them. However I changed my auto-install as well and in the proceed
forgot to NOT partition above 127Gb  or to be exact 268,435,440 block of
512 bytes as in the pass the server ALWAYS crash if you try to go beyond
and the V100 simply doesn't support >127Gb.

I never had a problem with doing that, it's fine, but now I notice in
6.0 and may be earlier as well, just never tested it as it was a
discover by mistake this time around that I sure can format now drives
bigger then 127GB and no issue so far.

I am not saying it is good or normal or support or will work for ever. I
do not know, that's why my question is about.

Is this due to the work done in disklabel and all a few years ago and is
now somehow bypassing the BIOS or what ever it is on the V100 now that
is it possible to use drive bigger then 127GB?

Am I shooting myself in the foot if I try now as so far I haven't see
any problems doing it, but it's been only a week so far.

I would very much appreciate to know for sure as I still run >100 of
them. Nothing critical on these servers, but extending them more would
be nice as so many new one are put in place, not having to replace these
too for lack of space is nice as I still have plenty of new IDE drives
in boxes as I did purchase them in bulk years ago planing ahead for dead
one, that still run great.

Anyone knows for sure if >127GB is no problem to use at all now on these
so loved servers?

Thanks,

Daniel



Verified Executables for OpenBSD?

2016-09-07 Thread Simeon Benjamin
hi mom! http://www.users.on.net/~blymn/veriexec/ Does OpenBSD has
Verified Executables protection too? More detailed here:
http://www.users.on.net/~blymn/veriexec/sexec.html Thanks!



Re: can't get vmd to work on current

2016-09-07 Thread Mart Tõnso
>> OpenBSD 6.0-current (TIMMU) #4: Wed Sep  7 00:35:13 EEST 2016
>
> Not going to help with custom kernels. Work on -current on real

Only reason that I'm using a custom kernel is to enable vmm, so this
is a catch 22.

> hardware with a standard kernel if you want to play with vmm please.

Hm, yes, bare metal makes sense

---
Regards,

Mart

> -ml
>
>> r...@bsd1.lan:/usr/src/sys/arch/amd64/compile/TIMMU
>> real mem = 1056899072 (1007MB)
>> avail mem = 1020399616 (973MB)
>> mpath0 at root
>> scsibus0 at mpath0: 256 targets
>> mainbus0 at root
>> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries)
>> bios0: vendor innotek GmbH version "VirtualBox" date 12/01/2006
>> bios0: innotek GmbH VirtualBox
>> acpi0 at bios0: rev 2
>> acpi0: sleep states S0 S5
>> acpi0: tables DSDT FACP APIC SSDT
>> acpi0: wakeup devices
>> acpitimer0 at acpi0: 3579545 Hz, 32 bits
>> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
>> cpu0 at mainbus0: apid 0 (boot processor)
>> cpu0: Intel(R) Pentium(R) CPU G4400 @ 3.30GHz, 3312.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,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,RDRAND,NXE,LONG,LAHF,ABM,3DNOWP,ITSC,RDSEED,CLFLUSHOPT
>> cpu0: 256KB 64b/line 8-way L2 cache
>> cpu0: smt 0, core 0, package 0
>> mtrr: CPU supports MTRRs but not enabled by BIOS
>> cpu0: apic clock running at 1009MHz
>> cpu1 at mainbus0: apid 1 (application processor)
>> cpu1: Intel(R) Pentium(R) CPU G4400 @ 3.30GHz, 3345.27 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,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,RDRAND,NXE,LONG,LAHF,ABM,3DNOWP,ITSC,RDSEED,CLFLUSHOPT
>> cpu1: 256KB 64b/line 8-way L2 cache
>> cpu1: smt 0, core 1, package 0
>> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpicpu0 at acpi0: C1(@1 halt!)
>> acpicpu1 at acpi0: C1(@1 halt!)
>> "PNP0303" at acpi0 not configured
>> "PNP0F03" at acpi0 not configured
>> "PNP0501" at acpi0 not configured
>> acpiac0 at acpi0: AC unit online
>> acpivideo0 at acpi0: GFX0
>> pci0 at mainbus0 bus 0
>> pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
>> pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
>> pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 
>> 0 configured to compatibility, channel 1 configured to compatibility
>> wd0 at pciide0 channel 0 drive 0: 
>> wd0: 128-sector PIO, LBA, 20480MB, 41943040 sectors
>> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
>> atapiscsi0 at pciide0 channel 1 drive 0
>> scsibus1 at atapiscsi0: 2 targets
>> cd0 at scsibus1 targ 0 lun 0:  ATAPI 5/cdrom removable
>> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
>> vga1 at pci0 dev 2 function 0 "InnoTek VirtualBox Graphics Adapter" rev 0x00
>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>> em0 at pci0 dev 3 function 0 "Intel 82540EM" rev 0x02: apic 2 int 19, 
>> address 08:00:27:4e:af:77
>> "InnoTek VirtualBox Guest Service" rev 0x00 at pci0 dev 4 function 0 not 
>> configured
>> ohci0 at pci0 dev 6 function 0 "Apple Intrepid USB" rev 0x00: apic 2 int 22, 
>> version 1.0
>> piixpm0 at pci0 dev 7 function 0 "Intel 82371AB Power" rev 0x08: apic 2 int 
>> 23
>> iic0 at piixpm0
>> isa0 at pcib0
>> isadma0 at isa0
>> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
>> pckbd0 at pckbc0 (kbd slot)
>> wskbd0 at pckbd0: console keyboard, using wsdisplay0
>> pms0 at pckbc0 (aux slot)
>> wsmouse0 at pms0 mux 0
>> pcppi0 at isa0 port 0x61
>> spkr0 at pcppi0
>> usb0 at ohci0: USB revision 1.0
>> uhub0 at usb0 configuration 1 interface 0 "Apple OHCI root hub" rev 
>> 1.00/1.00 addr 1
>> vmm at mainbus0 not configured
>> vscsi0 at root
>> scsibus2 at vscsi0: 256 targets
>> softraid0 at root
>> scsibus3 at softraid0: 256 targets
>> root on wd0a (0726640cbb73e288.a) swap on wd0b dump on wd0b
>> o
>> On Wed, Sep 07, 2016 at 08:50:02AM -0700, Mike Larkin wrote:
>> > On Wed, Sep 07, 2016 at 09:43:47PM +0300, Mart T??nso wrote:
>> > > Hello,
>> > >
>> > > I'm trying to get vmd working, but am failing so far.
>> > >
>> > > What I've done:
>> > >
>> > > Custom kernel config to enable vmm:
>> > >
>> > > include "arch/amd64/conf/GENERIC"
>> > >
>> > > option  MULTIPROCESSOR
>> > > #option MP_LOCKDEBUG
>> > >
>> > > cpu*at mainbus?
>> > >
>> > > # enable vmm
>> > > vmm0   at mainbus0
>> > > # EOF
>> > >
>> > >
>> > > /etc/vm.conf:
>> > > # vm.conf
>> > > sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"
>> > >
>> > > # OpenBSD snapshot install test
>> > > vm "openbsd.vm" {
>> > > memory 512M
>> > > kernel $sets "bsd.rd"
>> > >
>> > > # First disk from 'vmctl create "/home/vm/OpenBSD.img" -s 4G'
>> > > disk "/home/vm/OpenBSD.img"

Re: can't get vmd to work on current

2016-09-07 Thread David Coppa
Il 7 settembre 2016 20:43:47 CEST, "Mart Tõnso"  ha scritto:
>Hello,
>
>I'm trying to get vmd working, but am failing so far.
>
>What I've done:
>
>Custom kernel config to enable vmm:
>
>include "arch/amd64/conf/GENERIC"
>
>option  MULTIPROCESSOR
>#option MP_LOCKDEBUG
>
>cpu*at mainbus?
>
># enable vmm
>vmm0   at mainbus0
># EOF
>
>
>/etc/vm.conf:
># vm.conf
>sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"
>
># OpenBSD snapshot install test
>vm "openbsd.vm" {
>memory 512M
>kernel $sets "bsd.rd"
>
># First disk from 'vmctl create "/home/vm/OpenBSD.img" -s 4G'
>disk "/home/vm/OpenBSD.img"
>
># Second disk from OpenBSD contains the install sets
>disk $sets "install59.fs"
>
> # Interface will show up as tap(4) on the host and as vio(4) in the VM
>interfaces 1
>}
># EOF
>
>
>And this is where it all falls apart:
>
># vmd -vd
>vmd: /dev/vmm: Operation not supported by device
>
>
>What am I missing here?

Show your dmesg!

And, in particular:

dmesg | grep vmm

Ciao!
David



Re: can't get vmd to work on current

2016-09-07 Thread Mike Larkin
On Wed, Sep 07, 2016 at 09:55:17PM +0300, Mart T??nso wrote:
> Pardon me, dmesg follows. This is inside a Virtualbox VM for "testing
> purposes".

vmm at mainbus0 not configured

Whatever you're trying to do on your host, it's not passing through
VT-x features.

> 
> OpenBSD 6.0-current (TIMMU) #4: Wed Sep  7 00:35:13 EEST 2016

Not going to help with custom kernels. Work on -current on real
hardware with a standard kernel if you want to play with vmm please.

-ml

> r...@bsd1.lan:/usr/src/sys/arch/amd64/compile/TIMMU
> real mem = 1056899072 (1007MB)
> avail mem = 1020399616 (973MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries)
> bios0: vendor innotek GmbH version "VirtualBox" date 12/01/2006
> bios0: innotek GmbH VirtualBox
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S5
> acpi0: tables DSDT FACP APIC SSDT
> acpi0: wakeup devices
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Pentium(R) CPU G4400 @ 3.30GHz, 3312.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,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,RDRAND,NXE,LONG,LAHF,ABM,3DNOWP,ITSC,RDSEED,CLFLUSHOPT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: CPU supports MTRRs but not enabled by BIOS
> cpu0: apic clock running at 1009MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Pentium(R) CPU G4400 @ 3.30GHz, 3345.27 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,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,RDRAND,NXE,LONG,LAHF,ABM,3DNOWP,ITSC,RDSEED,CLFLUSHOPT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpicpu0 at acpi0: C1(@1 halt!)
> acpicpu1 at acpi0: C1(@1 halt!)
> "PNP0303" at acpi0 not configured
> "PNP0F03" at acpi0 not configured
> "PNP0501" at acpi0 not configured
> acpiac0 at acpi0: AC unit online
> acpivideo0 at acpi0: GFX0
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
> pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
> pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
> configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide0 channel 0 drive 0: 
> wd0: 128-sector PIO, LBA, 20480MB, 41943040 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0:  ATAPI 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> vga1 at pci0 dev 2 function 0 "InnoTek VirtualBox Graphics Adapter" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> em0 at pci0 dev 3 function 0 "Intel 82540EM" rev 0x02: apic 2 int 19, address 
> 08:00:27:4e:af:77
> "InnoTek VirtualBox Guest Service" rev 0x00 at pci0 dev 4 function 0 not 
> configured
> ohci0 at pci0 dev 6 function 0 "Apple Intrepid USB" rev 0x00: apic 2 int 22, 
> version 1.0
> piixpm0 at pci0 dev 7 function 0 "Intel 82371AB Power" rev 0x08: apic 2 int 23
> iic0 at piixpm0
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0 configuration 1 interface 0 "Apple OHCI root hub" rev 1.00/1.00 
> addr 1
> vmm at mainbus0 not configured
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on wd0a (0726640cbb73e288.a) swap on wd0b dump on wd0b
> o
> On Wed, Sep 07, 2016 at 08:50:02AM -0700, Mike Larkin wrote:
> > On Wed, Sep 07, 2016 at 09:43:47PM +0300, Mart T??nso wrote:
> > > Hello,
> > > 
> > > I'm trying to get vmd working, but am failing so far.
> > > 
> > > What I've done:
> > > 
> > > Custom kernel config to enable vmm:
> > > 
> > > include "arch/amd64/conf/GENERIC"
> > > 
> > > option  MULTIPROCESSOR
> > > #option MP_LOCKDEBUG
> > > 
> > > cpu*at mainbus?
> > > 
> > > # enable vmm
> > > vmm0   at mainbus0
> > > # EOF
> > > 
> > > 
> > > /etc/vm.conf:
> > > # vm.conf
> > > sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"
> > > 
> > > # OpenBSD snapshot install test
> > > vm "openbsd.vm" {
> > > memory 512M
> > > kernel $sets "bsd.rd"
> > > 
> > > # First disk from 'vmctl create "/home/vm/OpenBSD.img" -s 4G'
> > > disk 

Re: can't get vmd to work on current

2016-09-07 Thread Mart Tõnso
Pardon me, dmesg follows. This is inside a Virtualbox VM for "testing
purposes".

OpenBSD 6.0-current (TIMMU) #4: Wed Sep  7 00:35:13 EEST 2016
r...@bsd1.lan:/usr/src/sys/arch/amd64/compile/TIMMU
real mem = 1056899072 (1007MB)
avail mem = 1020399616 (973MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries)
bios0: vendor innotek GmbH version "VirtualBox" date 12/01/2006
bios0: innotek GmbH VirtualBox
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP APIC SSDT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) CPU G4400 @ 3.30GHz, 3312.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,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,RDRAND,NXE,LONG,LAHF,ABM,3DNOWP,ITSC,RDSEED,CLFLUSHOPT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: CPU supports MTRRs but not enabled by BIOS
cpu0: apic clock running at 1009MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) CPU G4400 @ 3.30GHz, 3345.27 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,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,RDRAND,NXE,LONG,LAHF,ABM,3DNOWP,ITSC,RDSEED,CLFLUSHOPT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
"PNP0303" at acpi0 not configured
"PNP0F03" at acpi0 not configured
"PNP0501" at acpi0 not configured
acpiac0 at acpi0: AC unit online
acpivideo0 at acpi0: GFX0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 128-sector PIO, LBA, 20480MB, 41943040 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
vga1 at pci0 dev 2 function 0 "InnoTek VirtualBox Graphics Adapter" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 3 function 0 "Intel 82540EM" rev 0x02: apic 2 int 19, address 
08:00:27:4e:af:77
"InnoTek VirtualBox Guest Service" rev 0x00 at pci0 dev 4 function 0 not 
configured
ohci0 at pci0 dev 6 function 0 "Apple Intrepid USB" rev 0x00: apic 2 int 22, 
version 1.0
piixpm0 at pci0 dev 7 function 0 "Intel 82371AB Power" rev 0x08: apic 2 int 23
iic0 at piixpm0
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Apple OHCI root hub" rev 1.00/1.00 
addr 1
vmm at mainbus0 not configured
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (0726640cbb73e288.a) swap on wd0b dump on wd0b
o
On Wed, Sep 07, 2016 at 08:50:02AM -0700, Mike Larkin wrote:
> On Wed, Sep 07, 2016 at 09:43:47PM +0300, Mart T??nso wrote:
> > Hello,
> > 
> > I'm trying to get vmd working, but am failing so far.
> > 
> > What I've done:
> > 
> > Custom kernel config to enable vmm:
> > 
> > include "arch/amd64/conf/GENERIC"
> > 
> > option  MULTIPROCESSOR
> > #option MP_LOCKDEBUG
> > 
> > cpu*at mainbus?
> > 
> > # enable vmm
> > vmm0   at mainbus0
> > # EOF
> > 
> > 
> > /etc/vm.conf:
> > # vm.conf
> > sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"
> > 
> > # OpenBSD snapshot install test
> > vm "openbsd.vm" {
> > memory 512M
> > kernel $sets "bsd.rd"
> > 
> > # First disk from 'vmctl create "/home/vm/OpenBSD.img" -s 4G'
> > disk "/home/vm/OpenBSD.img"
> > 
> > # Second disk from OpenBSD contains the install sets
> > disk $sets "install59.fs"
> > 
> > # Interface will show up as tap(4) on the host and as vio(4) in the 
> > VM
> > interfaces 1
> > }
> > # EOF
> > 
> > 
> > And this is where it all falls apart:
> > 
> > # vmd -vd
> > vmd: /dev/vmm: Operation not supported by device
> > 
> > 
> > What am I missing here?
> > 
> > ---
> > Regards,
> > 
> > Mart
> > 
> 
> Probably unsupported cpu. But you didn't give us even a dmesg, so who knows.



Re: can't get vmd to work on current

2016-09-07 Thread Mike Larkin
On Wed, Sep 07, 2016 at 09:43:47PM +0300, Mart T??nso wrote:
> Hello,
> 
> I'm trying to get vmd working, but am failing so far.
> 
> What I've done:
> 
> Custom kernel config to enable vmm:
> 
> include "arch/amd64/conf/GENERIC"
> 
> option  MULTIPROCESSOR
> #option MP_LOCKDEBUG
> 
> cpu*at mainbus?
> 
> # enable vmm
> vmm0   at mainbus0
> # EOF
> 
> 
> /etc/vm.conf:
> # vm.conf
> sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"
> 
> # OpenBSD snapshot install test
> vm "openbsd.vm" {
> memory 512M
> kernel $sets "bsd.rd"
> 
> # First disk from 'vmctl create "/home/vm/OpenBSD.img" -s 4G'
> disk "/home/vm/OpenBSD.img"
> 
> # Second disk from OpenBSD contains the install sets
> disk $sets "install59.fs"
> 
> # Interface will show up as tap(4) on the host and as vio(4) in the VM
> interfaces 1
> }
> # EOF
> 
> 
> And this is where it all falls apart:
> 
> # vmd -vd
> vmd: /dev/vmm: Operation not supported by device
> 
> 
> What am I missing here?
> 
> ---
> Regards,
> 
> Mart
> 

Probably unsupported cpu. But you didn't give us even a dmesg, so who knows.



Re: Check for wxneeded option?

2016-09-07 Thread Philippe Meunier
Stuart Henderson wrote:
>Java was not linked with the wxneeded linker option in 6.0.

Okay, I tried with another program that I know does require the
wxneeded linker option and indeed 'readelf -l' then shows
OPENBSD_WXNEED.  So my original question had indeed been answered, I
was just mistakenly using the wrong example program.  Thanks everyone.

Now, just out of curiosity with regard to java: I get a "/bsd:
java(46091): mprotect W^X violation" message when I use it on
6.0-release (on a filesystem mounted with wxallowed), it's not linked
with the wxneeded option, and it still works.  How is that possible?
Doesn't that contradict the release announcement ("We are pleased to
announce the official release of OpenBSD 6.0. [...] W^X is now
strictly enforced by default; a program can only violate it if the
executable is marked with PT_OPENBSD_WXNEEDED and is located on a
filesystem mounted with the wxallowed mount(8) option.)?

Thanks,

Philippe



can't get vmd to work on current

2016-09-07 Thread Mart Tõnso
Hello,

I'm trying to get vmd working, but am failing so far.

What I've done:

Custom kernel config to enable vmm:

include "arch/amd64/conf/GENERIC"

option  MULTIPROCESSOR
#option MP_LOCKDEBUG

cpu*at mainbus?

# enable vmm
vmm0   at mainbus0
# EOF


/etc/vm.conf:
# vm.conf
sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"

# OpenBSD snapshot install test
vm "openbsd.vm" {
memory 512M
kernel $sets "bsd.rd"

# First disk from 'vmctl create "/home/vm/OpenBSD.img" -s 4G'
disk "/home/vm/OpenBSD.img"

# Second disk from OpenBSD contains the install sets
disk $sets "install59.fs"

# Interface will show up as tap(4) on the host and as vio(4) in the VM
interfaces 1
}
# EOF


And this is where it all falls apart:

# vmd -vd
vmd: /dev/vmm: Operation not supported by device


What am I missing here?

---
Regards,

Mart



Re: mail aliases question

2016-09-07 Thread Christian Weisgerber
On 2016-09-07, Marko Cupać  wrote:

> I noticed that locally originated email (such as daily outputs) ends up
> in my user's mailbox - /var/mail/, and not in root's. I never
> touched aliases file, never run newaliases.
>
> How is this enabled?

/root/.forward
This is created by the installer when you set up a user during
installation.

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



Re: spamd question

2016-09-07 Thread Kasper Haitsma
> You've got 2 5.0 machines syncing.
>
> Can you get 2 5.9 machines syncing?
No, unfortunately not
When I telnet (port 25) into a 5.9 box, a GREY entry is created on
that box, but it is not synced to the other 5.9 box, nor are WHITE
entries

5.0 -> 5.0 sync OK (since before I came to this company)
5.0 -> 5.9 no sync (packages sent, but nothing in spamdb)
5.9 -> 5.9 nothing at all

pf.conf is the same on all 4 boxes
spamd_flags similar (-h -y -Y: hardware/host specific)

Thnx



Re: mail aliases question

2016-09-07 Thread Callum R. Davies
Your user was added to /etc/aliases by the installer, when the account
was created.

On Wed, Sep 07, 2016 at 02:25:19PM +0200, Marko Cupa?? wrote:
> Hi,
> 
> I noticed that locally originated email (such as daily outputs) ends up
> in my user's mailbox - /var/mail/, and not in root's. I never
> touched aliases file, never run newaliases.
> 
> How is this enabled?
> 
> Thank you in advance,
> --
> Before enlightenment - chop wood, draw water.
> After  enlightenment - chop wood, draw water.
> 
> Marko Cupa??
> https://www.mimar.rs/



mail aliases question

2016-09-07 Thread Marko Cupać
Hi,

I noticed that locally originated email (such as daily outputs) ends up
in my user's mailbox - /var/mail/, and not in root's. I never
touched aliases file, never run newaliases.

How is this enabled?

Thank you in advance,
--
Before enlightenment - chop wood, draw water.
After  enlightenment - chop wood, draw water.

Marko Cupać
https://www.mimar.rs/



Regression in sys/dev/acpi/dwiic.c

2016-09-07 Thread Callum R. Davies
I use an Asus X205TA, which is an irritating system with an I2C HID
keyboard.  As of revision 1.18 of sys/dev/acpi/dwiic.c, I have been
unable to upgrade to the latest snapshots as said keyboard fails to
attach during boot.

The following patch appears to resolve the problem.  Also included is a
dmesg (from an earlier kernel).

Index: sys/dev/acpi/dwiic.c
===
RCS file: /cvs/src/sys/dev/acpi/dwiic.c,v
retrieving revision 1.20
diff -u -p -r1.20 dwiic.c
--- sys/dev/acpi/dwiic.c1 Sep 2016 10:04:51 -   1.20
+++ sys/dev/acpi/dwiic.c7 Sep 2016 09:33:54 -
@@ -1014,9 +1014,6 @@ dwiic_i2c_exec(void *cookie, i2c_op_t op
}
}
 
-   /* disable controller */
-   dwiic_enable(sc, 0);
-
sc->sc_busy = 0;
 
return 0;

OpenBSD 6.0-current (GENERIC.MP) #2353: Sat Aug 13 11:34:33 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 3f
real mem = 2063134720 (1967MB)
avail mem = 1996189696 (1903MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7c31a010 (16 entries)
bios0: vendor American Megatrends Inc. version "X205TA.208" date 12/18/2014
bios0: ASUSTeK COMPUTER INC. X205TA
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP TCPA UEFI OEM0 DBG2 HPET LPIT APIC MCFG SSDT SSDT SSDT 
SSDT FPDT SSDT SSDT SSDT SSDT TPM2 BGRT CSRT MSDM
acpi0: wakeup devices WLAN(S0) RTLW(S0)
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz, 1333.57 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu0: 1MB 64b/line 16-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 83MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz, 1333.34 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu1: 1MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz, 1333.34 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu2: 1MB 64b/line 16-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz, 1333.34 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu3: 1MB 64b/line 16-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 87 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0: not present
acpicpu0 at acpi0
C3: state 7: substate 4 >= num 3: C2(10@500 mwait.1@0x51), C1(1000@1 mwait.1), 
PSS
acpicpu1 at acpi0
C3: state 7: substate 4 >= num 3: C2(10@500 mwait.1@0x51), C1(1000@1 mwait.1), 
PSS
acpicpu2 at acpi0
C3: state 7: substate 4 >= num 3: C2(10@500 mwait.1@0x51), C1(1000@1 mwait.1), 
PSS
acpicpu3 at acpi0
C3: state 7: substate 4 >= num 3: C2(10@500 mwait.1@0x51), C1(1000@1 mwait.1), 
PSS
acpipwrres0 at acpi0: PLPE
acpipwrres1 at acpi0: USBC, resource for XHC1, EHC1, OTG1
acpipwrres2 at acpi0: CLK0, resource for CAM1
acpipwrres3 at acpi0: CLK1, resource for CAM0
acpipwrres4 at acpi0: P28X
acpipwrres5 at acpi0: P18X
acpipwrres6 at acpi0: P28P
acpipwrres7 at acpi0: P18P
acpipwrres8 at acpi0: P28T, resource for CAM0, CAM1
acpipwrres9 at acpi0: P18T, resource for CAM0, CAM1
acpipwrres10 at acpi0: P1XT
acpitz0 at acpi0: no critical temperature defined
"INT3396" at acpi0 not configured
"PNP0501" at acpi0 not configured
"80860F28" at acpi0 not configured
"INT0002" at acpi0 not configured
bytgpio0 at acpi0: GPO0 uid 1 addr 0xfed0c000/0x1000 irq 49, 102 pins
bytgpio1 at acpi0: GPO1 uid 2 addr 0xfed0d000/0x1000 irq 48, 28 pins
bytgpio2 at 

Re: OpenBSD 6.0 panic

2016-09-07 Thread Bastien Durel
Le vendredi 02 septembre 2016 à 18:25 +0200, Bastien Durel a écrit :
> Hello.
> 
> I upgraded my router to 6.0 yesterday, and now I got a panic each
> time
> I reboot it.
> 
> Here is a console log :
> 
> #
> reboot   
>  
> stopping package daemons: munin_node svscanpanic: kernel diagnostic
> assertion "ifp != NULL" failed: file "../../../../net/route.c", line
> 902
> Starting stack trace...
> panic() at panic+0x10b
> __assert() at __assert+0x25
> rtrequest_delete() at rtrequest_delete+0x206
> rtrequest() at rtrequest+0x247
> route_output() at route_output+0x4e8
> raw_usrreq() at raw_usrreq+0x217
> route_usrreq() at route_usrreq+0x6e
> sosend() at sosend+0x3c8
> dofilewritev() at dofilewritev+0x205
> sys_writev() at sys_writev+0x6d
> syscall() at syscall+0x27b
> --- syscall (number 121) ---
> end of kernel
> end trace frame: 0x4, count: 246
> 0xa46bf29a62a:
> End of stack trace.
> syncing disks... 14 12 12 12 12 12 12 12 12 12 12 12 8 8 8 8 8 8 8 8
> giving up
> 
> dumping to dev 4,1 offset 492607
> dump 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496
> 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479
> 47d
> 
> 
> rebooting...
> 
I saw the dmesg was missing, stripped down by dmime, so I'll include it
inline.
The panic occurs each time openvpn is shut down, not only at host
shutdown ; I guess it's related to interface removal.

My openvpn interfaces are configured in TAP mode.

booting hd0a:/bsd: 6892100+2179088+267272+0+663552
[72+726576+483179]=0xab3868
entry point at 0x1001000 [7205c766, 3404, 24448b12, 3be0a304]
 [
using 1210472 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights
reserved.
Copyright (c) 1995-2016 OpenBSD. All rights reserved.  http://www.OpenB
SD.org

OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.M
P
real mem = 519962624 (495MB)
avail mem = 499789824 (476MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0
acpi at bios0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Genuine Intel(R) CPU @ 600MHz, 600.08 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DSR
cpu0: 512KB 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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2.0.3, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU @ 600MHz, 600.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DSR
cpu1: 512KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
mpbios0: bus 0 is type PCI   
mpbios0: bus 64 is type ISA   
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x4115
rev 0x05
pchb1 at pci0 dev 1 function 0 "Intel E600 Config" rev 0x00
ppb0 at pci0 dev 23 function 0 "Intel E600 PCIE" rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 "Intel EG20T PCIE" rev 0x01
pci2 at ppb1 bus 2
"Intel EG20T Packet Hub" rev 0x01 at pci2 dev 0 function 0 not
configured
"Intel EG20T Ethernet" rev 0x02 at pci2 dev 0 function 1 not configured
"Intel EG20T GPIO" rev 0x01 at pci2 dev 0 function 2 not configured
ohci0 at pci2 dev 2 function 0 "Intel EG20T USB" rev 0x02: apic 0 int
19, version 1.0
ohci1 at pci2 dev 2 function 1 "Intel EG20T USB" rev 0x02: apic 0 int
19, version 1.0
ohci2 at pci2 dev 2 function 2 "Intel EG20T USB" rev 0x02: apic 0 int
19, version 1.0
ehci0 at pci2 dev 2 function 3 "Intel EG20T USB" rev 0x02: apic 0 int
19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
"Intel EG20T USB Client" rev 0x02 at pci2 dev 2 function 4 not
configured
sdhc0 at pci2 dev 4 function 0 "Intel EG20T SDIO" rev 0x01: apic 0 int
18
sdhc0: SDHC 1.0, 50 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
sdhc1 at pci2 dev 4 function 1 "Intel EG20T SDIO" rev 0x01: apic 0 int
18
sdhc1: SDHC 1.0, 50 MHz base clock
sdmmc1 at sdhc1: 4-bit, sd high-speed, mmc high-speed
ahci0 at pci2 dev 6 function 0 "Intel EG20T AHCI" rev 0x02: msi, AHCI
1.1
ahci0: port 0: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI3
0/direct fixed naa.50026b7253081a83
sd0: 28626MB, 512 bytes/sector, 58626288 sectors, thin
ohci3 at pci2 dev 8 function 0 "Intel EG20T USB" rev 0x02: apic 0 int
16, version 1.0
ohci4 at pci2 dev 8 function 1 "Intel EG20T USB" rev 0x02: apic 0 int
16, version 1.0
ohci5