[Kernel-packages] [Bug 1988984] Re: earlyconsole prints ������������������������ on 5.19.0-1002-generic
Re-titling bug report to avoid printing unprintable characters in the kernel upload changelog. ** Description changed: + earlyconsole prints on 5.19.0-1002-generic + [ Impact ] * When adding earlycon to the kernel command line on the SiFive Unmatched board the serial console will print garbage halfway through booting until entering userspace and other other drivers are loaded. * The problem is the UART driver doesn't claim its clocks properly so the PWM driver will turn off the parent clock until PWM is needed for the LEDs on the board. * Compiling the PWM driver as a module so it will be loaded at the same time the LED drivers are loaded is a workaround -until the following patch is backported + until the following patch is backported 643792048ee8 ("serial: sifive: enable clocks for UART when probed") * Only the SoCs on the SiFive Unleashed and Unmatched boards use this PWM driver, but none of them need it at boot time, so should be harmless. [ Test Plan ] * Add earlycon and watch the serial console while booting. * Test that PWM leds still work after the PWM driver module is loaded. [ Where problems could occur ] * There might be a hidden dependency on loading the PWM driver early. [ Other Info ] Original bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. ** Summary changed: - earlyconsole prints on 5.19.0-1002-generic + earlyconsole prints question marks on 5.19.0-1002-generic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1988984 Title: earlyconsole prints question marks on 5.19.0-1002-generic Status in linux-meta-riscv package in Ubuntu: New Bug description: earlyconsole prints on 5.19.0-1002-generic [ Impact ] * When adding earlycon to the kernel command line on the SiFive Unmatched board the serial console will print garbage halfway through booting until entering userspace and other other drivers are loaded. * The problem is the UART driver doesn't claim its clocks properly so the PWM driver will turn off the parent clock until PWM is needed for the LEDs on the board. * Compiling the PWM driver as a module so it will be loaded at the same time the LED drivers are loaded is a workaround until the following patch is backported 643792048ee8 ("serial: sifive: enable clocks for UART when probed") * Only the SoCs on the SiFive Unleashed and Unmatched boards use this PWM driver, but none of them need it at boot time, so should be harmless. [ Test Plan ] * Add earlycon and watch the serial console while booting. * Test that PWM leds still work after the PWM driver module is loaded. [ Where problems could occur ] * There might be a hidden dependency on loading the PWM driver early. [ Other Info ] Original bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta-riscv/+bug/1988984/+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 1988984] Re: earlyconsole prints ������������������������ on 5.19.0-1002-generic
** Description changed: [ Impact ] - * When adding earlycon to the kernel command line on the -SiFive Unmatched board the serial console will print garbage -halfway through booting until entering userspace and other -other drivers are loaded. + * When adding earlycon to the kernel command line on the + SiFive Unmatched board the serial console will print garbage + halfway through booting until entering userspace and other + other drivers are loaded. - * The problem is the UART driver doesn't claim its clocks -properly so the PWM driver will turn off the parent clock -until PWM is needed for the LEDs on the board. + * The problem is the UART driver doesn't claim its clocks + properly so the PWM driver will turn off the parent clock + until PWM is needed for the LEDs on the board. - * Compiling the PWM driver as a module so it will be loaded -at the same time the LED drivers are loaded is a temporary -workaround until the following patch is backported -643792048ee8 ("serial: sifive: enable clocks for UART when probed") + * Compiling the PWM driver as a module so it will be loaded + at the same time the LED drivers are loaded is a workaround +until the following patch is backported + 643792048ee8 ("serial: sifive: enable clocks for UART when probed") - * Only the SoCs on the SiFive Unleashed and Unmatched boards use -this PWM driver, but none of them need it at boot time, so should -be harmless. + * Only the SoCs on the SiFive Unleashed and Unmatched boards use + this PWM driver, but none of them need it at boot time, so should + be harmless. [ Test Plan ] - * Add earlycon and watch the serial console while booting. + * Add earlycon and watch the serial console while booting. - * Test that PWM leds still work after the PWM driver module is loaded. + * Test that PWM leds still work after the PWM driver module is loaded. [ Where problems could occur ] - * There might be a hidden dependency on loading the PWM driver early. + * There might be a hidden dependency on loading the PWM driver early. [ Other Info ] Original bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1988984 Title: earlyconsole prints on 5.19.0-1002-generic Status in linux-meta-riscv package in Ubuntu: New Bug description: [ Impact ] * When adding earlycon to the kernel command line on the SiFive Unmatched board the serial console will print garbage halfway through booting until entering userspace and other other drivers are loaded. * The problem is the UART driver doesn't claim its clocks properly so the PWM driver will turn off the parent clock until PWM is needed for the LEDs on the board. * Compiling the PWM driver as a module so it will be loaded at the same time the LED drivers are loaded is a workaround until the following patch is backported 643792048ee8 ("serial: sifive: enable clocks for UART when probed") * Only the SoCs on the SiFive Unleashed and Unmatched boards use this PWM driver, but none of them need it at boot time, so should be harmless. [ Test Plan ] * Add earlycon and watch the serial console while booting. * Test that PWM leds still work after the PWM driver module is loaded. [ Where problems could occur ] * There might be a hidden dependency on loading the PWM driver early. [ Other Info ] Original bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta-riscv/+bug/1988984/+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 1988984] Re: earlyconsole prints ������������������������ on 5.19.0-1002-generic
** Description changed: + [ Impact ] + + * When adding earlycon to the kernel command line on the +SiFive Unmatched board the serial console will print garbage +halfway through booting until entering userspace and other +other drivers are loaded. + + * The problem is the UART driver doesn't claim its clocks +properly so the PWM driver will turn off the parent clock +until PWM is needed for the LEDs on the board. + + * Compiling the PWM driver as a module so it will be loaded +at the same time the LED drivers are loaded is a temporary +workaround until the following patch is backported +643792048ee8 ("serial: sifive: enable clocks for UART when probed") + + * Only the SoCs on the SiFive Unleashed and Unmatched boards use +this PWM driver, but none of them need it at boot time, so should +be harmless. + + [ Test Plan ] + + * Add earlycon and watch the serial console while booting. + + * Test that PWM leds still work after the PWM driver module is loaded. + + [ Where problems could occur ] + + * There might be a hidden dependency on loading the PWM driver early. + + [ Other Info ] + + Original bug description: + With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1988984 Title: earlyconsole prints on 5.19.0-1002-generic Status in linux-meta-riscv package in Ubuntu: New Bug description: [ Impact ] * When adding earlycon to the kernel command line on the SiFive Unmatched board the serial console will print garbage halfway through booting until entering userspace and other other drivers are loaded. * The problem is the UART driver doesn't claim its clocks properly so the PWM driver will turn off the parent clock until PWM is needed for the LEDs on the board. * Compiling the PWM driver as a module so it will be loaded at the same time the LED drivers are loaded is a temporary workaround until the following patch is backported 643792048ee8 ("serial: sifive: enable clocks for UART when probed") * Only the SoCs on the SiFive Unleashed and Unmatched boards use this PWM driver, but none of them need it at boot time, so should be harmless. [ Test Plan ] * Add earlycon and watch the serial console while booting. * Test that PWM leds still work after the PWM driver module is loaded. [ Where problems could occur ] * There might be a hidden dependency on loading the PWM driver early. [ Other Info ] Original bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta-riscv/+bug/1988984/+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 1988984] Re: earlyconsole prints ������������������������ on 5.19.0-1002-generic
CONFIG_PWM_SIFIVE=m could be a workaround. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1988984 Title: earlyconsole prints on 5.19.0-1002-generic Status in linux-meta-riscv package in Ubuntu: New Bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta-riscv/+bug/1988984/+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 1988984] Re: earlyconsole prints ������������������������ on 5.19.0-1002-generic
Bisecting the kernel configuration file points to CONFIG_PWM_SIFIVE=y causing the problem. The setting was already enabled in out v5.15 kernel. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1988984 Title: earlyconsole prints on 5.19.0-1002-generic Status in linux-meta-riscv package in Ubuntu: New Bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta-riscv/+bug/1988984/+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 1988984] Re: earlyconsole prints ������������������������ on 5.19.0-1002-generic
@esmil: This seems to be specific to your ppa kernel. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1988984 Title: earlyconsole prints on 5.19.0-1002-generic Status in linux-meta-riscv package in Ubuntu: New Bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta-riscv/+bug/1988984/+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 1988984] Re: earlyconsole prints ������������������������ on 5.19.0-1002-generic
** Package changed: linux-riscv (Ubuntu) => linux-meta-riscv (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1988984 Title: earlyconsole prints on 5.19.0-1002-generic Status in linux-meta-riscv package in Ubuntu: New Bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta-riscv/+bug/1988984/+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 1988984] Re: earlyconsole prints ������������������������ on 5.19.0-1002-generic
** Description changed: - With Kernel 5.19.0-1002-generic on the SiFive Unmatches earlyconsole + With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1988984 Title: earlyconsole prints on 5.19.0-1002-generic Status in linux-riscv package in Ubuntu: New Bug description: With Kernel 5.19.0-1002-generic on the SiFive Unmatched earlyconsole output looks like: EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Exiting boot services... ��� With a defconfig 5.19.6 kernel this does not occr. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-riscv/+bug/1988984/+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