- From: Pascal Fortin <fortin_at_hep.physics.mcgill.ca>
- Date: Tue, 26 Nov 2002 13:58:24 -0500 (EST)
Hi, I just installed comedi-0.7.66 with comedilib-0.7.19 on my Linux system. The installation was very smooth, but I have problems using the mmap demo program in comedilib. When I run the program I get: buffer size is 65536 map=0xffffffff start: now 0 scan_begin: timer 1000000 convert: timer 5000 scan_end: count 4 stop: none 0 Segmentation fault I can get a good address from the mmap call only if the "size" argument is 1 page less than the buffer size... In other words, the mmap call return a good value if I ask for 15 pages (or less) instead of the default 16... Is this normal? Thanks for your help? ----------------------------------------------------- Pascal Fortin Physics Department Rutherford Building, McGill University 3600 rue University, Montreal, Quebec, Canada H3A 2T8 Tel: (514) 398 6491 Fax: (514) 398 3733 Email: fortin_at_physics.mcgill.ca Web: http://www.physics.mcgill.ca/~fortin -----------------------------------------------------
Received on 2002-11-26Z18:58:24