From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ac224eeceac97358 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-07-05 23:50:09 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: banny52@yahoo.com (Ginny E. Kim) Newsgroups: comp.unix.tru64 Subject: Re: Load loadable kernel driver Date: 5 Jul 2001 23:50:09 -0700 Organization: http://groups.google.com/ Message-ID: <2f6bec0a.0107052250.5fa733f4@posting.google.com> References: <2f6bec0a.0106280036.16304a21@posting.google.com> <9hhqrb$1t00$1@lead.zk3.dec.com> NNTP-Posting-Host: 211.117.39.59 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 994402209 30522 127.0.0.1 (6 Jul 2001 06:50:09 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 6 Jul 2001 06:50:09 GMT Xref: archiver1.google.com comp.unix.tru64:3152 duane@hunch.zk3.dec.com (Andrew Duane USG) wrote in message news:<9hhqrb$1t00$1@lead.zk3.dec.com>... > In article <2f6bec0a.0106280036.16304a21@posting.google.com> banny52@yahoo.com (Ginny E. Kim) writes: > >My system is "OSF1 Tru64UNIX V4.0F 1229 alpha". > >I have one loadable kernel module and I want to load it. > >I've already read documents(Creating Dynamically Configurable Kernel > >Subsystems) > >I did as they suggested..but, I couldn't succeed it. > > > >My method > >1. if I put attributes of my module in /etc/sysconfigtab, and put my > >module in /sys/BINARY/ directory and /subsys/ > > I got following error after excuting "sysconfig -c mymodule" > > framework error : unresolved symbol name > > This means that your module has an extern symbol that isn't in > the kernel. That is, you have something like: > > extern int foobar; > > where there is no "foobar" in the kernel. > > Unfortunately, due to a shortcoming in the infrastructure, it can > also mean exactly the opposite, that there is a *duplicate* symbol > name somewhere. That is: > > It would be helpful if the manager differentiated these two, and it > would be even MORE helpful if the manager specified which symbol was > undefined/redefined. > > >2. #cp mymodule /sys/BINARY/ > > #cp mymodule /subsys/ > > (I didn't modify /etc/sysconfigtab file to put attributes of my > >module) > > # sysconfig -c mymodule > > method failed to perform preconfiguration > > subsystem error : Not owner > > Is it "mymodule" or "mymodule.mod"? I think you have to have the > .mod suffix on the file. But, the not owner message implies that > you are not root, so don't have permission to do this. Thank you for your answer. But, I am sure that I excuted sysconfig, having root permission. That system has only 'root' id. My module is .mod suffix on file.. Does "unresolved symbol" mean mymodule has extern sysmbol that isn't in kernel? If then, is that problem in source or compiling option? How can I be close that problem to solve?