bin gerade dabei, eine serielle Konsole auf einem Root-Server einzurichten. Da Debian Squeeze (32bit) mit grub2 im Einsatz ist, bin ich nach folgender Anleitung vorgegangen:
http://linux.xvx.cz/2009/08/debian-with ... onnection/
Es funktioniert soweit auch, wenn ich reboote sehe ich das Grub-Menü in dem ich (normalerweise) die verschiedenen Kernel zum booten auswählen kann (kann ich aber nicht, bewegt sich nichts mit Pfeil nach oben/unten). Wenn der Server bootet sehe ich alle Meldungen bis irgendwann der Login kommt:
Code: Alles auswählen
[...]
Starting MySQL database server: mysqld ..
Checking for corrupt, not cleanly closed and upgrade needing tables..
Starting IMAP/POP3 mail server: dovecotStarting Postfix Mail Transport Agent: postfix.
If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
.
Debian GNU/Linux 6.0 example.org ttyS0
example.org login:
In den Kommentaren bei obigem Artikel steht, man soll noch in der /etc/inittab eine Zeile wie diese eintragen:
T0:2345:respawn:/sbin/getty -L ttyS0 9600 vt100
Es stand aber schon eine ausgeklammert drin:
T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
Ich habe es mit der "45" und ohne probiert, es ist das gleiche.
Hat jemand eine Idee, was noch fehlt?
Meine /etc/default/grub:
Code: Alles auswählen
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
#GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,9600n8"
GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,9600n8"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=serial
#GRUB_SERIAL_COMMAND="serial --unit=0 --speed=57600"
GRUB_SERIAL_COMMAND="serial --speed=9600 --unit=0 --word=8 --parity=no --stop=1"