Date: Wed, 24 Nov 2004 23:31:19 -0800 From: Marcel Moolenaar <marcel@xcllnt.net> To: Garance A Drosihn <drosih@rpi.edu> Cc: freebsd-sparc64@freebsd.org Subject: Re: Serial configs on sparc64 Message-ID: <FF960871-3EB3-11D9-B816-000D93C47836@xcllnt.net> In-Reply-To: <p0620070fbdcb335f1741@[128.113.24.47]> References: <p06200700bdc7053041a1@[128.113.24.47]> <p0620070bbdc94cc509df@[128.113.24.47]> <41A3A08B.1000803@freebsd.org> <p0620070ebdcb1a7c4202@[128.113.24.47]> <D83E5DC1-3EAC-11D9-BCB4-000D93C47836@xcllnt.net> <p0620070fbdcb335f1741@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 24, 2004, at 11:22 PM, Garance A Drosihn wrote: > At 10:40 PM -0800 11/24/04, Marcel Moolenaar wrote: >> On Nov 24, 2004, at 9:21 PM, Garance A Drosihn wrote: >> >>>> Are you using the zs or the uart driver? Now that Marcel fixed >>>> uart to handle the zs hardware in the U2 correctly, we might be >>>> able to think about retiring the zs driver entirely. >>> >>> I un-commented the uart line in my kernel config, and changed the >>> lines in /etc/tty back to what they had been. I booted into >>> single-user with the new kernel (planning to 'make installworld'), >>> and I had no serial console. >> >> Did you remove zs(4)? >> Did you remove ofw_console(4)? >> Did you add puc(4)? > > I just took a shot in the dark. I did nothing but add uart and > remove my change /etc/ttys (because I got the impression that the > current /etc/ttys would work if I added uart). The problem here > is that I have no real idea how these pieces fit together. Well, they don't fit together. zs(4), ofw_console(4) and uart(4)/puc(4) all want to control the same hardware and since we're dealing with the console, it's not as simple as one winning the bus attach contest and be done with it. > I can certainly try it again by doing all three of the changes you > have listed (along with removing my /etc/ttys change). I can start > on that right now. Thanks. As long as you're booting in single-user mode, /etc/ttys can be ignored. The moment you go multi-user, make sure you have a getty(8) on the right device. uart(4) creates /dev/ttyuX and /dev/cuauX, so you need to enable a getty on ttyu0 or ttyu1 if you want to be able to login on the serial console. FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FF960871-3EB3-11D9-B816-000D93C47836>