Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: abhayr@parcom.ernet.in (Abhay Ranade)
Subject: "none" Device Driver installation
Date: 1995/06/12	[thread overview]
Message-ID: <DA2nt3.1s8@parcom.ernet.in> (raw)

I was recently introduced to this maze of Device Driver development !
The problem I'm facing is something like this.

We recently bought DEC Alpha 21064 based DEC 2100 servers 
(running DEC OSF/1 Ver 3.0) for some application and device 
driver development. 

An "EXAMPLE LOADABLE DEVICE DRIVER KIT FOR THE /dev/none DRIVER"
accompanies the basic O/S installation. A "none100" device driver kit is
available in the /usr/examples/devdriver/none100 directory. I religiously
followed the instructions given in a README file present in the same directory
to :
  o Build the /dev/none driver.
  o Load the /dev/none driver.

Note : I had logged in as "root" for implementing the steps given in README.
       I did not modify the initial contents of the 
       /usr/examples/devdriver/none100 directory. 

The "Build" went through without problems, however, the last step in "Loading"
the /dev/none gave me an error.

For ease of understanding, I'm yanking the last two steps (Step 3 and 4)
given in the README file, for "Loading" the /dev/none driver. 

------------------------------------------------------------------

Step 3: Update the Loadable Subsystem Database

Update the loadable subsystem database for the /dev/none driver:

        cd /usr/examples/devdriver/none100
        sysconfigdb -a -f stanza.loadable none

This registers the /dev/none device driver with the configuration
management database /etc/sysconfigtab.

------------------------------------------------------------------

Step 4: Configure the /dev/none Driver into the System

Configure the /dev/none driver into the system:

        sysconfig -c none

The sysconfig utility finds the none.mod file in the /subsys
directory.  It then executes the none.mth method to
preconfigure the device driver. Then sysconfig requests that

------------------------------------------------------------------

Step 3 went fine, but after executing Step 4 it gave an error. The output
was :

# sysconfig -c none
method failed to perform preconfiguration
subsystem error: Not owner
#

I have been unable to solve this (seemingly easy !!) problem. I'm very
new to Device Driver development. I hope I've supplied the relevant 
information. 

I will be very glad if any one of you could help me out of this problem.

Abhay Ranade
CDAC, India. 
email : abhayr@parcom.ernet.in




                 reply	other threads:[~1995-06-12  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox