From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e760457a88cc034e,start X-Google-Attributes: gidfee84,public From: sankar@natinst.com (Sankar Dasari) Subject: Trouble configuring/loading a device driver on OSF/1 v3.2a Date: 1995/11/07 Message-ID: <47o5o9$d8@pastoral.natinst.com>#1/1 X-Deja-AN: 118866428 distribution: usa organization: National Instruments, Austin, TX newsgroups: comp.unix.osf.osf1 I get the following error on the console log when I try to configure a device driver 'ib' on a DEC Alpha 400 4/233 running DEC OSF/1 v3.2a: Command: # sysconfig -v -c ib Error messages on the console log: kloadsrv: kernel_load("/var/subsys/ib.mod", x, module) = 256 Unknown relocation type (17) kloadsrv load return 8 load failed: loading subsystem I suspect the "Unknown relocation type" error could be related to the way ib.mod file is created (using 'ld -r -d -o ib.mod ib.o; ib.o is created by the makefile created by 'config -s BINARY' command) but I could be wrong. An example driver (cb) provided as part of the system (under /usr/examples/devdriver) also shows exactly the same problem (even with the cb.mod that was provided in that directory). I think this is happening even before the configure interface in the driver is called. Is there a documentation that talks about such driver configuring problems? The DEC OSF/1 Device Driver's tutorial that I have (albeit an old one) does not talk about any such error situations. Any help is greatly appreciated. Post your suggestions/pointers here or email me (sankard@natinst.com) at your preference. Thanks in advance. Regards, Sankar