cvs commit: src/sys/sparc64/conf GENERIC

Marius Strobl marius at alchemy.franken.de
Fri Mar 11 18:22:21 PST 2005


On Fri, Mar 11, 2005 at 08:55:51PM -0500, Jake Burkholder wrote:
> Marius Strobl wrote:
> 
> >On Fri, Mar 11, 2005 at 10:25:19AM -0800, David O'Brien wrote:
> >  
> >
> >>On Fri, Mar 11, 2005 at 09:37:40AM +0100, Marius Strobl wrote:
> >>    
> >>
> >>>On Thu, Mar 10, 2005 at 11:32:37AM -0800, David O'Brien wrote:
> >>>      
> >>>
> >>>>On Sun, Jan 30, 2005 at 09:27:49AM +0000, Marcel Moolenaar wrote:
> >>>>        
> >>>>
> >>>>>marcel      2005-01-30 09:27:49 UTC
> >>>>>
> >>>>>  FreeBSD src repository
> >>>>>
> >>>>>  Modified files:
> >>>>>    sys/sparc64/conf     GENERIC 
> >>>>>  Log:
> >>>>>  o  Enable puc(4) and uart(4).
> >>>>>  o  Disable ofw_console(4), sab(4) and zs(4).
> >>>>>          
> >>>>>
> Thanks for doing this.
> 
> >>>>
> >>>>Please Back commit out.  You broke the console on the most modern Sparc
> >>>>        
> >>>>
> [...]
> 
> David may be using ttyb. It seems that uart_cpu_sparc64.c assumes ttya 
> if input-device is keyboard and output-device is screen, but the 
> firmware handles for stdin and stdout are equal.
> 
> I can't think of a clean way to fix this, maybe get the handles for 
> stdin and stdout and then search the firmware tree for a matching 
> device? Or it may be possible to use stdin and stdout directly somehow.
> 

Correct, uart(4) assumes ttya in case the keyboard is not plugged
in but that's also what OFW does on all boxes I've seen so far. IIRC
this is also documented somewhere in the OFW or Sun specs.
David, could you please hook up a monitor to the Blade 100? OFW
displays a message on the screen where it switches the console to
in case input-device=keyboard and output-device=screen but no
keyboard is plugged in.
Could you _please_ also test if uart(4) works as serial console
if you set both input-device and output-device to ttya?

Marius



More information about the cvs-all mailing list