There are a couple of ioctls that the driver uses. The most probable is the one that retrieves the return code. Does the zlt1 virtual machine receive the "B"? Can you use strace to trace the syscalls of hcp?
Hang on a minute /dev/cpcmd isn't a device, there's no major/minor number. It's not even a symbolic link to one. What happens if you modprobe -r and then rm /dev/cpcmd. Then modprobe the module and see if the hotplug agent creates the device node correctly. Neale -----Original Message----- I downloaded and installed cpint 2.5.3 on SuSE9 s/390 Linux guest. Looks like the install went OK. But when I issue "hcp cp send zlt1 q name" I get the response zlt1:/home/tssrxn1 # hcp cp send zlt1 B Ioctl: Inappropriate ioctl for device Looks like the cpcmd device is in place. -rw-r--r-- 1 root root 20 Mar 27 15:53 /dev/cpcmd What am I doing wrong? Thanks Version info: Linux zlt1 2.6.5-7.97-s390 #1 SMP Fri Jul 2 14:21:59 UTC 2004 s390 s390 s390 GNU/Linux zlt1:/home/tssrxn1 # SPident CONCLUSION: ServicePack Level: SLES-9-s390 + "updates" => up-to-date Here is the install output.... zlt1:/home/tssrxn1/cpint-2.5.3 # make -C /lib/modules/`uname -r`/build M=`pwd` SUBDIRS=`pwd` modules make: Entering directory `/usr/src/linux-2.6.5-7.97-obj/s390/s390' make -C ../../../linux-2.6.5-7.97 O=../linux-2.6.5-7.97-obj/s390/s390 modules WARNING: Symbol version dump /usr/src/linux-2.6.5-7.97-obj/s390/s390/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled. CC [M] /home/tssrxn1/cpint-2.5.3/cpint.o /home/tssrxn1/cpint-2.5.3/cpint.c: In function `cpint_init': /home/tssrxn1/cpint-2.5.3/cpint.c:274: warning: unused variable `i_conv' /home/tssrxn1/cpint-2.5.3/cpint.c: In function `cpint_cleanup': /home/tssrxn1/cpint-2.5.3/cpint.c:371: warning: unused variable `i_conv' CC [M] /home/tssrxn1/cpint-2.5.3/cmdmain.o CC [M] /home/tssrxn1/cpint-2.5.3/idmain.o CC [M] /home/tssrxn1/cpint-2.5.3/monmain.o /home/tssrxn1/cpint-2.5.3/monmain.c: In function `applMonGen': /home/tssrxn1/cpint-2.5.3/monmain.c:123: warning: comparison is always false due to limited range of data type CC [M] /home/tssrxn1/cpint-2.5.3/actmain.o LD [M] /home/tssrxn1/cpint-2.5.3/cpint_mod.o Building modules, stage 2. MODPOST CC /home/tssrxn1/cpint-2.5.3/cpint_mod.mod.o LD [M] /home/tssrxn1/cpint-2.5.3/cpint_mod.ko make: Leaving directory `/usr/src/linux-2.6.5-7.97-obj/s390/s390' zlt1:/home/tssrxn1/cpint-2.5.3 # make tools cc -o hcp.o -I. -O2 -c hcp.c cc -o hcp hcp.o cc -o mongen.o -I. -O2 -c mongen.c cc -o mongen mongen.o cc -o monstat.o -I. -O2 -c monstat.c cc -o sysinfo.o -I. -O2 -c sysinfo.c cc -o monstat monstat.o sysinfo.o cc -o actgen.o -I. -O2 -c actgen.c cc -o actgen actgen.o cc -o diag0.o -I. -O2 -c diag0.c cc -o diag0 diag0.o 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 -- __________________ Ranga Nathan Work: 714-442-7591 -- __________________ 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 ---------------------------------------------------------------------- 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