Best experience with Thinkpad suspend/resume

Adrian Chadd adrian at freebsd.org
Mon Dec 1 15:27:51 UTC 2014


Hm, okay. I think you're seeing something with -HEAD that someone else
has - my recent fixes to powersave has exposed some other bugs in
suspend/resume and one of the bugs is the screen not powering up.

Just to validate - this is with -head, right?


-a


On 1 December 2014 at 06:32, isdtor <isdtor at gmail.com> wrote:
> Where do I start ...
>
> I have configured lid-close support and added all three modules to
> loader.conf. After reboot, acpi_video is not loaded, but it loads
> manually with this message
>
> acpi_video0: <ACPI video extension> on vgapci0
> CPU0: local APIC error 0x80
>
> I get the same error message when I close the lid, and again when I
> open, but no suspend. Then I tried kldunload acpi_video and got
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 2; apic id = 02
> fault virtual address   = 0x20
> faulty code               = supervisor read data, page not present
> instruction pointer      = 0x20:0xffffffff82e25bb3
> stack pointer            = 0x28:0xfffffe01118777b0
> frame pointer           = 0x28:0xfffffe01118777d0
> code segment          = base 0x0,  limit 0xfffff, type 0x1b
>                                = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags      = interrupt enabled, resume, IOPL = 0
> current process        = 1051 (kldunload)
> [ thread pid 1051 tid 100155 ]
> Stopped at    acpi_video_vo_destroy+0xd3:   movq   0x20(%rcx),%rdx
> db>
>
> acpiconf -s3 works, but the screen doesn't come back after resume.
> That is after manual loading of acpi_video. /var/log/messages shows
>
> Dec  1 14:26:08 host kernel: acpi_video0: <ACPI video extension> on vgapci0
> Dec  1 14:26:08 host kernel: CPU0: local APIC error 0x80
> Dec  1 14:27:18 host acpi: suspend at 20141201 14:27:18
> Dec  1 14:27:22 host kernel: uhub0: at usbus0, port 1, addr 1 (disconnected)
> Dec  1 14:27:40 host kernel: uhub1: at usbus1, port 1, addr 1 (disconnected)
> Dec  1 14:27:40 host kernel: ugen1.2: <vendor 0x8087> at usbus1 (disconnected)
> Dec  1 14:27:40 host kernel: uhub3: at uhub1, port 1, addr 2 (disconnected)
> Dec  1 14:27:40 host kernel: ugen1.3: <vendor 0x04f3> at usbus1 (disconnected)
> Dec  1 14:27:40 host kernel: ums0: at uhub3, port 2, addr 3 (disconnected)
> Dec  1 14:27:40 host kernel: ugen1.4: <Auth> at usbus1 (disconnected)
> Dec  1 14:27:40 host kernel: ugen1.5: <Chicony Electronics Co., Ltd.>
> at usbus1 (disconnected)
> Dec  1 14:27:40 host kernel: uhub2: at usbus2, port 1, addr 1 (disconnected)
> Dec  1 14:27:40 host kernel: ugen2.2: <vendor 0x8087> at usbus2 (disconnected)
> Dec  1 14:27:40 host kernel: uhub4: at uhub2, port 1, addr 2 (disconnected)
> Dec  1 14:27:40 host kernel: pcib0: failed to set ACPI power state D2
> on \_SB_.PCI0: AE_BAD_PARAMETER
> Dec  1 14:27:40 host kernel: acpi0: cleared fixed power button status
> Dec  1 14:27:40 host kernel: em0: link state changed to DOWN
> Dec  1 14:27:40 host kernel: xhci0: 32 byte context size.
> Dec  1 14:27:40 host kernel: xhci0: Port routing mask set to 0xffffffff
> Dec  1 14:27:40 host kernel: uhub0: <0x8086 XHCI root HUB, class 9/0,
> rev 3.00/1.00, addr 1> on usbus0
> Dec  1 14:27:40 host kernel: uhub1: <Intel EHCI root HUB, class 9/0,
> rev 2.00/1.00, addr 1> on usbus1
> Dec  1 14:27:40 host kernel: uhub2: <Intel EHCI root HUB, class 9/0,
> rev 2.00/1.00, addr 1> on usbus2
> Dec  1 14:27:40 host kernel: uhub0: 8 ports with 8 removable, self powered
> Dec  1 14:27:40 host acpi: resumed at 20141201 14:27:40
> Dec  1 14:27:40 host kernel: uhub2: 3 ports with 3 removable, self powered
> Dec  1 14:27:40 host kernel: uhub1: 3 ports with 3 removable, self powered
> Dec  1 14:27:41 host kernel: em0: link state changed to UP
> Dec  1 14:27:41 host dhclient: New IP Address (em0): 157.95.24.91
> Dec  1 14:27:41 host dhclient: New Subnet Mask (em0): 255.255.255.0
> Dec  1 14:27:41 host dhclient: New Broadcast Address (em0): 157.95.24.255
> Dec  1 14:27:41 host dhclient: New Routers (em0): 157.95.24.251
> Dec  1 14:27:41 host kernel: ugen2.2: <vendor 0x8087> at usbus2
> Dec  1 14:27:41 host kernel: uhub3: <vendor 0x8087 product 0x0024,
> class 9/0, rev 2.00/0.00, addr 2> on usbus2
> Dec  1 14:27:41 host kernel: ugen1.2: <vendor 0x8087> at usbus1
> Dec  1 14:27:41 host kernel: uhub4: <vendor 0x8087 product 0x0024,
> class 9/0, rev 2.00/0.00, addr 2> on usbus1
> Dec  1 14:27:42 host kernel: uhub4: 6 ports with 6 removable, self powered
> Dec  1 14:27:43 host kernel: uhub3: 8 ports with 8 removable, self powered
> Dec  1 14:27:43 host kernel: ugen1.3: <vendor 0x04f3> at usbus1
> Dec  1 14:27:43 host kernel: ums0: <vendor 0x04f3 2.4G Wireless Mouse,
> class 0/0, rev 1.10/9.01, addr 3> on usbus1
> Dec  1 14:27:43 host kernel: ums0: 5 buttons and [XYZT] coordinates ID=1
> Dec  1 14:27:44 host kernel: ugen1.4: <Auth> at usbus1
> Dec  1 14:27:44 host root: Unknown USB device: vendor 0x147e product
> 0x2020 bus uhub4
> Dec  1 14:27:44 host kernel: ugen1.5: <Chicony Electronics Co., Ltd.> at usbus1
> Dec  1 14:27:44 host root: Unknown USB device: vendor 0x04f2 product
> 0xb2ea bus uhub4
> Dec  1 14:27:44 host root: Unknown USB device: vendor 0x04f2 product
> 0xb2ea bus uhub4
>
>
> The machine is set to discrete graphics in the bios.
> _______________________________________________
> freebsd-mobile at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe at freebsd.org"


More information about the freebsd-mobile mailing list