Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2008 18:48:15 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: uplcom broken by MPSAFE TTY commit?
Message-ID:  <20080821164815.GP99951@hoeg.nl>
In-Reply-To: <g8jufv$2vd2$1@lorvorc.mips.inka.de>
References:  <g8jufv$2vd2$1@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello Christian,

* Christian Weisgerber <naddy@mips.inka.de> wrote:
> Has anybody noticed problems with uplcom after ed's MPSAFE TTY
> commit?
> 
> ucom1: <FTDI USB HS Serial Converter, class 0/0, rev 1.10/2.00, addr 4> on uhub2
> ucom2: <Prolific Technology Inc. USB-Serial Controller, class 0/0, rev 1.10/3.00, addr 5> on uhub2
> 
> I'm seeing incomplete input followed by repetitive spew on ucom2.
> The uftdi-based ucom1 seems fine.
> 
> ucom2 is hooked up to the serial console of an OpenBSD box.  The
> getty there issues a banner like this:
> 
> OpenBSD/alpha (kemoauc.mips.inka.de) (tty00)
> 
> What I now get in cu(1) is a stream of this:
> 
> OpenBSD/alpha (kemoauc.mips.in
> OpenBSD/alpha (kemoauc.mips.in
> OpenBSD/alpha (kemoauc.mips.inka.de) (tty00)
> 
> OpenBSD/alpha (kemoauc.mips.in
> OpenBSD/alpha (kemoauc.mips.inka.de) (tty00)
> 
> OpenBSD/alpha (kemoauc.mips.in
> OpenBSD/alpha (kemoauc.mips.in
> OpenBSD/alpha (kemoauc.mips.inka.de) (tty00)
> 
> OpenBSD/alpha (kemoauc.mips.in
> OpenBSD/alpha (kemoauc.mips.in
> OpenBSD/alpha (kemoauc.mips.inka.de) (tty00)
> 
> [... and it keeps spewing ...]

I think the best thing to test first is if things work if you
enable/disable hardware and software flow control. The semantics of the
new TTY layer are pretty much the same as the old TTY layer, with the
big exception of flow control.

If that doesn't help, could you compile your kernel with USB_DEBUG,
set sysctl hw.usb.ucom.debug=1 and give me a dump of the text that
scrolls by?

Thanks for reporting this issue to the lists!

-- 
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkitnE8ACgkQ52SDGA2eCwUOwQCfSs7vvbtkKio1OWhajxEeBRQ3
ZSEAn3b5YwqmiKxEZeSxatMURw1rd1pl
=hZfo
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821164815.GP99951>