DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th March 2011
xchris's Avatar
xchris xchris is offline
New User
 
Join Date: Mar 2011
Posts: 8
Thanked 0 Times in 0 Posts
Default laptop suspend problems..

Hi,

I am trying the OpenBSD on a Dell vostro 1400..

Suspend works (using apmd/zzz) but on the wake up the laptop displays a
black screen ... As I see it works just the video cannot be re-initialized on the wake up.. any hints ideas please?



Regards

chris
Reply With Quote
  #2   (View Single Post)  
Old 27th March 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by xchris View Post
any hints ideas please?
Without knowing what version of OpenBSD is installed, all anyone will be able to suggest is to install a recent snapshot of -current & see if problems persist.

Note that suspend/resume functionality radically changed in the OpenBSD 4.8-release timeframe & post-4.8-release timeframe. Snapshots of -current are now beyond what will officially be released as OpenBSD 4.9-release in May 2011. A lot of code has changed in the last nine months. This may or may not have solved your problem, but what the project developers will be most interested in (if there is a need to get them involved...) is how the current code base behaves.

Last edited by ocicat; 27th March 2011 at 04:12 AM.
Reply With Quote
  #3   (View Single Post)  
Old 27th March 2011
xchris's Avatar
xchris xchris is offline
New User
 
Join Date: Mar 2011
Posts: 8
Thanked 0 Times in 0 Posts
Default

ops...sorry! I forgot to mention it! its the v 4.8..

thx

chris
Reply With Quote
  #4   (View Single Post)  
Old 27th March 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by ocicat View Post
Note that suspend/resume functionality radically changed in the OpenBSD 4.8-release timeframe & post-4.8-release timeframe.
A number of suspend/resume issues were solved after OpenBSD 4.8 was cut. Unless you want to wait for the release of OpenBSD 4.9-release. it would still be good to install a snapshot of -current to gauge whether any of problems with your hardware have been solved there.

As mentioned before, snapshots of -current already incorporate newer code than what will be found in the official OpenBSD 4.9-release.
Reply With Quote
  #5   (View Single Post)  
Old 27th March 2011
xchris's Avatar
xchris xchris is offline
New User
 
Join Date: Mar 2011
Posts: 8
Thanked 0 Times in 0 Posts
Default

ok thanx, I will wait for the 4.9 then, so far I run the 4.8 too under a ThinkPad X24 very well btw

chris
Reply With Quote
  #6   (View Single Post)  
Old 29th March 2011
xchris's Avatar
xchris xchris is offline
New User
 
Join Date: Mar 2011
Posts: 8
Thanked 0 Times in 0 Posts
Default

I had some free spare time and I tried the 4.9 snapshot. Good news the laptop can suspend/resume but under a text console only. When I am under a window manager or going from a resumed console (eg tty1) to a window manager the system seems to hangs (I see some vertical white stripes on the bottom half of the screen).
I can see the same vertical stripes (very quick) when I reset the window manager (control-alt-backspace) under normal conditions , so I assume the gfx card cannot be initialized properly after resume..?


thx

chris
Reply With Quote
  #7   (View Single Post)  
Old 29th March 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by xchris View Post
...I assume the gfx card cannot be initialized properly after resume..?
Post the complete output of dmesg(8).
Reply With Quote
  #8   (View Single Post)  
Old 29th March 2011
xchris's Avatar
xchris xchris is offline
New User
 
Join Date: Mar 2011
Posts: 8
Thanked 0 Times in 0 Posts
Default

Hi,

here it is:

Code:
OpenBSD 4.9-current (GENERIC.MP) #814: Wed Mar 23 13:00:06 MDT 2011 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz ("GenuineIntel" 686-class) 2.50 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,SSSE3,CX16,xTPR,PDCM,SSE4.1
real mem  = 2145402880 (2046MB)
avail mem = 2100133888 (2002MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/10/08, BIOS32 rev. 0 @ 0xffa10, SMBIOS rev. 2.4 @ 0xf7190 (45 entries)
bios0: vendor Dell Inc. version "A09" date 07/10/2008
bios0: Dell Inc. Vostro 1400
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG SLIC BOOT SSDT
acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S3) RP03(S3) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4) MBTN(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: 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 T9300 @ 2.50GHz ("GenuineIntel" 686-class) 2.50 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpimcfg0 at acpi0 addr 0xf4000000, bus 0-63
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus 13 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus 9 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 104 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 not present
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: TV__
acpivout1 at acpivideo0: CRT_
acpivout2 at acpivideo0: LCD_
acpivout3 at acpivideo0: DVI_
acpivideo1 at acpi0: VID_
acpivout4 at acpivideo1: TV__
acpivout5 at acpivideo1: CRT_
acpivout6 at acpivideo1: LCD_
acpivout7 at acpivideo1: DVI_
acpivideo2 at acpi0: VID2
bios0: ROM list: 0xc0000/0xd800 0xcd800/0x2800
cpu0: Enhanced SpeedStep 2494 MHz: speeds: 2501, 2500, 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 2 int 16 (irq 0)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 8400M GS" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 2 int 20 (irq 11)
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 2 int 21 (irq 10)
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 2 int 22 (irq 9)
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 0x02: apic 2 int 21 (irq 10)
azalia0: codecs: Sigmatel STAC9228X, Conexant/0x2c06, using Sigmatel STAC9228X
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02: apic 2 int 16 (irq 0)
pci2 at ppb1 bus 11
ppb2 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02: apic 2 int 17 (irq 0)
pci3 at ppb2 bus 12
wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 2 int 17 (irq 10), MoW2, address 00:1f:3c:86:c7:86
ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x02: apic 2 int 19 (irq 0)
pci4 at ppb3 bus 13
ppb4 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x02: apic 2 int 17 (irq 0)
pci5 at ppb4 bus 9
bge0 at pci5 dev 0 function 0 "Broadcom BCM5906M" rev 0x02, BCM5906 A2 (0xc002): apic 2 int 17 (irq 10), address 00:1e:c9:06:0a:b1
brgphy0 at bge0 phy 1: BCM5906 10/100baseTX PHY, rev. 0
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 2 int 20 (irq 11)
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 2 int 21 (irq 10)
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: apic 2 int 22 (irq 9)
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 2 int 20 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf2
pci6 at ppb5 bus 3
"Ricoh 5C832 Firewire" rev 0x05 at pci6 dev 1 function 0 not configured
sdhc0 at pci6 dev 1 function 1 "Ricoh 5C822 SD/MMC" rev 0x22: apic 2 int 18 (irq 4)
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x12 at pci6 dev 1 function 2 not configured
"Ricoh 5C592 Memory Stick" rev 0x12 at pci6 dev 1 function 3 not configured
"Ricoh 5C852 xD" rev 0x12 at pci6 dev 1 function 4 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PBDS, DVD+-RW DS-8W1P, BD1B> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x02: apic 2 int 17 (irq 10), AHCI 1.1
ahci0: PHY offline on port 2
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, TOSHIBA MK1655GS, FG01> SCSI3 0/direct fixed
sd0: 152627MB, 512 bytes/sec, 312581808 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: apic 2 int 17 (irq 10)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umass0 at uhub1 port 4 configuration 1 interface 0 "Kingston DT Elite HS 2.0" rev 2.00/2.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <Kingston, DT Elite HS 2.0, 5.02> SCSI0 0/direct removable
sd1: 497MB, 512 bytes/sec, 1019391 sec total
uvideo0 at uhub1 port 6 configuration 1 interface 0 "OmniVision Technologies, Inc. -2640-07.07.20.3 Laptop Integrated Webcam" rev 2.00/1.00 addr 3
video0 at uvideo0
uhub7 at uhub2 port 2 "Broadcom BCM2045B2" rev 2.00/1.00 addr 2
ugen0 at uhub7 port 1 "Broadcom Corp BCM2045" rev 2.00/3.67 addr 3
uhidev0 at uhub7 port 2 configuration 1 interface 0 "Broadcom product 0x4502" rev 2.00/1.00 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub7 port 3 configuration 1 interface 0 "Broadcom product 0x4503" rev 2.00/1.00 addr 5
uhidev1: iclass 3/1, 125 report ids
ums0 at uhidev1 reportid 2: 3 buttons
wsmouse1 at ums0 mux 0
uhid0 at uhidev1 reportid 125: input=2, output=0, feature=0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
sd1 detached
scsibus2 detached
umass0 detached
umass0 at uhub1 port 4 configuration 1 interface 0 "Kingston DT Elite HS 2.0" rev 2.00/2.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <Kingston, DT Elite HS 2.0, 5.02> SCSI0 0/direct removable
sd1: 497MB, 512 bytes/sec, 1019391 sec total
thx

chris
Reply With Quote
  #9   (View Single Post)  
Old 29th March 2011
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,611
Thanked 214 Times in 189 Posts
Default

Kernel recognition for your video card, an NVIDIA GeForce 8400M GS, was added to OpenBSD 6 October 2008. That addition to the kernel is entirely separate from system suspend/resume issues.

ACPI is a standard that is .... very, very, VERY loosely observed by hardware integrators. And NVIDIA was a known issue last year during the revamp of suspend/resume. Quoting Theo De Raadt, OpenBSD Founder, 6 August 2010: (Ref: http://marc.info/?l=openbsd-tech&m=128106745707385&w=2)
"We will continue to have problems with....Nvidia video. I think we don't stand a chance of ever doing this. Don't buy Nvidia."
You have a functioning laptop with suspend/resume if you transition to a text console first. Consider yourself lucky. FreeBSD users do not have suspend/resume with your 1400.
Reply With Quote
Old 29th March 2011
xchris's Avatar
xchris xchris is offline
New User
 
Join Date: Mar 2011
Posts: 8
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jggimi View Post
..... Consider yourself lucky. FreeBSD users do not have suspend/resume with your 1400.

yes, its my case there ...

chris
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
gdm3 suspend on linux ephemera Other BSD and UNIX/UNIX-like 2 5th February 2011 05:03 PM
suspend phill OpenBSD General 3 2nd February 2011 07:49 AM
OpenBSD request for testing suspend/resume ocicat News 6 6th August 2010 04:11 AM
Installation problems on X24 laptop IIMarckus OpenBSD Installation and Upgrading 6 5th September 2008 07:58 PM
USB not working after suspend stukov Other BSD and UNIX/UNIX-like 5 11th August 2008 06:48 PM


All times are GMT. The time now is 09:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick