Page 1 of 1

Linux mint 18 shutdown or power off problem.

Posted: Thu Jul 07, 2016 9:14 am
by Jonasrye
I have now installed linux mint 18 mate on both a Acer Aspire Es1-311 and a packard bell easynote ms2397.

In both cases the system would not shutdown or power so I had to:

modify /etc/modprobe.d/blacklist.conf and
add
blacklist dw_dmac
blacklist dw_dmac_core

This made it work! :D
So now I am wondering why the newest version of Linux doesn't work "out of the box" and I have blacklist files?
What is dw_dmac and dw_dmac_core and what do they do?

Please see if you can give me a simple explanation, since I am still new to Linux and trying to learn as much as I can.

Some resources I can read would also be nice!

Thanks for your help :)

Re: Linux mint 18 shutdown or power off problem.

Posted: Thu Jul 07, 2016 3:20 pm
by deepakdeshp
It can be a driver problem

viewtopic.php?f=46&t=224401

Or use update manager to update to latest kernel version which may support the driver

Re: Linux mint 18 shutdown or power off problem.

Posted: Fri Jul 08, 2016 5:54 am
by Jonasrye
Thank you!

I did update the drivers and the Kernel and that did not solve it.

Do you know what the files dw_dmac and dw_dmac_core are?

Re: Linux mint 18 shutdown or power off problem.

Posted: Fri Jul 08, 2016 9:55 am
by deepakdeshp
You are welcome. Run following command in terminal ans it should give a good idea about modprobe.

Code: Select all

man modprobe

http://googleweblight.com/?lite_url=htt ... KBftTfGD1A

Re: Linux mint 18 shutdown or power off problem.

Posted: Fri Jul 08, 2016 1:17 pm
by Jonasrye
I am not quit sure what you mean?

Do you want me to use "man modprobe" to remove " dw_dmac" and "dw_dmac_core" from the kernel?

Or is there an output I should post here?

Re: Linux mint 18 shutdown or power off problem.

Posted: Fri Jul 08, 2016 5:29 pm
by Cosmo.
The command shows the man(ual) pages for that command.

Re: Linux mint 18 shutdown or power off problem.

Posted: Sat Jul 09, 2016 9:48 am
by deepakdeshp

Code: Select all

modeprobe -vl
will list all modules from the kernel from which you booted.

Code: Select all

modprobe -rl name
will remove module called name. Removing may break the kernel system hence have 2 kernels installed so that you can fall back to the spare kernel if the command breajs the first one.
You can decide which module to remove given the modeproble -vl output. You van post output of modeprobe -vl here if in doubt

Re: Linux mint 18 shutdown or power off problem.

Posted: Sun Jul 10, 2016 3:50 am
by don250r
The problem with the Acer is a well known bug(google dw_dmac).
The packard hell is NOT 100% IBM compatible(well-known in the old school).

Re: Linux mint 18 shutdown or power off problem.

Posted: Sun Jul 10, 2016 5:47 am
by rene
deepakdeshp wrote:

Code: Select all

modprobe -rl name
will remove module called name. Removing may break the kernel system hence have 2 kernels installed so that you can fall back to the spare kernel if the command breajs the first one.
Please note that modprobe -r only unloads a module (if possible; often it's marked in use and cannot be unloaded). It does not remove it in any other sense and you can just modprobe it back if so desired. Certainly moreover after a reboot everything is back to normal; no need for a second installed kernel.

I'd also like to comment that normally you should not use the -l. It explicitly makes modprobe ignore custom setup/remove rules that the distribution may have put in place. Generally none, but if there are there will be good reasons for them.