David Cantrell wrote:
> On Wed, Dec 06, 2000 at 10:24:54PM -0600, Phil Howard wrote:
> > I went digging in the source. It was 2.4.0-test10 since I had that one handy
> > for other reasons, but I figured it wouldn't be _that_ much different. What
> > I found in arch/sparc/kernel/setup.c was that you need to specify ttya or ttyb
> > instead of ttyS0 or ttyS1 on the console= prompt to get the kernel console to
> > use the appropriate serial port. So I went ahead and tried it with the same
> > ISO I still have from my previous test, and YES! I now get the kernel probing
> > messages.
> >
> > So there's another one for the documentation, and also for the SILO banner,
> > to say to use console=ttya or console=ttyb for serial port console install.
>
> Great news! I'm making the changes to the boot message right now and
> adding it to the FAQ.
>
> Do I need to add device nodes for ttya and ttyb to /dev on the root disk?
> If it worked for you, I guess it doesn't matter.
The kernel seems to operate correctly on the serial ports via their major,minor
so that would not be needed. The only issue is what to name the device nodes.
> > While Sun hardware users will certainly think of serial A or serial B, even
> > Intel PC's have a difference between the hardware serial port naming and the
> > standard device names used in Linux. So IMHO, the sparc architecture code
> > should support that as well. Something to bring up with Dave Miller, I guess.
>
> Perhaps. I think it makes sense to make device naming be the same across
> all supported platforms, but that type stuff (device naming) is gradually
> approaching holy war (like vi vs. emacs), so I don't think I want to touch
> on that. I might bring that up with the kernel developers in the future.
The names /dev/ttya and /dev/ttyb are valid in Solaris and functioning on the
appropriate serial ports. They happen to be symlinks to /dev/term/a and
/dev/term/b respectively, and those are symlinks to the appropriate /devices
nodes.
What you might do is symlink:
/dev/ttya -> ttyS0
/dev/ttyb -> ttyS1
The principle of uniform naming certainly should apply, but saying that is
certainly easier than addressing the issue of exactly how. The devil is in
the details, as we know. Should the uniformity be across all Linux platforms?
Across all Linux distributions? Across all operating systems on the same
hardware architecture? No easy answers. The easy "cop out" at the moment
may be to symlink and document.
> > I just got the 2000-12-07 02:03:33 ISO image on my server that's replicating.
> > Hey wait, it's still Dec 6, 22:23. So I guess things are on UTC time there.
> > Well, as soon as it's rsync'd down across my dialup, I'll burn that one and
> > give it a try, hopefully tonight.
>
> Excellent, let me know what happens. The kernels are still rebuilding at
> the moment to enable SysRq support. Should have that synced out by the
> time West Wing starts on NBC.
I guess I'll have to go grab that one now.
-- ----------------------------------------------------------------- | Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ | | phil-nospam@ipal.net | Texas, USA | http://phil.ipal.org/ | -----------------------------------------------------------------
This archive was generated by hypermail 2b30 : Thu Sep 19 2002 - 11:00:02 PDT