Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2017 19:00:15 +0100
From:      Frank Honolka <frank.honolka.sawar@gmail.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   ACPI Suspend/Resume on Lenovo 3000 G530 4151
Message-ID:  <20170726190015.75df1663@lappi>

next in thread | raw e-mail | index | archive | help
--Sig_/FJrTC9UIz6Z0t8IvH/4Nhec
Content-Type: multipart/mixed; boundary="MP_/srXBWTdaNEUylD2GTaCm=Kh"

--MP_/srXBWTdaNEUylD2GTaCm=Kh
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hiya,

Recently, I've installed FreeBSD 11.1 almost everything works fine. :D=20
But when I'm bringing my Notebook Lenovo 3000 G530 4151 into S3 Suspend
I can't wake it up  anymore. I also can't connect per ssh to the
machine. I would like to know, how I can debug the machine in
suspend/resume modus?

Frank

P.S: By the way, I have the same issues with FreeBSD current.

--MP_/srXBWTdaNEUylD2GTaCm=Kh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=dmesg.txt

Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-RELEASE-p1 #3: Thu Jul 20 08:26:18 BST 2017
gandalf@lappi:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM =
3.8.0)
VT(vga): resolution 640x480
info: [drm] Initialized drm 1.1.0 20060810
module_register: cannot register pci/ehci from kernel; already loaded from =
ehci.ko
Module pci/ehci failed to register: 17
module_register: cannot register pci/uhci from kernel; already loaded from =
uhci.ko
Module pci/uhci failed to register: 17
CPU: Intel(R) Celeron(R) CPU 900 @ 2.20GHz (2194.55-MHz K8-class CPU)
Origin=3D"GenuineIntel" Id=3D0x1067a Family=3D0x6 Model=3D0x17 Stepping=3D10
Features=3D0xafebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,=
MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
Features2=3D0xc00e31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE=
,OSXSAVE>
AMD Features=3D0x20100800<SYSCALL,NX,LM>
AMD Features2=3D0x1<LAHF>
TSC: P-state invariant, performance statistics
real memory =3D 1073741824 (1024 MB)
avail memory =3D 953561088 (909 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <PTLTD APIC >
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-23 on motherboard
random: entropy device external interface
kbd1 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff81035950, 0) error 19
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <LENOVO CB-01> on motherboard
acpi0: Power Button (fixed)
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
cpu0: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 0xf4000000-0xf43ff=
fff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci0
agp0: <Intel GM45 SVGA controller> on vgapci0
agp0: aperture size is 256M, detected 32764k stolen memory
acpi_video0: <ACPI video extension> on vgapci0
drmn0: <Mobile Intel\M-B\M-. GM45 Express Chipset> on vgapci0
iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
iic0: <I2C generic I/O> on iicbus0
iic1: <I2C generic I/O> on iicbus1
iicbus2: <Philips I2C bus> on iicbb1 addr 0x0
iic2: <I2C generic I/O> on iicbus2
iic3: <I2C generic I/O> on iicbus3
iicbus4: <Philips I2C bus> on iicbb2 addr 0x0
iic4: <I2C generic I/O> on iicbus4
iic5: <I2C generic I/O> on iicbus5
iicbus6: <Philips I2C bus> on iicbb3 addr 0x0
iic6: <I2C generic I/O> on iicbus6
iic7: <I2C generic I/O> on iicbus7
iicbus8: <Philips I2C bus> on iicbb4 addr 0x0
iic8: <I2C generic I/O> on iicbus8
iic9: <I2C generic I/O> on iicbus9
iicbus10: <Philips I2C bus> on iicbb5 addr 0x0
iic10: <I2C generic I/O> on iicbus10
iic11: <I2C generic I/O> on iicbus11
info: [drm] MSI enabled 1 message(s)
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
drmn0: taking over the fictitious range 0xd0000000-0xe0000000
info: [drm] Connector LVDS-1: get mode from tunables:
info: [drm] - kern.vt.fb.modes.LVDS-1
info: [drm] - kern.vt.fb.default_mode
info: [drm] Connector VGA-1: get mode from tunables:
info: [drm] - kern.vt.fb.modes.VGA-1
info: [drm] - kern.vt.fb.default_mode
info: [drm] Connector DP-1: get mode from tunables:
info: [drm] - kern.vt.fb.modes.DP-1
info: [drm] - kern.vt.fb.default_mode
fbd0 on drmn0
VT: Replacing driver "vga" with new "fb".
info: [drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0
vgapci0: Boot video device
vgapci1: <VGA-compatible display> mem 0xf4400000-0xf44fffff at device 2.1 o=
n pci0
uhci0: <Intel 82801I (ICH9) USB controller> port 0x1820-0x183f irq 16 at de=
vice 26.0 on pci0
uhci0: LegSup =3D 0x3700
usbus0 on uhci0
uhci1: <Intel 82801I (ICH9) USB controller> port 0x1840-0x185f irq 21 at de=
vice 26.1 on pci0
uhci1: LegSup =3D 0x2700
usbus1 on uhci1
uhci2: <Intel 82801I (ICH9) USB controller> port 0x1860-0x187f irq 20 at de=
vice 26.2 on pci0
uhci2: LegSup =3D 0x2700
usbus2 on uhci2
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xf4904800-0xf4904bff i=
rq 20 at device 26.7 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
hdac0: <Intel 82801I HDA Controller> mem 0xf4700000-0xf4703fff irq 22 at de=
vice 27.0 on pci0
pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pcib1: [GIANT-LOCKED]
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
pcib2: [GIANT-LOCKED]
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pcib3: [GIANT-LOCKED]
pci1: <ACPI PCI bus> on pcib3
siba_bwn0: <Broadcom BCM4312 802.11b/g Wireless> mem 0xf4500000-0xf4503fff =
irq 18 at device 0.0 on pci1
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf =
0x17f ver 0x2062 rev 2)
bwn0: DMA (64 bits)
bwn0: Using 1 MSI messages
pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pcib4: [GIANT-LOCKED]
pcib5: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pcib5: [GIANT-LOCKED]
pci2: <ACPI PCI bus> on pcib5
bge0: <Broadcom BCM5906 A2, ASIC rev. 0x00c002> mem 0xf4600000-0xf460ffff i=
rq 17 at device 0.0 on pci2
bge0: CHIP ID 0x0000c002; ASIC REV 0x0c; CHIP REV 0xc0; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM5906 10/100baseTX media interface> PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
bge0: Ethernet address: 00:26:22:de:d9:82
uhci3: <Intel 82801I (ICH9) USB controller> port 0x1880-0x189f irq 23 at de=
vice 29.0 on pci0
uhci3: LegSup =3D 0x2700
usbus4 on uhci3
uhci4: <Intel 82801I (ICH9) USB controller> port 0x18a0-0x18bf irq 19 at de=
vice 29.1 on pci0
uhci4: LegSup =3D 0x2700
usbus5 on uhci4
uhci5: <Intel 82801I (ICH9) USB controller> port 0x18c0-0x18df irq 18 at de=
vice 29.2 on pci0
uhci5: LegSup =3D 0x2700
usbus6 on uhci5
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xf4904c00-0xf4904fff i=
rq 23 at device 29.7 on pci0
usbus7: EHCI version 1.0
usbus7 on ehci1
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib6
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel ICH9M AHCI SATA controller> port 0x1818-0x181f,0x180c-0x180f,=
0x1810-0x1817,0x1808-0x180b,0x18e0-0x18ff mem 0xf4904000-0xf49047ff irq 19 =
at device 31.2 on pci0
ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
acpi_tz0: <Thermal Zone> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcf7ff,0xdc000-0xdffff,0xe0000-0x=
e17ff on isa0
ppc0: cannot reserve I/O port range
Timecounters tick every 1.000 msec
nvme cam probe device init
hdacc0: <Conexant CX20561 (Hermosa) HDA CODEC> at cad 2 on hdac0
hdaa0: <Conexant CX20561 (Hermosa) Audio Function Group> at nid 1 on hdacc0
pcm0: <Conexant CX20561 (Hermosa) (Analog 2.0+HP/2.0)> at nid 26,22 and 29 =
on hdaa0
pcm1: <Conexant CX20561 (Hermosa) (Rear Analog Mic)> at nid 24 on hdaa0
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
warning: [drm] fixme: max PWM is zero
ugen7.1: <Intel> at usbus7
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
ugen6.1: <Intel> at usbus6
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen5.1: <Intel> at usbus5
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen4.1: <Intel> at usbus4
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen3.1: <Intel> at usbus3
uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen2.1: <Intel> at usbus2
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen1.1: <Intel> at usbus1
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen0.1: <Intel> at usbus0
uhub7: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
uhub7: 2 ports with 2 removable, self powered
warning: [drm] fixme: max PWM is zero
warning: [drm] fixme: max PWM is zero
ses0 at ahciem0 bus 0 scbus2 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <TOSHIBA MQ01ABF050 AM0P2C> ATA8-ACS SATA 3.x device
ada0: Serial Number Y4ACS64US
ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors)
cd0 at ahcich1 bus 0 scbus1 target 0 lun 0
cd0: <Optiarc DVD RW AD-7580S F820> Removable CD-ROM SCSI device
cd0: Serial Number SL95022018
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - t=
ray closed
taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0
taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0
Timecounter "TSC-low" frequency 1097273270 Hz quality 1000
Trying to mount root from ufs:/dev/ada0s1a [rw]...
WARNING: / was not properly dismounted
WARNING: /: mount pending error: blocks 32 files 17
uhub0: 6 ports with 6 removable, self powered
uhub4: 6 ports with 6 removable, self powered
ugen7.2: <vendor 0x090c> at usbus7
wlan0: Ethernet address: 00:26:82:48:12:20
bwn0: ucode fw: ucode15
bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657)
bwn0: ucode fw: ucode15
bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657)
bwn0: ucode fw: ucode15
bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657)
bwn0: ucode fw: ucode15
bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657)
bwn0: ucode fw: ucode15
bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657)
wlan0: link state changed to UP
bwn0: need multicast update callback
bwn0: need multicast update callback
bwn0: need multicast update callback

--MP_/srXBWTdaNEUylD2GTaCm=Kh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=loader.conf.txt

i915kms_load=3D"YES"
kern.vty=3Dvt
if_bwn_load=3D"YES"
bwn_v4_lp_ucode_load=3D"YES"
acpi_video_load=3D"YES"
acpi_wmi_load=3D"YES"
usb_load=3D"YES"
ehci_load=3D"YES"
uhci_load=3D"YES"
kern.ipc.shm_allow_removed=3D1

--MP_/srXBWTdaNEUylD2GTaCm=Kh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=sysctl.conf.txt

kern.ipc.shm_allow_removed=3D1
hw.acpi.reset_video=3D0
hw.acpi.lid_switch_state=3DS3
hw.acpi.sleep_button_state=3DS3
hw.acpi.power_button_state=3DS5
hw.acpi.sleep_delay=3D3
hw.acpi.verbose=3D1
hw.syscons.sc_no_suspend_vtswitch=3D0

--MP_/srXBWTdaNEUylD2GTaCm=Kh--

--Sig_/FJrTC9UIz6Z0t8IvH/4Nhec
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENqGPnl/37tVocQKo7vnQDGv3gu4FAll42K8ACgkQ7vnQDGv3
gu7AUw/+OPA06189MJey6GyOT3EqfUg2CgxA/OlvGLgdeU4n48CwiUfC7k3PK6n/
WEhiydLSIDkSC91qw7A/WTwCXzjb9oxacGM3uyqigyfzGR8lUovWPgg9s3T5DMRi
tUkvBOD7X3n4qKkXzpAOQvCCutMxgCuxnwG1x+d6SXce/TxoQjcYgBcqKA6Ca63P
u2GtN2Kj1EhQbv0UkHR4f3BcZEioQrlGv+XeRBn9H0txjGfaHZsLG31DGqSD5xfQ
+3Ode1DBXpZkCX+NQCCWIXRNOtMrRC0LH+s6Vw18f9NhvVBvkVi8TDFkpCw8az23
5DM2emyX+jOstBRdPBNBjpSmyJEW6qpN5nu7ygk1qLH+yJSocsg7BG3BzLzVLC0J
BMQZKsp8hEkj4+k0PJ3rb1OOj1U/5ybjPQnuN7PRmRahpVXBXopJlHAfSNPaGKxJ
e0Ty2BmVG+GciIrO77iaM/edhKHMWyi8zEF696dCHplaaXvc2lJFjlkZPYF/mxvd
LbRx7Kxi3KhHr9dVgNly/aKkAO9fgqf2cj/DLleEGmYi851qECaQECgDiwP494T/
DrJraFSOJ6iHHIa4m9B2aL2Ask+4LwCBKGY7kfQgMTqE0m1Hg2Tm0f481mTU2A5v
qa2ZFcxxTgj1MFcjo0Jn06bl8JR+fnciM4zW5StnSTsfeDVRzEk=
=UuB9
-----END PGP SIGNATURE-----

--Sig_/FJrTC9UIz6Z0t8IvH/4Nhec--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170726190015.75df1663>