Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [DE] Strato serielle Konsole  (Read 3883 times)

Offline agaida

  • User
  • Posts: 1.760
    • http://g-com.eu
[DE] Strato serielle Konsole
« on: 2010/10/23, 23:13:37 »
Ist ein wenig off topic, aber vielleicht hat jemand eine Idee. Hab grade meinen Webserver von Ubuntu auf debian testing umgestellt. Das hat auch alles so weit toll geklappt, aber ich bekomme ums verrecken nicht die serielle Konsole zum vernünftigen Laufen. Das Ding zeigt mir zwar den Bootvorgang und folgende Ausgaben vom Feinsten an, aber eigentlich würde ich auch gerne mal einen Kernel auswählen können

Dazu bin ich irgendwie zu blöde. Als Umleitung habe ich da die Konsole drin, dass reicht wohl nicht:
Code: [Select]

menuentry "Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 (on /dev/mapper/vg0-root)" {
insmod raid
insmod mdraid
insmod part_msdos
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 5e0452d3-dd74-4114-b59e-10408dedb7e0
linux /vmlinuz-2.6.32-5-xen-amd64 root=/dev/vg0/root ro console=tty0 console=ttyS0,57600
initrd /initrd.img-2.6.32-5-xen-amd64
}

Kann mir jemand freundlich in die Hacken treten, serielle Konslen sind böhmische Dörfer für mich.

Ausgabe sieht ungefähr so aus:

Code: [Select]

[  410.363897] Restarting system.
[  410.370032] machine restart
��������������������������������������������������������������
..in etlichen Zeilen und praller Schönheit..
�������������[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-xen-amd64 (Debian 2.6.32-25) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1
There's this special biologist word we use for "stable". It's "dead". ~ Jack Cohen

Offline agaida

  • User
  • Posts: 1.760
    • http://g-com.eu
Strato serielle Konsole
« Reply #1 on: 2010/10/23, 23:39:00 »
Thema erledigt:
Code: [Select]

...
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,57600"
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1"

# 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

...


Der wollte unbedingt noch das GRUB_SERAL_COMMAND haben, dann klappts auch mit dem Terminal in beide Richtungen und der XEN-Kernel bleibt ungenutzt (vorerst)
There's this special biologist word we use for "stable". It's "dead". ~ Jack Cohen