Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Devices without power management support: dm0 dm1 (LVM / Device Mapper prevents ACPI Sleep State 3)
On Wed, Jan 15, 2020 at 07:25:10AM +0100, Matthias Petermann wrote:
> Hello Maya,
>
> many thanks for your response. I used the patch in my NetBSD 9.0 (RC1)
> kernel and rebuilt it. However, it does not seem to be the solution to the
> problem. If i want to send the system to sleep, the message still appears:
>
> [ 92,499360] Devices without power management support: dm0 dm1
>
> For security, I have added additional logging - should that actually appear
> in the kernel log?
>
> ...
> static void
> dm_attach(device_t parent, device_t self, void *aux)
> {
> aprint_error("dm_attach called\n");
> ...
>
> static int
> dm_detach(device_t self, int flags)
> {
> dm_dev_t *dmv;
> aprint_error("dm_detach called\n");
> ...
>
> Since I don't see any of this in the log, I'm not sure at all whether the
> code is actually executed. Is it generally the case that all device drivers
> are "detached" before entering ACPI Sleep state 3? Or could this be a
> special case?
You will need to rebuild the modules, not the kernel.
build.sh .... modules
sudo build.sh ... installmodules=/
Is how I usually do it.
Home |
Main Index |
Thread Index |
Old Index