From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d841e36c220db82d,start X-Google-Attributes: gidfee84,public From: abhayr@parcom.ernet.in (Abhay Ranade) Subject: "none" Device Driver installation Date: 1995/06/12 Message-ID: #1/1 X-Deja-AN: 104317374 distribution: global sender: usenet@parcom.ernet.in organization: Centre for Development of Advanced Computing (C-DAC), Pune, INDIA. newsgroups: comp.unix.osf.osf1 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