I ran into this output from valgrind

   ==21898== Warning: noted but unhandled ioctl 0x30000001 with no
   size/direction hints.
   ==21898==   This could cause spurious value errors to appear.
   ==21898==   See README_MISSING_SYSCALL_OR_IOCTL for guidance on
   writing a proper wrapper.
   ==21898==   at 0x59C98C7: ioctl (in /lib64/libc-2.12.so)
   ==21898==   by 0x61D148D: ??? (in /usr/lib64/libcuda.so.346.29)
   ==21898==   by 0x62B7B94: ??? (in /usr/lib64/libcuda.so.346.29)
   ==21898==   by 0x6271A6F: ??? (in /usr/lib64/libcuda.so.346.29)
   ==21898==   by 0x61AE21C: cuInit (in /usr/lib64/libcuda.so.346.29)
   ==21898==   by 0x414D89: __pgi_uacc_cuda_init (cuda_init.c:225)
   ==21898==   by 0x408ACC: __pgi_uacc_enumerate (init.c:420)
   ==21898==   by 0x408E64: __pgi_uacc_initialize (init.c:580)
   ==21898==   by 0x405C09: __pgi_uacc_dataenterstart (dataenterstart.c:45)
   ==21898==   by 0x404A19: MAIN_ (test_synccheck.F:177)
   ==21898==   by 0x4027F3: main (in /home-2/cponder/Temp.064/synccheck)

I'd like to "gracefully" handle this ioctl in valgrind, and looked at the instructions posted here

   http://valgrind.org/docs/manual/dist.readme-missing.html

Grep'ing through the files in these directories

   /usr/src/
   /usr/include
   /shared/apps/cuda/CUDA-v7.0.18
   /shared/apps/rhel-6.2/tools/$USER/ValGrind-3.10.1

I can't find anything that maps the address 30000001.
Are these mappings only present for syscalls but not ioctl's?
Or do we need to install a development version of the /usr/src files?
Thanks,

                    Carl


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to