Bug#776566: Please cater to serial consoles
On Thu, Jan 29, 2015 at 04:05:45PM +0300, Michael Tokarev wrote: 29.01.2015 15:12, Samuel Thibault wrote: martin f krafft, le Thu 29 Jan 2015 11:52:36 +0100, a écrit : 2. the boot: prompt appears on both, console and serial console, Nack with my brltty maintainer hat: you don't want to send things on the serial port without the user saying to do this. In the case of braille devices, we have already seen some device being bricked by such behavior because it unfortunately made the device enter a ROM-flash mode... Some serial-connected models of Powercom UPSes will turn off power after seeing this sequence... ;) I don't remember which code it is exactly, but it is a single char from lowercase latin letters. Hmm, according to the driver the character is \xba (so not a standard latin character) but of course get the baud rate wrong (which you almost certainly will) and who knows what characters you end up sending. So I agree, there are many reasons not to assume what is connected to the serial port. Devices can have lots of serial ports, and who is to say if any of them should be a console or not, and even if they are, at what baud rate? And certainly serial consoles are not a common use case on x86 machines. -- Len Sorensen -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150129150911.gv30...@csclub.uwaterloo.ca
Bug#776566: Please cater to serial consoles
Package: di-netboot-assistant Version: 0.38a Severity: wishlist There seems to be no way to elegantly handle serial console clients. In the past, one already had to copy e.g. daily/i386/pxelinux.cfg/default to the UUID-specific file of a client, thereby hardcoding daily/i386 for this client and forgoing the possibility of chosing via the menu. One also had to manually add the serial and console parameters to this file, and change the reference to menu.cfg to serial.cfg, which often also required changes when e.g. ttyS1 was to be used, or vga=778 just did not work. Now it seems that serial.cfg is no longer provided at all. It would be really great if di-netboot-install went one of the following ways instead: 1. a DHCP option flags a given client as having a serial console, causing the menu to be displayed on the specified serial console, as well as the kernel parameters set accordingly; 2. the boot: prompt appears on both, console and serial console, and if enter is received on the serial console, then that's where stuff continues, else a normal install happens. 3. displaying the menu on both consoles and letting the user select serial if appropriate. Thanks for your consideration. -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages di-netboot-assistant depends on: ii curl 7.38.0-4 ii wget 1.16-3 Versions of packages di-netboot-assistant recommends: ii atftpd 0.7.git20120829-1 Versions of packages di-netboot-assistant suggests: pn dhcp3-server | udhcpd | dnsmasq none pn elilonone ii syslinux 3:6.03+dfsg-5 ii vim-addon-manager0.5.3 -- Configuration Files: /etc/di-netboot-assistant/di-netboot-assistant.conf changed: TFTP_ROOT=/srv/tftp MIRROR_REGEXPS=s=://ftp.debian.org/=://ftp.stw-bonn.de/= s=://ftp.ubuntu.com/=://ftp.hawo.stw.uni-erlangen.de/= umask 0002 /etc/di-netboot-assistant/di-sources.list changed: stable amd64 http://ftp.debian.org/dists/stable/main/installer-amd64/current/images/ netboot/netboot.tar.gz stable i386 http://ftp.debian.org/dists/stable/main/installer-i386/current/images/ netboot/netboot.tar.gz stable ia64 http://ftp.debian.org/dists/stable/main/installer-ia64/current/images/ netboot/netboot.tar.gz stable sparc http://ftp.debian.org/dists/stable/main/installer-sparc/current/images/ netboot/boot.img stable-gtk amd64 http://ftp.debian.org/dists/stable/main/installer-amd64/current/images/ netboot/gtk/netboot.tar.gz stable-gtk i386 http://ftp.debian.org/dists/stable/main/installer-i386/current/images/ netboot/gtk/netboot.tar.gz wheezy amd64 http://ftp.debian.org/dists/wheezy/main/installer-amd64/current/images/ netboot/netboot.tar.gz wheezy i386 http://ftp.debian.org/dists/wheezy/main/installer-i386/current/images/ netboot/netboot.tar.gz wheezy ia64 http://ftp.debian.org/dists/wheezy/main/installer-ia64/current/images/ netboot/netboot.tar.gz wheezy sparc http://ftp.debian.org/dists/wheezy/main/installer-sparc/current/images/ netboot/boot.img wheezy-gtk amd64 http://ftp.debian.org/dists/wheezy/main/installer-amd64/current/images/ netboot/gtk/netboot.tar.gz wheezy-gtk i386 http://ftp.debian.org/dists/wheezy/main/installer-i386/current/images/ netboot/gtk/netboot.tar.gz oldstable amd64 http://ftp.debian.org/dists/oldstable/main/installer-amd64/current/images/ netboot/netboot.tar.gz oldstable i386 http://ftp.debian.org/dists/oldstable/main/installer-i386/current/images/ netboot/netboot.tar.gz oldstable ia64 http://ftp.debian.org/dists/oldstable/main/installer-ia64/current/images/ netboot/netboot.tar.gz oldstable sparc http://ftp.debian.org/dists/oldstable/main/installer-sparc/current/images/ netboot/boot.img oldstable-gtk amd64 http://ftp.debian.org/dists/oldstable/main/installer-amd64/current/images/ netboot/gtk/netboot.tar.gz oldstable-gtk i386 http://ftp.debian.org/dists/oldstable/main/installer-i386/current/images/ netboot/gtk/netboot.tar.gz squeeze amd64 http://ftp.debian.org/dists/squeeze/main/installer-amd64/current/images/ netboot/netboot.tar.gz squeeze i386 http://ftp.debian.org/dists/squeeze/main/installer-i386/current/images/ netboot/netboot.tar.gz squeeze ia64 http://ftp.debian.org/dists/squeeze/main/installer-ia64/current/images/ netboot/netboot.tar.gz squeeze sparc http://ftp.debian.org/dists/squeeze/main/installer-sparc/current/images/ netboot/boot.img squeeze-gtk amd64
Bug#776566: Please cater to serial consoles
martin f krafft, le Thu 29 Jan 2015 11:52:36 +0100, a écrit : 2. the boot: prompt appears on both, console and serial console, Nack with my brltty maintainer hat: you don't want to send things on the serial port without the user saying to do this. In the case of braille devices, we have already seen some device being bricked by such behavior because it unfortunately made the device enter a ROM-flash mode... Samuel -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150129121215.gi4...@type.bordeaux.inria.fr
Bug#776566: Please cater to serial consoles
29.01.2015 15:12, Samuel Thibault wrote: martin f krafft, le Thu 29 Jan 2015 11:52:36 +0100, a écrit : 2. the boot: prompt appears on both, console and serial console, Nack with my brltty maintainer hat: you don't want to send things on the serial port without the user saying to do this. In the case of braille devices, we have already seen some device being bricked by such behavior because it unfortunately made the device enter a ROM-flash mode... Some serial-connected models of Powercom UPSes will turn off power after seeing this sequence... ;) I don't remember which code it is exactly, but it is a single char from lowercase latin letters. Thanks, /mjt -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54ca3029.7010...@msgid.tls.msk.ru