Re: SPARC 2.6 serial and console issues
On Sat, Mar 13, 2004 at 01:15:04AM -0500, Bradley Alexander said:
> Date: Sat, 13 Mar 2004 01:15:04 -0500
> From: Bradley Alexander <storm@tux.org>
> To: debian-sparc@lists.debian.org
> Subject: SPARC 2.6 serial and console issues
> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-pc-linux-gnu)
> X-Spam-Status: No, hits=0.0 required=4.0 tests=none autolearn=ham version=2.60
> X-Spam-Level:
>
> I just came into possession of an UltraSparc-2, which I built with
> unstable. I decided to delve into 2.6. I'm still having a couple of
> teething issues...The hardware is a dual-processor Ultra2 with 256MB RAM,
> Creator card.
>
> I set it up and hung a modem off of it. I can't get the serial port to run
> at over 9600. I tried running setserial /dev/ttyS0, and it gave me
>
> [root@neghvar storm]# setserial /dev/ttyS0
> /dev/ttyS0, UART: undefined, Port: 0x0000, IRQ: 7574272
>
> If I try to define it to spd_vhi (56k modem), that fails too:
>
> [root@neghvar storm]# setserial /dev/ttyS0 spd_vhi
> Cannot set serial info: Invalid argument
This doesn't surprise me. Our Ultra2 (with a 2.4 kernel) also has an
'unknown' UART. setserial on both our Ultra30 and E450 reports a 16450.
IIRC, 16450 has a maximum theoretical speed of 9600 bps (might be able to
get 19200 out of them, but don't quote me on that).
Why Sun charges an arm and a leg for hardware, and then can't be bothered
to include at least a 16550A (which has been standard since long before
anyone at Sun dreamed up the E450 :) ) is beyond me.
Suffice it to say, you're not likely to get much more than 9600 bps out of
the onboard serial ports in your Ultra2. Given the 'unknown' status of the
UART, you might consider yourself lucky you can even get 9600 bps. <grin>
--
Mike Edwards <sauron-debian-sparc@psychology.rutgers.edu>
System Administrator
Psychology Department, Rutgers University, Newark campus
973-353-5440 x246
Reply to: