From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,2ed2ae6ecf678554,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-08 15:04:21 PST Message-ID: <3D2A0BC9.CAA82A4D@sis-dev.com> Date: Mon, 08 Jul 2002 17:01:45 -0500 From: Bob Irwin Organization: X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: web built driver OK for 5.1? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.201.148.173 X-Trace: 8 Jul 2002 17:12:10 -0600, 216.201.148.173 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.algx.net!dfw3-feed1.news.algx.net!allegiance!news.logixcom.net!216.201.148.173 Xref: archiver1.google.com comp.unix.tru64:8099 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 SIS Development 281-484-6661 Houston, TX