[Kernel-packages] [Bug 1976399] Re: focal/azure: The console log of ARM64 Ubuntu 18.04 has duplicate output
This bug was fixed in the package linux-azure - 5.4.0-1086.91 --- linux-azure (5.4.0-1086.91) focal; urgency=medium * focal/linux-azure: 5.4.0-1086.91 -proposed tracker (LP: #1979462) * Focal update: upstream stable patchset v5.4.192 (LP: #1979014) - [Config] azure: updateconfigs for NVM, NVM_PBLK * focal/azure: The console log of ARM64 Ubuntu 18.04 has duplicate output (LP: #1976399) - printk: Move console matching logic into a separate function - printk: Fix preferred console selection with multiple matches * nbd: requests can become stuck when disconnecting from server with qemu-nbd (LP: #1896350) - blk-mq: blk-mq: provide forced completion method - blk-mq: move failure injection out of blk_mq_complete_request - nbd: don't handle response without a corresponding request message - nbd: make sure request completion won't concurrent - nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completed - nbd: fix io hung while disconnecting device * Azure 5.4: vDSO broken with 5.4.0-1075-azure (LP: #1977753) - Revert "clocksource/drivers/hyper-v: Handle vDSO differences inline" [ Ubuntu: 5.4.0-122.138 ] * focal/linux: 5.4.0-122.138 -proposed tracker (LP: #1979489) * Remove SAUCE patches from test_vxlan_under_vrf.sh in net of ubuntu_kernel_selftests (LP: #1975691) - Revert "UBUNTU: SAUCE: selftests: net: Don't fail test_vxlan_under_vrf on xfail" - Revert "UBUNTU: SAUCE: selftests: net: Make test for VXLAN underlay in non- default VRF an expected failure" * Enable Asus USB-BT500 Bluetooth dongle(0b05:190e) (LP: #1976613) - Bluetooth: btusb: Add flag to define wideband speech capability - Bluetooth: btrtl: Add support for RTL8761B - Bluetooth: btusb: Add 0x0b05:0x190e Realtek 8761BU (ASUS BT500) device. * [UBUNTU 20.04] rcu stalls with many storage key guests (LP: #1975582) - s390/gmap: voluntarily schedule during key setting - s390/mm: use non-quiescing sske for KVM switch to keyed guest * Ubuntu 5.4.0-117.132-generic 5.4.189 has BUG: kernel NULL pointer dereference, address: 0034 (LP: #1978719) - mm: rmap: explicitly reset vma->anon_vma in unlink_anon_vmas() * Focal update: upstream stable patchset v5.4.192 (LP: #1979014) - floppy: disable FDRAWCMD by default - [Config] updateconfigs for BLK_DEV_FD_RAWCMD - hamradio: defer 6pack kfree after unregister_netdev - hamradio: remove needs_free_netdev to avoid UAF - lightnvm: disable the subsystem - [Config] updateconfigs for NVM, NVM_PBLK - usb: mtu3: fix USB 3.0 dual-role-switch from device to host - USB: quirks: add a Realtek card reader - USB: quirks: add STRING quirk for VCOM device - USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS - USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader - USB: serial: option: add support for Cinterion MV32-WA/MV32-WB - USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions - xhci: stop polling roothubs after shutdown - xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms - iio: dac: ad5592r: Fix the missing return value. - iio: dac: ad5446: Fix read_raw not returning set value - iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on() - usb: misc: fix improper handling of refcount in uss720_probe() - usb: typec: ucsi: Fix role swapping - usb: gadget: uvc: Fix crash when encoding data for usb request - usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind() - usb: dwc3: core: Fix tx/rx threshold settings - usb: dwc3: gadget: Return proper request status - serial: imx: fix overrun interrupts in DMA mode - serial: 8250: Also set sticky MCR bits in console restoration - serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device - arch_topology: Do not set llc_sibling if llc_id is invalid - hex2bin: make the function hex_to_bin constant-time - hex2bin: fix access beyond string end - video: fbdev: udlfb: properly check endpoint type - arm64: dts: meson: remove CPU opps below 1GHz for G12B boards - arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards - mtd: rawnand: fix ecc parameters for mt7622 - USB: Fix xhci event ring dequeue pointer ERDP update issue - ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue - phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe - phy: samsung: exynos5250-sata: fix missing device put in probe error paths - ARM: OMAP2+: Fix refcount leak in omap_gic_of_init - phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks - ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek - phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe - phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe - ARM: dts: Fix mmc order for omap3-gta04
[Kernel-packages] [Bug 1976399] Re: focal/azure: The console log of ARM64 Ubuntu 18.04 has duplicate output
Microsoft tested ** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1976399 Title: focal/azure: The console log of ARM64 Ubuntu 18.04 has duplicate output Status in linux-azure package in Ubuntu: Fix Released Status in linux-azure source package in Focal: Fix Committed Bug description: SRU Justification [Impact] There is duplicate output on the console . LSG team identify the root cause and suggested to apply two patches below. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad8cd1db80cc7bdbee63c453ef6d5132474b https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e369d8227fd211be36242fc44a9dc2209e246b9a What we are hitting is exactly in the second commit's log. Ubuntu kernel also needs the following diff: diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index f07367100ece..dca15e27123a 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2203,7 +2203,7 @@ static int __init console_setup(char *str) * for exacly this purpose. */ if (str[0] == 0 || strcmp(str, "null") == 0) { - __add_preferred_console("ttynull", 0, NULL, NULL); + __add_preferred_console("ttynull", 0, NULL, NULL, true); return 1; } Linux kernel: 5.4.0-1078-azure Tested in Azure Host version: 22477.1101-1-0 Image: Canonical 0002-com-ubuntu-server-arm-preview-bionic 18_04-lts 18.04.202205020 From Azure Serial Console, we can see duplicate output. Such as: [ 3.109140] Platform Keyring initialized [ 3.109140] Platform Keyring initialized [ 3.117148] Key type asymmetric registered [ 3.117148] Key type asymmetric registered [ 3.122303] Asymmetric key parser 'x509' registered [ 3.122303] Asymmetric key parser 'x509' registered [Test Plan] Microsoft tested [Where things could go wrong] The kernel log could get corrupted. [Other Info] SF: #00338148 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1976399/+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 1976399] Re: focal/azure: The console log of ARM64 Ubuntu 18.04 has duplicate output
Patch submitted: https://lists.ubuntu.com/archives/kernel- team/2022-May/130776.html -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1976399 Title: focal/azure: The console log of ARM64 Ubuntu 18.04 has duplicate output Status in linux-azure package in Ubuntu: Fix Released Status in linux-azure source package in Focal: In Progress Bug description: SRU Justification [Impact] There is duplicate output on the console . LSG team identify the root cause and suggested to apply two patches below. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad8cd1db80cc7bdbee63c453ef6d5132474b https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e369d8227fd211be36242fc44a9dc2209e246b9a What we are hitting is exactly in the second commit's log. Ubuntu kernel also needs the following diff: diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index f07367100ece..dca15e27123a 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2203,7 +2203,7 @@ static int __init console_setup(char *str) * for exacly this purpose. */ if (str[0] == 0 || strcmp(str, "null") == 0) { - __add_preferred_console("ttynull", 0, NULL, NULL); + __add_preferred_console("ttynull", 0, NULL, NULL, true); return 1; } Linux kernel: 5.4.0-1078-azure Tested in Azure Host version: 22477.1101-1-0 Image: Canonical 0002-com-ubuntu-server-arm-preview-bionic 18_04-lts 18.04.202205020 From Azure Serial Console, we can see duplicate output. Such as: [ 3.109140] Platform Keyring initialized [ 3.109140] Platform Keyring initialized [ 3.117148] Key type asymmetric registered [ 3.117148] Key type asymmetric registered [ 3.122303] Asymmetric key parser 'x509' registered [ 3.122303] Asymmetric key parser 'x509' registered [Test Plan] Microsoft tested [Where things could go wrong] The kernel log could get corrupted. [Other Info] SF: #00338148 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1976399/+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