Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2010 18:42:01 -0700
From:      Mayo Jordanov <mayo@oyam.ca>
To:        remko@FreeBSD.org
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/147082: [uart] Serial ports unusable
Message-ID:  <008FD1A4-F1AB-4683-A3A6-6EAA3C0AECED@oyam.ca>
In-Reply-To: <201005261942.o4QJgacx011479@freefall.freebsd.org>
References:  <201005261942.o4QJgacx011479@freefall.freebsd.org>

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

On 2010-05-26, at 12:42 , remko@FreeBSD.org wrote:

> Synopsis: [uart] Serial ports unusable
>=20
> State-Changed-From-To: open->feedback
> State-Changed-By: remko
> State-Changed-When: Wed May 26 19:42:36 UTC 2010
> State-Changed-Why:=20
> I send my working serial line to Mayo, set status to feedback
>=20
> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D147082

I'm gona re-reply here, to preserve the history.

>>> How-To-Repeat:
>> 1) Edit /etc/ttys, do the ttyu0 line reads:
>> ttyu0	"/usr/libexec/getty std.9600"	vt100	on secure
>> 2) kill -HUP 1
>> 3) Try connecting to it with terminal application
>=20
>=20
> /etc/ttys
> console    "/usr/libexec/getty Pc"         cons25  on  secure
>=20
> /boot/loader.conf
> console=3D"comconsole"
>=20
> That enabled serial access to my Soekris device running on =
FreeBSD8(PFsense), it also works for several remote machines I have.
>=20
> Can you confirm that you have these settings in loader.conf and =
rebooted?!
>=20
> --=20
> /"\   Best regards,                        | remko@FreeBSD.org
> \ /   Remko Lodder                      | remko@EFnet
> X    http://www.evilcoder.org/    |
> / \   ASCII Ribbon Campaign    | Against HTML Mail and News

test# cat /boot/loader.conf=20
console=3D"comconsole"

looking at the /etc/ttys entry you pasted above, will that enable serial =
console? That looks like a regular console on the machine itself.

I have rebooted numerous times, and I do get the kernel messages during =
boot on serial up to the point where getty starts (presumably... I see =
portion of the messages as nics are getting setup and then nothing).

I have some machines where serial works fine, but I have some machines =
where it doesn't and behaves the same way as described above. If =
necessary, I can provide access to a troublesome machine.

Thanks,
mayo=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008FD1A4-F1AB-4683-A3A6-6EAA3C0AECED>