Re: CD's arrived

2015-10-08 Thread Aaron Poffenberger

On 10/08/15 16:13, ian kremlin wrote:

Hello

Syracuse, NY -- no CD, but poster has arrived. looks great!

http://ce.gl/openbsd-5.8-poster.jpg

ian

On Wed, Oct 7, 2015 at 10:51 AM, M Wheeler <6f84c...@refn.co.uk> wrote:

CD's arrived today UK. Thanks again.



Bonus points for effective use of Symbolics keyboard, manual and panel!



Re: xrandr: Failed to get size of gamma for output default

2015-09-24 Thread Aaron Poffenberger

On 09/20/15 16:35, Aaron Poffenberger wrote:

I mentioned this in my dmesg for the Thinkpad T450s but thought it might
also help others who have seen or may later see this issue to pull it
out as a separate email.

In addition to the xrandr issue below I can't change backlight settings.
Noting here in case they're related.

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080  0.00*

$ xbacklight -set 50
No outputs have backlight property

Any thoughts or suggestions?

Cheers,

--Aaron







This issue is resolved with the build from 2015-09-23.

This is now what I get back from xrandr:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 
309mm x 174mm

   1920x1080 60.02*+
   1400x1050 59.98
   1280x1024 60.02
   1280x960  60.00
   1024x768  60.00
   800x600   60.3256.25
   640x480   59.94
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

And with a monitor connected to Display Port with a DP -> DVI adapter:

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+1920+0 (normal left inverted right x axis y 
axis) 309mm x 174mm

   1920x1080 60.02*+
   1400x1050 59.98
   1280x1024 60.02
   1280x960  60.00
   1024x768  60.00
   800x600   60.3256.25
   640x480   59.94
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 
510mm x 287mm

   1920x1080 60.00*+
   1600x1200 60.00
   1680x1050 59.88
   1280x1024 60.02
   1440x900  59.90
   1280x960  60.00
   1280x800  59.91
   1024x768  60.00
   800x600   60.3256.25
   640x480   60.00
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

xbacklight -set also works.

Thanks!

--Aaron



Re: Suspend Hangs ThinkPad T450s

2015-09-21 Thread Aaron Poffenberger

On 09/20/15 17:07, Mark Kettenis wrote:

From: Aaron Poffenberger <a...@hypernote.com>
Date: Sun, 20 Sep 2015 16:39:54 -0500

Another issue I noted in the ThinkPad dmesg. Pulling out as separate
request for reference sake.

Suspending now hangs system
   - X11 disables correctly and screen goes dark
   - Light on power switch begins to blink
   - Screen comes back on at one of the consoles
   - Can hear fans begin to spin up
   - Keyboard unresponsive
   - Have to force reboot

This was not a problem with build from 2015-09-16.


Just committed a fix for this.

Sorry about the delay; I was a little busy making your video work better ;).



I installed from last-night's snapshot. Suspend/resume now work again.

Thanks!



xrandr: Failed to get size of gamma for output default

2015-09-20 Thread Aaron Poffenberger
I mentioned this in my dmesg for the Thinkpad T450s but thought it might 
also help others who have seen or may later see this issue to pull it 
out as a separate email.


In addition to the xrandr issue below I can't change backlight settings. 
Noting here in case they're related.


$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
  1920x1080  0.00*

$ xbacklight -set 50
No outputs have backlight property

Any thoughts or suggestions?

Cheers,

--Aaron

OpenBSD 5.8-current (GENERIC.MP) #1373: Sat Sep 19 20:30:49 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8255049728 (7872MB)
avail mem = 8000905216 (7630MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbcbfd000 (66 entries)
bios0: vendor LENOVO version "JBET47WW (1.12 )" date 03/10/2015
bios0: LENOVO 20BX001FUS
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC ASF! HPET ECDT APIC MCFG SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT SSDT SSDT PCCT SSDT TCPA SSDT UEFI MSDM BATB FPDT UEFI

acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.28 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.16 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.16 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.16 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpicpu0 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS

acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1
acpipwrres1 at acpi0: NVP3, resource for PEG_
acpipwrres2 at acpi0: NVP2, resource for PEG_
acpitz0 at acpi0: critical temperature is 128 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "45N" serial 12538 type LiP oem "SONY"
acpibat1 at acpi0: BAT1 model "45N1127" serial   420 type LION oem "LGC"
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 798 MHz: 

dmesg (current) Lenovo Thinkpad T450s

2015-09-20 Thread Aaron Poffenberger

* Notable Issue
  - Suspending now hangs system
- X11 disables correctly and screen goes dark
- Light on power switch begins to blink
- Screen comes back on at one of the consoles
- Can hear fans begin to spin up
- Keyboard unresponsive
- Have to force reboot
- Not a problem with build from 2015-09-16

* Display and X11
  - When X launches at boot the screen initially shows the ThinkPad
logo, repeated across the top and a repeating image of garbage or
a previous X session
- System is set to start X at run time via xdm(1)
  - xbacklight -set 50 returns "No outputs have backlight property"
  - xrandr returns error and partial results:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
  1920x1080  0.00*
* Keyboard
  - Function keys by default are disabled, have to use Fn key in lower
left corner to activate them
  - F2/F3 (Volume Up/Down) work, though mplayer gets confused about
initial state, has to be unmuted when initial focus passed to
mplayer window to get it right
  - F5/f6 (Brightness control) do nothing
* Suspend/Resume (build 2015-09-16)
  - Resumes but X doesn't come back
  - Same issue reported here
+ https://marc.info/?l=openbsd-misc=143821623332021=2
  - Switching to alternate console via ctrl-alt-fn {1,2,...} works
when Fn-lock is set (Fn-Esc), but is not reliable when you have to
add the Fn key into a function sequence, e.g., Fn-ctrl-alt-fn1.

Frequently I see the esc sequence itself typed instead or I'm able
to switch to an alternate console but then can't get back. Again,
locking the Fn key on resolves this issue.
* Trackpad
  - Works very well, super sensitive to the point that setting
TapButton{1..3} to 0 is the best option.

OpenBSD 5.8-current (GENERIC.MP) #1373: Sat Sep 19 20:30:49 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8255049728 (7872MB)
avail mem = 8000905216 (7630MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbcbfd000 (66 entries)
bios0: vendor LENOVO version "JBET47WW (1.12 )" date 03/10/2015
bios0: LENOVO 20BX001FUS
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC ASF! HPET ECDT APIC MCFG SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT SSDT SSDT PCCT SSDT TCPA SSDT UEFI MSDM BATB FPDT UEFI

acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.28 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.16 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.16 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.16 MHz
cpu3: 

Suspend Hangs ThinkPad T450s

2015-09-20 Thread Aaron Poffenberger
Another issue I noted in the ThinkPad dmesg. Pulling out as separate 
request for reference sake.


Suspending now hangs system
 - X11 disables correctly and screen goes dark
 - Light on power switch begins to blink
 - Screen comes back on at one of the consoles
 - Can hear fans begin to spin up
 - Keyboard unresponsive
 - Have to force reboot

This was not a problem with build from 2015-09-16.

Cheers,

--Aaron

OpenBSD 5.8-current (GENERIC.MP) #1373: Sat Sep 19 20:30:49 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8255049728 (7872MB)
avail mem = 8000905216 (7630MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbcbfd000 (66 entries)
bios0: vendor LENOVO version "JBET47WW (1.12 )" date 03/10/2015
bios0: LENOVO 20BX001FUS
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC ASF! HPET ECDT APIC MCFG SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT SSDT SSDT PCCT SSDT TCPA SSDT UEFI MSDM BATB FPDT UEFI

acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.28 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.16 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.16 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 798.16 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT

cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpicpu0 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS

acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1
acpipwrres1 at acpi0: NVP3, resource for PEG_
acpipwrres2 at acpi0: NVP2, resource for PEG_
acpitz0 at acpi0: critical temperature is 128 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "45N" serial 12538 type LiP oem "SONY"
acpibat1 at acpi0: BAT1 model "45N1127" serial   420 type LION oem "LGC"
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 798 MHz: speeds: 2601, 2600, 2500, 2300, 2100, 
2000, 1800, 1700, 1500, 1400, 1200, 1100, 900, 800, 600, 500 MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 5G 

Re: dmesg (current) MacBook Air 5,2 (2012) Intel 1.8

2015-09-10 Thread Aaron Poffenberger

On 09/10/15 03:59, Stefan Sperling wrote:

On Wed, Sep 09, 2015 at 09:43:44PM -0500, Aaron Poffenberger wrote:

Occasional problems with loading firmware for urtwn as seen near the end of
this dmesg:
  urtwn0: could not load firmware page 1

I've also seen the same message for page 0.


Interesting. I don't think I've seen this before. How often does it occur?
Can you please apply the following patch and show us what it prints now?

Index: if_urtwn.c
===
RCS file: /cvs/src/sys/dev/usb/if_urtwn.c,v
retrieving revision 1.50
diff -u -p -r1.50 if_urtwn.c
--- if_urtwn.c  24 Aug 2015 04:07:38 -  1.50
+++ if_urtwn.c  10 Sep 2015 08:49:45 -
@@ -2575,8 +2575,8 @@ urtwn_load_firmware(struct urtwn_softc *
mlen = MIN(len, R92C_FW_PAGE_SIZE);
error = urtwn_fw_loadpage(sc, page, ptr, mlen);
if (error != 0) {
-   printf("%s: could not load firmware page %d\n",
-   sc->sc_dev.dv_xname, page);
+   printf("%s: could not load firmware page %d "
+   "(error %d)\n", sc->sc_dev.dv_xname, page, error);
goto fail;
}
ptr += mlen;



It usually happens after suspend/resume. Not after every resume but 
usually after the second or third.


The dmesg I sent was the first time I saw it at boot.

I'm setting up source on this system. I'll try the patch as soon as all 
the bits are in place.




dmesg (current) MacBook Air 5,2 (2012) Intel 1.8

2015-09-09 Thread Aaron Poffenberger
Occasional problems with loading firmware for urtwn as seen near the end 
of this dmesg:

 urtwn0: could not load firmware page 1

I've also seen the same message for page 0.

Suspend/resume is mostly reliable. I've seen the two issues noted in 
this thread.



1) Trackpad erratic after resume. The "xinput enable" trick works for me 
almost always. It didn't work with the 2015-09-07 build. It definitely 
work in this build.



2) Garbled text from keyboard on a text console when running X after 
suspend/resume is a still an issue.



I tried UEFI booting with both 2015-09-07 and 2015-09-09 builds. Hangs 
very early as seen in this image.



--Aaron

OpenBSD 5.8-current (RAMDISK_CD) #1242: Mon Sep  7 07:05:10 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
RTC BIOS diagnostic error 
ff

real mem = 4180746240 (3987MB)
avail mem = 4052320256 (3864MB)
mainbus0 at root
bios0 at mainbus0
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT SSDT SSDT DMAR MCFG

acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz, 1696.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,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus -1 (PEG2)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 3 (RP05)
memory map conflict 0xe00f8000/0x1000
memory map conflict 0xfed1c000/0x4000
memory map conflict 0xffe7/0x3
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation)
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
"Intel 7 Series HD Audio" rev 0x04 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 2
"Broadcom BCM43224" rev 0x01 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 4 "Intel 7 Series PCIE" rev 0xc4: msi
pci3 at ppb2 bus 3
ppb3 at pci3 dev 0 function 0 vendor "Intel", unknown product 0x1547 rev 
0x03

pci4 at ppb3 bus 4
ppb4 at pci4 dev 0 function 0 vendor "Intel", unknown product 0x1547 rev 
0x03: msi

pci5 at ppb4 bus 5
vendor "Intel", unknown product 0x1547 (class system subclass 
miscellaneous, rev 0x03) at pci5 dev 0 function 0 not configured
ppb5 at pci4 dev 3 function 0 vendor "Intel", unknown product 0x1547 rev 
0x03: msi

pci6 at ppb5 bus 6
ppb6 at pci4 dev 4 function 0 vendor "Intel", unknown product 0x1547 rev 
0x03: msi

pci7 at ppb6 bus 55
ppb7 at pci4 dev 5 function 0 vendor "Intel", unknown product 0x1547 rev 
0x03: msi

pci8 at ppb7 bus 104
ppb8 at pci4 dev 6 function 0 vendor "Intel", unknown product 0x1547 rev 
0x03: msi

pci9 at ppb8 bus 105
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 22
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
"Intel QS77 LPC" rev 0x04 at pci0 dev 31 function 0 not configured
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, 
AHCI 1.3

ahci0: port 0: 6.0Gb/s
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0:  SCSI3 
0/direct fixed naa.

sd0: 115712MB, 512 bytes/sector, 236978176 sectors, thin
"Intel 7 Series SMBus" rev 0x04 at pci0 dev 31 function 3 not configured
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo
urtwn0 at uhub0 port 1 configuration 1 interface 0 "Realtek Belkin 
Wireless Adapter" rev 2.00/2.00 addr 2

urtwn0: MAC/BB RTL8192CU, RF 

Re: dmesg (current): Intel Xeon E3-1246 - SuperMicro X10SLH-F/X10SLM+-F

2015-08-03 Thread Aaron Poffenberger

On 8/2/15 21:57, Aaron Poffenberger wrote:

OpenBSD 5.8 (GENERIC.MP) #1217: Fri Jul 31 11:54:10 MDT 2015
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17121144832 (16327MB)
avail mem = 16598364160 (15829MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec0f0 (36 entries)
bios0: vendor American Megatrends Inc. version 2.00 date 04/24/2014
bios0: Supermicro X10SLH-F/X10SLM+-F

snip

For those wondering what the difference is between the two motherboard 
dmesgs I posted:


https://marc.info/?l=openbsd-miscm=143857021029756w=2
X10SLM+-LN4F:
 - Intel C224
 - 4x SATA (6Gbps)
 - 2x SATA (3Gbps)
 - 4 em(4) NICs
 - 2 PCI
   - 1x PCI-E 3.0 x16,
   - 1x PCI-E 2.0 x2 (in x8)

https://marc.info/?l=openbsd-miscm=143857074729806w=2
X10SLH-F/X10SLM+-F
 - Intel C226
 - 2 em(4) NICs
 - 6x SATA (6Gbps)
 - 3 PCI
   - 1x PCI-E 3.0 x8 (in x16)
   - 1x PCI-E 3.0 x8 (in x8)
   - 1x PCI-E 2.0 x4 (in x8)

Both have a separate IPMI NIC.

The second board (X10SLH-F) has the C226 chipset so you get 6 6Gps SATA 
ports but the motherboard doesn't have any ports for the integrated 
video. It has VGA out but you'll need an external video card if you want 
Display Port despite the C226 supporting it.


--Aaron



dmesg (current): Intel Xeon E3-1246 - SuperMicro X10SLH-F/X10SLM+-F

2015-08-02 Thread Aaron Poffenberger

OpenBSD 5.8 (GENERIC.MP) #1217: Fri Jul 31 11:54:10 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17121144832 (16327MB)
avail mem = 16598364160 (15829MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec0f0 (36 entries)
bios0: vendor American Megatrends Inc. version 2.00 date 04/24/2014
bios0: Supermicro X10SLH-F/X10SLM+-F
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT SSDT SSDT SSDT SSDT SSDT MCFG PRAD 
HPET SSDT SSDT SPMI DMAR EINJ ERST HEST BERT
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) 
PEG2(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) 
RP04(S4) PXSX(S4) RP05(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) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.71 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu6: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu6: 256KB 64b/line 8-way L2 cache
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu7: 

dmesg (current): Intel Xeon E3-1246 - SuperMicro X10SLM+-LN4F with LSI SAS9211-8i

2015-08-02 Thread Aaron Poffenberger

OpenBSD 5.8 (GENERIC.MP) #1217: Fri Jul 31 11:54:10 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17119981568 (16326MB)
avail mem = 16597237760 (15828MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec0f0 (38 entries)
bios0: vendor American Megatrends Inc. version 2.00 date 04/24/2014
bios0: Supermicro X10SLM+-LN4F
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT SSDT SSDT SSDT SSDT SSDT MCFG PRAD 
HPET SSDT SSDT SPMI DMAR EINJ ERST HEST BERT
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) 
PEG2(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) 
RP04(S4) PXSX(S4) RP05(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) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.68 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu6: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT

cpu6: 256KB 64b/line 8-way L2 cache
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.00 MHz
cpu7: 

dmesg: Intel Xeon E3-1246 - SuperMicro X10SLM+-LN4F with LSI SAS9211-8i

2015-07-31 Thread Aaron Poffenberger

OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17121136640 (16327MB)
avail mem = 16661458944 (15889MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec0f0 (38 entries)
bios0: vendor American Megatrends Inc. version 2.00 date 04/24/2014
bios0: Supermicro X10SLM+-LN4F
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT SSDT SSDT SSDT SSDT SSDT MCFG PRAD 
HPET SSDT SSDT SPMI DMAR EINJ ERST HEST BERT
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) 
PEG2(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) 
RP04(S4) PXSX(S4) RP05(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) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3500.42 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,
TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,
MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,
LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,
ERMS,INVPCID,RTM
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3499.99 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,
TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,
MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,
LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,
ERMS,INVPCID,RTM
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3499.99 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,
TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,
MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,
LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,
ERMS,INVPCID,RTM
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3499.99 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,
TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,
MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,
LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,
ERMS,INVPCID,RTM
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3499.99 MHz
cpu4: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,
TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,
MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,
LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,
ERMS,INVPCID,RTM
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3499.99 MHz
cpu5: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,
TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,
MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,
LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,
ERMS,INVPCID,RTM
cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3499.99 MHz
cpu6: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,
TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,
MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,
LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,
ERMS,INVPCID,RTM
cpu6: 256KB 64b/line 8-way L2 cache
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz, 3499.99 MHz
cpu7: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,

dmesg: Intel Atom C2758 - SuperMicro A1SRi-2758F with LSI SAS9211-8i

2015-07-27 Thread Aaron Poffenberger
dmesg from a box that was en route to becoming a FreeNAS system. 
Everything I cared about as far as networking and disk management worked 
with one issue. smartctl was uneven about whether it get could get stats 
from the disks connected throught the LSI (mpii0).


The first two requests would work. Usually the third and subsequent 
would fail. Disk r/w operations would continue to work without issue.


--Aaron

OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 34314604544 (32724MB)
avail mem = 33397235712 (31850MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7f4d8000 (53 entries)
bios0: vendor American Megatrends Inc. version 1.1 date 01/09/2015
bios0: Supermicro A1SAi
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP FPDT FIDT SPMI MCFG WDAT UEFI APIC BDAT HPET 
SSDT HEST BERT ERST EINJ

acpi0: wakeup devices PEX1(S0) PEX2(S0) PEX3(S0) PEX4(S0) EHC1(S0)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU C2758 @ 2.40GHz, 2400.45 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

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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Atom(TM) CPU C2758 @ 2.40GHz, 2399.99 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

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 C2758 @ 2.40GHz, 2400.01 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

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 C2758 @ 2.40GHz, 2399.99 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

cpu3: 1MB 64b/line 16-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 8 (application processor)
cpu4: Intel(R) Atom(TM) CPU C2758 @ 2.40GHz, 2400.00 MHz
cpu4: 
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

cpu4: 1MB 64b/line 16-way L2 cache
cpu4: smt 0, core 4, package 0
cpu5 at mainbus0: apid 10 (application processor)
cpu5: Intel(R) Atom(TM) CPU C2758 @ 2.40GHz, 2399.99 MHz
cpu5: 
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

cpu5: 1MB 64b/line 16-way L2 cache
cpu5: smt 0, core 5, package 0
cpu6 at mainbus0: apid 12 (application processor)
cpu6: Intel(R) Atom(TM) CPU C2758 @ 2.40GHz, 2400.00 MHz
cpu6: 
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

cpu6: 1MB 64b/line 16-way L2 cache
cpu6: smt 0, core 6, package 0
cpu7 at mainbus0: apid 14 (application processor)
cpu7: Intel(R) Atom(TM) CPU C2758 @ 2.40GHz, 2399.99 MHz
cpu7: 
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

cpu7: 1MB 64b/line 16-way L2 cache
cpu7: smt 0, core 7, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 

Re: dmesg: Intel Atom C2758 - SuperMicro A1SRi-2758F with LSI SAS9211-8i

2015-07-27 Thread Aaron Poffenberger

On 7/27/15 11:20, Stefan Sperling wrote:

On Mon, Jul 27, 2015 at 10:59:02AM -0500, Aaron Poffenberger wrote:

dmesg from a box that was en route to becoming a FreeNAS system. Everything
I cared about as far as networking and disk management worked with one
issue. smartctl was uneven about whether it get could get stats from the
disks connected throught the LSI (mpii0).

The first two requests would work. Usually the third and subsequent would
fail. Disk r/w operations would continue to work without issue.

--Aaron


Not easy to tell without seeing disklabel/bioctl output:
Are you running softraid crypto on top of softraid raid1?

My question is unrelated to your smartctl question.
I'm just asking because AFAIK stacking softraid volumes is not supported yet.


You're absolutely right about the stacked softraid: mirror then crypt. I 
knew the risks going in. For an unsupported feature, it was amazingly 
rock solid. ;-)





sd0 at scsibus2 targ 0 lun 0: ATA, HGST HDN724040AL, MJAO SCSI3 0/direct
fixed naa.5000cca249d4800d
sd0: 3815447MB, 512 bytes/sector, 7814037168 sectors
sd1 at scsibus2 targ 1 lun 0: ATA, HGST HDN724040AL, MJAO SCSI3 0/direct
fixed naa.5000cca249d4599d
sd1: 3815447MB, 512 bytes/sector, 7814037168 sectors
ahci1 at pci0 dev 24 function 0 Intel Atom C2000 AHCI rev 0x02: msi, AHCI
1.3
scsibus3 at ahci1: 32 targets
sd2 at scsibus3 targ 0 lun 0: ATA, OCZ-VERTEX3, 2.22 SCSI3 0/direct fixed
naa.5e83a97e9c46465c
sd2: 85857MB, 512 bytes/sector, 175836528 sectors, thin



sd3 at scsibus1 targ 0 lun 0: ATA, HGST HDN724040AL, A5E0 SCSI4 0/direct
fixed naa.5000cca24cdd740e
sd3: 3815447MB, 512 bytes/sector, 7814037168 sectors
sd4 at scsibus1 targ 1 lun 0: ATA, HGST HDN724040AL, A5E0 SCSI4 0/direct
fixed naa.5000cca24cdc2af9
sd4: 3815447MB, 512 bytes/sector, 7814037168 sectors
sd5 at scsibus1 targ 2 lun 0: ATA, HGST HDS724040AL, A580 SCSI4 0/direct
fixed naa.5000cca23df04379
sd5: 3815447MB, 512 bytes/sector, 7814037168 sectors
sd6 at scsibus1 targ 3 lun 0: ATA, HGST HDS724040AL, A580 SCSI4 0/direct
fixed naa.5000cca24cc22026
sd6: 3815447MB, 512 bytes/sector, 7814037168 sectors



sd7 at scsibus5 targ 1 lun 0: OPENBSD, SR RAID 1, 005 SCSI2 0/direct fixed
sd7: 3815447MB, 512 bytes/sector, 7814036576 sectors
softraid0: volume sd7 is roaming, it used to be sd5, updating metadata
softraid0: roaming device sd2a - sd4a
sd8 at scsibus5 targ 2 lun 0: OPENBSD, SR RAID 1, 005 SCSI2 0/direct fixed
sd8: 3815447MB, 512 bytes/sector, 7814036576 sectors
softraid0: volume sd8 is roaming, it used to be sd6, updating metadata
softraid0: roaming device sd1a - sd5a
softraid0: roaming device sd0a - sd6a
sd9 at scsibus5 targ 3 lun 0: OPENBSD, SR RAID 1, 005 SCSI2 0/direct fixed
sd9: 3815447MB, 512 bytes/sector, 7814036576 sectors
softraid0: volume sd9 is roaming, it used to be sd7, updating metadata
softraid0: roaming device sd4a - sd0a
softraid0: roaming device sd3a - sd1a
root on sd2a (30a8a089ec1d5993.a) swap on sd2b dump on sd2b
sd10 at scsibus5 targ 4 lun 0: OPENBSD, SR CRYPTO, 005 SCSI2 0/direct
fixed
sd10: 3815447MB, 512 bytes/sector, 7814035984 sectors
softraid0: volume sd10 is roaming, it used to be sd7, updating metadata
softraid0: roaming device sd5a - sd7a
sd11 at scsibus5 targ 5 lun 0: OPENBSD, SR CRYPTO, 005 SCSI2 0/direct
fixed
sd11: 3815447MB, 512 bytes/sector, 7814035984 sectors
softraid0: volume sd11 is roaming, it used to be sd8, updating metadata
softraid0: roaming device sd6a - sd8a
sd12 at scsibus5 targ 6 lun 0: OPENBSD, SR CRYPTO, 005 SCSI2 0/direct
fixed
sd12: 3815447MB, 512 bytes/sector, 7814035984 sectors
softraid0: volume sd12 is roaming, it used to be sd10, updating metadata
softraid0: roaming device sd7a - sd9a
hw.sensors.cpu0.temp0=40.00 degC
hw.sensors.softraid0.drive0=online (sd7), OK
hw.sensors.softraid0.drive1=online (sd8), OK
hw.sensors.softraid0.drive2=online (sd9), OK
hw.sensors.softraid0.drive3=online (sd10), OK
hw.sensors.softraid0.drive4=online (sd11), OK
hw.sensors.softraid0.drive5=online (sd12), OK




Re: Intel Atom?

2015-07-27 Thread Aaron Poffenberger

On 7/27/15 10:22, Quartz wrote:

What's Intel Atom support like these days? I remember they used to be a
little weird. Are they handled pretty much like any other x86 chip now
or are some things still unsupported? Are they capable of handling pf on
a saturated 100-base-t connection? How about gig-e?



I just posted a dmesg from a SuperMicro motherboard with 8-core Intel 
Atom C2758. As noted in the email, everything I cared about worked.


I didn't try to saturate the system but was able to run multiple rsync 
sessions. I started with one rsync session from two 7200 RPM Hitachi NAS 
drives configured with stacked softraid (mirror + crypto). I'm 
reasonably certain I was getting 40 - 45 MB/s which prompted me to run a 
second rsync from another stacked mirror+crypto set to the same target. 
Adding the second rsync slowed the first a bit. I think I was seeing 38 
- 40 MB/s per stream.


Depending on how you configure your disks the 8-core C2758 should be 
able to saturate a single gig-e nic.


The SuperMicro board I was using has 4 intel nics + a separate IPMI nic. 
There's also a 4-core version of the board. There's also a C2750 version 
of the board (4 and 8 core models) which has turbo boost.


ServerTheHome tested the 2758 and 2750 against the Xeon E3 (and others). 
The Xeon comes out on top as you would expect but for file serving, you 
may find them acceptable.


http://www.servethehome.com/intel-atom-c2750-8-core-avoton-rangeley-benchmarks-fast-power/
http://www.servethehome.com/intel-atom-c2758-benchmarks-8-core-rangeley-tested/

--Aaron



Re: Intel Atom?

2015-07-27 Thread Aaron Poffenberger
On 7/27/15 14:34, Stuart Henderson wrote:
 On 2015-07-27, Aaron Poffenberger a...@hypernote.com wrote:
 The SuperMicro board I was using has 4 intel nics + a separate IPMI nic. 
 
 N.B. on the recent SuperMicro boards I have, if the IPMI nic is
 unconnected, standard settings are to run IPMI on the first main
 NIC instead. This isn't really safe even if you do change the
 password from the default...
 

Good point. All my SuperMicro boards have the same feature.



Re: cp from 4 different home folders without overwriting files with different content

2015-06-28 Thread Aaron Poffenberger
 On Jun 28, 2015, at 18:35, Philip Guenther guent...@gmail.com wrote:
 
 On Sun, Jun 28, 2015 at 4:27 PM, Chris Bennett
 chrisbenn...@bennettconstruction.us wrote:
 On Mon, Jun 29, 2015 at 12:56:04AM +0200, nerv wrote:
 On Sun, 28 Jun 2015 17:39:18 -0500
 Chris Bennett chrisbenn...@bennettconstruction.us wrote:
 
 I had 4 different hardrives that were failing.
 I bought a 2TB usb drive to back up all the home folders.
 
 I now would like to cp all of the folders and files to another empty
 partition.
 
 But I don't want to overwrite any files with same name but different
 content.
 
 For example:
 
 /homeX/index.html to /homePerfect
 /homeY/index.html to /homePerfect
 
 both have same name but different contents.
 
 I googled but couldn't find any solutions.
 Ideally I would like a list of failed file copies.
 
 Any ideas or scripts or ports?
 Browsing through 4 home folders is a nightmare.
 
 Chris Bennett
 
 
 If you can't find a switch for cp you may have an easier time using
 rsync, but I'm not too familiar with it so I couldn't tell you
 what switches to use (It may be able to natively do what you're asking
 however).
 Writing a script for it using cp should be quite easy, for each of the
 partition have the script recursively go into all folders and copy the
 files after verifying if the name already exists in the target
 partition. If it does, compare checksums,
 same checksum : do nothing and go to the next file,
 different checksum : copy and append a number to its name (or append to
 it a name for the source partition).
 
 I looked at rsync and cp and gnu cp.
 noclobber just won't do what I want.
 
 Using checksums seems like a good part of the answer, but name changing
 would be very complicated. I have everything read-only except for
 regular /home, /var, / and /tmp. I do some of my programming in /home
 folder and I also have many html files. I already wrote software to
 change file contents to new values, but that adds even more
 complications for both of those areas.
 
 And I want to do this for 4 home folders!!???
 
 IMO, you're over thinking it.
 
 Step 1) GET THE DATA OFF THE FAILING DRIVES.  Doing *anything* before
 that's done means you *want* to lose data.
 
 Step 2) okay, *now* that the data is safe, compare files between trees
 and delete duplicates
 
 Note that trying to dedup as it's copied will probably *increase* the
 number of times the data has to be read and thus increase the chance
 of lost data.
 
 
 Philip Guenther
 

Agreed. Save your data first then merge.

rsync (pkgs) will help you with both steps:

For initial save:
# -a preserves dates, time and permissions
# -H preserves hard links - can be memory intensive
# -v if you want to see each file by name
# --progress to see name + ETA
rsync -aH /mnt/failing_w/homes/ /mnt/2tb/w/
rsync -aH /mnt/failing_x/homes/ /mnt/2tb/x/
rsync -aH /mnt/failing_y/homes/ /mnt/2tb/y/
rsync -aH /mnt/failing_z/homes/ /mnt/2tb/z/

Merging:
rsync-ing with the --backup --backup-suffix options will backup
existing files into the same directory before copying changed.

Following is an example. I recommend reading the rsync man
page to understand the options first.

# disk w archive
rsync -aH /mnt/2tb/w/ /mnt/2tb/merged/

# disk x archive
# -b == --backup
#
# -c == --checksum
#
# set a backup suffix that means something to you and change
# it for each drive
rsync -aHcb /mnt/2tb/w/ /mnt/2tb/merged/ --backup-suffix=_x_sync.bak

Repeat changing disk and backup-suffix.

Another option is to just use --dry-run to see the differences.

rsync -aH /mnt/2tb/w/ /mnt/2tb/merged/

rsync -aHcv /mnt/2tb/x/ /mnt/2tb/merged/ --dry-run

Using --dry-run alone shows what has changed or been added.
Add --delete to see what doesn't exist as well.

rsync -aHcv /mnt/2tb/x/ /mnt/2tb/merged/ --dry-run --delete

--Aaron



Re: OpenBSD 5.7 Shipped

2015-05-16 Thread Aaron Poffenberger
Arrived in Houston. Not sure which day since I just got over to my P.O. Box.

Post marked 2015-05-07, as noted.

Thanks!

—Aaron

 On May 8, 2015, at 6:52 AM, Raf Czlonka rczlo...@gmail.com wrote:
 
 On Thu, May 07, 2015 at 08:15:55PM BST, OpenBSD Store Misc wrote:
 
 OpenBSD 5.7 shipped today.
 
 Arrived!
 
 Sorry for the delay.
 
 Better late than never :^)
 
 Ta,
 
 Raf



dmesg 5.7 snapshot (plus re0 issues) - Gigabyte GB-BXi7G3-760

2015-05-05 Thread Aaron Poffenberger
i7 version of the system I posted back in January 
http://marc.info/?l=openbsd-miscm=142073486118475w=2.

http://www.gigabyte.com/products/product-page.aspx?pid=5156kw=GB-BXi7G3-760#ov
http://www.amazon.com/Gigabyte-i7-4710HQ-Barebone-Components-GB-BXi7G3-760/dp/B00OJZVGFU

The built-in re0 does not work with manual config (no DHCP server handy). 
Symptoms are not being able to ping another system on the same switch in the 
same subnet and repeating “re0: watchdog timeout” errors on the console. I saw 
the same watchdog timeout errors with the 5.7 release build as well.

—Aaron

hw.sensors.cpu0.temp0=56.00 degC
hw.sensors.acpitz0.temp0=27.80 degC (zone temperature)
hw.sensors.acpitz1.temp0=29.80 degC (zone temperature)


OpenBSD 5.7-current (RAMDISK_CD) #888: Sat May  2 09:23:32 MDT 2015
   dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 17097572352 (16305MB)
avail mem = 16577683456 (15809MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec3b0 (79 entries)
bios0: vendor American Megatrends Inc. version F1 date 08/12/2014
bios0: GIGABYTE GB-BXi7G3-760
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC FPDT LPIT SSDT SSDT SSDT SSDT MCFG HPET SSDT SSDT 
ASF! DMAR
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz, 2694.11 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP03)
acpiprt3 at acpi0: bus 4 (RP04)
acpiprt4 at acpi0: bus 1 (PEG0)
acpiprt5 at acpi0: bus -1 (PEG1)
acpiprt6 at acpi0: bus -1 (PEG2)
acpiec0 at acpi0: not present
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 4G Host rev 0x06
ppb0 at pci0 dev 1 function 0 Intel Core 4G PCIE rev 0x06: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x1199 rev 0xa1
vga1: aperture needed
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
vendor NVIDIA, unknown product 0x0e0a (class multimedia subclass hdaudio, rev 
0xa1) at pci1 dev 0 function 1 not configured
xhci0 at pci0 dev 20 function 0 Intel 8 Series xHCI rev 0x05: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 Intel xHCI root hub rev 3.00/1.00 addr 1
Intel 8 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 Intel 8 Series USB rev 0x05: apic 8 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
Intel 8 Series HD Audio rev 0x05 at pci0 dev 27 function 0 not configured
ppb1 at pci0 dev 28 function 0 Intel 8 Series PCIE rev 0xd5
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 Intel 8 Series PCIE rev 0xd5: msi
pci3 at ppb2 bus 3
vendor Realtek, unknown product 0x8821 (class network subclass miscellaneous, 
rev 0x00) at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 28 function 3 Intel 8 Series PCIE rev 0xd5: msi
pci4 at ppb3 bus 4
re0 at pci4 dev 0 function 0 Realtek 8168 rev 0x0c: RTL8168G/8111G (0x4c00), 
msi, address fc:aa:14:a5:61:e9
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
ehci1 at pci0 dev 29 function 0 Intel 8 Series USB rev 0x05: apic 8 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 Intel EHCI root hub rev 2.00/1.00 addr 1
Intel HM87 LPC rev 0x05 at pci0 dev 31 function 0 not configured
ahci0 at pci0 dev 31 function 2 Intel 8 Series AHCI rev 0x05: msi, AHCI 1.3
ahci0: port 4: 6.0Gb/s
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 4 lun 0: ATA, Crucial_CT250MX2, MU01 SCSI3 0/direct 
fixed naa.500a07510e7c431f
sd0: 238475MB, 512 bytes/sector, 488397168 sectors, thin
Intel 8 Series SMBus rev 0x05 at pci0 dev 31 function 3 not configured
isa0 at mainbus0
pckbc0 at isa0 port 0x60/5
umass0 at uhub0 port 2 configuration 1 interface 0 Hitachi-LG Data Storage Inc 
Portable Super Multi Drive rev 2.00/0.00 addr 2
umass0: using ATAPI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
cd0 at scsibus1 targ 1 lun 0: HL-DT-ST, DVDRAM GP50NB40, 1.00 ATAPI 5/cdrom 
removable serial.0e8d1887155_
uhub3 at uhub0 port 4 vendor 0x0557 product 0x7000 rev 1.10/1.00 addr 3
uhidev0 at uhub3 port 1 configuration 1 interface 0 ATEN Advance Tech Inc. 
CS-1764 V1.4.132 rev 1.10/1.00 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at 

Re: dmesg Gigabyte GB-BXi5G-760

2015-01-08 Thread Aaron Poffenberger
Done.

Thanks, Raf.

—Aaron

 On Jan 8, 2015, at 11:17, Raf Czlonka rafal.czlo...@gmail.com wrote:
 
 On Thu, Jan 08, 2015 at 04:29:22PM GMT, Aaron Poffenberger wrote:
 
 I know. At the current price this box with an Nvidia GPU doesn’t
 make much sense for OpenBSD users. Still, we had one in the office so
 I pulled a dmesg. Someone might find some value in knowing what’s
 supported.
 
 Hi Aaron,
 
 Don't forget about dmesg@ :^)
 
 http://www.openbsd.org/faq/faq4.html#SendDmesg
 
 Regards,
 
 Raf



dmesg Gigabyte GB-BXi5G-760

2015-01-08 Thread Aaron Poffenberger
Gigabyte GB-BXi5G-760 (Intel i5-4200H with NVIDIA GeForce GTX 760 GPU Mini PC 
Barebone Components).

http://www.gigabyte.com/products/product-page.aspx?pid=5096#ov
http://www.amazon.com/Gigabyte-i5-4200H-Barebone-Components-GB-BXi5G-760/dp/B00LJO86IE

I know. At the current price this box with an Nvidia GPU doesn’t make much 
sense for OpenBSD users. Still, we had one in the office so I pulled a dmesg. 
Someone might find some value in knowing what’s supported.

The GB-BXi5-4570R with Iris Pro might make more sense (though still pretty 
costly).

—Aaron


hw.sensors.cpu0.temp0=51.00 degC
hw.sensors.cpu1.temp0=51.00 degC
hw.sensors.cpu2.temp0=51.00 degC
hw.sensors.cpu3.temp0=51.00 degC
hw.sensors.acpitz0.temp0=27.80 degC (zone temperature)
hw.sensors.acpitz1.temp0=29.80 degC (zone temperature)
hw.sensors.acpibtn1.indicator0=On (lid open)


OpenBSD 5.7-beta (GENERIC.MP) #740: Tue Jan  6 18:19:48 MST 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17097588736 (16305MB)
avail mem = 16638582784 (15867MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec3b0 (79 entries)
bios0: vendor American Megatrends Inc. version F2 date 06/08/2014
bios0: GIGABYTE GB-BXi5G-760
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT LPIT SSDT SSDT SSDT SSDT MCFG HPET SSDT SSDT 
ASF! DMAR
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) 
PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) 
PXSX(S4) RP08(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-4200H CPU @ 2.80GHz, 2893.69 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-4200H CPU @ 2.80GHz, 2893.31 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-4200H CPU @ 2.80GHz, 2893.31 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-4200H CPU @ 2.80GHz, 2893.31 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP03)
acpiprt3 at acpi0: bus 4 (RP04)
acpiprt4 at acpi0: bus 1 (PEG0)
acpiprt5 at acpi0: bus -1 (PEG1)
acpiprt6 at acpi0: bus -1 (PEG2)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpicpu2 at acpi0: C1, PSS
acpicpu3 at acpi0: C1, PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpipwrres1 at acpi0: FN01, resource for FAN1
acpipwrres2 at acpi0: FN02, resource for FAN2
acpipwrres3 at acpi0: FN03, resource for FAN3
acpipwrres4 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0: critical temperature is 105 degC
acpitz1 at acpi0: critical temperature is 105 degC
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 

Re: The Book of PF, 3rd ed: You own the first author signed copy and support OpenBSD!

2014-10-25 Thread Aaron Poffenberger
For what it’s worth, first bid. That and $4.00 will get me a nice cappuccino. 
;-)

Thanks for both the book (I received my No Starch copy a week or two ago) and 
for donating the signed edition to the OpenBSD Foundation.

—Aaron

On Oct 25, 2014, at 17:59, Peter N. M. Hansteen pe...@bsdly.net wrote:

 Ebay situation resolved, the link to the auction is 
 
 http://www.ebay.com/itm/The-Book-of-PF-3rd-ed-signed-by-the-author-First-Copy-signed-/321563281902?
 
 I will look into extending the auction's lifetime toward the original
 30 days. The interface for doing so is not the most intuitive I've
 encountered.
 
 If you do not win this auction, I strongly urge you to donate the
 amount of your highest bid to the OpenBSD Foundation.
 
 
 -- 
 Peter N. M. Hansteen, member of the first RFC 1149 implementation team
 http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
 Remember to set the evil bit on all malicious network traffic
 delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Only two holes in a heck of a long time, but why?

2014-04-04 Thread Aaron Poffenberger
On Apr 3, 2014, at 10:20 PM, Kenneth Westerback kwesterb...@gmail.com wrote:

 On 3 April 2014 22:04, Martin Braun yellowgoldm...@gmail.com wrote:
 As we all know on the front page of OpenBSD it says Only two remote holes
 in the default install, in a heck of a long time.
 
 I don't understand why this is such a big deal.
 
 A part from the base system in xBSD, OpenBSD - so far - also contains a
 chrooted web server, that can't be used for much else than serving static
 content, and then the X system, which also can't be used for anything
 before installing some third party application.
 
 All in all the default install is pretty useless in itself and I am going
 to quote Absolute OpenBSD by Michael Lucas:
 
  «You're installed OpenBSD and rebooted into a bare-bones system. Of
 course, a minimal Unix-like system is actually pretty boring. While it
 makes a powerful foundation, it doesn't actually do much of anything.»
 
 So we need those third party applications to start the party, yet none of
 these applications receives the same code audit, security development and
 quality control as OpenBSD does.
 
 As soon as we install a single third party application our entire operating
 system is, in theory at least, compromised as these third party
 applications gets installed as root.
 
 Maybe I am just plain stupid, but could someone explain to me the point in
 bragging about only two remote holes in the default install, when the
 default install is useless before you add some content to the system,
 unless you're running a web server serving static content only.
 
 Firewalls? BGP Routers? Email servers? Relayd load balancers? All
 base-only external facing devices that might be nice to not have
 exploits in by default.
 
  Ken
 
 
 
 Best regards.
 
 Martin
 

It’s also nice to know you can safely enable networking on your
computer to install software, whether connected directly or through a
firewall. In theory your own network should be a safe haven. In
practice we know that's not always the case.

The current survival time for an unpatched Windows system when first
connected to the internet ranges from 66 minutes to 2,630 minutes.*
I've seen Windows computers take hours to fully patch after initial
install.

Linux systems have much better ranges (95 minutes to 2,141) and
usually patch much quicker.

Still, all else being equal, I choose the system that's not likely to
be compromised while I patch or install software.

And that's worth bragging about.

--Aaron

* Data for 2014-01-01 through 2014-04-03:
  https://isc.sans.edu/survivaltime.html.



Re: Content Filtering in smtpd(8) with amavisd-new

2014-02-27 Thread Aaron Poffenberger
On Feb 27, 2014, at 2:17 AM, Marcus MERIGHI mcmer-open...@tor.at wrote:

 The question I have for Gilles et al.: Is there a better way to send the
 emails to amavisd? It would be more efficient if emails went through
 virtual vmap first so invalid recipients were rejected before
 content filtering.
 
 I'm not Gilles et al. but...
 
 If you could go with recipients instead of virtual this is what I use:
 
 table domains { 'foo.at', 'foobar.at' }
 table addresses file:/etc/mail/addresses
 accept from any for domain domains recipient addresses \
  relay via smtp://127.25.0.1:10024
 
 I'm using smtp here because I had strange problems with multiple rcpts
 that I circumvented by using smtp instead of lmtp. Sorry, no notes taken
 and memory already fading. 
 
 Bye, Marcus

Hi Marcus,
That’s a good thought. I may be able to use that soon. Currently I have
a fair number of email addresses in play so several of the domains map
to a catchall: E.g.,

@example.org user

I need to catch instances of user-whatever@example.org. 5.4.1 adds
wildcard recipients in the rules which should solve the problem. I'll be
upgrading to a snapshot soon enough to test that.



Content Filtering in smtpd(8) with amavisd-new

2014-02-26 Thread Aaron Poffenberger
I recently configured smptd to replace a postfix-based solution.
smtpd(8) is a joy to work with. In ~four rules I had a working email
server!

My next goals was to get content filtering in place. I decided on
amavisd-new with clamav and spamassassin.

I couldn't find any tutorials for using amavisd with smtpd(8) so I
worked out my own solution based on some postfix tutorials and the
excellent smtpd.conf(5) doc.

Following are the steps and missteps that got me to the working
smtpd.conf included at the bottom.

I have also have one question for the smtpd(8) developers at the end.

The goal was to have smtpd deliver via lmtp to amavisd. Fortunately
smtpd in 5.4 (shipping) supports lmtp via the deliver and relay
keywords. That’s important as we’ll see in a minute.

Installing amavisd is easy. Configuration is another story. For now I'm
assuming the user can handle pkg_add -i amavisd-new and starting the
relevant daemons.

The first step is to create a rule to send inbound email to amavisd
rather than procmail.

accept tagged default from any for domain domains   \
  relay via lmtp://127.0.0.1:10024

The reason for relay via will make sense shortly.

Once I had mail delivering to amavisd I had to arrange for smtpd to
listen on another port to receive the content-filtered email.

The default in the amavis world is to listen on port 10024 and re-inject
on 10025. I initially tried writing to rules to “accept from if:port”.
That failed miserably. Tagging is the solution. Each “listen on” command
can tag client sessions that are later used via “accept tagged tag”.
With that problem solved I was able to define 3 production listeners and
one for testing:

listen on lo0  port 10025 tag amavis  hostname amavis # re-injection
listen on lo0  port 1587  tag testhostname test   # testing
listen on msk0 port 25tag default # external
listen on lo0 tag default # internal

It was at this point I discovered the need for relay via rather than
delivery to. Initially I sent mail to amavisd with this rule:

accept tagged test from any for domain domains virtual vmap \
  deliver to lmtp 127.0.0.1:10024

That failed. What would happen is virtual vmap was forwarding the
emails to amavisd for delivery to the user’s system account. 
 To: user-t...@example.com effectively became To: user.

When amavisd re-injected the email it was rejected by smtpd because To:
user is an invalid recipient. The solution, then, was to defer the
virtual vmap lookup until re-injection. The way to do do that was to
use relay via:

accept tagged default from any for domain domains \
  relay via lmtp://127.0.0.1:10024

With those change in place content filtering began working and has
continued to do so. smtpd(8) + spamd(1) + content-filtering = very
little spam.

The question I have for Gilles et al.: Is there a better way to send the
emails to amavisd? It would be more efficient if emails went through
virtual vmap first so invalid recipients were rejected before
content filtering.

Regardless, I'm happy with the results I'm seeing.

Cheers,

--Aaron
Aaron Poffenberger

#   $OpenBSD: smtpd.conf,v 1.6 2013/01/26 09:38:25 gilles Exp $

# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
  
# To accept external mail, replace with: listen on all
#
listen on lo0  port 10025 tag amavis  hostname amavis # re-injection
listen on lo0  port 1587  tag testhostname test   # testing
listen on msk0 port 25tag default # external
listen on lo0 tag default # internal

table vmapdb:/etc/mail/virtusertable.db
table domains db:/etc/mail/domains.db

# public emails before content filtering
accept tagged default from any for domain domains   \
  relay via lmtp://127.0.0.1:10024

# re-injection from amavis
accept tagged amavis from any for domain domains virtual vmap \
  deliver to mda /usr/local/bin/procmail -f -

# local delivery
accept tagged default from any for local   virtual vmap \
  deliver to mda /usr/local/bin/procmail -f -

# outbound relay for local users
accept tagged default  for any\
  relay

# Easy way to test content-filtering
accept tagged testfor domain domains\
  relay via lmtp://127.0.0.1:10024



Re: Content Filtering in smtpd(8) with amavisd-new

2014-02-26 Thread Aaron Poffenberger
On Feb 26, 2014, at 11:51 AM, Ted Unangst t...@tedunangst.com wrote:

 On Wed, Feb 26, 2014 at 11:30, Aaron Poffenberger wrote:
 When amavisd re-injected the email it was rejected by smtpd because To:
 user is an invalid recipient. The solution, then, was to defer the
 virtual vmap lookup until re-injection. The way to do do that was to
 use relay via:
 
 # public emails before content filtering
 accept tagged default from any for domain domains   \
  relay via lmtp://127.0.0.1:10024
 
 # re-injection from amavis
 accept tagged amavis from any for domain domains virtual vmap \
  deliver to mda /usr/local/bin/procmail -f -
 
 Do you need the virtual vmap on this deliver line? What if you deliver
 to amavis with the vmap, and then deliver mail tagged amavis without
 the vmap?

I tried that. If you telnet into smtpd to manually send an email and set
rcpt to: user you will receive a 553 Recipient address syntax
error reply.

I'm looking to see whether I can make amavisd write the rcpt to:  line
back to normal form user@domain.suffix. So far no luck. When smptd
relays the email to user amavisd just accepts it and loses the
context.

The only option I can think of would be for smtpd to allow sending to
contextless addresses if they match system users. But that wouldn't work
on systems where they use an MDA like Dovecot that supports virtual
users.


--Aaron



Re: SMTP syntax (was: Content Filtering in smtpd(8) with amavisd-new)

2014-02-26 Thread Aaron Poffenberger
On Feb 26, 2014, at 1:15 PM, Claus Assmann ca+openbsd_m...@esmtp.org wrote:

 On Wed, Feb 26, 2014, Aaron Poffenberger wrote:
 
 I tried that. If you telnet into smtpd to manually send an email and set
 rcpt to: user you will receive a 553 Recipient address syntax
 
 That's invalid even if you gave a proper address.
 
 RFC 5321:
 
  RCPT TO:forward-path [ SP rcpt-parameters ] CRLF
 ...
   Since it has been a common source of errors, it is worth noting that
   spaces are not permitted on either side of the colon following FROM
   in the MAIL command or TO in the RCPT command.  The syntax is exactly
   as given above.
 

I didn’t know that.

Thanks.



Re: cheapest firewall?

2014-02-04 Thread Aaron Poffenberger
 On Feb 1, 2014, at 2:37 PM, Adam s...@my-balls.com wrote:

 Any suggestions for the cheapest possible firewall (that is new hardware not 
 re-purposing some old stuff)?  All I need is 2 ethernet interfaces and for it 
 to run openbsd.
 

I like the Mac Mini Core Duo for firewalls. They have one GB NIC so I usually 
add a USB NIC but other than they work out of the box. Almost any Mac Mini will 
work but the Core Duo is pretty cheap. They’re about ~$160 on Ebay.

http://www.ebay.com/itm/Apple-Late-2006-A1176-Mac-Mini-1-83GHz-Core-Duo-2GB-RAM-60GB-HD-MA608LL-A-/281256709592?pt=Apple_Desktopshash=item417c34cdd8
http://www.ebay.com/itm/Apple-Mac-Mini-A1176-MA206LL-A-1-66Ghz-Core-Duo-Desktop-/291069416474?pt=Apple_Desktopshash=item43c516d41a



Re: boot(8) on amd64 asks for passphrase but keydisk...?

2012-11-05 Thread Aaron Poffenberger
On Nov 5, 2012, at 2:50 AM, Jiri B wrote:

 On Sun, Nov 04, 2012 at 02:46:55PM -0600, Aaron Poffenberger wrote:
 Theo de Raadt dera...@cvs.openbsd.org writes:
 
 Well I moved to position that booting with a passphrase and then
 concatenate strong passphrase from an Yubikey configured with
 static passphrase would be better solution than keydisk and
 passphrase.
 
 Although I don't have an Yubikey token now but as an Yubikey
 token is simulatin usb keyboard it should work. Has anybody
 tested Yubikey with new boot(8) asking for passphrase?
 
 Then you had better start work on the usb stack for the bootcode.
 
 The Yubikey presents itself to the system as a standard USB keyboard. It
 has two slots for passwords. You can program either slot (or both) to
 hold a static value or as an OTP generator. When you touch the button on
 the Yubikey it types out slot one's value. If you touch and hold for 2-3
 seconds it types out slot two's value.
 
 I just tried mine. At the /boot prompt I plugged it in and touched the
 type button and it typed out my OTP. I also tried the static password.
 No problem.
 
 Obviously the OTP wouldn't be useful since it requires custom code in
 the receiver but the static password seems like a viable option. I was
 thinking the same as Jiri except I'd prepend the system-specific value
 before letting the Yubikey type the password since it types a carriage
 return at the end.
 
 OTP would be nice but probably one would not get anything as it would need
 access to something like /var/db/yubikey which could not be secured enough
 for boot(8)...
 
 This was exactly was I meant with '...then concatenate strong passphrase
 from an Yubikey...'.
 
 Thanks for info!
 
 jirib

Mea culpa. You did write …then concatenate. So much for comprehension 101. ;-)

You're welcome.

--Aaron



Re: boot(8) on amd64 asks for passphrase but keydisk...?

2012-11-04 Thread Aaron Poffenberger
Theo de Raadt dera...@cvs.openbsd.org writes:

 Well I moved to position that booting with a passphrase and then
 concatenate strong passphrase from an Yubikey configured with
 static passphrase would be better solution than keydisk and
 passphrase.
 
 Although I don't have an Yubikey token now but as an Yubikey
 token is simulatin usb keyboard it should work. Has anybody
 tested Yubikey with new boot(8) asking for passphrase?

 Then you had better start work on the usb stack for the bootcode.

The Yubikey presents itself to the system as a standard USB keyboard. It
has two slots for passwords. You can program either slot (or both) to
hold a static value or as an OTP generator. When you touch the button on
the Yubikey it types out slot one's value. If you touch and hold for 2-3
seconds it types out slot two's value.

I just tried mine. At the /boot prompt I plugged it in and touched the
type button and it typed out my OTP. I also tried the static password.
No problem.

Obviously the OTP wouldn't be useful since it requires custom code in
the receiver but the static password seems like a viable option. I was
thinking the same as Jiri except I'd prepend the system-specific value
before letting the Yubikey type the password since it types a carriage
return at the end.

I imagine the Yubikey wouldn't work for any system that can't use USB
keyboards. YMMV

Tip to anyone looking to buy one: they're (US)$25/each. If you look on
the store you'll find an option to buy the Password Safe bundle. The
package comes with 2 Yubikeys for (US)$40.



Recurring tcp_usrreq and nfsrv_recv Problem followed by Panic

2011-03-18 Thread Aaron Poffenberger
I have an AMD based system that I frequently find at the ddb prompt
with messages about tcp_usrreq and nfsrv_recv (see trace info
below). I haven't discerned a specific pattern or time between
occurrences. It ranges from happening twice in the same day to going
for 3+ days without incident.

When I review the dmesg I usually see a message like:

6arp info overwritten for 10.10.15.106 by 00:26:bb:72:c0:e5 on sk0

The server's ip is 10.10.15.10. I've wondered whether they're
related. The server exports user home directories to clients (see
below) but all the systems that access the server have specified IP
addresses in the .30 - .50 range. Everything above .99 is reserved for
ephemeral clients.

Does anyone have any ideas or pointers to resources or articles that
might help resolve this?

This may be an unrelated problem, but I almost always get a kernel
panic when I type `boot command` at the ddb prompt. I've included it
at the bottom of the message.

Attached are the initial trace, ps, show registers, dmesg and the
results from `boot dump` (in this case) followed by the kernel panic.

Cheers and thanks for any help,

--Aaron

--

Hardware:
 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
 1GB RAM
 1xPATA boot drive
 4xSATA drives using stacked softraid to create two mirrored drives
 with encryption

OS Version:
 OpenBSD 4.8 i386 (no patches applied yet)

Services:
 nfsd
 dovecot
 fetchmail
 procmail
 sendmail

nfsd exports home directories to Mac OS X 10.6 clients over IPv4.

dhcp and dns are handled by another OpenBSD 4.8 server.

--

ddb trace

tcp_usrreq(d6b40014,8,0,80,0) at tcp_usrreq+0xbd

soreceive(d6b40014,dc466e20,dc466dfc,dc466e24,0) at soreceive+0x624

nfsrv_rcv(d6b40014,d1f35cc0,1,dc466e54,d0202fe5) at nfsrv_rcv+0x138

soisdisconnected(d6b40014,0,d6b40014,d6b417dc,d048be50) at
soisdisconnected+0x66

tcp_close(d6b417dc,3c,0,0,d0ac1ad4) at tcp_close+0x97

tcp_timer_rexmt(d6b417dc,dc466f00,d03cbe36,dc466ef4,d1d949e0) at
tcp_timer_rexmt+0xa1

softclock(0,dc466f10,d07672d1,0,d0201fc6) at softclock+0x225

softintr_dispatch(0) at softintr_dispatch+0x4f

Xsoftclock() at Xsoftclock+0x12

--- interrupt ---

cpu_idle_cycle(d0ac1aa0) at cpu_idle_cycle+0xf

Bad frame pointer: 0xd0b75e48

ddb ps

   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND

 13697  20622  20622518  3  0x4180  kqreadimap-login

  7751  20622  20622   1000  3 0x44180  kqreadimap

 26824  20622  20622   1000  3 0x44180  kqreadimap

 19716  20622  20622   2000  3 0x44180  kqreadimap

 14259  21940  14259   1000  3  0x4080  ttyin ksh

 21940   8247   8247   1000  3   0x180  selectsshd

 30780  20622  20622   2000  3 0x44180  kqreadimap

 13379  20622  20622518  3  0x4180  kqreadimap-login

 16574  20622  20622518  3  0x4180  kqreadimap-login

  8247  28378   8247  0  3  0x4180  netio sshd

 22687  20622  20622   1000  3 0x44180  kqreadimap

 18020  20622  20622   1000  3 0x44180  kqreadimap

 29759  1  29759  0  3  0x4080  ttyin getty

 21313  20622  20622518  3  0x4180  kqreadpop3-login

 18205  20622  20622518  3  0x4180  kqreadpop3-login

   146  20622  20622518  3  0x4180  kqreadpop3-login

  5104  1   5104  0  3 0x40180  selectsendmail

 21349  1  21349  0  3  0x4080  ttyin getty

 18697  1  18697  0  3  0x4080  ttyin getty

 11800  1  11800  0  3  0x4080  ttyin getty

 24887  1  24887  0  3  0x4080  ttyin getty

 7814  1   7814  0  3  0x4080  ttyin getty

 21068  1  21068  0  30x80  selectcron

 14352  20622  20622  0  3  0x4180  kqreaddovecot-auth

 20622  1  20622  0  30x80  kqreaddovecot

 29601  1  29601  0  3   0x180  selectinetd

 28378  1  28378  0  30x80  selectsshd

 19159  26558  27956 83  3   0x180  poll  ntpd

 26558  27956  27956 83  3   0x180  poll  ntpd

 27956  1  27956  0  30x80  poll  ntpd

 17993  10933  10933  0  3   0  nfsndlck  nfsd

 16904  10933  10933  0  3   0  nfsndlck  nfsd

 19532  10933  10933  0  20x80nfsd

 18407  10933  10933  0  3   0  nfsndlck  nfsd

 10933  1  10933  0  30x80  netconnfsd

 12841  1  12841  0  30x80  selectmountd

 22181  1  22181 28  3   0x180  poll  portmap

  2998  12777  12777 74  3   0x180  bpf   pflogd

 12777  1  12777  0  30x80  netio pflogd

 

Re: Experimenting with softraid encryption

2009-12-01 Thread Aaron Poffenberger
On Dec 1, 2009, at 1:52 PM, LEVAI Daniel wrote:

 On Tuesday 01 December 2009 19.38.13 you wrote:
 quote
 6. Upon each subsequent boot enter this:
 
 # bioctl -c C -l /dev/wd0d softraid0  exit
 
 /quote
 
 I'm also specifying the -r 32768 along with these. I suppose it is
 useless then, isn't it?
 
 I'm not sure. The man page is unclear. It seems to work either way. Can
 rounds be changed after initially creating the volume?
 
 Marco said no
 
 So explicitly specifying the rounds at each boot seems unnecessary.
 
 What is confusing me, is that one creates and activates a crypt device with
 basically the same command. How could I know if I'm creating a new crypted
 device, or opening an existing one?
 
 Daniel
 
 --
 LCVAI DC!niel
 PGP key ID = 0x4AC0A4B1
 Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1
 

If you're creating a new device, you'll be prompted twice for the password.
Obviously if you thought you were opening an existing device and get the
2nd prompt that would be a good time to ctrl-c or type the wrong password
the 2nd time to cause bioctl to fail the process.



Re: softraid crypto performance

2009-11-11 Thread Aaron Poffenberger
On Nov 10, 2009, at 2:31 PM, Michael wrote:

 Hi,

 when using softraid crypto with OpenBSD 4.6-current I never get more
 than ~10-11 MB/s disk writing speed even though the disk (WD Raptor 73
 GB) itself, without crypto, can do way more.

 What I see during transfer in top/systat is a high interrupt load,
 however the interrupt load when writing to a not encrypted partition is
 even higher and the speed faster, so that doesn't seem to be the issue.

 The crypto system process is shown as mostly bored in top. So, I am
 wondering why softraid crypto never exceeds ~10-11 MB/s for me?

 Ideas are welcome. It would also be nice if someone could check the
 speed with their own softraid crypto setups.

 To test the speed I downloaded a huge file (~3,5 GB) using FTP over gbit
 ethernet.

 Write performance measured:

 to mfs partition: ~40 MB/s
 to ffs partition: ~40 MB/s (doesn't matter if using softdep or not)
 to softraid crypto partition: ~11 MB/s (+- 1 MB/s)

 Those 40 MB/s are limited due to the other systems read performance.
 However, softraid crypto seems (unreasonably ?) slow to me.


 Michael



long reply follows:

I've been running softraid(4) for while and recently added the crypto
discipline to my test configuration and find the performance acceptable
but wanted numbers so I ran some tests and found that while my
throughput is better than yours, it isn't huge multiples of
better.

And yet I don't think my experience demonstrate huge performance
issues with softraid(4)'s crypto discipline. I say that because in
addition to testing crypto performance I also tested my server's
encryption performance to see whether my max write speeds were
siginificantly worse than the speed the server can encrypt data.

In summary, writing to a file using softdep or asynchronous was about
20 MB/s or approximately twice your reported speed.

The server-encryption tests results ranged from 25 MB/s to 45 MB/s
depending on whether I used /dev/zero, /dev/arandom or a raw device
as the input. Writing to a file using softdep or asynchronous mount
options gave results ranging from a 57% to 68% of theoretical. And note
the crypto device is sitting on a softraid(4) mirror device on a system
running 4.5.

So while less than system max leaving some room for improvement, based on
the system encryption peformance test, and assuming I constructed
encryption peformance test correctly, it looks like my server's softraid
crypto performance is pretty good, especially when taking into account
that softraid(4) and the crypto discpline are very new to OpenBSD.

One curious result is that my read speeds are lower than write. I was
expecting reads to be a lot faster since the crypto devices are
sitting on a softraid(4) mirror.

Assuming my system-encryption performance test is well-constructed,
perhaps you could run it on your system and see whether you're getting
similar results.

I'd appreciate feedback anyone has about the test setup, especially the
system-encryption test. I used openssl (see below) with the same data
inputs as the crypto devices.

Summary and details of the tests and results below.

--Aaron

--

System Summary:
OpenBSD 4.5
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ 2.01 GHz
1 GB RAM

Tests Summary:
# dd if=/dev/zero bs=1m count=100 | openssl enc -aes-128-cbc \
-salt [1]  /dev/null

# dd if=/dev/[2] of=[3] bs=1m count=100

[1] softraid crypto key
[2] One of zero | arandom | rwd0a
[3] One of /mnt/backup3/speed_test | /dev/rsd7a

Results Summary:
1) Openssl sytem-encryption test:
Source   MB/s
/dev/zero   44.47
/dev/arandom25.05
/dev/rwd0a  34.18

Write Tests:
2) Asynchronous disk write:
Source  MB/s% of System Test
/dev/zero   21.43   48
/dev/arandom14.84   59
/dev/rwd0a  19.44   57

3) Softdep disk write:
Source  MB/s% of System Test
/dev/zero   20.85   47
/dev/arandom14.74   59
/dev/rwd0a  23.257

4) Synchronous disk write:
Source  MB/s% of System Test
/dev/zero   5.8 13
/dev/arandom5.0720
/dev/rwd0a  5.3516

5) Raw device write:
Source  MB/s% of System Test
/dev/zero   19.59   44
/dev/arandom14.32   57
/dev/rwd0a  16.55   48

6) Read Tests:
Source  MB/s
Mounted Read15.12
Raw Read15.72

--

Tests and Configuration:
I tried several configuration for the hardware tests: write to the raw
device and write to a file on a mounted drive using softdep, asynchronous,
synchronous and raw. The write tests used data from /dev/zero,
/dev/arandom the IDE system boot disk. The write tests are probably
overkill but it didn't take much longer to run them and I was curious.

Read test were performed from a file on the mounted drive and raw device.

The drives are internal SATA II with 32MB of cache spinning at 7200
RPM. The chipset on the motherboard supports the full 3Gb/s speed of
SATA II. The server is low to moderately taxed.

Re: locking a softraid crypto vol

2009-11-11 Thread Aaron Poffenberger
On Nov 11, 2009, at 2:27 PM, Nick Guenther wrote:

 On Tue, Nov 10, 2009 at 10:52 PM, Marco Peereboom sl...@peereboom.us
wrote:

 where sd3 is the softraid crypto volume.

 On Tue, Nov 10, 2009 at 07:38:00PM -0600, c l wrote:
 Is it possible to lock a softraid crypto volume without rebooting?

 It seems bioctl -d is what I want but I'm not sure.

 What I would like to do is unlock the volume...

 bioctl -c C -l /dev/sd0d softraid0

 Mount it, then copy some data to it, then unmount it and lock again.

 bioctl -d softraid0


 Cluestick anyone?


 Not sure what locking means but -d delete it.

 The man page has an example of -d but it comes down to
 bioctl -d sd3

 If Marco doesn't know what 'locking' means I would say he just wants
 to make sure that the volume gets encrypted. To the OP: the volume
 is always encrypted, decrypting just means that the kernel knows the
 key, so as soon as you unmount it it is locked (though you have to
 make sure your key is protected, of course).

 -Nick


umount-ing a softraid(4) crypto device does not flush the key from bioctl. I
can umount and mount a crypto device as often as I want. bioctl -d and halt
are the only ways to lock the device.

--Aaron



Broken link on plus.html to lisa(4) man page

2009-10-19 Thread Aaron Poffenberger
The link to lisa(4) on http://www.openbsd.org/plus.html returns an  
error:


Sorry, no data found for `lisa(4)'.

Changing the section to 'All Sections' and searching again returns the
correct page.

The page linked on plus.html is:
http://www.openbsd.org/cgi-bin/man.cgi? 
query=lisasektion=4format=html


--Aaron



Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?

2009-04-06 Thread Aaron Poffenberger

Daniel A. Ramaley wrote:

On 2009-04-05 at 13:26:54, Martin Schrvder wrote:
  

2009/4/5, ropers rop...@gmail.com:


 - The printer should work with OpenBSD without a hitch, and by that
I don't mean can sometimes be gotten to work by endlessly tweaking
CUPS, and I also don't mean can be gotten to work with
compat_linux and a binary blob,
  

Get one with PostScript and a NIC.



In my experience, that is the correct answer. At various times in the
past i've tried to get non-PostScript printers working with different
Unix-like operating systems (including OpenBSD). Unless your time is
very cheap, it is usually better just to buy something with PostScript.
And if it has built-in networking, even better. Buying a printer with a
NIC is easier than setting up printer sharing on a computer.

As for the original poster's HP aversion... i've had good luck with HP.
At home i use an HP 2605dn, a duplexing color laser printer that has
worked beautifully for my light use. That exact model is probably no
longer available since HP regularly rotates their consumer models, but
they undoubtedly have something similar today.


Dan RamaleyDial Center 118, Drake University
Network Programmer/Analyst 2407 Carpenter Ave
+1 515 271-4540Des Moines IA 50311 USA

  
I specifically went with HP after doing my research and can second Dan's 
recommendation of the HP's 2605dn. I have the same printer and did 
nothing more than setup a printcap entry for it to be the default 
printer and it just works. I really like the fact that it has a 
web-management console that lets me configure anything available from 
the Mac  Windows desktop app. I also like that on both Mac  PC you can 
opt to install just a print driver without the management crap. Some 
printers require desktop-software running in the background in order to 
use the printer. This one doesn't.


All-in-all, a nice printer.

--Aaron



Re: -current cwm toggle full-screen

2009-03-02 Thread Aaron Poffenberger

Pau wrote:

funny, I have the problem with all applications... I will check which
snapshot I am using

2009/3/2 J.C. Roberts list-...@designtools.org:
  

On Mon, 2 Mar 2009 08:27:23 -0500 Okan Demirmen o...@demirmen.com
wrote:



On Mon 2009.03.02 at 13:40 +0100, Pau wrote:
  

Hello,

I am running -current and cwm combination C-M-f seems to not be
working. I don't get a fullscreen, just half of it. I had re-read
the man again but there's no indication that the combintions of keys
should have changed.

Any help will be appreciated.


uhm, which application?

  

With the 2009.02.28/27 i386 snapshot I am *unable* to reproduce the bug
with xterm, gvim or mplayer (playing).

--
J.C. Roberts



As a longshot, did you perhaps set the 'gap' value in your .cwmrc (man 
cwmrc(5))? I use gap to leave some space along the right side of the 
screen for xclock and other utilities.


--Aaron



Re: softraid 1 with a failed device

2009-03-02 Thread Aaron Poffenberger

Nick Nauwelaerts wrote:

Hello,
I was wondering how one can recover from a softraid in raid1 with a
failed device. Recover being: just run on 1 leg until I can find a
replacement disk. The error on reboot I'm faced with after loosing one
disk is the following:

softraid0: not assembling partial disk that used to be volume 0

I see references to this on the mailing list in November 2007 and was
wondering if a partial bringup of a raid 1 array was already possible.
All my attempts resulted either in bioctl complaining it did not have
enough disks:

# bioctl -c 1 -l /dev/sd1d softraid0
bioctl: not enough disks

Or an invalid argument (sd1e used to be the second raid1 slice):
# bioctl -c 1 -l /dev/sd1d,/dev/sd1e softraid0
bioctl: BIOCCREATERAID: Invalid argument

This is a test setup to see how I can rebuild raid1 arrays; that's why
both slices are on the same disk.

On a related note: do raid1 arrays ever go dirty? All tests I did thus
far failed to get them in a state where the metadata was corrupt. Does
that get rebuilt upon reboot after an unclean shutdown? I failed to
find anything in the manpage or my dmesg regarding that.

Thanks

// nick


OpenBSD 4.5-beta (GENERIC) #2011: Mon Feb  9 13:01:20 MST 2009
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2146369536 (2046MB)
avail mem = 2072330240 (1976MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (45 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 07/22/2008
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC BOOT
acpi0: wakeup devices USB_(S1)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Quad-Core AMD Opteron(tm) Processor 8356, 2310.78 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 113 detected and fixed
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 65MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: NECVMWar, VMware IDE CDR00, 1.00 ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x08: SMBus disabled
vga1 at pci0 dev 15 function 0 VMware Virtual SVGA II rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 Symbios Logic 53c1030 rev 0x01: apic 2 int 17 
(irq 9)
scsibus1 at mpi0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0: VMware, Virtual disk, 1.0 SCSI2 0/direct fixed
sd0: 6144MB, 512 bytes/sec, 12582912 sec total
sd1 at scsibus1 targ 1 lun 0: VMware, Virtual disk, 1.0 SCSI2 0/direct fixed
sd1: 51200MB, 512 bytes/sec, 104857600 sec total
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
em0 at pci0 dev 17 function 0 Intel PRO/1000MT (82545EM) rev 0x01: apic 2 int 
18 (irq 11), address 00:50:56:b9:38:55
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
softraid0 at root
softraid0: not assembling partial disk that used to be volume 0
root on sd0a swap on sd0b dump on sd0b
(kbd slot)

  
You can't rebuild a softraid(4) right now (manually or automatically). 
You have to recreate it. The process is to make a new softraid and 

Re: -current cwm toggle full-screen

2009-03-02 Thread Aaron Poffenberger
Very strange indeed. You might try `gap 0 0 0 0` to reset it to default 
values.


Pau wrote:

sorry, I have to add a bit more of information:

C M f toggles the window to 85% of the full screen horizontally and
about 60% vertically, the left corner of the window is the only corner
touching the physical limit of the screen

I was giving the values from whatI remembered, sorry.

2009/3/2 Pau vim.u...@googlemail.com:
  

I am using default values... unless this gap value has been unset, I
should be getting the whole of the screen, right?

thanks for your input, btw!

2009/3/2 Aaron Poffenberger a...@hypernote.com:


Pau wrote:
  

funny, I have the problem with all applications... I will check which
snapshot I am using

2009/3/2 J.C. Roberts list-...@designtools.org:



On Mon, 2 Mar 2009 08:27:23 -0500 Okan Demirmen o...@demirmen.com
wrote:


  

On Mon 2009.03.02 at 13:40 +0100, Pau wrote:



Hello,

I am running -current and cwm combination C-M-f seems to not be
working. I don't get a fullscreen, just half of it. I had re-read
the man again but there's no indication that the combintions of keys
should have changed.

Any help will be appreciated.

  

uhm, which application?




With the 2009.02.28/27 i386 snapshot I am *unable* to reproduce the bug
with xterm, gvim or mplayer (playing).

--
J.C. Roberts



  

As a longshot, did you perhaps set the 'gap' value in your .cwmrc (man
cwmrc(5))? I use gap to leave some space along the right side of the screen
for xclock and other utilities.

--Aaron


  


--
Let there be peace on earth. And let it begin with misc




How to Use Alternate /dev/audio* Device?

2009-02-17 Thread Aaron Poffenberger
I've found that my USB harmon/kardon SoundSticks work with my x61. When 
I plug them in they're configured as /dev/audio1. The device works well. 
If I run `cat /dev/urandom  /dev/audio1` I hear static through the 
SoundSticks. I've also found that if I link /dev/audio to /dev/audio1 
rather than /dev/audio0 all sound plays through the SoundSticks as well. 
It's a workable hack.


I don't see any obvious configuration changes I can make using mixerctl 
that will direct audio to /dev/audio1. With aucat I can use -f to select 
the device but that doesn't help when using mplayer. Perhaps I don't 
understand how to use mixerctl or aucat correctly.


Will someone point me in the right direction to play audio system wide 
through /dev/audio1 rather than /dev/audio0?


Cheers,

Aaron

dmesg,  mixerctl -v  audioctl:

OpenBSD 4.4-current (GENERIC) #1667: Fri Jan 30 09:53:41 MST 2009
   t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (GenuineIntel 
686-class) 2 GHz
cpu0: 
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR

real mem  = 3211005952 (3062MB)
avail mem = 3111215104 (2967MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/26/08, BIOS32 rev. 0 @ 0xfdc80, 
SMBIOS rev. 2.4 @ 0xe0010 (63 entries)

bios0: vendor LENOVO version 7NETB8WW (2.18 ) date 09/26/2008
bios0: LENOVO 76757KU
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! 
SSDT SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) IGBE(S4) EXP0(S4) 
EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) 
USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus -1 (EXP4)
acpiprt7 at acpi0: bus 5 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4506 serial  1825 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 
0xd2000/0x3000! 0xe/0x1!

cpu0: unknown Enhanced SpeedStep CPU, msr 0x06120b2f06000b2f
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2200 MHz (1452 mV): speeds: 2200, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at inteldrm0
Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured
em0 at pci0 dev 25 function 0 Intel ICH8 IGP M AMT rev 0x03: apic 1 
int 20 (irq 11), address 00:16:d3:c4:8e:a2
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 
20 (irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 
21 (irq 11)
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 
22 (irq 11)

usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: apic 
1 int 17 (irq 11)

azalia0: RIRB time out
azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog 
Devices AD1984

audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: apic 1 int 
20 (irq 11)

pci1 at ppb0 bus 2
Intel Turbo Memory rev 0x01 at pci1 dev 0 function 0 not configured
ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int 
21 (irq 11)

pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965AGN rev 
0x61: apic 1 int 17 (irq 11), MIMO 2T3R, MoW1, address 00:13:e8:58:27:77
uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 
16 (irq 10)
uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 
17 (irq 11)
ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 1 int 
19 (irq 11)

usb1 at ehci1: USB revision 2.0
uhub1 

Re: How to Use Alternate /dev/audio* Device?

2009-02-17 Thread Aaron Poffenberger
Nice. Looks like my first attempt wasn't a total hack at all. Just an 
incomplete solution. :)


Thanks!

Jacob Meuser wrote:

On Tue, Feb 17, 2009 at 07:12:24PM -0600, Aaron Poffenberger wrote:
  
I've found that my USB harmon/kardon SoundSticks work with my x61. When  
I plug them in they're configured as /dev/audio1. The device works well.  
If I run `cat /dev/urandom  /dev/audio1` I hear static through the  
SoundSticks. I've also found that if I link /dev/audio to /dev/audio1  
rather than /dev/audio0 all sound plays through the SoundSticks as well.  
It's a workable hack.


I don't see any obvious configuration changes I can make using mixerctl  
that will direct audio to /dev/audio1. With aucat I can use -f to select  
the device but that doesn't help when using mplayer. Perhaps I don't  
understand how to use mixerctl or aucat correctly.


Will someone point me in the right direction to play audio system wide  
through /dev/audio1 rather than /dev/audio0?



there are several device nodes for each real audio device: /dev/audioX,
/dev/soundX, /dev/audioctlX and /dev/mixerX.  there are corresponding
links for each of these: /dev/audio, /dev/sound, /dev/audioctl /dev/mixer.
by default, they all point to the first device (e.g. X == 0).  if you
change one, you should change them all.

I use a script like this:


#!/bin/sh

p=$1

ln -sf /dev/audio$p /dev/audio
ln -sf /dev/sound$p /dev/sound
ln -sf /dev/audioctl$p /dev/audioctl
ln -sf /dev/mixer$p /dev/mixer

exit 0
  


the first argument to the script is the audio device number.

alternatively, if you don't want to use your azalia(4) at all, you
could disable the azalia driver in UKC.




Re: How to serve NFSv6 ?

2009-02-14 Thread Aaron Poffenberger

On Feb 14, 2009, at 18:23, jean-francois wrote:


Hi All,

Unfortunately it looks like I have mounted a NFS v2/3 server. Is'nt the
standard nfs for OpenBSD 4.4 a v4 ? If so how is it I could not mount it
as a V4 on the client but only as a v2 or v3 (i'm not sure which of 2 or
3) ?
Please help me to understand. Is it a good thing to go for NFSv4
instead ?

Thanks
J-F



OpenBSD's nfsd(8) is v3 only, though many of the client utils are able 
to fallback to v2 when working with other servers (cf. mount_nfs(8), 
showmount(8)).


nfsd(8) has the following in the man page:
 nfsd listens for service requests at the port indicated in the NFS server
 specification; see Network File System Protocol Specification, RFC 1094
 and NFS: Network File System Version 3 Protocol Specification.

Cheers,

Aaron



Using Manual Rebuild in bioctl(8) for Softraid

2009-02-09 Thread Aaron Poffenberger
I noticed that bioctl(8) now includes the -R flag to kick off a manual 
rebuild. I upgraded to the current snapshot and setup a test mirror to 
try out the new feature but I must not understand how the syntax works. 
Assuming bioctl -R works with softraid(4), can someone tell me how to 
use it correctly? Here's the initial setup of the array and the steps I 
took:


 # bioctl -i sd4
 Volume  Status   Size Device  
 softraid0 0 Online   500099595776 sd4 RAID1

   0 Online   500105176064 0:0.0   noencl wd5a
   1 Online   500105176064 0:1.0   noencl wd6a
   2 Online   500099595776 0:2.0   noencl wd5d

I built the array following the instructions in softraid(4). Everything 
works as expected. I copied a few 100 MBs from /usr/src to the new 
array. I then stopped the array with:


 # bioctl -d sd4

And then attempted to re-create the array without the last element:

 # bioctl -c 1 -l /dev/wd5a,/dev/wd6a softraid0

which failed with message:

 bioctl: BIOCCREATERAID: Invalid argument

so I forced it with:

 # bioctl -C force -c 1 -l /dev/wd5a,/dev/wd6a softraid0

which resulted in this message:

 softraid0: not all chunks were provided
 softraid0: can't attach metadata type 0
 softraid0: not all chunks were provided
 softraid0: can't attach metadata type 0
 scsibus2 at softraid0: 1 targets, initiator 1
 sd4 at scsibus2 targ 0 lun 0: OPENBSD, SR RAID 1, 003 SCSI2 0/direct 
fixed

 sd4: 476937MB, 512 bytes/sec, 976767923 sec total

I then mounted the array and copied more data to it after which I again 
deleted it with:


 # bioctl -d sd4

And then re-created the array with:

 #  bioctl -c 1 -l /dev/wd5a,/dev/wd6a,/dev/wd5d softraid0

which gave this message:

 scsibus2 at softraid0: 1 targets, initiator 1
 sd4 at scsibus2 targ 0 lun 0: OPENBSD, SR RAID 1, 003 SCSI2 0/direct 
fixed

 sd4: 476937MB, 512 bytes/sec, 976767923 sec total

bioctl -i sd4 showed:

 Volume  Status   Size Device
 softraid0 0 Online   500105176064 sd4 RAID1
   0 Online   500105176064 0:0.0   noencl wd5a
   1 Online   500105176064 0:1.0   noencl wd6a

I had to delete and recreate with '-C force' to see all three drives.

 # bioctl -i sd4
 Volume  Status   Size Device 
 softraid0 0 Online   500099595776 sd4 RAID1

   0 Online   500105176064 0:0.0   noencl wd5a
   1 Online   500105176064 0:1.0   noencl wd6a
   2 Online   500099595776 0:2.0   noencl wd5d

The array mounts but surely must be dirty or inconsistent since I 
copied data to the degraded array. So I tried the rebuild command in 
various ways and never could find parameters that would work:


 # bioctl -R /dev/wd5d sd4
 # bioctl -R 0:2.0 sd4

both gave the error:

 bioctl: BIOCSETSTATE: Invalid argument

How do I initiate a manual rebuild?

A couple of other questions:
1) How do I manually fail one element in a softraid mirror? I deleted 
the array and forcibly recreated it minus one element.
   a) Is that correct? Do I need to run any consistency check after 
doing so?
2) Is there a way to add new drive to a running softraid so I can then 
rebuild using it?
3) In the event of an unclean shutdown, is there any process like 
`radictl -P all` that should be run?


Cheers,

--Aaron

The kernel is custom in that RAIDFrame is enabled. I'm trying to move a 
mirrored RAIDFrame device to softraid. Other than that no changes were made.


OpenBSD 4.5-beta (GENERIC) #1: Mon Feb  9 00:05:23 CST 2009
   r...@home.poffenberger.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (AuthenticAMD 
686-class, 512KB L2 cache) 2.01 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16

real mem  = 1072193536 (1022MB)
avail mem = 1028075520 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/29/06, BIOS32 rev. 0 @ 0xf1fc0, 
SMBIOS rev. 2.4 @ 0xf (67 entries)
bios0: vendor Phoenix Technologies, LTD version ASUS M2NPV-VM ACPI BIOS 
Revision 0603 date 11/29/2006

bios0: ASUSTek Computer INC. M2NPV-VM
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET MCFG APIC
acpi0: wakeup devices HUB0(S5) XVRA(S5) XVRB(S5) XVRC(S5) USB0(S4) 
USB2(S4) AZAD(S5) MMAC(S5) MMCI(S5) UAR1(S5) UAR2(S5) PS2M(S4) PS2K(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (HUB0)
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature 75 degC
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0x1 0xd/0x4000! 0xd4000/0x4800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)

Re: Using Manual Rebuild in bioctl(8) for Softraid

2009-02-09 Thread Aaron Poffenberger

On Feb 9, 2009, at 10:38, Marco Peereboom wrote:


Unfortunately manual rebuild does not work yet on softraid.  I'll add
that to the man page.


Thanks.

So is the current rebuild process for a failed drive in softraid to 
build a new array and copy the data from the degraded array to the new 
array?


Cheers,

Aaron




On Mon, Feb 09, 2009 at 10:14:24AM -0600, Aaron Poffenberger wrote:
I noticed that bioctl(8) now includes the -R flag to kick off a manual  
rebuild. I upgraded to the current snapshot and setup a test mirror to  
try out the new feature but I must not understand how the syntax works.  
Assuming bioctl -R works with softraid(4), can someone tell me how to  
use it correctly? Here's the initial setup of the array and the steps I  
took:


 # bioctl -i sd4
 Volume  Status   Size Device   softraid0 0 Online   
500099595776 sd4 RAID1

   0 Online   500105176064 0:0.0   noencl wd5a
   1 Online   500105176064 0:1.0   noencl wd6a
   2 Online   500099595776 0:2.0   noencl wd5d

I built the array following the instructions in softraid(4). Everything  
works as expected. I copied a few 100 MBs from /usr/src to the new  
array. I then stopped the array with:


 # bioctl -d sd4

And then attempted to re-create the array without the last element:

 # bioctl -c 1 -l /dev/wd5a,/dev/wd6a softraid0

which failed with message:

 bioctl: BIOCCREATERAID: Invalid argument

so I forced it with:

 # bioctl -C force -c 1 -l /dev/wd5a,/dev/wd6a softraid0

which resulted in this message:

 softraid0: not all chunks were provided
 softraid0: can't attach metadata type 0
 softraid0: not all chunks were provided
 softraid0: can't attach metadata type 0
 scsibus2 at softraid0: 1 targets, initiator 1
 sd4 at scsibus2 targ 0 lun 0: OPENBSD, SR RAID 1, 003 SCSI2 0/direct  
fixed

 sd4: 476937MB, 512 bytes/sec, 976767923 sec total

I then mounted the array and copied more data to it after which I again  
deleted it with:


 # bioctl -d sd4

And then re-created the array with:

 #  bioctl -c 1 -l /dev/wd5a,/dev/wd6a,/dev/wd5d softraid0

which gave this message:

 scsibus2 at softraid0: 1 targets, initiator 1
 sd4 at scsibus2 targ 0 lun 0: OPENBSD, SR RAID 1, 003 SCSI2 0/direct  
fixed

 sd4: 476937MB, 512 bytes/sec, 976767923 sec total

bioctl -i sd4 showed:

 Volume  Status   Size Device
 softraid0 0 Online   500105176064 sd4 RAID1
   0 Online   500105176064 0:0.0   noencl wd5a
   1 Online   500105176064 0:1.0   noencl wd6a

I had to delete and recreate with '-C force' to see all three drives.

 # bioctl -i sd4 
Volume  Status   Size Device  softraid0 0 Online   
500099595776 sd4 RAID1

   0 Online   500105176064 0:0.0   noencl wd5a
   1 Online   500105176064 0:1.0   noencl wd6a
   2 Online   500099595776 0:2.0   noencl wd5d

The array mounts but surely must be dirty or inconsistent since I  
copied data to the degraded array. So I tried the rebuild command in  
various ways and never could find parameters that would work:


 # bioctl -R /dev/wd5d sd4
 # bioctl -R 0:2.0 sd4

both gave the error:

 bioctl: BIOCSETSTATE: Invalid argument

How do I initiate a manual rebuild?

A couple of other questions:
1) How do I manually fail one element in a softraid mirror? I deleted  
the array and forcibly recreated it minus one element.
   a) Is that correct? Do I need to run any consistency check after  
doing so?
2) Is there a way to add new drive to a running softraid so I can then  
rebuild using it?
3) In the event of an unclean shutdown, is there any process like  
`radictl -P all` that should be run?


Cheers,

--Aaron

The kernel is custom in that RAIDFrame is enabled. I'm trying to move a  
mirrored RAIDFrame device to softraid. Other than that no changes were 
made.


OpenBSD 4.5-beta (GENERIC) #1: Mon Feb  9 00:05:23 CST 2009
   r...@home.poffenberger.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (AuthenticAMD  
686-class, 512KB L2 cache) 2.01 GHz
cpu0:  
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16

real mem  = 1072193536 (1022MB)
avail mem = 1028075520 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/29/06, BIOS32 rev. 0 @ 
0xf1fc0,  
SMBIOS rev. 2.4 @ 0xf (67 entries)
bios0: vendor Phoenix Technologies, LTD version ASUS M2NPV-VM ACPI 
BIOS  
Revision 0603 date 11/29/2006

bios0: ASUSTek Computer INC. M2NPV-VM
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET MCFG APIC
acpi0: wakeup devices HUB0(S5) XVRA(S5) XVRB(S5) XVRC(S5) USB0(S4)  
USB2(S4) AZAD(S5) MMAC(S5) MMCI(S5) UAR1(S5) UAR2(S5) PS2M(S4) PS2K(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu

Re: Accessing PostgreSQL using LedgerSMB with chrooted Apache

2009-01-22 Thread Aaron Poffenberger
You might try connecting via tcp/ip rather than Unix sockets. I haven't 
used LedgerSMB but I do use phpPgAdmin under chrooted Apache over 
tcp/ip. (Same thing with phpMysqlAdmin.)


I tried getting phpMysqlAdmin to run over Unix sockets and that was an 
exercise in frustration. Tcp/ip is the way to go with chrooted Apache, 
though I'd be happy to learn how otherwise.


Make sure you have /var/postgres/data/pg_hba.conf configured to allow 
connections over tcp/ip for localhost addresses. I think it does by 
default but review the section at the bottom of the file to be sure.


--Aaron

On Jan 22, 2009, at 16:06, Chris Bennett wrote:


I can get LedgerSMB to work fine with httpd -u,
but can't it to work correctly with Apache chrooted.

I've added a tmp dir to chroot, imported the files from
/usr/lib /usr/local/lib

tried moving socket into chroot.

No luck. Seems to connect OK with PSQL, but database
creation is failing to work properly.

Not sure what to try next.




Successful Remote Install of OpenBSD to ServerBeach Box using yaifo

2008-09-03 Thread Aaron Poffenberger
We're in the process of moving our small farm of servers from a managed 
provider to unmanaged-provider ServerBeach.com. The difference in price 
between the two in terms of monthly costs was huge! My biggest concern 
was whether I would be able to remotely build an OpenBSD load-balancing 
firewall given they don't have remote-hands technology or support 
connecting com0 to one of the other servers we ordered. Fortunately, 
ServerBeach offer their RapidRescue technology for remote install of 
unsupported OSs. RapidRescue is essentially a Linux, ram-disk based 
environment similar to what's found in stock bsd.rd, except with sshd 
enabled.[1]


To remote install OpenBSD I knew we would have to use a custom bsd.rd 
that included sshd enabled by default. A quick search on 
http://marc.info/?l=openbsd-miscr=1w=2 returned yaifo (I'd forgotten 
the name of the utility) and I was on my way.


I pulled down the latest source from 
http://sourceforge.net/projects/yaifo/ and reviewed the README. 
Everything looked pretty simple until I read about configuring the 
interfaces in the config file. The new servers have two interfaces. One 
with a public IP and the other connected to a private net. I knew I 
would have to get my config right to connect to the server.[2] Reviewing 
ifconfig on the server and dmesg showed me the server had a two built-in 
em(4) interfaces, eth0 having the public IP. I edited the config file 
assuming em0 under an OpenBSD kernel would also be the public NIC. I 
copied the information I found in the default CentOS 5 install to yaifo 
config.


Taking a step back, I first followed the README's advice to test a build 
of yaifo on a local box just to make sure I knew what I was doing. Good 
advice that. My first go at configuring an interface failed. Once I 
proved to myself I could build yaifo.rd and log in remotely (in a vm) 
and could specify the IP (no dhcp in my production environment), it was 
time to build an image for the soon-to-be production server.


I rebooted the server into RapidRescue and scp'd yaifo.fs up to the new 
box. A quick `dd if=yaifo.js of=/dev/sda` and the disk was ready. Moment 
of truth time. I typed reboot. About 30 seconds later I was able to 
connect to the box and was greeted with an OpenSSH login screen. Since I 
had added my authorized_keys to the yaifo image and had ssh-agent 
running, in moments I was logged in an presented with the familiar 
bsd.rd (I)nstall, (U)pgrade or (S)hell? prompt.


I followed the normal install steps, noting that since I had entered 
hard-coded values for the interface config yaifo took care of that part 
of the install for me. I added bsd.mp to the default setup and let the 
installer go. 15 minutes later I finished the config and was pleased to 
see that yaifo gave me the opportunity to move my ssh keys to the new 
server. When done, the yaifo-based install helpfully reminded me to type 
`reboot` rather than `halt -p`. Another 30 seconds later and my spiffy 
new OpenBSD server was up and running.


All told I probably spent 2 hours reading the instructions and prepping 
a vm to test with and another hour or so building and testing yaifo 
before I was ready. Of course the actual server install followed the 
normal OpenBSD quick process. With the ease of installation and my 
concerns about remote install put to rest, I'm ready to start looking at 
moving the rest of our remote servers to OpenBSD. I would be glad to be 
move from RedHat/CentOS to OpenBSD across the board.


Thanks to all the OpenBSD developers for making installations quick and 
easy and special thanks to merdely@ for taking yaifo under his wing and 
keeping it up-to-date and easy to use.


--Aaron

[1] http://www.serverbeach.com/products/rapid_rescue.php
[2] If I wanted to connect the first time. RapidRescue makes it easy to 
load image after image on the disks so there was no risk of borking the 
server.




Typo in pkg_delete output message?

2008-06-12 Thread Aaron Poffenberger

I tried to delete a partial package by typing `pkg_delete
partial-xulrunner-1.8.1.13`. Apparently it wasn't fully installed and I
received the following output message:

 /bin/sh: xulrunner: not foundading plist

I'm guessing that should be not founding plist or perhaps plist not
found or something similar.

Cheers,

Aaron



Re: Typo in pkg_delete output message?

2008-06-12 Thread Aaron Poffenberger

Marc Espie wrote:

On Thu, Jun 12, 2008 at 08:09:56AM -0500, Aaron Poffenberger wrote:
  

I tried to delete a partial package by typing `pkg_delete
partial-xulrunner-1.8.1.13`. Apparently it wasn't fully installed and I
received the following output message:

 /bin/sh: xulrunner: not foundading plist

I'm guessing that should be not founding plist or perhaps plist not
found or something similar.



Nope, it's xulrunner's message overriding the current progress display,
namely:
   partial-xulrunner-1.8.1.3: reading plist

  

Thanks for the explanation.



Re: [Diff attached] Re: new aml parser for acpi

2008-06-12 Thread Aaron Poffenberger
Aaron Poffenberger wrote:
 Marco Peereboom wrote:
 A few minutes ago I re-enabled the new AML parser for ACPI.  This parser
 fixes quite a few issues, including those pesky new HP boxes that were
 crapping out with the setbufint panic.  Also ACPI interrupts in MP on
 amd64 now work as well (at least on my machines).

 Even though we think this helps a lot we want to make sure we do not
 have any regressions.  So please check out a new tree and compile a new
 kernel or download a snapshot and test acpi as much as you can.

 What would help is to see if the dmesg changes.  So take a dmesg with
 the old and the new kernel and run diff -uNp on it.  If anything changes
 besides a little bit of memory usage please mail me the results with all
 usual suspects (acpidump, dmesg old, dmesg new).

 Do not wait on this, we need results now if this is to be included on
 the next OpenBSD version.

 Thanks,
 /marco

   
 Hi Marco,
 Diffs from a Lenovo x61 from 4.3 release and an update and build on 
 June 4th. Since it showed more than just memory changes I'm sending 
 you the diffs. I've noticed an occasional hang when using halt -p. The 
 disks sync and it gets to shutting down a UCHI device (I think 3) and 
 then hangs there until I force it to power off. If it happens again 
 I'll write down the exact device that it hangs on and send it to you.

 If there are significant enough changes that warrant an update to 
 -current, please let me know and I'll regenerate the diffs for you.

 Thanks for all your work on ACPI!

 --Aaron
I apologize if you got multiple copies of this, my email client was 
acting wonky last night.

On a further note, the x61 hung again this morning. After syncing the 
disks I see:
  uhci2: host controller halted
  uhci0: host controller halted
  uhci1: host controller halted
  uhci3: host controller halted

It then fails to shutdown. As noted above, with 4.3_release it shuts 
down fine.

Perhaps related, since updating to -current, the iwn(4) won't always 
connect properly to an airport express wireless access point whereas it 
will always connect to a wrt54g at the other end of the house.

Again, under 4.3_release it did work every time. What I find is that I 
have to issue `ifconfig iwn0 nwid home1` followed by `dhclient iwn0` 
several times to get it to attach. At the moment I'm at a friend's 
office where ifconfig clearly shows iwn0 attached to the nwid of his AP 
but I always get no link...sleeping. When I issue `ifconfig iwn0` 
I get back:

iwn0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:13:e8:58:27:77
groups: wlan
media: IEEE802.11 autoselect (OFDM36 mode 11g)
status: no network
ieee80211: nwid CarolineCollective chan 1 bssid 00:12:17:c4:98:87 
200dB 100dBm
inet6 fe80::213:e8ff:fe58:2777%iwn0 prefixlen 64 scopeid 0x2

But I just can't get a lease from it.

Please let me know if I can be of further assistance.

Cheers,

Aaron

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of lenovo_thinkpad_x61.tgz]



Re: [Diff attached] Re: new aml parser for acpi

2008-06-12 Thread Aaron Poffenberger

Marco Peereboom wrote:

Fix is going in shortly.

On Thu, Jun 12, 2008 at 12:08:27PM -0500, Aaron Poffenberger wrote:
  

Aaron Poffenberger wrote:


Marco Peereboom wrote:
  

A few minutes ago I re-enabled the new AML parser for ACPI.  This parser
fixes quite a few issues, including those pesky new HP boxes that were
crapping out with the setbufint panic.  Also ACPI interrupts in MP on
amd64 now work as well (at least on my machines).

Even though we think this helps a lot we want to make sure we do not
have any regressions.  So please check out a new tree and compile a new
kernel or download a snapshot and test acpi as much as you can.

What would help is to see if the dmesg changes.  So take a dmesg with
the old and the new kernel and run diff -uNp on it.  If anything changes
besides a little bit of memory usage please mail me the results with all
usual suspects (acpidump, dmesg old, dmesg new).

Do not wait on this, we need results now if this is to be included on
the next OpenBSD version.

Thanks,
/marco

  


Hi Marco,
Diffs from a Lenovo x61 from 4.3 release and an update and build on June 
4th. Since it showed more than just memory changes I'm sending you the 
diffs. I've noticed an occasional hang when using halt -p. The disks sync 
and it gets to shutting down a UCHI device (I think 3) and then hangs 
there until I force it to power off. If it happens again I'll write down 
the exact device that it hangs on and send it to you.


If there are significant enough changes that warrant an update to 
-current, please let me know and I'll regenerate the diffs for you.


Thanks for all your work on ACPI!

--Aaron
  
I apologize if you got multiple copies of this, my email client was acting 
wonky last night.


On a further note, the x61 hung again this morning. After syncing the disks 
I see:

 uhci2: host controller halted
 uhci0: host controller halted
 uhci1: host controller halted
 uhci3: host controller halted

It then fails to shutdown. As noted above, with 4.3_release it shuts down 
fine.


Perhaps related, since updating to -current, the iwn(4) won't always 
connect properly to an airport express wireless access point whereas it 
will always connect to a wrt54g at the other end of the house.


Again, under 4.3_release it did work every time. What I find is that I have 
to issue `ifconfig iwn0 nwid home1` followed by `dhclient iwn0` several 
times to get it to attach. At the moment I'm at a friend's office where 
ifconfig clearly shows iwn0 attached to the nwid of his AP but I always get 
no link...sleeping. When I issue `ifconfig iwn0` I get back:


iwn0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:13:e8:58:27:77
   groups: wlan
   media: IEEE802.11 autoselect (OFDM36 mode 11g)
   status: no network
   ieee80211: nwid CarolineCollective chan 1 bssid 00:12:17:c4:98:87 200dB 
100dBm

   inet6 fe80::213:e8ff:fe58:2777%iwn0 prefixlen 64 scopeid 0x2

But I just can't get a lease from it.

Please let me know if I can be of further assistance.

Cheers,

Aaron



  

Following is the diff from 698 and a build around 17:15 CDT:

--- dmesg.generic.698   Tue Jun  3 17:42:17 2008
+++ dmesg.generic.2008-06-12_1700CDTThu Jun 12 18:31:59 2008
@@ -1,9 +1,9 @@
-OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
-[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
+OpenBSD 4.3-current (GENERIC) #2: Thu Jun 12 17:56:55 CDT 2008
+[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (GenuineIntel 686-class) 2 
GHz
cpu0: 
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 3211005952 (3062MB)
-avail mem = 3111432192 (2967MB)
+avail mem = 3111358464 (2967MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/15/07, BIOS32 rev. 0 @ 0xfdc80, SMBIOS 
rev. 2.4 @ 0xe0010 (63 entries)
bios0: vendor LENOVO version 7NET30WW (1.11 ) date 11/15/2007
@@ -31,6 +31,7 @@ acpibat0 at acpi0: BAT0 model 42T4506 serial  1825 t
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit offline
+acpithinkpad0 at acpi0
acpidock at acpi0 not configured
bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 0xd2000/0x3000! 
0xe/0x1!
cpu0 at mainbus0
@@ -39,10 +40,10 @@ cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2200 MHz (1452 mV): speeds: 2200, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
-agp0 at pchb0: aperture at 0xe000, size 0x800
vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
+agp0 at vga1: aperture at 0xe000, size 0x1000
Intel GM965 Video rev 0x0c at pci0 dev 2 function 1

Re: [Diff attached] Re: new aml parser for acpi

2008-06-12 Thread Aaron Poffenberger

Aaron Poffenberger wrote:

Marco Peereboom wrote:

Fix is going in shortly.

On Thu, Jun 12, 2008 at 12:08:27PM -0500, Aaron Poffenberger wrote:
 

Aaron Poffenberger wrote:
   

Marco Peereboom wrote:
 
A few minutes ago I re-enabled the new AML parser for ACPI.  This 
parser
fixes quite a few issues, including those pesky new HP boxes that 
were

crapping out with the setbufint panic.  Also ACPI interrupts in MP on
amd64 now work as well (at least on my machines).

Even though we think this helps a lot we want to make sure we do not
have any regressions.  So please check out a new tree and compile 
a new

kernel or download a snapshot and test acpi as much as you can.

What would help is to see if the dmesg changes.  So take a dmesg with
the old and the new kernel and run diff -uNp on it.  If anything 
changes
besides a little bit of memory usage please mail me the results 
with all

usual suspects (acpidump, dmesg old, dmesg new).

Do not wait on this, we need results now if this is to be included on
the next OpenBSD version.

Thanks,
/marco

  

Hi Marco,
Diffs from a Lenovo x61 from 4.3 release and an update and build on 
June 4th. Since it showed more than just memory changes I'm sending 
you the diffs. I've noticed an occasional hang when using halt -p. 
The disks sync and it gets to shutting down a UCHI device (I think 
3) and then hangs there until I force it to power off. If it 
happens again I'll write down the exact device that it hangs on and 
send it to you.


If there are significant enough changes that warrant an update to 
-current, please let me know and I'll regenerate the diffs for you.


Thanks for all your work on ACPI!

--Aaron
  
I apologize if you got multiple copies of this, my email client was 
acting wonky last night.


On a further note, the x61 hung again this morning. After syncing 
the disks I see:

 uhci2: host controller halted
 uhci0: host controller halted
 uhci1: host controller halted
 uhci3: host controller halted

It then fails to shutdown. As noted above, with 4.3_release it shuts 
down fine.


Perhaps related, since updating to -current, the iwn(4) won't always 
connect properly to an airport express wireless access point whereas 
it will always connect to a wrt54g at the other end of the house.


Again, under 4.3_release it did work every time. What I find is that 
I have to issue `ifconfig iwn0 nwid home1` followed by `dhclient 
iwn0` several times to get it to attach. At the moment I'm at a 
friend's office where ifconfig clearly shows iwn0 attached to the 
nwid of his AP but I always get no link...sleeping. When I 
issue `ifconfig iwn0` I get back:


iwn0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:13:e8:58:27:77
   groups: wlan
   media: IEEE802.11 autoselect (OFDM36 mode 11g)
   status: no network
   ieee80211: nwid CarolineCollective chan 1 bssid 00:12:17:c4:98:87 
200dB 100dBm

   inet6 fe80::213:e8ff:fe58:2777%iwn0 prefixlen 64 scopeid 0x2

But I just can't get a lease from it.

Please let me know if I can be of further assistance.

Cheers,

Aaron



  

Following is the diff from 698 and a build around 17:15 CDT:

--- dmesg.generic.698Tue Jun  3 17:42:17 2008
+++ dmesg.generic.2008-06-12_1700CDTThu Jun 12 18:31:59 2008
@@ -1,9 +1,9 @@
-OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
-[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
+OpenBSD 4.3-current (GENERIC) #2: Thu Jun 12 17:56:55 CDT 2008
+[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (GenuineIntel 
686-class) 2 GHz
cpu0: 
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR 


real mem  = 3211005952 (3062MB)
-avail mem = 3111432192 (2967MB)
+avail mem = 3111358464 (2967MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/15/07, BIOS32 rev. 0 @ 
0xfdc80, SMBIOS rev. 2.4 @ 0xe0010 (63 entries)

bios0: vendor LENOVO version 7NET30WW (1.11 ) date 11/15/2007
@@ -31,6 +31,7 @@ acpibat0 at acpi0: BAT0 model 42T4506 serial  1825 t
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit offline
+acpithinkpad0 at acpi0
acpidock at acpi0 not configured
bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 
0xd2000/0x3000! 0xe/0x1!

cpu0 at mainbus0
@@ -39,10 +40,10 @@ cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2200 MHz (1452 mV): speeds: 2200, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
-agp0 at pchb0: aperture at 0xe000, size 0x800
vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
+agp0 at vga1: aperture at 0xe000, size 0x1000
Intel GM965 Video rev 0x0c

Re: RAID 0+1

2008-04-27 Thread Aaron Poffenberger

Lars NoodC)n wrote:

I'm looking to set up a test unit this summer to try RAID 1+0 or 3+0.
The goal is to be able to stream data quickly but tolerate loss of at
least one disk at a time.

It looks like there are three options supporting at least RAID level 0
and 1, can/should any of these be stacked yet?

 softraid
  http://www.openbsd.org/cgi-bin/man.cgi?query=softraid

 raidframe
  http://www.openbsd.org/cgi-bin/man.cgi?query=raid

 ccd
  http://www.openbsd.org/cgi-bin/man.cgi?query=ccd

It looks like one disk (or CF) is needed for a base OpenBSD system, and
the other 4+ for RAID.  Is that the best way to ensure unattended booting?

Also, what kind of data would you want back on the tests?  It's early
enough that I can work it into the plans.

Regards,
-Lars

  

Hey Lars,
I'm using raidframe with 1+0.  From my reading of the raidctl(8) man 
page it looks like you can compose raid sets from any valid devices, 
including other properly configured raidframe devices.  If you're 
interested I'll send you my /etc/raid*.conf files.  I'm sure you know 
this but for posterity, read the raidctl(8) man page closely.  
Everything is in there.  Nevertheless, it took me two passes to figure 
out how to get auto configuration working correctly.


As for test results, I'd be interested in throughput performance when a 
drive is taken out of the pool (failed) and throughput performance while 
the array is rebuilding once a spare has been brought online.


Cheers,

Aaron



Re: lenovo thinkpad x61s support for wireless + sound

2007-09-11 Thread Aaron Poffenberger
Thanks Vim, Deanna and Damien!  I just bought an x61 last week and was 
wondering what to do about wireless.  Now I know.


I'll install -current ASAP and let you know how it goes.

Cheers!

Aaron

P.S.  Also looking forward to my 4.2 goodies!

Vim Visual wrote:

Hi,

I just wanted to report that today and after gallons of sweat and
blood and some 14 compiled kernels to test the drivers and patches of
Damien Bergamini (iwn0) and Deanna Phillips (azalia) (and correct a
lot of mistakes I made), I finally got my brand new lenovo thinkpad
wireless device (Intel 4965AGN) and sound card (Intel 82801H HD) to
work with OpenBSD -current.

Volume up/ down work perfectly (on terminal, for X it'll be more
tricky, depends on your WM, but mute does work both in X and no-X).

I have seen some people complaining on the difficulty of wireless
management in obsd; I am writing a script now to simplify it and I'll
post it as soon as I have it running.

By the way, the keys for light up/down works just out of the box.

So... don't hesitate and get a new lnovo thinkpad x61s!

Cheers,

Pau Amaro-Seoane




Re: scanner??

2007-09-11 Thread Aaron Poffenberger

Vim Visual wrote:

Hi,

Yet almost an amateur, I have totally moved to OpenBSD, I have
preordered my CDs, I bought them in the last release, tshirt/s too and
I am a missionary of the Unique Truth and try to convert all salvages
around me to it.

Now, I am looking forward to buying a scanner. I don't want a scanner,
printer, washing machine and vacuum cleaner, I just want a scanner
that scans documents and pictures. That's it.

... and I wonder whether any of you has a recommendation for me.

Do you?

Thanks a lot,

Pau Amaro Seoane


Hi Vim,
I know you're not looking for a washing machine and vacuum cleaner, but 
perhaps you should look at the Brother and HP MFC models.  The HP 7650 
has an auto-document feeder (ADF) which was a must have for me.  Because 
of the ADF it can scan both sides with the built in duplexer.  (It can 
also print duplex.)


The nice part about the scanner is it can be configured (via web 
interface) to scan to an SMB file share.  I'm running Samba on OpenBSD 
4.1 and have it scan straight to the share and then pick-up my scans 
from the folder.  The only trouble I've had is occasionally the scanner 
will complain about not being able to find the share.  It will usually 
find it once I push OK and restart the scan.


I haven't tried SANE with it nor have I tried printing from OpenBSD.  We 
print typically from OS X.  However, HP have been really working with 
the community to release all the code necessary to print with CUPS (and 
perhaps with lpn).  It should just work(tm).


I used to have a Brother 38xx that could scan straight to a card.  That 
was my solution back then.


Good luck finding what you want.

--Aaron



Re: Snapshots src/sys tarballs

2007-05-30 Thread Aaron Poffenberger
Theo de Raadt wrote:
 Besides, snapshots often contain uncommitted tweaks, so a cvs tag
 would not even do the job for you.
 

 About once a month there is a day where snapshots are a completely
 unmodified source tree.  The other 29 or 30 days of the month, there
 are small needs to be tested by volunteers diffs put into the tree.
 This also serves to ensure that none of the architectures get busted,
 because those snapshots are also then rebooted on the build machines,
 and thus tested.

 With about half a million dollars of extra money I am sure that I
 could change this process and make it more suitable to the whiners.

   
That sounds like the basis for a policy -- for a cool half million the
OpenBSD project will fix the donor's favorite whiny problem*.  :-)

*Subject to final approval.  No refunds.  Offer void where prohibited by
law.  Please include 3 box tops from your favorite cereal.



Re: Thecus N2100 and RAID 1

2007-05-08 Thread Aaron Poffenberger
Raidframe is really easy to use.  The man pages for raidctl(8) will give
you step-by-step instructions.  In a nutshell, though:

1) enable raidframe in your kernel (search for RAIDframe in GENERIC to
get find the line),
2) create the raidn.conf (where n is a number for the array) following
the man page -- see the examples section,
3) create the raid -- again, see the examples section in the man page,
4) copy the raidn.conf file to /etc if you want auto configuration
during reboots (this part didn't leap out at me from the manpage),
5) enjoy.

Bryan Vyhmeister wrote:
 On May 8, 2007, at 2:54 AM, Joachim Schipper wrote:

 On Mon, May 07, 2007 at 08:39:50PM -0700, Bryan Vyhmeister wrote:
 So you are saying that ccd(4) has reliability problems? I actually
 meant to ask what type of physical memory does the box take. Thanks
 for your response.

 No no, ccd(4) works as designed. And for concatenated disks, it does
 exactly what you would expect that to be. For mirrored disks, though,
 you'd like it to have better support for rebuilding after failures.

 I understand. I am really only interested in mirroring so I guess I
 should just probably use raidframe and see how it goes.

 Bryan



4.1 dmesg - Asus M2NPV-VM

2007-05-01 Thread Aaron Poffenberger
I received my 4.1 discs and recently upgraded my Asus M2NPV-VM.  It has
an ADM64 X2 3800, 1GB DDR2 RAM @ 667Mhz, 1 PATA and 4 SATA drives
running 4.1 i386 release rather than the AMD release.  Following is the
dmesg for GENERIC.MP.

ACPI is not enabled.  I can boot fine with GENERIC and ACPI but the one
time I tried it with GENERIC.MP it hung.  I haven't had time to look
closely and see what's up.

The M2NPV-VM is a good motherboard if you overlook the NVIDIA crap
(which I don't use).  It has 2 COM headers which I find helpful so I can
dedicate one to the console and the other to the UPS.

For those interested in comparing, here's a link to the dmesg from 4.0
posted by Tiago Marques
http://marc.info/?l=openbsd-miscm=116862506628401w=2.  It looks like
Tiago was running AMD64.

--Aaron

OpenBSD 4.1 (GENERIC.MP) #1225: Sat Mar 10 19:23:18 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (AuthenticAMD
686-class, 512KB L2 cache) 2.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
real mem  = 1055420416 (1030684K)
avail mem = 955527168 (933132K)
using 4278 buffers containing 52895744 bytes (51656K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 11/29/06, BIOS32 rev. 0 @ 0xf1fc0,
SMBIOS rev. 2.4 @ 0xf (67 entries)
bios0: ASUSTek Computer INC. M2NPV-VM
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf/0xdef4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde00/224 (12 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 13 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xec00 0xd/0x4000!
acpi at mainbus0 not configured
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (AuthenticAMD
686-class, 512KB L2 cache) 2.01 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,SSE3,CX16
mainbus0: bus 0 is type PCI  
mainbus0: bus 1 is type PCI  
mainbus0: bus 2 is type PCI  
mainbus0: bus 3 is type PCI  
mainbus0: bus 4 is type PCI  
mainbus0: bus 5 is type ISA  
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0 NVIDIA C51 PCIE rev 0xa1
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1
pci3 at ppb2 bus 3
vga1 at pci0 dev 5 function 0 NVIDIA GeForce 6150 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA MCP51 ISA rev 0xa3
nviic0 at pci0 dev 10 function 1 NVIDIA MCP51 SMBus rev 0xa3
iic0 at nviic0
iic1 at nviic0
NVIDIA MCP51 Memory rev 0xa3 at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: apic 2 int
5 (irq 5), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0 at pci0 dev 11 function 1 NVIDIA MCP51 USB rev 0xa3: apic 2 int
10 (irq 10)
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
pciide0 at pci0 dev 13 function 0 NVIDIA MCP51 IDE rev 0xa1: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: Maxtor 6L250R0
wd0: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: SONY, DVD RW DRU-510A, 1.0a SCSI0
5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 14 function 0 NVIDIA MCP51 

Re: monitoring APC UPSes

2007-03-30 Thread Aaron Poffenberger
I was recently running apcupsd without problem.  Nevertheless I
swtiched, recently, to nut [1] because it's so much better.  It has
excellent APC monitoring.  If your APC is Smart or a Backups Pro model,
it can control all the exposed functions.  Even cooler, it's called nut
because it's the Network UPS Tools kit.  If you have more than one
system plugged into the same UPS, the system monitoring the UPS can let
other systems know they should shutdown so everything goes down
cleanly.  Lastly, it has a nice scheduler that send you alerts when the
UPS has been on battery power for some n period of time and let you know
when it's back on the mains.

Use nut.  You'll be happy you did.

Aaron

[1] Found in ports.  Online documentation at
http://www.networkupstools.org/compat/.

Thierry Lacoste wrote:
 I'd like to know if it is safe to run apcupsd-3.14.0.
 There are some issues regarding pthreads on OpenBSD
 raised in the apcupsd-3.12.x user's guide but these issues
 are not mentioned anymore in the apcupsd-3.14.x user's guide.

 Is it better to use apc-upsd from ports?
 It seems to be a bit old and I could not find any documentation
 on how to configure and use it.

 Any recommandations would be much appreciated.

 Regards,
 Thierry.



Re: monitoring APC UPSes

2007-03-30 Thread Aaron Poffenberger
System Administrator wrote:
 On 30 Mar 2007 at 10:21, Aaron Poffenberger wrote:

   
 I was recently running apcupsd without problem.  Nevertheless I
 swtiched, recently, to nut [1] because it's so much better.  It has
 excellent APC monitoring.  If your APC is Smart or a Backups Pro model,
 it can control all the exposed functions.  Even cooler, it's called nut
 because it's the Network UPS Tools kit.  If you have more than one
 system plugged into the same UPS, the system monitoring the UPS can let
 other systems know they should shutdown so everything goes down cleanly.
  Lastly, it has a nice scheduler that send you alerts when the UPS has
 been on battery power for some n period of time and let you know when
 it's back on the mains.

 Use nut.  You'll be happy you did.

 Aaron
 

 Actually your information is inacurate and unfairly biased.
   
Inaccurate -- quite possibly.  Biased -- not.  I have no particular
interest or association with either project.  I offered my opinion after
running both straight from the ports tree.  The tag on apc-upsd in ports
(apc-upsd-19991128) certainly implies its very old.  So it's quite
possible the OP meant a newer version.  I'll offer this clarification --
the version of nut in the 4.0 ports tree SMOKES the apc-upsd-19991128
port in the same.  See reasons above.  ;-)
 Both NUT and APCUPSd have very similar capabilities for shared UPSes 
 and notifying other servers, as well as reporting, graphing, etc. In 
 fact, they share a lot of code (pls review the changelogs) and even the 
 comm protocol is similar although by default it runs on different 
 ports.

 The major difference has to do with their development cycles, goals and 
 sponsorship. Namely, APCUPSd is totally independent development of UPS 
 management code for only one brand of UPS (APC) and with frequent 
 releases. In the last 3 years NUT has not been properly updated; its 
 original goal was to support as many UPS brands as possible; and in 
 recent years it has been sponsored by MGE. (I believe that includes 
 full-time employment for the primary developer.) Now, an interesting 
 recent development may change this analysis completely -- the fact that 
 APC has been acquired by MGE, but only time will tell the story...

   
 [1] Found in ports.  Online documentation at
 http://www.networkupstools.org/compat/.

 Thierry Lacoste wrote:
 
 I'd like to know if it is safe to run apcupsd-3.14.0.
 There are some issues regarding pthreads on OpenBSD
 raised in the apcupsd-3.12.x user's guide but these issues
 are not mentioned anymore in the apcupsd-3.14.x user's guide.

 Is it better to use apc-upsd from ports?
 It seems to be a bit old and I could not find any documentation
 on how to configure and use it.

 Any recommandations would be much appreciated.

 Regards,
 Thierry.
   
 

 -
 System Administrator[EMAIL PROTECTED]
 Bitwise Internet Technologies, Inc.
 22 Drydock Avenue tel: (617) 737-1837
 Boston, MA 02210  fax: (617) 439-4941

   
Cheers,

Aaron



Re: OpenBSD 4.0 - Asus M2NPV-VM

2007-01-12 Thread Aaron Poffenberger
Tiago Marques wrote:
 For all those interested, here goes the dmesg of OpenBSD 4.0 running on a
 Asus M2NPV-VM board with AMD64 X2 4200+ EE and 1GB DDR2 667MHz.

 SATA and Network OK.

 Only problem is with X, mouse not working.
 Just installed it though, so haven't tweaked anything.

 BTW, put the BIOS PlugPlay OS in NO, for it to boot.

 Best regards,
 Tiago Marques

   
I just built a small server using this same board.  I haven't tried X so
I can't speak to the mouse issue but in all the respects that matter to
me it's a huge improvement over my previous board the Asus A8N-SLI
Premium.  (The A8N had really crappy SATA performance.)  Following is my
dmesg using GENERIC.MP kernel from the 4.0 i386 tree with raidframe
compiled in.  No other options were changed.

One of the things I like about this mobo is two on-board serial ports. 
At least one serial port was high on my list for the UPS, two is a bonus.

It also has good hw.sensors support and, IIRC, 3 on board fan plugs in
addition to the cpu fan.  No watchdogd support, though.
hw.sensors.0=it0, Fan1, 2800 RPM
hw.sensors.2=it0, Fan3, 19852 RPM
hw.sensors.3=it0, VCORE_A, 1.14 V DC
hw.sensors.4=it0, VCORE_B, 3.15 V DC
hw.sensors.5=it0, +3.3V, 0.00 V DC
hw.sensors.6=it0, +5V, 4.73 V DC
hw.sensors.7=it0, +12V, 11.46 V DC
hw.sensors.8=it0, Unused, -8.60 V DC
hw.sensors.9=it0, -12V, -17.00 V DC
hw.sensors.10=it0, +5VSB, 4.57 V DC
hw.sensors.11=it0, VBAT, 2.85 V DC
hw.sensors.12=it0, Temp 1, 29.00 degC
hw.sensors.13=it0, Temp 2, 37.00 degC
hw.sensors.14=it0, Temp 3, 25.00 degC

This board has some nice multi-media features and could be a good freevo
box or workstation in addition to my implementation as a light-duty
server.  I picked it up for US$99 at Frys.

Aaron

OpenBSD 4.0 (GENERIC.RAID.MP) #0: Sat Jan  6 22:13:57 CST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.RAID.MP
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (AuthenticAMD
686-class, 512KB L2 cache) 2.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
real mem  = 1038643200 (1014300K)
avail mem = 938905600 (916900K)
using 4256 buffers containing 52035584 bytes (50816K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(41) BIOS, date 11/29/06, BIOS32 rev. 0 @
0xf1fc0, SMBIOS rev. 2.4 @ 0xf (67 entries)
bios0: ASUSTek Computer INC. M2NPV-VM
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf/0xdef4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde00/240 (13 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 13 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xec00 0xd/0x4000!
mainbus0: Intel MP Specification (Version 1.4) (OEM0 PROD)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 503 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (AuthenticAMD
686-class, 512KB L2 cache) 5.04 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,SSE3,CX16
mainbus0: bus 0 is type PCI   
mainbus0: bus 1 is type PCI   
mainbus0: bus 2 is type PCI   
mainbus0: bus 3 is type PCI   
mainbus0: bus 4 is type PCI   
mainbus0: bus 5 is type ISA   
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0 NVIDIA C51 PCIE rev 0xa1
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1
pci3 at ppb2 bus 3
vga1 at pci0 dev 5 function 0 NVIDIA GeForce 6150 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA MCP51 ISA rev 0xa3
nviic0 at pci0 dev 10 function 1 NVIDIA MCP51 SMBus rev 0xa3
iic0 at nviic0
iic1 at nviic0
NVIDIA MCP51 Memory rev 0xa3 at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: apic 2 int
5 (irq 5), version 1.0, legacy support
usb0 at 

Re: Is Marvell 88E8053 supported?

2006-05-16 Thread Aaron Poffenberger
I had that chipset working under 3.8.  My current board has the Marvell 
88E8001 and it works just fine having been upgraded from 3.8.  If you 
can't post the full dmesg you should at least transcribe the error 
otherwise you're unlikely to get any help.


Cheers,

Aaron

dmesg snippet:

OpenBSD 3.9 (GENERIC) #462: Thu Mar  2 03:52:16 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
snip
skc0 at pci1 dev 12 function 0 Marvell Yukon 88E8001/8003/8010 rev 
0x13, Marvell Yukon L

ite (0x9): irq 3
sk0 at skc0 port A, address 00:15:f2:1d:21:6a
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
nfe0 at pci0 dev 10 function 0 NVIDIA CK804 LAN rev 0xa3: irq 5, 
address 00:15:f2:1d:0c:b6

eephy1 at nfe0 phy 1: Marvell 88E Gigabit PHY, rev. 2


Dmitrij D. Czarkoff wrote:

Is Marvell 88E8053 PCI-E Gigabit Ethernet Controller supported under
OpenBSD? I tried to install OpenBSD 3.9, but it failed to attach it.
The dmesg showed that skc found the controller but failed to attach it
due to some sk0 problems. Unfortunately I can't show the dmesg output.

Is it possible to get the controller working under OpenBSD this time?
--
.0.
..0
000

[demime 1.01d removed an attachment of type application/pgp-signature]




Help Vampires: A Spotters Guide -- Why I Like OpenBSD and Its Community

2006-05-13 Thread Aaron Poffenberger
I found this practical blog entry by Amy Hoy on her blog, 
slash7.com http://www.slash7.com/pages/vampires.In the post Amy 
describes how to identify Help Vampires how to reform yourself if you are one, 
and how to quit enabling them if they show up in your community. She writes:


It's so regular you could set your watch by it. The decay of a 
community is just as predictable as the decay of certain stable nuclear 
isotopes. As soon as an open source project, language, or what-have-you 
achieves a certain notorietyits half-life, if you will*they* swarm in, 
seemingly draining the very life out of the community itself.


*They* are the Help Vampires. And I'm here to stop them.

Amy offers the following tips for identifying Help Vampires:

   * Does he ask the same, tired questions others ask (at a rate of
 once or more per minute)?
   * Does he clearly lack the ability or inclination to ask the
 almighty Google?
   * Does he refuse to take the time to ask coherent, specific questions?
   * Does he think helping him must be the high point of your day?
   * Does he get offensive, as if *you* need to prove to *him* why he
 should use Ruby on Rails?
   * Is he obviously just waiting for some poor, well-intentioned
 person to do all his thinking for him?
   * Can you tell he really isn't interested in having his question
 answered, so much as getting someone else to do his work?

Rather than advocating putting a stake through the heart of Help 
Vampires, she offers practical guidance for helping them reform. What I found 
particularly interesting about her advice is how this community already 
practices what she suggests:


  1. Create resources for Help Vampires (and regular folks) to help
 themselves.
  2. Cease all behavior which enables Help Vampires' vampy behavior.
  3. Meet Help Vampires head-on.

Which brings me to what I like about OpenBSD. I've recently switched
to OpenBSD. Despite a fare amount of experience with Linux, OS X and
Windows like anything I've had to find my legs with OpenBSD. The OS
and the community have made that almost painless. The man pages are 
up-to-date and useful. The online FAQ address practically everything a 
new user will run into or ask. And the mailing lists are mature forums 
for serious folks to learn about and/or help others learn about this 
powerful system.


I mentioned Amy's post because I've noticed several others who've
joined the community around the same time I did are having some trouble
acclimating themselves to such a serious and professional community. 
I suggest all new members take a few minutes to read Amy's post,
especially focusing on the self-help section. I think we all will find 
that the terse answers and sharply pointed requests to fead the FAQ, 
use google or provide useful debugging information is the reasonable

request of helpful but busy people helping us help ourselves to become
self-reliant and perhaps even expert users of this awesome OS. And
if that's too much to ask then perhaps we should be looking for a
different OS and community to participate in.

Thanks to everyone who make OpenBSD and the community a joy to use and 
participate in!


--Aaron



Re: Help Vampires: A Spotters Guide -- Why I Like OpenBSD and Its Community

2006-05-13 Thread Aaron Poffenberger
Interesting article but hardly applicable to most of the people I see 
posting to the @ lists. I don't believe in such entities but even were 
it the case energy vampires truly exist and in some natural or 
supernatural way suck the psychic force of others you'll note that they 
feed on the weak.


If you can demonstrate to me that the OpenBSD lists in particular or the 
user population in general are psychic weaklings then we'll talk. 
Otherwise your reply is pointless.


If you think I'm wrong, then contradict the post with useful facts. If 
you think I have no right or standing to address such an article to 
other OpenBSD neophytes (and I do include myself in that list), then say 
that and backup your assertions.


If you're just offended then learn to deal with it. That's the upshot of 
my post. OpenBSD appears to *me* to be a system and community aimed at 
mature people who take responsibility for themselves and wouldn't let an 
energy vampire suck them dry.


Cheers,

Aaron

Peter Philipp wrote:

Before you go looking for or spotting Help Vampires perhaps you should analyze 
yourself whether you are an Energy Vampire.


URL: http://en.wikipedia.org/wiki/Energy_vampire

Willing or not, pointing out to people what annoys them is downright depressing.

Cheers,

-p




Re: Laptop recommendations

2006-05-11 Thread Aaron Poffenberger

rjn wrote:


Hi all,

I'm looking into getting a new laptop (I start college in the fall).
In particular, I'm looking for something OpenBSD compatible.  I
considering either a Lenovo Thinkpad or the MacBook Pro.  From what
I've seen you can only boot the macbook pro if you have windows
installed.

I'm wondering if anybody has experience with the new Lenovo models and
the macbook pro?

Thanks,
RJ

From your most recent post it looks like you've settled on the T43 -- 
great choice!  Nevertheless I'm posting my recent X31-purchase 
experiences and thoughts for others who have the same general question.


I recently bought a new laptop to replace an aging TiBook.  I've 
generally had good luck with Powerbooks but wanted something that would 
work with OpenBSD out of the box.  I looked at the Dells, especially the 
c400 and c600, the Toshibas but finally decided to get a Thinkpad.  
There were several driving factors that drove me to the Thinkpad line.  
1) They're near bullet proof.  I have a friend who should be a 
professional product tester.  He drops, folds, spindles and mutilates 
every laptop he buys.  Only the Powerbooks and Thinkpads can keep up 
with him. 2) Best warranty bar none.  IBM/Lenovo build excellent 
products and back them with fantastic warranties.  3) Warranty support.  
IBM/Lenovo warranties are tied to the laptop.  You can buy or sell a 
Thinkpad and not worry about transferring the warranty.  Whoever own the 
laptop has only to pick up the phone and make a call.  Better, all new 
Lenovo's come with a 3-year standard warranty.  It's not the 
top-of-the-line, next-business-day warranty, but the upgrade is not 
expensive.  4) They're shockingly light across the whole Thinkpad range, 
from a low of about 2.8 lbs to 5.5 lbs (though that can easily be pushed 
way up with add ons).  5) Businesses by tons of them and after 2 - 4 
years dispose of them.  Check ebay and wonder at the number of used 
Thinkpads with anywhere from 6 - 12 months warranty typically left (I've 
seen even longer).


I wanted small and light primarily, Pentium 4m/Centrino with built-in 
wifi, gigabit ethernet and the option to add bluetooth (for when it's 
supported).  Initially I narrowed my choices down to a new or used X41 
(non-tablet) or the X40.  My backup choices were the T43 and the T60s.  
Very late in the game I found out about the X30 and from there found the 
X31.  What a revelation.  Small and light (12 and ~3.2 lbs without 
extras), gigE (most but not all models), built-in wifi ranging from 
802.11b to 802.11 a/b/g and of course bluetooth.  Even better, they go 
for between ~US$400 (no cd/dvd add-on) to ~US$1000 (everything, often 
including an extra battery) and frequently have some warranty left on 
them.  Best - 2.5 hard drive.  I've used laptops with 4200 rpm hard 
drives and have not been happy with the performance.  I imagine the 
X40/41 1.8 4200 rpm drives perform better than the old 2.5 4200 rpm 
drives of the past due to large caches but nothing like a 5400 or 7200 
rpm drive.  That's not to mention that the 1.8 drives just won't scale 
as fast in storage density, though for me that's just not a big deal.  
This is a *portable*, not a desktop replacement.


I found a pretty good deal on ebay.  I got an X31 with a 1.6 ghz Pentium 
4m, 512 MB ram, USB 2.0, firewire, pc-card and pcmcia slots, crappy 40 
MB 4200 drive (promptly replaced), internal modem, power adapter and 
battery that still fully charges and runs for hours, 802.11b wifi 
(upgrade, here I come) and an IBM next-business-day warranty good until 
February of next year.  I got it for US$611.  The screen is perfect; the 
keyboard shows no wear -- even the spacebar -- all key labels are clean 
and new looking; the screen hinges are as tight and smooth as if brand 
new; the exterior had a few light scratches on the battery/sleep 
indicator and some minor scratches/scuffs on the bottom.  All in all, 
excellent condition.


My initial impressions were and continue to be that this is one nice 
laptop.  I'm really impressed with the usability of this laptop, 
especially for a 12.  The keyboard is one of the best I've used even 
compared to larger 14 and 15 laptops.  I was a bit hesitant to buy a 
laptop without a trackpad, thinking I'd hate the eraser head but have 
changed my mind.  I really like it.


Installing OpenBSD (3.8) went pretty quick.  Because it's an ultralight, 
the X31 doesn't come with an optical drive.  The BIOS, though, has 
excellent support for booting from USB optical or floppy drives.  
OpenBSD booted right up and the install was smooth.  The only challenge 
was in getting the drive setup correctly so I could hibernate the 
system.  The online help and man pages got me past that with little 
trouble.  X works without additional configuration unless you want 
anti-aliased fonts.  The three mouse buttons map perfectly to their 
expected uses.  I'm currently using the default fvwm window manager but 
may move to one of my 

Re: Mac Mini, next question

2006-04-24 Thread Aaron Poffenberger
I tried that and didn't find it helpful.  The steps I just sent were 
suggested on somebody's website (I've lost the URL).  The problem is 
that by the time you get to disklabel (I think) the OpenBSD partition 
is set to it's maximum size and the b option only maximizes its use of 
that space.


Perhaps I'm wrong and didn't do it correctly.  Any comments from other 
macppc users?


On Apr 24, 2006, at 10:07, Antoine Jacoutot wrote:


Selon [EMAIL PROTECTED]:
Anyway, I now have it booted up but I discovered that something I 
felt during
install turned out to be fact.  I didn't get the whole hard drive.  
The drive

is a 40 gig.  It reports as:
wd0 16 sector PIO LBA48  38154MB  78140160 sectors
When I do the re-install fdisk shows the sector correctly but then 
shows the
free sectors as 16511040 with only the i: MSDOS sector in place.  How 
do I

get the rest of the drive?  I tried going into pdisk and deleting the
partitions but that didn't work.


Maybe this from the INSTALL.macppc document might help you :

If the disk is partitioned using MBR, the bootloader is
automatically installed. However because fdisk is not LBA
knowledgeable it may be necessary to run the 'b' command in
disklabel to allow OpenBSD to use the entire disk.

Cheers...

--
Antoine




Re: Mac Mini, next question

2006-04-24 Thread Aaron Poffenberger
I just had that problem with a Powerbook.  Basically you have to edit 
the disk size manually.  I don't know how with pdisk (I used an MBR 
rather than HFS partition scheme) but in fdisk do the following:


1 print
[note the number of sectors ]
1 edit 3
Partition id ('0' to disable)  [0 - FF]: [83]  -- accept the 
suggested

Do you wish to edit in CHS mode? [n] -- accept the suggested
offset: [some-number-appropriate-to-your-disk] -- accept the 
suggested
size: [some-wrong-value] -- enter here number-of-sectors - 
offset  (e.g., 490223475 - 4032315 = 486191160)

1 write
1 quit (actually, quit causes a write)

I had to reboot the first time before I did this because for some 
reason it didn't recreate the i partition for the disklabel.  Other 
than that it worked fine.


--Aaron

On Apr 24, 2006, at 8:50, [EMAIL PROTECTED] wrote:


Hello everyone,

I was finally able to eject the CD, the regular eject commands would 
not work because it reported device busy but I found on google that 
if you hold down the mouse button during the boot, it will eject all 
removable media.  I guess buttons spoil the whole effect or 
something...


Anyway, I now have it booted up but I discovered that something I felt 
during install turned out to be fact.  I didn't get the whole hard 
drive.  The drive is a 40 gig.  It reports as:

wd0 16 sector PIO LBA48  38154MB  78140160 sectors
When I do the re-install fdisk shows the sector correctly but then 
shows the free sectors as 16511040 with only the i: MSDOS sector in 
place.  How do I get the rest of the drive?  I tried going into pdisk 
and deleting the partitions but that didn't work.


--ja


--




Re: FBI are stealing from thier suspects

2006-04-24 Thread Aaron Poffenberger

james dandey wrote:


In the San Francisco/Bay area where the cost of living is high. Some FBI are 
propping up thier lifestyles by stealing from suspects.


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.


 


Reference?



Re: FBI are stealing from thier suspects

2006-04-24 Thread Aaron Poffenberger

Aaron Poffenberger wrote:


james dandey wrote:

In the San Francisco/Bay area where the cost of living is high. Some 
FBI are propping up thier lifestyles by stealing from suspects.



-
New Yahoo! Messenger with Voice. Call regular phones from your PC and 
save big.






Reference?



Disregard. I shouldn't be reading email this late. ;-) Damn spam!



dmesg from Asus A8N-SLI Premium Mobo

2006-04-17 Thread Aaron Poffenberger
Following is the dmesg from the Asus A8N-SLI Premium motherboard using 
GENERIC.  It's the second revision to the original Asus A8N-SLI line of 
motherboards.  Specs include AMD64 x2 (dual core) capable, Nforce4 
chipset, 2 x ide, 4 sata and 4 sata 2 (both hardware raid capable), dual 
gigabit NICs (Nvidia and Marvell) and passively cooled.


I've tried this motherboard with the 3.9 snapshot from 2006-04-06 and it 
recognized the Nvidia NIC (along with everything else).  I didn't try to 
configure it with DHCP.  I'll post a 3.9 dmesg later.


The only problems I've had with it under 3.8 shipping is a) the Nvidia 
gigabit NIC is not recognized (expected -- I use the Marvell NIC for 
now), and b) GENERIC.MP hangs every time.  The latter is particularly 
annoying because it worked with another Asus board in the same family. 
I originally bought the A8N-SLI Deluxe which has almost identical 
specifications (the Marvell chipset was the 88E8053 rather than the 
88E1011).  With the same AMD64 3800+ x2 cpu GENERIC.MP booted every 
time.  On this mobo GENERIC.MP hangs at line:


it0 at isa0 port 0x290/8: IT87 (from the dmesg below)

It's not a big deal for now since I've already ordered my 3.9 disks but 
if any of the developers would like for me to try something let me know.


--Aaron

P.S.  I just joined the OpenBSD world.  I've used OpenBSD in the past 
but more out of curiosity.  Now I'm switching.  Thanks to all the hard 
working people who make it possible


--
Also posted at:
http://www.nycbug.org/?NAV=dmesgd;f_dmesg=;f_bsd=;f_nick=;f_descr=;dmesgid=1804#1804

OpenBSD 3.8 (GENERIC) #247: Sat Sep 10 15:53:26 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1073278976 (1048124K)
avail mem = 909139968 (887832K)
using 22937 buffers containing 107536384 bytes (105016K) of memory
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2010.62 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,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache

cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
pci0 at mainbus0 bus 0: configuration mode 1
Nvidia nForce4 DDR rev 0xa3 at pci0 dev 0 function 0 not configured
Nvidia nForce4 ISA rev 0xa3 at pci0 dev 1 function 0 not configured
Nvidia nForce4 SMBus rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 Nvidia nForce4 USB rev 0xa2: irq 11, 
version 1.0, legacy support

usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Nvidia OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0 at pci0 dev 2 function 1 Nvidia nForce4 USB rev 0xa3: irq 12
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: Nvidia EHCI root hub, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
auich0 at pci0 dev 4 function 0 Nvidia nForce4 AC97 rev 0xa2: irq 12, 
nForce4 AC97

ac97: codec id 0x414c4790 (Avance Logic ALC850)
audio0 at auich0
pciide0 at pci0 dev 6 function 0 Nvidia nForce4 IDE rev 0xf2: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

wd0 at pciide0 channel 0 drive 0: WDC WD2500JB-00FUA0
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: SONY, DVD RW DRU-510A, 1.0a SCSI0 
5/cdrom removable

wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 7 function 0 Nvidia nForce4 SATA 1 rev 0xf3: DMA
pciide1: using irq 11 for native-PCI interrupt
pciide2 at pci0 dev 8 function 0 Nvidia nForce4 SATA 2 rev 0xf3: DMA
pciide2: using irq 5 for native-PCI interrupt
wd1 at pciide2 channel 0 drive 0: ST3400633AS
wd1: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd1(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 5
ppb0 at pci0 dev 9 function 0 Nvidia nForce4 PCI-PCI rev 0xa2
pci1 at ppb0 bus 5
pciide3 at pci1 dev 10 function 0 CMD Technology SiI3114 SATA rev 
0x02: DMA

pciide3: using irq 5 for native-PCI interrupt
Texas Instruments TSB43AB22 FireWire rev 0x00 at pci1 dev 11 function 
0 not configured

skc0 at pci1 dev 12 function 0 Marvell SKv2 rev 0x13: irq 3
skc0: Marvell Yukon Lite (0x9)
sk0 at skc0 port A: address 00:15:f2:1d:21:6a
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
Nvidia CK804 LAN rev 0xa3 at pci0 dev 10 function 0 not configured
ppb1 at pci0 dev 11 function 0 Nvidia nForce4 PCIE rev 0xa3
pci2 at ppb1 bus 4
ppb2 at pci0 dev 12 function 0 Nvidia nForce4 PCIE rev 0xa3
pci3 at ppb2 bus 3
ppb3 at pci0 dev 13 function 0 Nvidia nForce4 PCIE rev 0xa3
pci4 at 

Re: Does OpenBSD-3.9(-current) support Marvell Yukon 88E8053 Gigabit Ethernet Controller?

2006-04-17 Thread Aaron Poffenberger

Michael Bibby wrote:

hi all:

I use Marvell Yukon 88E8053 Gigabit Ethernet Controller on my laptop, but i
can't find a driver for OpenBSD 3.8,
So i want to know is there any other people use it and have a driver for it?

thanks.

Bibby
2006/04/17


I've had that chipset working with OpenBSD 3.8 and 3.9 from 2006-04-06 
(I believe that was the date) on an Asus A8N-SLI Deluxe nForce4.  I 
don't have the dmesg for it.  I had to return that mobo for other 
reasons and forgot to archive the dmesg before I reformatted.  I do have 
the newer version of that board, though, and it has the Marvel Yukon 
88E1011.


Here's the relevant portion from the dmesg:

skc0 at pci1 dev 12 function 0 Marvell SKv2 rev 0x13: irq 3
skc0: Marvell Yukon Lite (0x9)
sk0 at skc0 port A: address 00:15:f2:1d:21:6a
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
Nvidia CK804 LAN rev 0xa3 at pci0 dev 10 function 0 not configured

As you can see 3.8 shipping found the port and configured it.  The 
Nvididia, port, however it couldn't.  Based on my experience with the 
88E8053 chipset on the other motherboard it seems reasonable to expect 
it would work with your laptop.  Have you tried booting with 3.8 
shipping or one of the 3.9 snapshots and looked through the dmesg?


I posted more about this mobo at 
http://marc.theaimsgroup.com/?l=openbsd-miscm=114531096016196w=2


--Aaron