Re: Serial console issue with 2.6.32

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

 



From: Frans Pop <elendil@xxxxxxxxx>
Date: Mon, 15 Mar 2010 18:09:27 +0100

> With a daily built version of the installer (based on 2.6.32.9) the first 
> two methods work, but the third doesn't.
> At the point where output should start appearing on my remote system, 
> minicom shows ttyS0 going offline.

I changed the behavior of SUNSAB serial consoles in 2.6.32
and later, see:

commit 4e68e188411ea98e40309700cf0c89ad4469ac1d
Author: David S. Miller <davem@xxxxxxxxxxxxx>
Date:   Tue Nov 24 13:56:39 2009 -0800

    sunsab: Do not set sunsab_reg.cons right before registering minors.
    
    Other Sun serial drivers do not do this, and if we keep it this way
    it ends up registering all serial devices as consoles rather than
    just the one which we explicitly register via sunserial_console_match()
    which uses add_preferred_console().
    
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

This makes it consistent with the way all the other Sun serial
console drivers were behaving.

Looking more at what you're trying to do, I think you really need to
set the output-device and input-device firmware variables properly.

The kernel tries very hard to use whatever the firmware specified
as the output-device as the console.  I couldn't find an easy way
get the behaviour you were after, yet at the same time get the
multiple-serial-devices-only-one-is-console case right all the
time.

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux