Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Bob Irwin <bobi@sis-dev.com>
Subject: web built driver OK for 5.1?
Date: Mon, 08 Jul 2002 17:01:45 -0500	[thread overview]
Message-ID: <3D2A0BC9.CAA82A4D@sis-dev.com> (raw)


I used the GUI tool to generate a sample PCI tru64 driver for
5.1.

     http://www.tru64unix.compaq.com/dev_tools/cpseudocdd.html

The download of the files, the build and such seem to work fine.
Has anyone used this tool build and run a functional simple driver?

When I run the 'sysconfig -v -c'  I get a warning that the
"Module_Config_Name"
is  missing from /etc/sysconfigtab.   Yet when I do a sysconfig -m c1553,
I get  :

c1553:
Subsystem_Description = Condor PCI 1553
Device_Major_Req = Same
Device_Char_Major = ANY
Device_Char_Files = c1553
Device_Char_Minor = 0
Module_Config_Name = c1553
C1553_Developer_Debug = 1
Num_Installed = 1
PCI_Option = PCI_SE_Rev - 0x210, Vendor_Id - 0x13C6, Device_Id - 0x1553, Rev
- 0
, Base - 0, Sub - 0, Pif - 0 Sub_Vid - 0, Sub_Did - 0, Vid_Mo_Flag - 1,
Did_Mo_F
lag - 1, Rev_Mo_Flag - 0, Base_Mo_Flag - 0, Sub_Mo_Flag - 0, Pif_Mo_Flag - 0,
Su
b_Vid_Mo_Flag - 0, Sub_Did_Mo_Flag - 0, Driver_Name - c1553, Type - C,
Adpt_Conf
ig - N


And the 'missing line is there'


following is the system console output during sysconfig:
ooking for method /var/subsys/c1553.mth

executing method for preconfiguration:

/var/subsys/c1553.mth preconfigure c1553 1

device.mth: preconfiguration started for the "c1553" device driver

device.mth: Warning: Unable to find a Module_Config line in the sysconfigtab
dat
abase

device.mth:          Psuedo Driver configured, no kernel topology structure
crea
ted for this driver.

device.mth: preconfigure returned successfully

calling kmodcall to configure c1553

calling kloadsrv to load c1553

attaching to kloadsrv

ldr_flag=0x100

requesting kloadsrv to perform load

kloadsrv: kernel_load("/subsys/c1553.mod", x, module) = 256; *module = 18

kloadsrv load return 0

calling kmodcall to configure c1553

sysconfigtab: attribute Module_Config_Name in subsystem c1553 can't be
configure
d

c1553_configure:entry

c1553_probe: Unable to detect controller

- Failed to configure device in PCI bus 0, slot 16 with driver c1553

c1553_probe: Unsupported bus type: 18

c1553_probe: Unable to detect controller

- Failed to configure device in PCI bus 0, slot 16 with driver c1553

c1553_postconfig:major # = 89

c1553 driver V.1.00 configured

executing method for postconfiguration:

/var/subsys/c1553.mth postconfigure c1553 1


Any suggestions as to what's happening?


Should this sample driver built with a 5.0 tool work
under 5.1?  Are there changes between 5.0 and 5.1
dynamic drivers?

help will be appreciated

--
Bob Irwin <bobi@sis-dev.com> SIS Development   281-484-6661  Houston, TX


                 reply	other threads:[~2002-07-08 22:01 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