** Tags added: oem-priority

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-6.8 in Ubuntu.
https://bugs.launchpad.net/bugs/2095076

Title:
  nouveau driver crashes on Acer Aspire E17

Status in OEM Priority Project:
  New
Status in linux-signed-hwe-6.8 package in Ubuntu:
  New

Bug description:
  I had made a fresh Install of Ubuntu 24.04.1 LTS on my Acer Aspire E17.
  I found, that the newly installed system will neither poweroff nor reboot.
  I found that this is true for Live-System (started from USB), too.

  Only SysReq-B will reboot (power off is not working via SysReq-O, too).
  (Off course I do SysReq-S & SysReq-U first)

  So I inspect dmesg and found some entries with BUG Oops and RIP.
  Especially nouveau driver crashes:

  [    5.188181] UBSAN: shift-out-of-bounds in /build/linux-
  vCyKs5/linux-6.8.0/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf108.c:36:17

  That is an error I had already reported some time ago (could not 
remember/find my report) elsewhere.
  It seams, that on my System the values of:
  u32 fbpt  = nvkm_rd32(device, 0x022438);
  u32 fbpat = nvkm_rd32(device, 0x02243c);
  will return some (wrong?) values, at least the code should check instead of 
crashing.
  The code at this line is IMHO not save, because it does not check if the var 
fbpa is >= 64.

  Because the same line ist still present in the current master branch 
(https://gitlab.freedesktop.org/drm/nouveau/-/blob/master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf108.c?ref_type=heads),
  I report this here & in 
https://gitlab.freedesktop.org/drm/nouveau/-/issues/408 (it's IMHO no 
distro-problem).

  After I blacklist module nouveau in /etc/modprobe.d/blacklist.conf, execute 
the commands:
  >grub-mkconfig -o /boot/grub/grub.cfg
  >update-grub
  then reboot the system the next time I do a poweroff via GUI it works as 
expected!

  So it seams, that the module nouveau, that RIP's, is the reason for
  not powering off.

  I will attach the dmesg output of the last boot before my changes as
  well as one after the changes..

  Just as a remark: The Laptop (Acer Aspire E17) is a model with PRIME
  (two graphic cards: i915 & nvidea).

  >lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description: Ubuntu 24.04.1 LTS
  Release: 24.04
  Codename: noble

  >uname -a
  Linux GNAspire 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 
13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2095076/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to