Re: Thinkpad R61 does not fully resume

2013-10-23 Thread Mike Larkin
On Wed, Oct 23, 2013 at 07:36:30AM +0200, Jan Stary wrote:
 On Oct 22 14:25:33, mlar...@azathoth.net wrote:
  Not sure if someone else already replied, but this:
  
  vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0429 rev 
  0xa1
  
  is your problem. We don't resume NVIDIA cards. We don't know how, and
  NVIDIA won't tell us how.
 
 Thank you for the insight.
 
 does that also influence the NIC not comming back up?
 
   Jan
 

Which nic? iwn or em?

Both should be supported in resume today.

-ml

  
  On Thu, Oct 10, 2013 at 04:13:35PM +0200, Jan Stary wrote:
   With the latest i386 snapshot, my Lenovo R61 suspends,
   but does not fully resume. The behaviour was the same
   with the previous snapshot.
   
   After apm -S (or closing the lid)
   and then Fn+F4 (or opening the lid)
   I can see the disk and power leds blinking
   as if comming back up, but the screen stays black,
   and the machine is not remotely accessible.
   I haven't tried yet whether wifi
   or USB come back up.
   
   However, typing 'halt -p' blindly at the black console
   shuts the machine down correctly.
   
   See the dmesg below; acpidump here:
   http://stare.cz/dmesg/lenovoR61.tar
   
   What can I do to help OpenBSD better support this?
   
 Thank you
   
 Jan
   
   
   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) Core(TM)2 Duo CPU T7250 @ 2.00GHz (GenuineIntel 
   686-class) 799 MHz
   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,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
   real mem  = 1071894528 (1022MB)
   avail mem = 1042628608 (994MB)
   mainbus0 at root
   bios0 at mainbus0: AT/286+ BIOS, date 08/27/07, BIOS32 rev. 0 @ 0xfdc70, 
   SMBIOS rev. 2.4 @ 0xe0010 (71 entries)
   bios0: vendor LENOVO version 7KET72WW (1.22 ) date 08/27/2007
   bios0: LENOVO 8918B8G
   acpi0 at bios0: rev 2
   acpi0: sleep states S0 S3 S4 S5
   acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT 
   SSDT SSDT
   acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(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) [...]
   acpitimer0 at acpi0: 3579545 Hz, 24 bits
   acpiec0 at acpi0
   acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
   cpu0 at mainbus0: apid 0 (boot processor)
   cpu0: apic clock running at 199MHz
   cpu1 at mainbus0: apid 1 (application processor)
   cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (GenuineIntel 
   686-class) 2 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,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
   ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
   ioapic0: misconfigured as apic 2, remapped to apid 1
   acpimcfg0 at acpi0 addr 0xf000, bus 0-63
   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 4 (EXP2)
   acpiprt5 at acpi0: bus 5 (EXP3)
   acpiprt6 at acpi0: bus 13 (EXP4)
   acpiprt7 at acpi0: bus 21 (PCI1)
   acpicpu0 at acpi0: C3, C2, C1, PSS
   acpicpu1 at acpi0: C3, C2, C1, PSS
   acpipwrres0 at acpi0: PUBS
   acpitz0 at acpi0: critical temperature is 127 degC
   acpitz1 at acpi0: critical temperature is 100 degC
   acpibtn0 at acpi0: LID_
   acpibtn1 at acpi0: SLPB
   acpibat0 at acpi0: BAT0 model COMPATIBLE serial 13920 type LION oem 
   SANYO
   acpibat1 at acpi0: BAT1 not present
   acpiac0 at acpi0: AC unit offline
   acpithinkpad0 at acpi0
   acpidock0 at acpi0: GDCK not docked (0)
   bios0: ROM list: 0xc/0xf000 0xcf000/0x1000 0xd/0x1000 
   0xe/0x1!
   cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
   pci0 at mainbus0 bus 0: configuration mode 1 (bios)
   pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
   ppb0 at pci0 dev 1 function 0 Intel GM965 PCIE rev 0x0c: apic 1 int 16
   pci1 at ppb0 bus 1
   vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0429 rev 
   0xa1
   wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
   wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
   em0 at pci0 dev 25 function 0 Intel ICH8 IGP M rev 0x03: msi, address 
   00:1a:6b:d4:5f:22
   uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20
   uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21
   ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 22
   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: msi
   azalia0: codecs: 

Re: Thinkpad R61 does not fully resume

2013-10-22 Thread Jan Stary
On Oct 22 14:25:33, mlar...@azathoth.net wrote:
 Not sure if someone else already replied, but this:
 
 vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0429 rev 0xa1
 
 is your problem. We don't resume NVIDIA cards. We don't know how, and
 NVIDIA won't tell us how.

Thank you for the insight.

does that also influence the NIC not comming back up?

Jan

 
 On Thu, Oct 10, 2013 at 04:13:35PM +0200, Jan Stary wrote:
  With the latest i386 snapshot, my Lenovo R61 suspends,
  but does not fully resume. The behaviour was the same
  with the previous snapshot.
  
  After apm -S (or closing the lid)
  and then Fn+F4 (or opening the lid)
  I can see the disk and power leds blinking
  as if comming back up, but the screen stays black,
  and the machine is not remotely accessible.
  I haven't tried yet whether wifi
  or USB come back up.
  
  However, typing 'halt -p' blindly at the black console
  shuts the machine down correctly.
  
  See the dmesg below; acpidump here:
  http://stare.cz/dmesg/lenovoR61.tar
  
  What can I do to help OpenBSD better support this?
  
  Thank you
  
  Jan
  
  
  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) Core(TM)2 Duo CPU T7250 @ 2.00GHz (GenuineIntel 686-class) 
  799 MHz
  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,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
  real mem  = 1071894528 (1022MB)
  avail mem = 1042628608 (994MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 08/27/07, BIOS32 rev. 0 @ 0xfdc70, 
  SMBIOS rev. 2.4 @ 0xe0010 (71 entries)
  bios0: vendor LENOVO version 7KET72WW (1.22 ) date 08/27/2007
  bios0: LENOVO 8918B8G
  acpi0 at bios0: rev 2
  acpi0: sleep states S0 S3 S4 S5
  acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT 
  SSDT SSDT
  acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(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) [...]
  acpitimer0 at acpi0: 3579545 Hz, 24 bits
  acpiec0 at acpi0
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: apic clock running at 199MHz
  cpu1 at mainbus0: apid 1 (application processor)
  cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (GenuineIntel 686-class) 
  2 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,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
  ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
  ioapic0: misconfigured as apic 2, remapped to apid 1
  acpimcfg0 at acpi0 addr 0xf000, bus 0-63
  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 4 (EXP2)
  acpiprt5 at acpi0: bus 5 (EXP3)
  acpiprt6 at acpi0: bus 13 (EXP4)
  acpiprt7 at acpi0: bus 21 (PCI1)
  acpicpu0 at acpi0: C3, C2, C1, PSS
  acpicpu1 at acpi0: C3, C2, C1, PSS
  acpipwrres0 at acpi0: PUBS
  acpitz0 at acpi0: critical temperature is 127 degC
  acpitz1 at acpi0: critical temperature is 100 degC
  acpibtn0 at acpi0: LID_
  acpibtn1 at acpi0: SLPB
  acpibat0 at acpi0: BAT0 model COMPATIBLE serial 13920 type LION oem 
  SANYO
  acpibat1 at acpi0: BAT1 not present
  acpiac0 at acpi0: AC unit offline
  acpithinkpad0 at acpi0
  acpidock0 at acpi0: GDCK not docked (0)
  bios0: ROM list: 0xc/0xf000 0xcf000/0x1000 0xd/0x1000 
  0xe/0x1!
  cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
  pci0 at mainbus0 bus 0: configuration mode 1 (bios)
  pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
  ppb0 at pci0 dev 1 function 0 Intel GM965 PCIE rev 0x0c: apic 1 int 16
  pci1 at ppb0 bus 1
  vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0429 rev 
  0xa1
  wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
  em0 at pci0 dev 25 function 0 Intel ICH8 IGP M rev 0x03: msi, address 
  00:1a:6b:d4:5f:22
  uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20
  uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21
  ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 22
  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: msi
  azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog 
  Devices AD1984
  audio0 at azalia0
  ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: apic 1 int 20
  pci2 at ppb1 bus 2
  ppb2 at pci0 dev 28 function 1 Intel 82801H PCIE rev 

Thinkpad R61 does not fully resume

2013-10-10 Thread Jan Stary
With the latest i386 snapshot, my Lenovo R61 suspends,
but does not fully resume. The behaviour was the same
with the previous snapshot.

After apm -S (or closing the lid)
and then Fn+F4 (or opening the lid)
I can see the disk and power leds blinking
as if comming back up, but the screen stays black,
and the machine is not remotely accessible.
I haven't tried yet whether wifi
or USB come back up.

However, typing 'halt -p' blindly at the black console
shuts the machine down correctly.

See the dmesg below; acpidump here:
http://stare.cz/dmesg/lenovoR61.tar

What can I do to help OpenBSD better support this?

Thank you

Jan


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) Core(TM)2 Duo CPU T7250 @ 2.00GHz (GenuineIntel 686-class) 799 
MHz
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,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
real mem  = 1071894528 (1022MB)
avail mem = 1042628608 (994MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/27/07, BIOS32 rev. 0 @ 0xfdc70, SMBIOS 
rev. 2.4 @ 0xe0010 (71 entries)
bios0: vendor LENOVO version 7KET72WW (1.22 ) date 08/27/2007
bios0: LENOVO 8918B8G
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT 
SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(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) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (GenuineIntel 686-class) 2 
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,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
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 4 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model COMPATIBLE serial 13920 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xf000 0xcf000/0x1000 0xd/0x1000 0xe/0x1!
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
ppb0 at pci0 dev 1 function 0 Intel GM965 PCIE rev 0x0c: apic 1 int 16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0429 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 25 function 0 Intel ICH8 IGP M rev 0x03: msi, address 
00:1a:6b:d4:5f:22
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 22
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: msi
azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices 
AD1984
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: apic 1 int 20
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int 21
pci3 at ppb2 bus 3
iwn0 at pci3 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61: msi, 
MIMO 2T3R, MoW2, address 00:13:e8:d2:4e:9b
ppb3 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: apic 1 int 22
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x03: apic 1 int 23
pci5 at ppb4 bus 5
ppb5 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: apic 1 int 20
pci6 at ppb5 bus 13
uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 16
uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 17
uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: apic 1