* example device driver configuration
@ 1996-05-30 17:05 mgaluza
0 siblings, 0 replies; only message in thread
From: mgaluza @ 1996-05-30 17:05 UTC (permalink / raw)
To: tru64-unix-managers
I will soon be writing a SCSI device driver for our Digital UNIX
system. After looking through the device driver manuals I thought
a good way to get a feel for things might be to simply configure/load
one of the example device drivers that comes with the system. I
decided to try to use the example in the /usr/examples/devdrivers/none100
directory (I tried the loadable, not static, version). I tried following
the steps outlined in both the "Writing Device Drivers: Tutorial" manual
and the /usr/examples/devdrivers/none100/README file (they differ a bit).
In both cases I get stuck in the same place. When I try to build (make)
the loadable module, none.mod, it doesn't work. The make does not
create the none.mod file. I looked at the Makefile and it doesn't
seem to have anything in there that SHOULD make it create none.mod. It
can only create none.o. Could the problem be that my "/sys/conf/config -s
BINARY" command isn't properly setting up the makefile? Any other ideas?
Eventually I gave up trying to build none.mod because a none.mod file
already exists in /usr/examples/devdrivers/none100. So I tried to
continue on in the process using that file. Well, this time my
"sysconfig -v -c none" command failed saying that kloadsrv returned
an errno 8 (ENOEXEC - Exec format error) when it tried to load the
none.mod module. Any ideas on this?
While I'm here, does anyone know of any other discussion lists or web
sites that may be helpful to me on this project? I've searched the web
without much luck.
Thanks in advance,
Mike
----------------------------------------------------------------------
Michael Galuza
DeJarnette Research Systems mgaluza@dejarnette.com
401 Washington Ave Suite 700 Voice: +1(410)583-0680 x691
Towson, MD 21204 Fax: +1(410)583-0696
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-05-30 17:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-30 17:05 example device driver configuration mgaluza
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox