Date: Sat, 4 Oct 2003 10:25:48 +0200 From: "Christoph P. Kukulies" <kuku@physik.rwth-aachen.de> To: ticso@cicely.de Cc: "Christoph P. Kukulies" <kuku@physik.rwth-aachen.de> Subject: Re: total hang when cu -l /dev/cuaa0 Message-ID: <20031004082548.GA9168@gilberto.physik.rwth-aachen.de> In-Reply-To: <20031003213628.GN886@cicely12.cicely.de> References: <200310031821.h93ILSVI001295@www.kukulies.org> <20031003201507.GK886@cicely12.cicely.de> <20031003212334.GA2076@gilberto.physik.rwth-aachen.de> <20031003213628.GN886@cicely12.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 03, 2003 at 11:36:29PM +0200, Bernd Walter wrote:
> > > The modem coild also be something proprietary for which there is no
> > > driver available.
> > >
> > > > When I run getty (or mgetty) on that port or when I do a cu -l /dev/cuaa0
> > > > the system freezes.
> > >
> > > Why do you expect anything usefull by accessing half working hardware?
> >
> > Well, I would expect an I/O error or no such device. Wouldn't that be
> > at least a minimum one could expect? But a crash or hand? No.
^^ I believe I wanted
to say 'hangup'.
> > one could expect? But a crash or hand? No.
Smoteihng got colbbreed drunig tpynig. ;-)
>
> You can't expect anything reliable from a device which is broken.
> The kernel already warned you that something seems to be questionable.
> In the same way you can't expect getting an IO error if someone cuts
> into your computer with a chainsaw - you may get one, but nobody can
> predict.
A device disabled by the BIOS should not be accessible in any way
by the kernel. It's not broken nor has anyone cut the devices with a chainsaw.
I don't read dmesg before I try to open /dev/cuaa0.
So an open on /dev/cuaa0 when sio is disabled in the BIOS should not result
in a bad hangup. That's my point.
> B.Walter BWCT http://www.bwct.de
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031004082548.GA9168>
