Sandybridge will not poweroff

2012-04-28 Thread Laurence Rochfort
I have a Sandybridge chipset and am glad to say that with the arrival
of my 5.1 CDs I now have the correct X resolution.

However, I cannot switch from X to console or shutdown from X, both
just give a blank screen.  I can reboot from X and shutdown if booted
to console however.

I understand the X to console problem is known, but have not seen
reports of the poweroff from X problems.

Any advice as to how to diagnose/resolve?

Cheers,
Laurence

uname:
OpenBSD puffy-laptop.my.domain 5.1 GENERIC.MP#207 amd64

pcidump:
Domain /dev/pci0:
 0:0:0: Intel Core 2G Host
 0:2:0: Intel GT2+ Video
 0:22:0: Intel 6 Series MEI
 0:22:3: Intel 6 Series KT
 0:25:0: Intel 82579LM
 0:26:0: Intel 6 Series USB
 0:27:0: Intel 6 Series HD Audio
 0:28:0: Intel 6 Series PCIE
 0:28:1: Intel 6 Series PCIE
 0:28:2: Intel 6 Series PCIE
 0:28:4: Intel 6 Series PCIE
 0:28:5: Intel 6 Series PCIE
 0:28:6: Intel 82801BAM Hub-to-PCI
 0:29:0: Intel 6 Series USB
 0:31:0: Intel QM67 LPC
 0:31:2: Intel 6 Series AHCI
 1:0:0: Ricoh 5U822 SD/MMC
 4:0:0: Ralink RT3090
 5:0:0: NEC xHCI

dmesg:
OpenBSD 5.1 (GENERIC.MP) #207: Sun Feb 12 09:42:14 MST 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8458665984 (8066MB)
avail mem = 8219328512 (7838MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaabd (43 entries)
bios0: vendor TOSHIBA version Version 3.60 date 01/24/2012
bios0: TOSHIBA TECRA R840
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT
SSDT SSDT DMAR
acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4)
PXSX(S4) USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.32 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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF
cpu3: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 4 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 5 (RP05)
acpiprt7 at acpi0: bus 6 (RP06)
acpiprt8 at acpi0: bus 7 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PCIB)
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpicpu2 at acpi0: C1, PSS
acpicpu3 at acpi0: C1, PSS
acpipwrres0 at acpi0: PDOC
acpitz0 at acpi0: critical temperature is 102 degC
acpitoshiba0 at acpi0
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpibat0 at acpi0: BAT1 model G71C000C2310 serial 000114 type
Li-ION   oem 0
acpidock0 at acpi0: DOCK not docked (0)
cpu0: Enhanced SpeedStep 2491 MHz: speeds: 2501, 2500, 2000, 1800,
1600, 1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel GT2+ Video rev 0x09
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 0xb000, size 0x1000
inteldrm0 at vga1: apic 2 int 16
drm0 at inteldrm0
Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
Intel 6 Series KT rev 0x04 at pci0 dev 22 function 3 not configured
em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
e8:9d:87:cd:76:29
ehci0 at pci0 dev 26 

Re: Sandybridge will not poweroff

2012-04-28 Thread Rod Whitworth
On Sat, 28 Apr 2012 10:28:02 +0100, Laurence Rochfort wrote:

I have a Sandybridge chipset and am glad to say that with the arrival
of my 5.1 CDs I now have the correct X resolution.

However, I cannot switch from X to console or shutdown from X, both
just give a blank screen.  I can reboot from X and shutdown if booted
to console however.

I understand the X to console problem is known, but have not seen
reports of the poweroff from X problems.

Any advice as to how to diagnose/resolve?

RTFA

Oh, alright I won't make you beg.
Search for Lenovo E320: strange things happen with X

There is a patch somewhere in the thread that doesn't fix everything
(IIRC) but it works well enough for me when I compiled the patched file
and redid Xenocara.




*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: Sandybridge will not poweroff

2012-04-28 Thread Manolis Tzanidakis
Hey there
 On Sat, 28 Apr 2012 10:28:02 +0100, Laurence Rochfort wrote:
  However, I cannot switch from X to console or shutdown from X, both
  just give a blank screen. I can reboot from X and shutdown if booted
  to console however.
 

Check this thread for more info:
http://marc.info/?l=openbsd-techm=132935048110863w=2

On Saturday, April 28, 2012 at 12:48 PM, Rod Whitworth wrote:
 There is a patch somewhere in the thread that doesn't fix everything
 (IIRC) but it works well enough for me when I compiled the patched file
 and redid Xenocara.

I can't find this patch. What does it fix? I've got a SB-based laptop
too..



intel h61 sata ahci problem

2012-04-28 Thread Peter Blokland
hi,

I got a new Intel dh61ag board, with onboard sata provided through the
h61 chipset. When booting with the controller set to ahci, obsd does not
find any disks. trying to install 5.0/amd64, I see :

ahci0 at pci0 dev 31 function 2 Intel 6 Series AHCI rev 0x05: msi,
unable to reset controller

and no drives are detected. I can boot in IDE-mode, but performance is
dreadful, I get 1MB/s rsyncing from wd0 to wd1, and the machine spends 97%
cpu at handling interrupts.

Any advice ? Will 5.1 have better support ?

-- 
CUL8R, Peter.



Re: intel h61 sata ahci problem

2012-04-28 Thread Peter Blokland
hi,

 ahci0 at pci0 dev 31 function 2 Intel 6 Series AHCI rev 0x05: msi,
 unable to reset controller

disregard, I thought I had the latest BIOS, but I didn't. updating it
fixed all of my problems. on to installing...

-- 
CUL8R, Peter.



Re: MPLS VPN on OpenBSD

2012-04-28 Thread Rolf Sommerhalder
Have you noticed the paper which Claudio Jeker had presented at
EuroBSDCon 2011?
  http://2011.eurobsdcon.org/papers/jeker/MPLS.pdf

Althought the talk is listed at
  http://www.openbsd.org/events.html
it is missing at
  http://www.openbsd.org/papers/



Re: Sandybridge will not poweroff

2012-04-28 Thread patrick keshishian
On Sat, Apr 28, 2012 at 2:48 AM, Rod Whitworth glis...@witworx.com wrote:
 On Sat, 28 Apr 2012 10:28:02 +0100, Laurence Rochfort wrote:

I have a Sandybridge chipset and am glad to say that with the arrival
of my 5.1 CDs I now have the correct X resolution.

However, I cannot switch from X to console or shutdown from X, both
just give a blank screen.  I can reboot from X and shutdown if booted
to console however.

I understand the X to console problem is known, but have not seen
reports of the poweroff from X problems.

Any advice as to how to diagnose/resolve?

 RTFA

 Oh, alright I won't make you beg.
 Search for Lenovo E320: strange things happen with X

 There is a patch somewhere in the thread that doesn't fix everything
 (IIRC) but it works well enough for me when I compiled the patched file
 and redid Xenocara.

Here is a naive question: How does one determine whether or not a
system is/has Sandybridge? I ask, cause I have a lenovo x120e that has
similar issues to what is reported here with Sandybridge; specifically
switching from X to console and back.

--patrick



Re: MPLS VPN on OpenBSD

2012-04-28 Thread Vijay Sankar

Quoting Rolf Sommerhalder rolf.sommerhal...@alumni.ethz.ch:


Have you noticed the paper which Claudio Jeker had presented at
EuroBSDCon 2011?
  http://2011.eurobsdcon.org/papers/jeker/MPLS.pdf

Althought the talk is listed at
  http://www.openbsd.org/events.html
it is missing at
  http://www.openbsd.org/papers/




Thank you for posting this link. That was an excellent paper. I really  
learned a few things from this.


Vijay

Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca

-
This message was sent using ForeTell-POST 4.9



Re: Sandybridge will not poweroff

2012-04-28 Thread Mihai Popescu
 Here is a naive question: How does one determine whether or not a
 system is/has Sandybridge? I ask, cause I have a lenovo x120e that has
 similar issues to what is reported here with Sandybridge; specifically
 switching from X to console and back.

From Lenovo specification, you systems looks like it is based on AMD APU...



Re: Sandybridge will not poweroff

2012-04-28 Thread patrick keshishian
On Sat, Apr 28, 2012 at 12:25 PM, Mihai Popescu mih...@gmail.com wrote:
 Here is a naive question: How does one determine whether or not a
 system is/has Sandybridge? I ask, cause I have a lenovo x120e that has
 similar issues to what is reported here with Sandybridge; specifically
 switching from X to console and back.

 From Lenovo specification, you systems looks like it is based on AMD APU...

right. i suppose, what I really meant was, based on the dmesg from OP,
how does one determine sandybridge-ness? (my eyeballs didn't catch any
obvious references). Or does one need to read the manufacturer's
marketing docs to know?

--patrick



Re: Sandybridge will not poweroff

2012-04-28 Thread Laurence Rochfort
There are no naive questions, but unfortunately a lot of elitist answers.

The sandy bridge video adapters are denoted gt1 gt2 and gt2+ and the cpus
i5 and i7

Check your pcidump to see if you have a non Intel adapter present, its
quite rare to have Intel integrated graphics and a secondary adapter in a
laptop.

I believe only the sandybridge-e models are produced without graphics.

If you provide a dmesg to this list and I'm sure people can identify your
chipset for you.
On Apr 28, 2012 6:52 PM, patrick keshishian pkesh...@gmail.com wrote:

 On Sat, Apr 28, 2012 at 2:48 AM, Rod Whitworth glis...@witworx.com
 wrote:
  On Sat, 28 Apr 2012 10:28:02 +0100, Laurence Rochfort wrote:
 
 I have a Sandybridge chipset and am glad to say that with the arrival
 of my 5.1 CDs I now have the correct X resolution.
 
 However, I cannot switch from X to console or shutdown from X, both
 just give a blank screen.  I can reboot from X and shutdown if booted
 to console however.
 
 I understand the X to console problem is known, but have not seen
 reports of the poweroff from X problems.
 
 Any advice as to how to diagnose/resolve?
 
  RTFA
 
  Oh, alright I won't make you beg.
  Search for Lenovo E320: strange things happen with X
 
  There is a patch somewhere in the thread that doesn't fix everything
  (IIRC) but it works well enough for me when I compiled the patched file
  and redid Xenocara.

 Here is a naive question: How does one determine whether or not a
 system is/has Sandybridge? I ask, cause I have a lenovo x120e that has
 similar issues to what is reported here with Sandybridge; specifically
 switching from X to console and back.

 --patrick



Re: Sandybridge will not poweroff

2012-04-28 Thread Ted Unangst
On Sat, Apr 28, 2012 at 12:35, patrick keshishian wrote:
 
 right. i suppose, what I really meant was, based on the dmesg from OP,
 how does one determine sandybridge-ness? (my eyeballs didn't catch any
 obvious references). Or does one need to read the manufacturer's
 marketing docs to know?

i3/5/7 processor with a four digit model number.



Re: undeadly (window managers)

2012-04-28 Thread Brett
  bleh ... it does what it advertizes and works pretty fine, I've used it
  for years and the fact that it's a stone age version does not prevent
  me from working with it both at home  at work.
 
  the reason why i like it is precisely because it's simple and doesn't
  come with tons of features that change all of the time, it's the same
  look  feel on all systems I use, and has been like that for years.
 
 
 Yes, I concur with this sentiment. Having tried many WMs, and doing
 repetitive wiping of installs/port building that you eventually want
 stability and not go hunting why this or that broke. It just diverts
 your time away from your planned work for that day. So I now use the
 default fvwm like Marc says he does, but I am looking for a very fast
 compiled lightweight WM, and will try out the alternatives :-)
 

Joe's Window Manager is fast to compile. I've been using for a few months and 
have not noticed any bugs. The config file is in xml and easy to set up, and 
very flexible. Combined with dmenu you can setup a system for fast workflow. It 
is stacked, not tiling, though, so maybe some programmers might not like that 
aspect.