[PATCH] disk/pata: Suppress error message "no device connected"

2021-03-01 Thread Glenn Washburn
This error message comes from the grub_print_error in grub_pata_device_initialize, which does not pass on the error, and is raised in check_device. The function check_device needs to return this as an error because check_device is also used in grub_pata_open, which does pass on this error to indica

Re: [PATCH] disk/pata: Prepend log message with PATA

2021-03-01 Thread Glenn Washburn
On Mon, 1 Mar 2021 13:43:06 +0100 Paul Menzel wrote: > Seeing > > no device connected > > it’s not clear, what component this belongs to. So prepend it to log: > > PATA: no device connected I ran in to this just several days ago in the ehci_test, which may be unrelated to how its sho

Re: [PATCH] password: Fix backspace in username prompt

2021-03-01 Thread Lennart Sorensen
On Mon, Mar 01, 2021 at 10:58:40AM +0300, Egor Ignatov wrote: > From: Egor Ignatov > > Make backspace work in superuser login prompt. > > The problem was that bidi logical to visual ignored BN type, > so you couldn't print control characters. > > Use grub_printf() 3 times, because a line wrap w

[PATCH] password: Fix backspace in username prompt

2021-03-01 Thread Egor Ignatov
Make backspace work in superuser login prompt. The problem was that bidi logical to visual ignored BN type, so you couldn't print control characters. Use grub_printf() 3 times, because a line wrap will cause the cursor to get stuck at the end of the terminal line. Resolves: #60114 Signed-off-by:

[PATCH] disk/pata: Prepend log message with PATA

2021-03-01 Thread Paul Menzel
Seeing no device connected it’s not clear, what component this belongs to. So prepend it to log: PATA: no device connected Signed-off-by: Paul Menzel --- grub-core/disk/pata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/disk/pata.c b/grub-core/disk/pa

[PATCH] password: Fix backspace in username prompt

2021-03-01 Thread Egor Ignatov
From: Egor Ignatov Make backspace work in superuser login prompt. The problem was that bidi logical to visual ignored BN type, so you couldn't print control characters. Use grub_printf() 3 times, because a line wrap will cause the cursor to get stuck at the end of the terminal line. Resolves:

[PATCH] password: Fix backspace in username prompt

2021-03-01 Thread Egor Ignatov
From: Egor Ignatov Make backspace work in superuser login prompt. The problem was that bidi logical to visual ignored BN type, so you couldn't print control characters. Use grub_printf() 3 times, because a line wrap will cause the cursor to get stuck at the end of the terminal line. Resolves: