[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) | 
| Notice: | Welcome to the Digital UNIX Conference | 
| Moderator: | SMURF::DENHAM | 
|  | 
| Created: | Thu Mar 16 1995 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 10068 | 
| Total number of notes: | 35879 | 
8930.0. "No special files created..." by ADISSW::TENHAVE () Fri Feb 21 1997 16:01
    
    A partner of ours is having a problem with device special files
    being created properly.
    
    This is a PCI device driver under 4.0 or 4.0a.  I have a simple
    cut down version of the driver that shows the problem.
    
    When this driver is loaded statically, all the special files are
    created as expected.  Minor numbers line up with Device_Char_Files
    as expected. 
    
    When this driver is loaded dynamically, non of the special files
    are created.
    
    By playing with the sysconfigtab file fragment, I have found
    combinations where most of the files are created but not all.
    
    The sysconfigtab file appears as follows:
    
    css:
            Subsystem_Description = CSS test PCI driver driver
            Device_Dir = /dev
            Device_Major_Req = Same
            Device_Subdir = css
            Device_Char_Major = ANY
            Device_Char_Files = gpib, dev[1-9], dev1[0-9], dev2[0-9],
    dev3[0-9], dev4[0-3], gpib3, gbib2, gpib2, gpib1, gbib0
            Device_Char_Minor = 50, [51-59], [60-69], [70-79], [80-89],
    [90-94], 252, 253, 254, 255
            Module_Config_Name = css
            CSS_Developer_Debug = 1
            Num_Installed = 1
            PCI_Option = PCI_SE_Rev - 0x210,Vendor_Id - 0x108a,Device_Id -
    0x1,Rev -0,Base - 0,Sub - 0,Pif - 0 Sub_Vid - 0,Sub_Did - 0,Vid_Mo_Flag -
    1,Did_Mo_Flag- 1,Rev_Mo_Flag - 0,Base_Mo_Flag - 0,Sub_Mo_Flag - 0,Pif_Mo_Fl
    ag -0,Sub_Vid_Mo_Flag - 0,Sub_Did_Mo_Flag - 0,Driver_Name - css,Type - C, 
    Adpt_Config - N
    
    --------------
    
    I have tried removing white space around the "," and other ideas.
    
    I can get the []ed files OK, but when I add the single files to the
    []ed files (seperated by commas), nothing gets created.
    
    This can be reproduced on both a 4.0 and 4.0a system.  The driver
    itself does no hardware accesses.  So I can easily give it out and
    all you need to do is update teh PCI_Option above for your 
    particular board.
    
    Any thoughts are appreciated,	
    					Tim
    
    
    
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 8930.1 | QAR filed | ADISSW::TENHAVE |  | Mon Mar 10 1997 08:11 | 5 | 
|  |     
    Filed QAR #51871....
    
    			Tim
    
 |