On Mar 03 22:29:34, s...@spacehopper.org wrote:
> On 2017-03-03, Jan Stary <h...@stare.cz> wrote:
> > This is current/amd64 (dmesg below). I got me this
> > https://www.alza.cz/EN/axago-pcea-s2-d277216.htm
> > to have two extra serial ports to connect to my ALIXes.
> > It shows up in dmesg as
> >
> >   puc0 at pci2 dev 0 function 0 "NetMos Nm9922" rev 0x00: ports: 1 com
> >   com4 at puc0 port 0 apic 2 int 16: st16650, 32 byte fifo
> >   puc1 at pci2 dev 0 function 1 "NetMos Nm9922" rev 0x00: ports: 1 com
> >   com5 at puc1 port 0 apic 2 int 17: st16650, 32 byte fifo
> >
> > The kernel boots, but then the booting sequence hangs with
> >
> >   setting tty flags
> >
> > which apparently is the 'ttyflags -a' in /etc/rc.
> > So I suppose /etc/ttys needs to be edited accordingly.
> 
> ttyC* are for wscons(4) terminals, i.e. ones on your normal monitor,
> they're nothing to do with this card.
> 
> The card is providing tty04/tty05 (and their cua equivalents for
> outward connections) which are unlikely to be "on" in your /etc/ttys
> (and you probably don't want them to be - presumably these are for
> connecting out to consoles on the ALIXes and not for allowing other
> people to login to this machine?).

OK, I have finally read tty(4) now. Sorry.

> Commenting-out those entries might get you past boot

Yes.

> but then it may hang again later when you try to use them.
> 
> I think I've sometimes seen similar hangs when the card wanted
> something from the handshake lines that wasn't being provided.
> If it's not plugged in yet (with a null modem adapter if needed,
> note not just a gender-changer) then plugging it in might make
> it come to life.

I tried that too, but it didn't make a difference
- ither with the other end empty, or in the ALIX.

        Jan

Reply via email to