Hi,

Theodore Y. Ts'o said:
>    From: [EMAIL PROTECTED] (Jeremy Hall)
>    Date:   Mon, 20 Sep 1999 23:33:53 -0400 (EDT)
> 
>    hmmm it's a libraries thing.  I did
> 
>    /usr/sbin/chroot /dead /usr/bin/cu -l /dev/ttyS1 -s 9600
> 
>    /dead is the root filesystem of another machine.  Obviously this messes
>    with ttyS1 on that machine while I have ttyS1 on pongo open, but this
>    indicates to me that somehow the libraries are not happy about this tty
>    stuff.  What do I do?
> 
> Err.. no.  Unix devices are local to the machine, and /dev/ttyS1 is
> merely an inode which states "open the device corresponding to major
> number 4, minor number 65" on the local machine.  Doing a chroot to
> another machine isn't going to mess with anything other than the local
> system.
> 
but it makes lock files in /var/locks or /var/spool/uucp/locks, or
somewhere else, depending on how old your cu is.  I installed the latest
and greatest uucp package from the redhat rpm tree and all was happy.  I
upgraded libraries and kernels at around the same time, and I suppose it
could have broken when I used the newer libraries rather than the newer
kernel.  The fact that chrooting onto another set of libraries works under
2.2 indicates to me that the kernel is fine, the devices are fine, but the
libraries are not.

For the record, I am unable to find kermit anywhere--it seems to have gone
away from the distributions--I haven't seen it since 1994 or possibly
1993.  What was it, 0.99.86? MY haven't we come a LONG way since then.

_J

> If the above works, then you may be right that it's likely an issue with
> either your shared libraries.  It could also be an issue with the actual
> /usr/bin/cu.  
> 
> Over the years, various dialout programs have done enough "squinky"
> things that I no longer trust them.  I tend to use kermit, since it lets
> me control all of the serial parameters directly via "set" commands, and
> it doesn't do anything extraneous that I didn't ask it to do.  
> 
> As far as why some device works fine under a 2.0 kernel and not under
> 2.2 kernel, another general reason why it might not work is that in the
> 2.2 kernel, we no longer autoprobe irq's by default.  This was getting
> things wrong too often, and was a real support nightmare for me.  Since
> most people using COM 1-4 devices usually used the default IRQ,
> ironically I got less support questions after I disabled IRQ
> autoprobing.  So you might want to check the hardware serial
> configuration using the setserial command "setserial /dev/ttyS0" and
> make sure that it's what you expect.
> 
>                                                       - Ted
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to