OK. I got it working. I performed a "make install" again, did a
"modprobe -r cpint_mod" and then "modprobe cpint_mod"

   zlt1:/home/tssrxn1/cpint-2.5.3 # make install
   install -c -m 750 mongen /usr/sbin
   install -c -m 750 monstat /usr/sbin
   install -c -m 750 hcp /usr/sbin
   cp cpint_mod.ko /lib/modules/`uname -r`/kernel/drivers/s390/char/
   rm -rf /dev/cpcmd /dev/cpmod /dev/cpappl /dev/cpid \
           /dev/cpint0 /dev/cpint8 /dev/cpint76 /dev/cpint222
   modprobe -qr cpint_mod
   depmod -a

   zlt1:/home/tssrxn1/cpint-2.5.3 # modprobe -r cpint_mod
   zlt1:/home/tssrxn1/cpint-2.5.3 # modprobe  cpint_mod
   zlt1:/home/tssrxn1/cpint-2.5.3 # ls -l /dev/cpcmd
   crw-rw----  1 root root 254, 8 Mar 29 19:58 /dev/cpcmd
   zlt1:/home/tssrxn1/cpint-2.5.3 # hcp cp send zlt1 B
   HCPSEC068E SEND command failed; receiver has not authorized sender

OK, I know why. So I issued "Q Name"

   zlt1:/home/tssrxn1/cpint-2.5.3 # hcp cp q name
   ZLP3     - DSC , ZLP2     - DSC , DATAMOVE - DSC , DIRMAINT - DSC
   VSWCTRL1 - DSC , VMSERVR  - DSC , VMSERVU  - DSC , VMSERVS  - DSC
   OPERSYMP - DSC , EREP     - DSC , FTPSERVE - DSC , OPERATOR - DSC
   ZLP1     - DSC , ZLT3     - DSC , ZLT2     - DSC , TCPIP    - DSC
   ZLT1     - DSC
   VSM     - TCPIP


I think I must have had a previous version of cpint somehow.  The "make
install" could have warned me of that.

Thanks for 'waking' me up. BTW is it enough for a guest to send the Q
NAME command to keep the guest alive? I am trying to overcome the
problem of a guest logging off after someone accidentally disconnects a
terminal session. Following an earlier suggestion on this mailing list,
I want to schedule a cron to issue a  CP Q NAME or CP Q V STORE only to
keep the session alive. Would it work?
TIA.

Neale Ferguson wrote:
Are there any messages on syslog when you load the driver? What does ls -l
/dev/cpcmd show now?
-----Original Message-----
I must be missing something here. I performed the steps you suggested
and tried again. Got the same result. Checked modprobe list and found
that there are two files and one is old:
-rw-r--r--  1 root root 20319 Mar 27 15:16
/lib/modules/2.6.5-7.97-s390/kernel/drivers/s390/char/cpint_mod.ko
-rw-r--r--  1 root root 19177 Jul  2  2004
/lib/modules/2.6.5-7.97-s390/extra/cpint.ko

----------------------------------------------------------------------
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



--
__________________
Ranga Nathan
Work: 714-442-7591


----------------------------------------------------------------------
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
begin:vcard
fn:Ranga Nathan
n:Nathan;Ranga
email;internet:[EMAIL PROTECTED]
tel;work:714-442-7591
version:2.1
end:vcard

Reply via email to