[Kernel-packages] [Bug 2043059] Re: Installation errors out when installing in a chroot

2023-11-08 Thread Jamie Nguyen
I believe the key to the reproducer is having the kdump-tools package
installed in the chroot.  The kdump-tools package provides a
/etc/kernel/postinst.d/kdump-tools script, which has the following
snippet:

(Apologies for formatting, the interface removes the leading spaces from
this code)

 43 if test "${MODULES-most}" = most; then
 44 # Switch from "most" to "dep" to reduce the size of the initramfs.
 45 # "netboot" and "list" are expected to be already small enough.
 46 KDUMP_MODULES=dep
 47 fi
 48 
 49 # We need a modified copy of initramfs-tools directory
 50 # with MODULES=dep in initramfs.conf
 51 if [ ! -d "$kdumpdir" ];then
 52 mkdir -p "$kdumpdir"
 53 fi
 54 # Force re-creation of $kdumpdir/initramfs-tools
 55 # in case the source has changed since last time
 56 # we ran
 57 if [ -d "$kdumpdir/initramfs-tools" ];then
 58 rm -Rf $kdumpdir/initramfs-tools
 59 fi
 60 cp -pr /etc/initramfs-tools "$kdumpdir"
 61 
 62 initramfsdir="$kdumpdir/initramfs-tools"
 63 
 64 if test -n "${KDUMP_MODULES-}" -a "${KDUMP_MODULES-}" != "${MODULES}"; then
 65 mkdir -p "$initramfsdir/conf.d"
 66 echo "MODULES=${KDUMP_MODULES}" > "$initramfsdir/conf.d/zzz-kdump"
 67 fi

This changes the initramfs-tools default from "MODULES=most" to
"MODULES=dep" before generating the initrd.  "MODULES=dep" fails in a
chroot because there's no way to map '/' back to the block device that
it resides on.

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

Title:
  Installation errors out when installing in a chroot

Status in linux-nvidia package in Ubuntu:
  New

Bug description:
  Processing triggers for linux-image-5.15.0-1040-nvidia (5.15.0-1040.40) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.15.0-1040-nvidia
 ...done.
  /etc/kernel/postinst.d/initramfs-tools:
  update-initramfs: Generating /boot/initrd.img-5.15.0-1040-nvidia
  cryptsetup: WARNING: Couldn't determine root device
  W: Couldn't identify type of root file system for fsck hook
  cp: cannot stat '/etc/iscsi/initiatorname.iscsi': No such file or directory
  /etc/kernel/postinst.d/kdump-tools:
  kdump-tools: Generating /var/lib/kdump/initrd.img-5.15.0-1040-nvidia
  mkinitramfs: failed to determine device for /
  mkinitramfs: workaround is MODULES=most, check:
  grep -r MODULES /var/lib/kdump/initramfs-tools

  Error please report bug on initramfs-tools
  Include the output of 'mount' and 'cat /proc/mounts'
  update-initramfs: failed for /var/lib/kdump/initrd.img-5.15.0-1040-nvidia 
with 1.
  run-parts: /etc/kernel/postinst.d/kdump-tools exited with return code 1
  dpkg: error processing package linux-image-5.15.0-1040-nvidia (--configure):
   installed linux-image-5.15.0-1040-nvidia package post-installation script 
subprocess returned error exit status 1
  Errors were encountered while processing:
   linux-image-5.15.0-1040-nvidia
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2043059/+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


[Kernel-packages] [Bug 2026776] [NEW] arm64+ast2600: No Output from BMC's VGA port

2023-07-10 Thread Jamie Nguyen
Public bug reported:

Hello,

On systems that have the following combination of hardware...:

1) arm64 CPU
2) ASPEED AST2600 BMC: https://www.aspeedtech.com/server_ast2600/

.. we see no output when connecting a display to the BMC's VGA port.

Upon further investigation, we see that applying the following patch
fixes this issue:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/ast?h=v6.4-rc6=4327a6137ed43a091d900b1ac833345d60f32228

Would it be possible to apply this patch to affected kernels?  Using the
aforementioned combination, the ast driver is broken without this patch.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

** Project changed: snap-octavia-diskimage-retrofit => linux

** Project changed: linux => linux (Ubuntu)

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

Title:
  arm64+ast2600: No Output from BMC's VGA port

Status in linux package in Ubuntu:
  New

Bug description:
  Hello,

  On systems that have the following combination of hardware...:

  1) arm64 CPU
  2) ASPEED AST2600 BMC: https://www.aspeedtech.com/server_ast2600/

  .. we see no output when connecting a display to the BMC's VGA port.

  Upon further investigation, we see that applying the following patch
  fixes this issue:
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/ast?h=v6.4-rc6=4327a6137ed43a091d900b1ac833345d60f32228

  Would it be possible to apply this patch to affected kernels?  Using
  the aforementioned combination, the ast driver is broken without this
  patch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2026776/+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


[Kernel-packages] [Bug 1948960] Re: nvidia-driver-XXX-server packaging: Demote nvidia-settings to "Suggests"

2021-11-19 Thread Jamie Nguyen
Hello,

I've tested the focal-proposed versions of nvidia-driver-450-server-
generic and nvidia-470-server-generic, and the changes look good.
Thanks!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1948960

Title:
  nvidia-driver-XXX-server packaging: Demote nvidia-settings to
  "Suggests"

Status in nvidia-graphics-drivers-418-server package in Ubuntu:
  New
Status in nvidia-graphics-drivers-450-server package in Ubuntu:
  Fix Committed
Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Fix Committed
Status in nvidia-graphics-drivers-470-server package in Ubuntu:
  Fix Committed
Status in nvidia-graphics-drivers-418-server source package in Bionic:
  Fix Committed
Status in nvidia-graphics-drivers-450-server source package in Bionic:
  Fix Committed
Status in nvidia-graphics-drivers-460-server source package in Bionic:
  Fix Committed
Status in nvidia-graphics-drivers-470-server source package in Bionic:
  Fix Committed
Status in nvidia-graphics-drivers-418-server source package in Focal:
  Fix Committed
Status in nvidia-graphics-drivers-450-server source package in Focal:
  Fix Committed
Status in nvidia-graphics-drivers-460-server source package in Focal:
  Fix Committed
Status in nvidia-graphics-drivers-470-server source package in Focal:
  Fix Committed
Status in nvidia-graphics-drivers-418-server source package in Hirsute:
  Fix Committed
Status in nvidia-graphics-drivers-450-server source package in Hirsute:
  Fix Committed
Status in nvidia-graphics-drivers-460-server source package in Hirsute:
  Fix Committed
Status in nvidia-graphics-drivers-470-server source package in Hirsute:
  Fix Committed
Status in nvidia-graphics-drivers-418-server source package in Impish:
  Fix Committed
Status in nvidia-graphics-drivers-450-server source package in Impish:
  Fix Committed
Status in nvidia-graphics-drivers-460-server source package in Impish:
  Fix Committed
Status in nvidia-graphics-drivers-470-server source package in Impish:
  Fix Committed

Bug description:
  [Impact]
  This release demotes nvidia-settings and nvidia-prime from "Recommends"
  to "Suggests" dependencies for the -server NVIDIA drivers, for the following 
reasons:

  - The Ubuntu default behavior is to install "recommended" packages.
  - The -server packages are associated with TRDs, which are generally used on 
Tesla GPUs, which are generally used on servers.
  - nvidia-settings pulls in many GUI bits which are generally not relevant to 
servers.

  
  [Test Case]
  Installing the main metapackage should be possible without pulling in
  the two above mentioned dependencies.

  [Regression Potential]
  Low, as no change other than dropping the two dependencies is involved.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-418-server/+bug/1948960/+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


[Kernel-packages] [Bug 1948960] [NEW] nvidia-driver-XXX-server packaging: Demote nvidia-settings to "Suggests"

2021-10-27 Thread Jamie Nguyen
Public bug reported:

The nvidia-driver-XXX-server meta-package "Recommends" nvidia-settings.
I think it would be better to demote nvidia-settings to a "Suggests" for
these packages because of all the following:

- The Ubuntu default behavior is to install "recommended" packages.
- The -server packages are associated with TRDs, which are generally used on 
Tesla GPUs, which are generally used on servers.
- nvidia-settings pulls in many GUI bits which are generally not relevant to 
servers.

** Affects: nvidia-graphics-drivers-450-server (Ubuntu)
 Importance: Undecided
 Status: New

** Affects: nvidia-graphics-drivers-460-server (Ubuntu)
 Importance: Undecided
 Status: New

** Affects: nvidia-graphics-drivers-470-server (Ubuntu)
 Importance: Undecided
 Status: New

** Project changed: kernel-sru-workflow => nvidia-graphics-
drivers-470-server (Ubuntu)

** Package changed: nvidia-graphics-drivers-470-server (Ubuntu) =>
nvidia-graphics-drivers-450-server (Ubuntu)

** Also affects: nvidia-graphics-drivers-460-server (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: nvidia-graphics-drivers-470-server (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-470-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1948960

Title:
  nvidia-driver-XXX-server packaging: Demote nvidia-settings to
  "Suggests"

Status in nvidia-graphics-drivers-450-server package in Ubuntu:
  New
Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  New
Status in nvidia-graphics-drivers-470-server package in Ubuntu:
  New

Bug description:
  The nvidia-driver-XXX-server meta-package "Recommends" nvidia-
  settings.  I think it would be better to demote nvidia-settings to a
  "Suggests" for these packages because of all the following:

  - The Ubuntu default behavior is to install "recommended" packages.
  - The -server packages are associated with TRDs, which are generally used on 
Tesla GPUs, which are generally used on servers.
  - nvidia-settings pulls in many GUI bits which are generally not relevant to 
servers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-450-server/+bug/1948960/+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


[Kernel-packages] [Bug 1744117] Re: ALSA backport missing NVIDIA GPU codec IDs to patch table to Ubuntu 16.04 LTS Kernel

2018-02-19 Thread Jamie Nguyen
Verified by our QA.  Changing tag to "verification-done-xenial".


Thanks, Jamie, below steps were helpful.
This bug did not repro with [Ubuntu 16.04] + kernel 4.4.0-116-generic : 384.111 
(R384_00)

I've verified output through all channels (7.1) using Test Sound option in 
Sound Setting + by running different 4,6 channel clips using aplay.
Connections were made using DP-HDMI dongle + DENON-AVR 



** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

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

Title:
  ALSA backport missing NVIDIA GPU codec IDs to patch table to Ubuntu
  16.04 LTS Kernel

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  Add support for 4/6/8 channel sound in 16.04 LTS kernel for future
  GPUs.

  This commit[1] first introduced in "Thu Jul 13 19:27:39 2017"[2] has
  what is needed base on discussion we had with nvidia:

  [1] - Commit
   
https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?id=74ec118152ea494a25ebb677cbc83a75c982ac5f

  ALSA: hda - Add missing NVIDIA GPU codec IDs to patch table

  Add codec IDs for several recently released, pending, and historical
  NVIDIA GPU audio controllers to the patch table, to allow the correct
  patch functions to be selected for them.

  [2] - git describe --contains 74ec118152ea494a25ebb677cbc83a75c982ac5f
  v4.13-rc3~21^2~5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1744117/+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


[Kernel-packages] [Bug 1744117] Re: ALSA backport missing NVIDIA GPU codec IDs to patch table to Ubuntu 16.04 LTS Kernel

2018-02-14 Thread Jamie Nguyen
I've let our QA (India-based) know about this.  I'll update as soon as
they've had a chance to verify.

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

Title:
  ALSA backport missing NVIDIA GPU codec IDs to patch table to Ubuntu
  16.04 LTS Kernel

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  Add support for 4/6/8 channel sound in 16.04 LTS kernel for future
  GPUs.

  This commit[1] first introduced in "Thu Jul 13 19:27:39 2017"[2] has
  what is needed base on discussion we had with nvidia:

  [1] - Commit
   
https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?id=74ec118152ea494a25ebb677cbc83a75c982ac5f

  ALSA: hda - Add missing NVIDIA GPU codec IDs to patch table

  Add codec IDs for several recently released, pending, and historical
  NVIDIA GPU audio controllers to the patch table, to allow the correct
  patch functions to be selected for them.

  [2] - git describe --contains 74ec118152ea494a25ebb677cbc83a75c982ac5f
  v4.13-rc3~21^2~5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1744117/+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