SOL - getting garbage from kernel and getty

John_O_Todd at Dell.com John_O_Todd at Dell.com
Fri Feb 15 07:44:59 CST 2008


What options do you have set in Grub? On my test system here I have the following:

Serial --unit=0 --speed=115200
Terminal --timeout=10 console serial

I also assume you have added ttyS1 to /etc/securetty as well. 

To your question about racadm, it is only useful for configuring a DRAC card so you should not need it in this instance, I was just under the impression you had one installed. 

John Todd
-----Original Message-----
From: linux-poweredge-bounces at dell.com [mailto:linux-poweredge-bounces at dell.com] On Behalf Of Torbjørn
Sent: Friday, February 15, 2008 2:39 AM
To: linux-poweredge-Lists
Subject: Re: SOL - getting garbage from kernel and getty

Well, I tried disabling the option "Redirection after boot", but the 
only difference I could discern was that the GRUB screen was no longer 
displayed.
GRUB is not configured to output via serial, and doing so might have 
brought back the GRUB display over SOL, but since disabling "Redirection 
after boot" did not help, I enabled it again.

Regarding using racadm, I must say that this machine does not have a 
DRAC, I am using a BMC only. racadm might still apply, though, but I do 
not have OMSA installed.
Is there any difference in configuring the BMC from racadm versus BIOS ?

Disabling "redirection after boot" seemed to make no difference at all 
to output from kernel or getty.

Any other hints ? .. It would be really nice if this was working.

-- Torbjørn

John_O_Todd at Dell.com wrote:
> The first thing I would say to try is disable Redirection after boot in the bios. 
> Also make sure your RAC is configured for the correct speed. racadm config -g cfgSerial -o cfgSerialBaudRate 115200
> 
> Also make sure that serial is properly enabled on the RAC racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
> 
> 
> Cheers
> John Todd
> 
> -----Original Message-----
> From: linux-poweredge-bounces at dell.com [mailto:linux-poweredge-bounces at dell.com] On Behalf Of Torbjørn
> Sent: Thursday, February 14, 2008 8:56 AM
> To: linux-poweredge-Lists
> Subject: SOL - getting garbage from kernel and getty
> 
> Hello, everyone.
> 
> I've just gotten SOL working on a couple of 2950s and 860s, and it works 
> quite beautifully.
> On my Kubuntu Gutsy, ipmitool is version 1.8.8, which segfaults when 
> using SOL.
> I downloaded and compiled ipmitool 1.8.9, and everything seems to work.
> 
> However, the boot messages scrolls by from BIOS, and GRUB gets displayed 
> and works nicely.
> However, when the kernel kicks in, I just get garbage.
> I get data, but something is wrong, as it behaves as if I am cat'ing a 
> binary file.
> Same problem when I get to login, and getty grabs the device.
> 
> I logged in and strace'd the getty process, and I can see it receives 
> data, but the characters are all wrong.
> 
> My configuration is as follows:
> BMC on unique IP, works nicely
> 
> BIOS
> Serial communication - On with console redir via COM2
> External serial connector - Remote Access Device
> Failsafe baud rate - 115200
> remote terminal type - vt100/vt220
> redirection after boot - Enabled
> 
> 
> GRUB:
> title           Debian GNU/Linux, kernel 2.6.18-6-686
> root            (hd0,2)
> kernel          /boot/vmlinuz-2.6.18-6-686 root=/dev/sda3 ro 
> console=tty0 console=ttyS1,115200
> initrd          /boot/initrd.img-2.6.18-6-686
> 
> 
> /etc/inittab
> # Dell BMC Serial-over-LAN console
> co:2345:respawn:/sbin/getty -L ttyS1 115200 vt100
> 
> Anyone see any clues as to why boot kernel messages and login gets all 
> funky ?
> 
> -- Torbjørn
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
> 

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq



More information about the Linux-PowerEdge mailing list