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: 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"  wrote:

> On Sat, Apr 28, 2012 at 2:48 AM, Rod Whitworth 
> 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 patrick keshishian
On Sat, Apr 28, 2012 at 12:25 PM, Mihai Popescu  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 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 2:48 AM, Rod Whitworth  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 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-tech&m=132935048110863&w=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..



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  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.



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