3

I am having trouble when shutting down Dell Alienware Aurora R7 after installing ubuntu 18.04. The nvidia drivers were successfully installed.

enter image description here

Eskander Bejaoui
  • 2,405
  • 1
  • 22
  • 30
prasadith
  • 39
  • 1
  • 2
  • 1
    I faced the same issue myself and found a solution. See my answer here for the instructions: https://unix.stackexchange.com/a/446913/52937 – Yurij May 30 '18 at 13:30
  • @yttrium Could you copy-paste your answer from U&L to AU as the question might be closed because it's a bug... (Already upvoted over there, will do same here if you ping me) **;-)** – Fabby Oct 24 '18 at 21:22
  • @Fabby copy-pasted. – Yurij Oct 25 '18 at 08:22

1 Answers1

6

Copy-pasting answer from U&L as per people request

After reading kernel sources, I found a function we need to blacklist!

Thanks to Stephen Kitt for the hint about initcall_blacklist.

Add initcall_blacklist=dw_i2c_init_driver to the kernel command line. This works for me on kernel 4.15.0.

For anyone else who'll find this answer. You can do it by editing /etc/default/grub:

  1. Run in the terminal: sudo -H gedit /etc/default/grub.
  2. Append blacklist string to the GRUB_CMDLINE_LINUX_DEFAULT: GRUB_CMDLINE_LINUX_DEFAULT="… initcall_blacklist=dw_i2c_init_driver".
  3. Save the file, close the editor.
  4. Run in the terminal: sudo update-grub.
  5. Reboot and test!
Yurij
  • 161
  • 1
  • 3