Re: Backlight on lenovo ideapad

2013-10-06 Thread Jean Lucas
I'd like to mention that suspend/resume is working wonderfully as hinted
through the first dmesg; touchscreen mouse no longer recalibrates to a
different acceleration/dimension on resume. As of this snapshot, it
calibrates just fine, only quirk is resume defaults to first tty, and not
to that of the X session. Overall fantastic machine to use with OpenBSD now.

OpenBSD 5.4-current (GENERIC.MP) #64: Tue Oct  1 10:12:19 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
real mem = 8450203648 (8058MB)
avail mem = 8217165824 (7836MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe71d0 (33 entries)
bios0: vendor LENOVO version 66CN55WW date 02/28/2013
bios0: LENOVO 20175
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC UEFI SSDT SSDT SSDT SSDT SSDT ASF! HPET APIC
MCFG WDAT SSDT BOOT ASPT DBGP FPDT MSDM SSDT SSDT DMAR
acpi0: wakeup devices P0P1(S0) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(S0)
PXSX(S4) RP01(S0) PXSX(S4) RP02(S0) PXSX(S4) RP03(S0) PXSX(S4) RP04(S0)
PXSX(S4) RP05(S0) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz, 1696.43 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
SAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz, 1696.15 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
SAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
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) i5-3337U CPU @ 1.80GHz, 1696.15 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
SAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
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) i5-3337U CPU @ 1.80GHz, 1696.15 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
SAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus -1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature is 110 degC
acpibat0 at acpi0: BAT1 model Mocca2 serial BAT20101001 type Li Polymer
oem Lenovo IdeaPad
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 1696 MHz: speeds: 1801, 1800, 1700, 1600, 1500,
1400, 1300, 1200, 1100, 1000, 900, 800, 774 MHz
pci0 at mainbus0 bus 0
0:4:0: mem address conflict 0xfed98000/0x8000
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
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1600x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
vendor Intel, unknown product 0x0153 (class DASP subclass miscellaneous,
rev 0x09) at pci0 dev 4 function 0 not configured
Intel 7 Series xHCI rev 0x04 at pci0 dev 20 function 0 not configured
Intel 7 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at 

Re: I can't figure out how to change the php-fpm memory limit

2013-10-06 Thread Eric Furman
On Sat, Oct 5, 2013, at 04:32 PM, Ville Valkonen wrote:
 On 5 October 2013 12:06, John Tate j...@johntate.org wrote:
  I am trying to increase the memory limit on my nginx php-fpm server
  for wordpress.
 
  I've set the following in wp-config.php...
 
  define('WP_MEMORY_LIMIT', '128M');
  define('WP_MAX_MEMORY_LIMIT', '128M');
 
  php.ini has the following...
 
  memory_limit = 128M
  ;suhosin.memory_limit = 0
 
  The fpm server is also set to change this.
 
  php_admin_value[memory_limit] = 128M
 
  Yet wordpress claims it only has 40MB, how can this be?
 
  I believe it might be suhosin but I am unsure how to change this on an
  OpenBSD server. I've tried changing it in the settings for the php-fpm
  server pool.
 
  php_admin_value[suhosin.memory_limit] = 128M
 
  If someone can tell me how to change the limit that would be good. The
  changes I've made don't seem to effect anything.
 
 
  --
  www.johntate.org
 
 Hi,
 
 take a look into man login.conf

Yes, it falls under the category of BASIC UNIX ADMIN SKILLS.
Read a book on UNIX and stop getting all of your info from the
Interwebs.



Re: I can't figure out how to change the php-fpm memory limit

2013-10-06 Thread John Tate
This is no longer an issue, it was a result of having things in the
wrong place in wp-config.php

On Sun, Oct 6, 2013 at 8:25 AM, John Tate j...@johntate.org wrote:
 php-fpm is running the scripts as a user in default login class, so
 login.conf should be fine.

 On Sun, Oct 6, 2013 at 7:32 AM, Ville Valkonen weezeld...@gmail.com wrote:
 On 5 October 2013 12:06, John Tate j...@johntate.org wrote:
 I am trying to increase the memory limit on my nginx php-fpm server
 for wordpress.

 I've set the following in wp-config.php...

 define('WP_MEMORY_LIMIT', '128M');
 define('WP_MAX_MEMORY_LIMIT', '128M');

 php.ini has the following...

 memory_limit = 128M
 ;suhosin.memory_limit = 0

 The fpm server is also set to change this.

 php_admin_value[memory_limit] = 128M

 Yet wordpress claims it only has 40MB, how can this be?

 I believe it might be suhosin but I am unsure how to change this on an
 OpenBSD server. I've tried changing it in the settings for the php-fpm
 server pool.

 php_admin_value[suhosin.memory_limit] = 128M

 If someone can tell me how to change the limit that would be good. The
 changes I've made don't seem to effect anything.


 --
 www.johntate.org

 Hi,

 take a look into man login.conf

 --
 Regards,
 Ville



 --
 www.johntate.org



-- 
www.johntate.org



Re: cwm rocks : but...

2013-10-06 Thread Jona Joachim
On 2013-10-05, Thomas Pfaff tpf...@tp76.info wrote:
 On Sat, 5 Oct 2013 23:10:07 +0200
 Thomas Pfaff tpf...@tp76.info wrote:

  * can the openbsd 'xdm' be made to look equally minimalistic?
(i tried fiddling with the resources, made my system freeze).
   best.
 
 I like this -- http://tp76.info/stuff/slim-login.png


 I should probably also have said that this is x11/slim with a custom
 theme (also found here -- http://tp76.info/stuff/SLIM-Puffy.tar.gz).

The question was about xdm which is not x11/slim. By the way, there is
an x11/slim-themes package which has an OpenBSD theme.

Best regards,
Jona



Re: My VPS is acting slow (KVM)

2013-10-06 Thread opendaddy
On 6. oktober 2013 at 4:29 AM, Chris Cappuccio ch...@nmedia.net wrote:

This is really vague. What tasks are taking so long?

You are sharing disk I/O, oversubscribed. You are sharing CPU 
time, oversubscribed.

Any clues?

Good point. I'm doing asset precompilation in this Ruby on Rails app - a 
process that should only take a couple of minutes if not seconds, but ends up 
taking over 1 hour on my VPS. I asked around and it seems to be a very I/O 
intensive process.

So what are my options? Demand better services from my ISP or stop using VPS 
altogether?

Thanks!

O.D.



Re: My VPS is acting slow (KVM)

2013-10-06 Thread Manolis Tzanidakis
On Sun (06/10/13), openda...@hushmail.com wrote:
 Good point. I'm doing asset precompilation in this Ruby on Rails app - a 
 process that should only take a couple of minutes if not seconds, but ends up 
 taking over 1 hour on my VPS. I asked around and it seems to be a very I/O 
 intensive process.
 So what are my options? Demand better services from my ISP or stop using VPS 
 altogether?

Hello,
virtio(4) can make a big difference.
Providing at least a dmesg dump will get you better answers :).



Re: My VPS is acting slow (KVM)

2013-10-06 Thread Darren Tucker
On Sun, Oct 06, 2013 at 09:13:21AM +, openda...@hushmail.com wrote:
 Good point. I'm doing asset precompilation in this Ruby on Rails app
 - a process that should only take a couple of minutes if not seconds,
 but ends up taking over 1 hour on my VPS. I asked around and it seems
 to be a very I/O intensive process.

 So what are my options? Demand better services from my ISP or stop
 using VPS altogether?

one thing you can try is disabling mpbios and, if you don't need usb,
uhci in the kernel.  I've only seen this make a diffence on i386 and it
may be specific to some versions of qemu.

# config -o /bsd -e /bsd
ukc disable mpbios
ukc disable uhci
ukc quit

then reboot.

anyway, this is just a guess.  you might get some better advice if you
provide more info, like the output of dmesg.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



Re: My VPS is acting slow (KVM)

2013-10-06 Thread opendaddy
Hi,

On 6. oktober 2013 at 10:18 AM, Manolis Tzanidakis mtzanida...@gmail.com 
wrote:

Hello,
virtio(4) can make a big difference.
Providing at least a dmesg dump will get you better answers :).

Looks awesome! I just load this into my kernel?

On 6. oktober 2013 at 10:35 AM, Darren Tucker dtuc...@zip.com.au wrote:

one thing you can try is disabling mpbios and, if you don't need 
usb, uhci in the kernel.  I've only seen this make a diffence on i386 
and it may be specific to some versions of qemu.

Here she is. Lemme know what you think.

Thanks a lot guys.

OpenBSD 5.3 (GENERIC) #53: Tue Mar 12 18:15:44 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1072685056 (1022MB)
avail mem = 1021726720 (974MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfd900 (10 entries)
bios0: vendor Bochs version Bochs date 01/01/2011
bios0: Bochs Bochs
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
acpihpet0 at acpi0: 1 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: QEMU Virtual CPU version 1.3.1, 2200.28 MHz
cpu0: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: apic clock running at 999MHz
mpbios0: bus 0 is type PCI
mpbios0: bus 1 is type ISA
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: QEMU HARDDISK
wd0: 16-sector PIO, LBA48, 51200MB, 104857600 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: QEMU, QEMU DVD-ROM, 1.3. ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 0 int 11
piixpm0 at pci0 dev 1 function 3 Intel 82371AB Power rev 0x03: apic 0 int 9
iic0 at piixpm0
iic0: addr 0x4c 48=00 words 00= 01= 02= 03= 04= 05= 
06=0  000 07=
iic0: addr 0x4e 48=00 words 00= 01= 02= 03= 04= 05= 
06=0  000 07=
vga1 at pci0 dev 2 function 0 unknown vendor 0x1234 product 0x rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 3 function 0 Intel PRO/1000MT (82540EM) rev 0x03: apic 0 int 
11, address 52:54:00:8a:35:cc
eap0 at pci0 dev 4 function 0 Ensoniq AudioPCI rev 0x00: apic 0 int 11
audio0 at eap0
midi0 at eap0: AudioPCI MIDI UART
virtio0 at pci0 dev 5 function 0 Qumranet Virtio Memory rev 0x00: Virtio 
Memory Balloon Device
viomb0 at virtio0
virtio0: apic 0 int 10
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 1: density unknown
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
nvram: invalid checksum
mtrr: Pentium Pro MTRR support
uhidev0 at uhub0 port 1 configuration 1 interface 0 QEMU QEMU USB Tablet rev 
1.00/0.00 addr 2
uhidev0: iclass 3/0
uhid0 at uhidev0: input=6, output=0, feature=0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (602ac4aec386954e.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
clock: unknown CMOS layout

O.D.



Re: My VPS is acting slow (KVM)

2013-10-06 Thread Manolis Tzanidakis
On Sun (06/10/13), openda...@hushmail.com wrote:
 On 6. oktober 2013 at 10:18 AM, Manolis Tzanidakis mtzanida...@gmail.com 
 wrote:
 virtio(4) can make a big difference.
 Looks awesome! I just load this into my kernel?
 OpenBSD 5.3 (GENERIC) #53: Tue Mar 12 18:15:44 MDT 2013

First, upgrade to STABLE to avoid potential kernel panics. Check patch
007 in http://openbsd.org/errata53.html for more info. M:Tier offers
pre-built patches and packages, if you want to avoid compiling. Check
https://stable.mtier.org/ .

To be able to switch back and forth from wd/em to vioblk/vio:
- make sure you use DUID in fstab. disklabel(8) for more info.
- copy /etc/hostname.em0 to /etc/hostname.vio0 .
- ask your vps provider to enable virtio for disk and net.



donation issue with VISA card and lynx

2013-10-06 Thread Roman Gorelov
Thank you, developers! I experience no more freezes on the laptop
(dmesg below) with Oct 1 snapshot. I haven't tried earlier snapshots
and cannot say if it is the first working. Actually after I had
switched to 5.3-release, hangs didn't stop if I use apmd -C, only
they were rarer, so I used to prefer -L flag of apmd or even not to
use apmd at all. But who cares now? -current works and I'm happy.

As we russians say, thank is not a thing to put in a pocket, and I
was ready to donate $300 about a month or two ago, but didn't
succeed. The problem is still reproducible. I have VISA card,
default browser and follow the guide of
https://https.openbsd.org/cgi-bin/donations/ entering my info step
by step. At the step where I enter card-related info, all other info
disapears, that is, my order and addresses. At the last page where I
should verify everything, I see only card-related info and
suggestion to drop an e-mail to aus...@openbsd.org if something goes
wrong. I've sent two polite letters, one followed the other in three
days, but still without answer. Is austin@ alive or busy? By the way
I have wasted the money as of today. I'm sorry.

Yours,
Roman

OpenBSD 5.4-current (GENERIC.MP) #70: Tue Oct  1 12:57:28 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class) 1.60 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,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF,ITSC
real mem  = 1060098048 (1010MB)
avail mem = 1031024640 (983MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/15/11, SMBIOS rev. 2.7 @ 0xe96d0 (31 
entries)
bios0: vendor American Megatrends Inc. version X101CH.0802 date 04/17/2012
bios0: ASUSTeK COMPUTER INC. X101CH
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG RTCF HPET SSDT SLIC
acpi0: wakeup devices P0P8(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) 
RP03(S4) PXSX(S4) RP04(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 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz
cpu1: 
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,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF,ITSC
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz
cpu2: 
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,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF,ITSC
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Atom(TM) CPU N2600 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz
cpu3: 
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,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF,ITSC
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (RP03)
acpiprt4 at acpi0: bus 4 (RP04)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature is 255 degC
acpibat0 at acpi0: BAT0 model X101CH serial   type LION oem ASUS
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID_
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
bios0: ROM list: 0xc/0xf400!
cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1400, 1200, 1000, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0bf1 rev 0x03
vga1 at pci0 dev 2 function 0 Intel Atom D2000/N2000 Video rev 0x09
intagp at vga1 not configured
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
azalia0: codecs: Realtek ALC269, Intel/0x2880, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 4 int 16
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 4 int 17
pci2 at ppb1 bus 2
Atheros AR9485 rev 0x01 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 4 int 18
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 4 int 19
pci4 at ppb3 bus 4
alc0 at pci4 

Re: cwm rocks : but...

2013-10-06 Thread Alexander Polakov
* Mayuresh Kathe mayur...@devio.us [131005 17:06]:
 have been using 'cwm' for over a week now.
 enjoying every moment of it.
 very well thought out and well executed from an openbsd perspective.
 questions;
 * is there any mailing list for keeping an eye on 'cwm' progress?
 * can the openbsd 'xdm' be made to look equally minimalistic?
   (i tried fiddling with the resources, made my system freeze).
 best.

Here're my pretty minimalistic /etc/X11/xdm/Xresources  Xsetup_0 to get you
started:

Xsetup_0
=
#!/bin/sh
# $OpenBSD: Xsetup_0,v 1.3 2010/03/28 09:33:02 matthieu Exp $
#if [ $DISPLAY = :0 -o $DISPLAY = :0.0 ]
#then
#   xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed 
-exitOnFail
#fi
xsetroot -solid black
xset +fp /usr/local/lib/X11/fonts/terminus/
#sxpm OpenBSD.xpm 

Xresources
==

! $Xorg: Xresources,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
!
!
!
!
!




xlogin*login.translations: #override \
CtrlKeyR: abort-display()\n\
KeyF1: set-session-argument(failsafe) finish-field()\n\
KeyLeft: move-backward-character()\n\
KeyRight: move-forward-character()\n\
KeyHome: move-to-begining()\n\
KeyEnd: move-to-end()\n\
CtrlKeyKP_Enter: set-session-argument(failsafe) finish-field()\n\
KeyKP_Enter: set-session-argument() finish-field()\n\
CtrlKeyReturn: set-session-argument(failsafe) finish-field()\n\
KeyReturn: set-session-argument() finish-field()

//xlogin*greeting: Welcome to CLIENTHOST
xlogin*greeting: 
xlogin*namePrompt: Login:
xlogin*fail: Login incorrect or forbidden by policy

#if WIDTH  800
xlogin*greetFont: -*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-1
xlogin*font: -*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-1
xlogin*promptFont: -*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-1
xlogin*failFont: -*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-1
xlogin*greetFace:   Terminus-14
xlogin*face:Terminus-14
xlogin*promptFace:  Terminus-14:bold
xlogin*failFace:Terminus-14
#else
xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
xlogin*greetFace:   Luxi Sans-18:bold:italic:dpi=75
xlogin*face:Luxi Sans-12:dpi=75
xlogin*promptFace:  Luxi Sans-12:bold:dpi=75
xlogin*failFace:Luxi Sans-12:bold:dpi=75
#endif

#define bpp1 1

#if !(defined(bpp1) || defined(bpp4) || defined(bpp8) || defined(bpp15))
# if PLANES  4 || defined(Hp300Architecture)
#  ifndef bpp1
#   define bpp1
#  endif
# else
#  if PLANES  4
#   if PLANES  8
#ifndef bpp15
# define bpp15
#endif
#   else
#ifndef bpp8
# define bpp8
#endif bpp8
#   endif
#  else
#   ifndef bpp4
#define bpp4
#   endif
#  endif
# endif
#endif  /* If manual override */

#ifndef bpp1
xlogin*borderWidth: 1
xlogin*frameWidth: 1
xlogin*innerFramesWidth: 2

! top/left border
xlogin*hiColor: #6d9df2

! bottom/right border
xlogin*shdColor: #384c70

! 'Welcome to..' text color
xlogin*greetColor: #00
#if defined(bpp4) || defined(bpp8) || defined(bpp15)
! flood fill
!xlogin*background: #2559a5
xlogin*background: #5272b6
#endif
xlogin*failColor: red

! 'Login:' and 'Password:'
*Foreground: #fbfeff

! border/shadow
*Background: #00
#else
xlogin*borderWidth: 0
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 0
xlogin*shdColor: black
xlogin*hiColor: black
xlogin*greetColor: black
xlogin*background: black
xlogin*failColor: red
xlogin*promptColor: white
*Foreground: white
*Background: black
#endif
#ifdef bpp1
//xlogin*logoFileName: /etc/X11/xdm/pixmaps/OpenBSD_1bpp.xpm
#endif

#if defined(bpp4) || defined(bpp8)
xlogin*logoFileName: /etc/X11/xdm/pixmaps/OpenBSD_4bpp.xpm
#endif
#ifdef bpp15
xlogin*logoFileName: /etc/X11/xdm/pixmaps/OpenBSD_15bpp.xpm
#endif

xlogin*useShape: true
xlogin*logoPadding: 10


! uncomment to disable logins
! xlogin.Login.allowRootLogin:  false

XConsole*background:black
XConsole*foreground:white
XConsole*borderWidth:   2
XConsole*borderColor:   grey
XConsole.text.geometry: 480x130
XConsole.verbose:   true
XConsole*iconic:true
XConsole*font:  fixed

Chooser*geometry:   640x480
Chooser*allowShellResize:   false
Chooser*viewport.forceBars: true

Chooser*label.font:   -adobe-helvetica-bold-o-normal--24-*-p-*-iso8859-1
Chooser*label.label:  XDMCP Host Menu from CLIENTHOST
Chooser*label.foreground: black
Chooser*list.font:lucidasanstypewriter-12
Chooser*Command.font: -adobe-helvetica-medium-r-normal--18-*-p-*-iso8859-1



Re: My VPS is acting slow (KVM)

2013-10-06 Thread opendaddy
Hi,

On 6. oktober 2013 at 1:15 PM, Manolis Tzanidakis mtzanida...@gmail.com 
wrote:

First, upgrade to STABLE to avoid potential kernel panics. Check 
patch 007 in http://openbsd.org/errata53.html for more info. M:Tier 
offers pre-built patches and packages, if you want to avoid compiling. 
Check https://stable.mtier.org/ .

To be able to switch back and forth from wd/em to vioblk/vio:
- make sure you use DUID in fstab. disklabel(8) for more info.
- copy /etc/hostname.em0 to /etc/hostname.vio0 .
- ask your vps provider to enable virtio for disk and net.

This is great stuff man!

1. I've asked my VPS provider. Now, if they change to virtio(4) before I get a 
chance to complete the above steps, will I be locked out of my VPS?

2. Do these steps involve the actual switching from wd/em to vioblk/vio or is 
that something I must do afterwards?

3. You say to be able to switch back and forth. Is there any reason why I 
would want to switch back?

4. M:Tier looks hot! Thanks for the tip!

I always figured OpenBSD to be so rock solid, at least compared to FreeBSD 
where I come from, that I wouldn't need to upgrade to STABLE.

Thanks again.

O.D.



Sorry OpenBSD people, been a bit busy

2013-10-06 Thread deraadt
Hi, yeah, it is really me.  I find it strange posting to misc,
starting an email thread.  Normally I finish the threads here.

Most OpenBSD developers have known for a while, but I think it is
important to tell the greater community that I've been a bit busy for
about the last year.  I have not been paying as much attention to
OpenBSD development as I'm expected to.  Luckily, other developers
have done a great job keeping it on track.

Why?  With a group of others, I started setting up an Internet
Exchange in Calgary, and this has taken much time because it is highly
politicized and has encountered some resistance.

http://yycix.ca
https://en.wikipedia.org/wiki/YYCIX_Internet_Exchange_Community_Ltd

Now, why do I mention this in relation to OpenBSD?  Well, at the end
of 2007 someone decided to open an impersonation account on twitter in
my name, and start sending a mix of things I have said (see wikiquote
for instance), with things that I would never say.  That account is
http://twitter.com/theoderaadt

A few notes:  The account has now changed to declare that it is a
parody account and renamed to Not Theo de Raadt, as of a few days
ago.  If you read back into the past, you will see true character of
the account and the individual.

People in the local community were directed to the account, to give a
negative, if not slanderous, view of my character.  The ones directing
them have high-profile roles in the community, so people would take
what they say as true.  Since I am the network manager for the
exchange equipment, this by extension was meant to hurt YYCIX.

Why would stewards of important infrastructure projects deliberately
spread such false stories?

I will not mention names.  I don't need to; many can dig a little and
figure out who those actors are.  As a hint, search a little bit
higher.

Finally, one thing that particularily bothers me in the old postings
is the mention of my old friend Itojun, a very dedicated developer of
IPv6.  As many of you know, he and John Postel are the only two
internet architects currently honoured on an annual basis by the
Internet Society in the form of an award.

http://www.internetsociety.org/what-we-do/grants-and-awards/awards/itojun-service-award

Layers of hurt being thrown around.  Why?