FS#29945 - [mkinitcpio-busybox] Include clear command

Attached to Project: Arch Linux
Opened by Swift Geek (swiftgeek) - Saturday, 19 May 2012, 02:15 GMT
Last edited by Dave Reisner (falconindy) - Friday, 01 June 2012, 18:21 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Please include clear command ( CONFIG_CLEAR )
It is needed for v86d hook in kexec setup

( do not include this code )
——————————————————————————————
run_hook()
{
/bin/busybox clear
/sbin/modprobe uvesafb
}
——————————————————————————————

Otherwise it will look like here (not my videos):
http://www.youtube.com/watch?v=5uqXt79-FYc
http://www.youtube.com/watch?v=AwpqefvQDRg

Messages from initscripts are written on top of those from previous kernel.
If You are having a good day adding "clear" hook would be nice ;)
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 01 June 2012, 18:21 GMT
Reason for closing:  Implemented
Additional comments about closing:  testing/mkinitcpio-busybox 1.20.1
Comment by Dave Reisner (falconindy) - Saturday, 19 May 2012, 02:21 GMT
Sure, this is free since busybox doesn't properly use an ncurses library and just hopes that terminals respond to the ANSI escape sequence it writes out. I'll include this in the next release.
Comment by Swift Geek (swiftgeek) - Saturday, 19 May 2012, 02:31 GMT
A new hook would be the best because fix could be implemented in just one place, and it could be easily disabled in case of emergency with "disablehooks=clear" in kernel command line ;)

And that glitch affects at least all users of binary drivers with kexec.
Comment by Dave Reisner (falconindy) - Saturday, 19 May 2012, 02:34 GMT
No, the problem you're describing is specific to uvesafb. I use a kernel mode vesa FB with the nvidia blob driver and have never run into this problem.
Comment by Dave Reisner (falconindy) - Friday, 01 June 2012, 18:20 GMT
I've added the clear command as part of mkinitcpio-busybox in testing (1.20.1).

Loading...