Date: Wed, 26 May 2010 19:34:37 -0700 From: Garrett Cooper <yanefbsd@gmail.com> To: Mayo Jordanov <mayo@oyam.ca> Cc: remko@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: kern/147082: [uart] Serial ports unusable Message-ID: <AANLkTil7Y_Yb500zXHilLvHlmpRfDMaJZP_UffNURKmk@mail.gmail.com> In-Reply-To: <008FD1A4-F1AB-4683-A3A6-6EAA3C0AECED@oyam.ca> References: <201005261942.o4QJgacx011479@freefall.freebsd.org> <008FD1A4-F1AB-4683-A3A6-6EAA3C0AECED@oyam.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 26, 2010 at 6:42 PM, Mayo Jordanov <mayo@oyam.ca> wrote: > > On 2010-05-26, at 12:42 , remko@FreeBSD.org wrote: > >> Synopsis: [uart] Serial ports unusable >> >> State-Changed-From-To: open->feedback >> State-Changed-By: remko >> State-Changed-When: Wed May 26 19:42:36 UTC 2010 >> State-Changed-Why: >> I send my working serial line to Mayo, set status to feedback >> >> 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 =A0 =A0 =A0 =A0"/usr/libexec/getty std.9600" =A0 vt100 =A0 on sec= ure >>> 2) kill -HUP 1 >>> 3) Try connecting to it with terminal application >> >> >> /etc/ttys >> console =A0 =A0"/usr/libexec/getty Pc" =A0 =A0 =A0 =A0 cons25 =A0on =A0s= ecure >> >> /boot/loader.conf >> console=3D"comconsole" >> >> That enabled serial access to my Soekris device running on FreeBSD8(PFse= nse), it also works for several remote machines I have. >> >> Can you confirm that you have these settings in loader.conf and rebooted= ?! >> >> -- >> /"\ =A0 Best regards, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| r= emko@FreeBSD.org >> \ / =A0 Remko Lodder =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| remko@= EFnet >> X =A0 =A0http://www.evilcoder.org/ =A0 =A0| >> / \ =A0 ASCII Ribbon Campaign =A0 =A0| Against HTML Mail and News > > test# cat /boot/loader.conf > 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 b= oot on serial up to the point where getty starts (presumably... I see porti= on of the messages as nics are getting setup and then nothing). > > I have some machines where serial works fine, but I have some machines wh= ere it doesn't and behaves the same way as described above. If necessary, I= can provide access to a troublesome machine. All of this is described in more grusome detail at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-set= up.html . HTH, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTil7Y_Yb500zXHilLvHlmpRfDMaJZP_UffNURKmk>