Date: Fri, 10 Mar 1995 07:40:57 -0800 From: pascal@netcom.com (Richard A Childers) To: questions@FreeBSD.org Subject: Re: I/O devices; mouse Message-ID: <199503101540.HAA20094@netcom15.netcom.com>
next in thread | raw e-mail | index | archive | help
Eric Solberg <exs@sperry.mhs.compuserve.com> inquires :
"At boot the system recognizes comports as
sio0 detected with IRQ 4 # the correct IRQ for COM 1
sio1 detected with IRQ 3 # the correct IRQ for COM 2
Or something to that effect."
This means that
(a) the kernel was configured to recognize those two
devices ( actually serial I/O chips ), and
(b) the devices (chips) were there when it went looking.
"Anyway, no entries for either device are found in /dev. ... If this is
not a bug, then: Do these need to be made explicitly ?"
Yup.
I've noticed stuff missing from /dev, too. This is part and parcel of sys
administration, however ... both the procedural approach to diagnosis and
the willingness to correct it. ( Plus a coherent description of the problem,
the workaround(s), and suggested solution(s) to the responsible engineers. )
Reading /dev/MAKEDEV is an educational experience. It's a shellscript.
A full knowledge and understanding of /dev, MAKEDEV, mknod(8) and major and
minor device numbers is probably one of the prerequisites to understanding
Un*x, and thus, well worth the investment in time and effort, IMHO.
"I also get an error when trying to mount the CD-ROM drive.
mount /dev/cd0a /mnt
returns the error
Can't mount /dev/cd0a on /mnt: ??Invalid or Illegal?? super block
What might be the problem here?"
You need to explicitly tell the operating system that it is a CDROM drive with
the '-t' ( for 'type' flag ). See the man page for mount(8). ( Calls to 'mount'
with '-t' flag map into invocations of separate mount_'type' program, FYI. )
-=8=-
Second ( third, fourth ? ) the request for a repost of the proposed BSD Con-
-sortium document ...
... Second ( third, fourth ? :-) the congratulations, on a job well done ...
-- richard
| |
| "A cloak is no longer a cloak if it does not keep one warm." |
| |
| richard childers san francisco, california pascal@netcom.com |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503101540.HAA20094>
