In this particular case, you don't really need the depmod command, since
cpint doesn't have any dependencies on other kernel modules.  In general,
it's good practice to run the depmod command after making any changes in the
/lib/modules hierarchy.  What it does is examine each module, figure out
what external references it has, and what other kernel modules provide
those.  This is what allows you to do a "modprobe modname" without worrying
about the order in which other modules need to be loaded.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rosti,
Ken
Sent: Tuesday, October 12, 2004 2:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Installing hcp


Hello Mark and Adam

Thanks, I got hcp working after doing a "make install".  I have not issued
the depmod command yet.  I am trying to understand why I need it.

Ken

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Post,
Mark K
Sent: Tuesday, October 12, 2004 1:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Installing hcp


You need to do a "make install" and "depmod -a" before you do the
cpint_load.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rosti,
Ken
Sent: Tuesday, October 12, 2004 12:59 PM
To: [EMAIL PROTECTED]
Subject: Installing hcp


I am encountering problems with hcp after downloading into a private
directory and doing the make.  The following error message is displayed
after the "hcp query time".  The hcp command starts but fails attempting to
open I assume the device interface.

Open: No such file or directory

The CPINT HOW-TO file talks about the cpint_load shell script.  I invoke the
cpint_load and get the following error message:

insmod: cpint: no module by that name found

I do not see a "cpint" file in my directory but I do see a "cpint.o".

I have included my directory containing downloaded files and files generated
by make.

[EMAIL PROTECTED] cpint-1.1.6]# ls
actgen     actmain.o  cmdmain.o   cpint.o       hcp.o   Makefile
monmain.c  monstat.exec  sysinfo.o
actgen.c   applmon.h  cpcmd.h     cpint_unload  HOW-TO  mongen
monmain.o  monstat.o
actgen.o   ChangeLog  cpint.h     hcp           main.c  mongen.c
monstat    proc
actmain.c  cmdmain.c  cpint_load  hcp.c         main.o  mongen.o
monstat.c  sysinfo.c

Regards
   Ken

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to