Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2014 14:32:10 +0000
From:      isdtor <isdtor@gmail.com>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Best experience with Thinkpad suspend/resume
Message-ID:  <CAAupw%2BJk6xctM0PRSwGtooEAOTG6o-ds4D6Y_wrwW6wD4Bc1Ew@mail.gmail.com>
In-Reply-To: <CAJ-Vmok3ftgqGR6pULjA%2BydkBEoVZqiedXsXz-oMye8W0-yPdw@mail.gmail.com>
References:  <54707D0A.2060502@peercorpstrust.org> <54709DAF.5050406@shurik.kiev.ua> <CAJ-VmomY95%2B_YJNN2p%2BtrO-JwLAWNUr88v=oFgUmYNDC77pwfQ@mail.gmail.com> <54782046.20804@shurik.kiev.ua> <CAAupw%2BKVivt59c1sp8y-wYgm3FbBjnmGD2Xeo-i8fAP2VpB4CA@mail.gmail.com> <CAJ-VmomvOwQgBCOg1VsO%2BAEkJB1hoEwNLSpkn%2BLmivAM-cA47Q@mail.gmail.com> <CAAupw%2BLfaR-mv=eJb=9-4-cOD_P7F2GcZk=zhrksgmz-MWCgUg@mail.gmail.com> <CAJ-Vmok3ftgqGR6pULjA%2BydkBEoVZqiedXsXz-oMye8W0-yPdw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAupw%2BJk6xctM0PRSwGtooEAOTG6o-ds4D6Y_wrwW6wD4Bc1Ew>