Date: Thu, 27 Jan 2000 18:56:55 -0500 (EST)
From: <[EMAIL PROTECTED]>
I just get Linux (RedHat 6.1) working on my brand new laptop.
I would like to use my modem under linux now, but I do face the following
problem:
Apparently pcmcia loads ok, even cardctl detect my modem ... fine
But when I try to use this modem, it fails. I use C-kermit and when
I do the 'set line /dev/ttyS1' I get a:
/dev/ttyS1 is not a terminal device
Sorry, can't open connection: /dev/ttyS1
This is a known problem, which David Hinds only recently pointed out to
me. It's a bug in the serial driver, and it was only recently exposed
because RedHat 6.1's kudzu program opens non-existent ports, which
caused the serial driver to behave incorrectly when the pcmcia driver
tried to register the modem with the serial driver.
The latest pcmcia drivers have a workaround for the problem. In
/etc/pcmcia/serial, *before* the line which reads
if [ "$SERIAL_OPTS" ] ; then
insert the following lines:
# Workaround for serial driver bug
OPTS=`setserial -G /dev/$DEVICE`
setserial /dev/$DEVICE irq 0 ; setserial $OPTS
Or you can upgrade to the latest pcmcia drivers (3.1.9), although since
Red Hat has made changes to the pcmcia startup scripts, you may be
better off applying this workaround to your existing Red Hat scripts.
Hmmm... yet another workaround would be to disable kudzu. (That means
you won't get new devices detected unless you run kudzu manually, but I
normally have it disabled myself because it slows the boot process down
too much.) Running "chkconfig --del kudzo" as root, and then rebooting,
should also fix your problem.
Let me emphasize that these are all workarounds. The bug is in the
serial driver, and will get fixed, probably by taking the new serial
driver available at http://web.mit.edu/tytso/www/linux/serial and
dropping it into a future 2.2 kernel. If you'd like to try using that
for testing purposes, it will work on 2.2 kernels, so feel free to give
it a try.
- Ted