[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booting with console=ttyS0 and gdm/xorg strangeness



On Fri, Sep 21, 2007 at 10:55:39PM +0100, Tim Day wrote:
> In order to try and diagnose some rare system freezes which seem to have
> started following upgrade to etch, I'm booting the problem machine with
> an added
>   console=ttyS0,9600n8
> boot option, and have another machine connected by a serial cable
> monitoring it (I haven't changed any getty stuff; not interested in
> logging in over serial).  This seems to work fine (in that I can capture
> the console, although I haven't caught a crash yet).
> 
> However, when gdm comes up following the boot, I now can't type
> anything, not even ctrl-alt-Fn to another virtual console.  (Mouse is
> fine though).  But if I ssh in from another machine and restart gdm,
> once it's comes up again it responds to the keyboard just fine and I can
> proceed to a usable xsession as normal (and ctrl-alt-Fn to other
> terminals).
> 
> I don't understand enough about the relationship between the kernel
> console and X to know what's going on here.  Any ideas ?
> 

I've never used any ?dm so don't know.

However, re the serial console, you can have more than one console set.
See the remote-serial-console-HOWTO.  I would suggest that your serial
console be in addition to the standard tty.  The order matters but I
forget it; see the HOWTO.  Perhaps with two set, things will work right.

Otherwise, add a boot script to run last (I think that's after cron)
that restarts gdm.

Doug.



Reply to: