Bug#944679: extlinux: Visual bugs while editing a long kernel command line

2019-12-23 Thread Mikhail Morfikov
On 23/12/2019 19:30, Lukas Schwaighofer wrote:
> I'll look into this and try to reproduce this within the next few days.
> To speed things up, can you provide me with your configuration?

Here's my config:


DEFAULT debian
PROMPT 0
TIMEOUT 200
UI vesamenu.c32
MENU MARGIN 10
MENU WIDTH 80
MENU ROWS 10
MENU HELPMSGROW 25
MENU CMDLINEROW 25
MENU TABMSGROW 25
MENU HSHIFT 0
MENU VSHIFT 0
MENU TITLE !!! BOOT !!!
MENU BACKGROUND background_640x480.png
MENU COLOR border   30;44   #40ff #a000 std
MENU COLOR title1;36;44 #9033ccff #a000 std
MENU COLOR sel  7;37;40 #e0ff #20ff all
MENU COLOR unsel37;44   #50ff #a000 std
MENU COLOR help 37;40   #c0ff #a000 std
MENU COLOR timeout_msg  37;40   #80ff # std
MENU COLOR timeout  1;37;40 #c0ff # std
MENU COLOR msg0737;40   #90ff #a000 std
MENU COLOR tabmsg   31;40   #30ff # std

LABEL debian
MENU LABEL Debian 5.4.6-amd64
KERNEL ../vmlinuz-5.4.6-amd64
APPEND root=/dev/mapper/wd_black_label-root net.ifnames=0 biosdevname=0 
audit_backlog_limit=2048 log_buf_len=32M systemd.log_target=kmsg 
systemd.unified_cgroup_hierarchy=0 printk.devkmsg=on swapaccount=1 
luks.crypttab=no page_poison=1 slab_nomerge slub_debug=FZP pti=auto mds=full 
vsyscall=none spec_store_bypass_disable=on lockdown=none apparmor=1 
security=apparmor ro loglevel=4
INITRD ../initrd.img-5.4.6-amd64
TEXT HELP
Debian (/dev/sda1).
ENDTEXT

MENU CLEAR


> 
> If you're able to perform some test, can you check whether the
> behavior is consistent when using a different UI modules (menu.c32 or
> vesamenu.c32).
I tested both menu.c32 and vesamenu.c32, and they have the same issue. 



Bug#944679: extlinux: Visual bugs while editing a long kernel command line

2019-12-23 Thread Lukas Schwaighofer
Control: tags -1 + moreinfo

Hi Mikhail,

apologies for the long delay, there was a lot going on the before winter
holidays.

On Wed, 13 Nov 2019 17:59:13 +0100
Mikhail Morfikov  wrote:

> My current kernel command line is about 400-character long. When it
> was shorter, I didn't have any issues when I wanted to edit this line
> in the bootloader screen by selecting some entry and pressing "E".
> 
> I recently added some other kernel parameters to the cmd line, and I
> noticed many visual bugs in the bootloader screen. Basically with
> each cursor movement (back and forth), I get an extra text line in
> the screen output (copy of the current line scrolled up). Also
> characters in the cmd line disappear or change when I move the cursor
> back. The visual bugs make it almost impossible to edit the kernel
> cmd line. Also When I press the backspace key (or the back arrow key)
> for a longer period of time (let's assume I want to delete some
> parameters entirely from the line), I hear the hardware beeper which
> is really annoying.
> 
> I found out that the problem appears when I have more than 4 lines of
> text on the screen when editing the cmd line. So fifth (and next
> ones) will trigger the visual bugs, while 4 (and less) won't.

I'll look into this and try to reproduce this within the next few days.
To speed things up, can you provide me with your configuration?

If you're able to perform some test, can you check whether the
behavior is consistent when using a different UI modules (menu.c32 or
vesamenu.c32).

Thanks
Lukas



Bug#944679: extlinux: Visual bugs while editing a long kernel command line

2019-11-13 Thread Mikhail Morfikov
Package: extlinux
Version: 3:6.04~git20190206.bf6db5b4+dfsg1-1
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dear Maintainer,

My current kernel command line is about 400-character long. When it was
shorter, I didn't have any issues when I wanted to edit this line in the
bootloader screen by selecting some entry and pressing "E".

I recently added some other kernel parameters to the cmd line, and I noticed
many visual bugs in the bootloader screen. Basically with each cursor movement
(back and forth), I get an extra text line in the screen output (copy of the
current line scrolled up). Also characters in the cmd line disappear or change
when I move the cursor back. The visual bugs make it almost impossible to edit
the kernel cmd line. Also When I press the backspace key (or the back arrow
key)
for a longer period of time (let's assume I want to delete some parameters
entirely from the line), I hear the hardware beeper which is really annoying.

I found out that the problem appears when I have more than 4 lines of text on
the screen when editing the cmd line. So fifth (and next ones) will trigger the
visual bugs, while 4 (and less) won't.

So what to do with it?



- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (130, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.11-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages extlinux depends on:
ii  libc6  2.29-3

Versions of packages extlinux recommends:
ii  syslinux-common  3:6.04~git20190206.bf6db5b4+dfsg1-1

extlinux suggests no packages.




-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEE5JPPWm5C7TFDUMqpzQRoEHcbZSAFAl3MNmEACgkQzQRoEHcb
ZSCybg/+LbzriiSLoPsLRK9iW+GmMD4U82YnK6OoEjz7YMIWi8yJzzzgsRgoSJs5
yOpXTdbMQchScmbrloMb7jBDWkaK594+2RvL+ZOyeYt7SNAwIyZEv4AdA1DiNArn
moKQk48WPKV4gNqVXnjlvs+Eab6nFh7AokzMSG7TxHiZ283s1aQYOdUjiVWdU2YH
pLgd1qRsKf7tz1kJfTmTx4tx8w8dR7Qxe6vuesShEr+QHwb4PjliroXzxrTJYBAe
WVikkk6aYkWrDJHmn2SOmrXdwzUOpkIOuSludoP2ctDZfjsHbigNMI40smQI/t0F
qnLwZ0QscOybxE1z4l4WHnpr3opl3EyLg2XNvbdDCXBZdFP+YmVHG06sZrEwJktc
UALj5pTAytB87vK7p77kMsAOniZJj2T47mdh8ggJmYiGby4JkGWr3Ya9YTWRoQxX
v1ohflHg8OC88iXWaAQPzi/gtpcM17IkeR5EDWV+/FtOzSVReqjpXwI37DvJ0CUp
BcB/ZBdLJ2MTAU5D7UKm/0OIjPcfE110ICXrbCn+oBvhZ+Tn1GeYrQje4nW1Rfb5
dWU2Ue4FzGPun/d/M1zVmVSUYocPpY6nLOn6Qh5+t6yK0vKzkuyhFgsrURrJwLQ8
qFEjFQfep4vpM0NF+JHriPGglyVpkaEHklCl9IqxcPVbIEL7AjQ=
=QWGV
-END PGP SIGNATURE-