dbgsym contains no debug symbols

Bug #1935855 reported by dann frazier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-kvm (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Kelsey Steele
Focal
Fix Released
Undecided
Kelsey Steele
Hirsute
Fix Released
Undecided
Unassigned
Impish
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

linux-image-unsigned-5.4.0-77-generic-dbgsym provides a /usr/lib/debug/boot/vmlinux-5.4.0-1040-kvm, but it does not contain any debug symbols.

Turn on CONFIG_DEBUG_INFO to include those debug symbols.

[Test Case]

Compare:

$ file /usr/lib/debug/boot/vmlinux-*
/usr/lib/debug/boot/vmlinux-5.4.0-1040-kvm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=514891d64a7d18db4fa58aa5cfea213e0951ca9d, not stripped
/usr/lib/debug/boot/vmlinux-5.4.0-77-generic: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=773d8ee85333fe092635f65d2b6850909085c11d, with debug_info, not stripped

[What Could Go Wrong]

Since linux-kvm is tuned for performance, it's possible there's some
side-effect of producing debug symbols that negatively impacts this. I've not
noticed any issues empirically, but I didn't try to measure it.

This config is already successfully turned on in Hirsute/kvm.

Revision history for this message
Terry Rudd (terrykrudd) wrote :

Thanks for bringing this up @dann. This needs to be corrected.

dann frazier (dannf)
Changed in linux-kvm (Ubuntu Impish):
status: New → Fix Released
Changed in linux-kvm (Ubuntu Hirsute):
status: New → Fix Released
Changed in linux-kvm (Ubuntu Focal):
status: New → In Progress
assignee: nobody → dann frazier (dannf)
dann frazier (dannf)
description: updated
description: updated
Changed in linux-kvm (Ubuntu Bionic):
assignee: nobody → Kelsey Skunberg (kelsey-skunberg)
Changed in linux-kvm (Ubuntu Focal):
assignee: dann frazier (dannf) → Kelsey Skunberg (kelsey-skunberg)
Changed in linux-kvm (Ubuntu Bionic):
status: New → Fix Committed
Changed in linux-kvm (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-kvm/4.15.0-1100.102 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-bionic' to 'verification-done-bionic'. If the problem still exists, change the tag 'verification-needed-bionic' to 'verification-failed-bionic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-bionic
Revision history for this message
dann frazier (dannf) wrote :

= verification =
root@dannf-lp1935855:~# wget https://launchpad.net/ubuntu/+archive/primary/+files/linux-image-4.15.0-1100-kvm-dbgsym_4.15.0-1100.102_amd64.ddeb
--2021-09-21 17:13:41-- https://launchpad.net/ubuntu/+archive/primary/+files/linux-image-4.15.0-1100-kvm-dbgsym_4.15.0-1100.102_amd64.ddeb
Resolving launchpad.net (launchpad.net)... 91.189.89.223, 91.189.89.222, 2001:67c:1560:8003::8004, ...
Connecting to launchpad.net (launchpad.net)|91.189.89.223|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://launchpadlibrarian.net/559404908/linux-image-4.15.0-1100-kvm-dbgsym_4.15.0-1100.102_amd64.ddeb [following]
--2021-09-21 17:13:41-- https://launchpadlibrarian.net/559404908/linux-image-4.15.0-1100-kvm-dbgsym_4.15.0-1100.102_amd64.ddeb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229, 2001:67c:1560:8003::8008, ...
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 131805596 (126M) [application/octet-stream]
Saving to: ‘linux-image-4.15.0-1100-kvm-dbgsym_4.15.0-1100.102_amd64.ddeb’

linux-image-4.15.0- 100%[===================>] 125.70M 30.3MB/s in 7.2s

2021-09-21 17:13:49 (17.5 MB/s) - ‘linux-image-4.15.0-1100-kvm-dbgsym_4.15.0-1100.102_amd64.ddeb’ saved [131805596/131805596]

root@dannf-lp1935855:~# dpkg -i linux-image-4.15.0-1100-kvm-dbgsym_4.15.0-1100.102_amd64.ddeb
Selecting previously unselected package linux-image-4.15.0-1100-kvm-dbgsym.
(Reading database ... 33352 files and directories currently installed.)
Preparing to unpack linux-image-4.15.0-1100-kvm-dbgsym_4.15.0-1100.102_amd64.ddeb ...
Unpacking linux-image-4.15.0-1100-kvm-dbgsym (4.15.0-1100.102) ...
Setting up linux-image-4.15.0-1100-kvm-dbgsym (4.15.0-1100.102) ...
root@dannf-lp1935855:~# apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
root@dannf-lp1935855:~# file /usr/lib/debug/boot/vmlinux-4.15.0-1100-kvm
/usr/lib/debug/boot/vmlinux-4.15.0-1100-kvm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=2ef10554e712a31bd03eba202c31d1e9fda95eab, with debug_info, not stripped

tags: added: verification-done-bionic
removed: verification-needed-bionic
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-kvm/5.4.0-1047.49 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (34.4 KiB)

This bug was fixed in the package linux-kvm - 5.4.0-1047.49

---------------
linux-kvm (5.4.0-1047.49) focal; urgency=medium

  * focal/linux-kvm: 5.4.0-1047.49 -proposed tracker (LP: #1942545)

  * please drop virtualbox-guest-dkms virtualbox-guest-source (LP: #1933248)
    - [Config] kvm: Disable virtualbox dkms build

  * dbgsym contains no debug symbols (LP: #1935855)
    - [config] kvm: CONFIG_DEBUG_INFO=y

  [ Ubuntu: 5.4.0-85.95 ]

  * focal/linux: 5.4.0-85.95 -proposed tracker (LP: #1942557)
  * please drop virtualbox-guest-dkms virtualbox-guest-source (LP: #1933248)
    - [Config] Disable virtualbox dkms build
  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2021.09.06)
  * LRMv5: switch primary version handling to kernel-versions data set
    (LP: #1928921)
    - [Packaging] switch to kernel-versions
  * disable “CONFIG_HISI_DMA” config for ubuntu version (LP: #1936771)
    - Disable CONFIG_HISI_DMA
    - [Config] Record hisi_dma no longer built for arm64
  * memory leaking when removing a profile (LP: #1939915)
    - apparmor: Fix memory leak of profile proxy
  * CryptoExpress EP11 cards are going offline (LP: #1939618)
    - s390/zcrypt: Support for CCA protected key block version 2
    - s390: Replace zero-length array with flexible-array member
    - s390/zcrypt: Use scnprintf() for avoiding potential buffer overflow
    - s390/zcrypt: replace snprintf/sprintf with scnprintf
    - s390/ap: Remove ap device suspend and resume callbacks
    - s390/zcrypt: use fallthrough;
    - s390/zcrypt: use kvmalloc instead of kmalloc for 256k alloc
    - s390/ap: remove power management code from ap bus and drivers
    - s390/ap: introduce new ap function ap_get_qdev()
    - s390/zcrypt: use kzalloc
    - s390/zcrypt: fix smatch warnings
    - s390/zcrypt: code beautification and struct field renames
    - s390/zcrypt: split ioctl function into smaller code units
    - s390/ap: rename and clarify ap state machine related stuff
    - s390/zcrypt: provide cex4 cca sysfs attributes for cex3
    - s390/ap: rework crypto config info and default domain code
    - s390/zcrypt: simplify cca_findcard2 loop code
    - s390/zcrypt: remove set_fs() invocation in zcrypt device driver
    - s390/ap: remove unnecessary spin_lock_init()
    - s390/zcrypt: Support for CCA APKA master keys
    - s390/zcrypt: introduce msg tracking in zcrypt functions
    - s390/ap: split ap queue state machine state from device state
    - s390/ap: add error response code field for ap queue devices
    - s390/ap: add card/queue deconfig state
    - s390/sclp: Add support for SCLP AP adapter config/deconfig
    - s390/ap: Support AP card SCLP config and deconfig operations
    - s390/ap/zcrypt: revisit ap and zcrypt error handling
    - s390/zcrypt: move ap_msg param one level up the call chain
    - s390/zcrypt: Introduce Failure Injection feature
    - s390/zcrypt: fix wrong format specifications
    - s390/ap: fix ap devices reference counting
    - s390/zcrypt: return EIO when msg retry limit reached
    - s390/zcrypt: fix zcard and zqueue hot-unplug memleak
    - s390/ap: Fix hanging ioctl caused by wrong msg counter
  * ...

Changed in linux-kvm (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (12.5 KiB)

This bug was fixed in the package linux-kvm - 4.15.0-1100.102

---------------
linux-kvm (4.15.0-1100.102) bionic; urgency=medium

  * bionic/linux-kvm: 4.15.0-1100.102 -proposed tracker (LP: #1942580)

  * Bionic update: upstream stable patchset 2021-08-17 (LP: #1940315)
    - [Config] kvm: updateconfigs for UNIX_SCM

  * dbgsym contains no debug symbols (LP: #1935855)
    - [config] kvm: CONFIG_DEBUG_INFO=y

  [ Ubuntu: 4.15.0-157.164 ]

  * bionic/linux: 4.15.0-157.164 -proposed tracker (LP: #1942588)
  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2021.09.06)
  * dell300x: rsi wifi and bluetooth crash after suspend and resume
    (LP: #1940488)
    - Revert "rsi: Use resume_noirq for SDIO"
  * LRMv5: switch primary version handling to kernel-versions data set
    (LP: #1928921)
    - [Packaging] switch to kernel-versions
  * kvm_unit_tests: emulator test fails on 4.4 / 4.15 kernel, timeout
    (LP: #1932966)
    - kvm: Add emulation for movups/movupd
  * memory leaking when removing a profile (LP: #1939915)
    - security/apparmor/label.c: Clean code by removing redundant instructions
    - apparmor: Fix memory leak of profile proxy
  * ubunut_kernel_selftests: memory-hotplug: avoid spamming logs with
    dump_page() (LP: #1941829)
    - selftests: memory-hotplug: avoid spamming logs with dump_page(), ratio limit
      hot-remove error test
  * Bionic update: upstream stable patchset 2021-08-27 (LP: #1941916)
    - btrfs: mark compressed range uptodate only if all bio succeed
    - regulator: rt5033: Fix n_voltages settings for BUCK and LDO
    - r8152: Fix potential PM refcount imbalance
    - qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
    - net: Fix zero-copy head len calculation.
    - Revert "Bluetooth: Shutdown controller after workqueues are flushed or
      cancelled"
    - KVM: do not allow mapping valid but non-reference-counted pages
    - Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    - spi: mediatek: Fix fifo transfer
    - padata: validate cpumask without removed CPU during offline
    - Revert "ACPICA: Fix memory leak caused by _CID repair function"
    - ALSA: seq: Fix racy deletion of subscriber
    - clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
    - omap5-board-common: remove not physically existing vdds_1v8_main fixed-
      regulator
    - scsi: sr: Return correct event when media event code is 3
    - media: videobuf2-core: dequeue if start_streaming fails
    - net: natsemi: Fix missing pci_disable_device() in probe and remove
    - nfp: update ethtool reporting of pauseframe control
    - mips: Fix non-POSIX regexp
    - bnx2x: fix an error code in bnx2x_nic_load()
    - net: pegasus: fix uninit-value in get_interrupt_interval
    - net: fec: fix use-after-free in fec_drv_remove
    - net: vxge: fix use-after-free in vxge_device_unregister
    - Bluetooth: defer cleanup of resources in hci_unregister_dev()
    - USB: usbtmc: Fix RCU stall warning
    - USB: serial: option: add Telit FD980 composition 0x1056
    - USB: serial: ch341: fix character loss at high transfer rates
    - USB: serial: ftdi_sio...

Changed in linux-kvm (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.