Virgo Logbook
UTC--:--:--
GPS-
Reports
Global Control›Global Control #24862

patch GcAlignment v2r8p3

This patch v2r8p3 hopefully will solve some of the remaining problems related to the DAQ and improves the startup phase report on user info and channel management, and some code optimization. Following is the ChangeLog report for v2r8p3: * avoid passing strings in algo function arguments in Controls.c: - add alignment_algo_get_debug_sensing function (used instead of general alignment_algo_get_debug_data) - remove unused argument string fsm_state in alignment_algo_compute function It solves the bug of the /var/log/messages (Data losses at 2h02 UTC on rtpc11): Sep 21 16:29:21 rtpc07 kernel: BUG: sleeping function called from invalid context at arch/i386/lib/usercopy.c:113 Sep 21 16:29:21 rtpc07 kernel: in_atomic():0, irqs_disabled():1 Sep 21 16:29:21 rtpc07 kernel: [] __might_sleep+0xfe/0x104 Sep 21 16:29:21 rtpc07 kernel: [] strncpy_from_user+0x37/0x5b Sep 21 16:29:21 rtpc07 kernel: [] do_getname+0x40/0x5d Sep 21 16:29:21 rtpc07 kernel: [] getname+0x2a/0x60 Sep 21 16:29:21 rtpc07 kernel: [] __user_walk_fd+0x10/0x3e Sep 21 16:29:21 rtpc07 kernel: [] vfs_stat_fd+0x19/0x40 Sep 21 16:29:21 rtpc07 kernel: [] sys_stat64+0xf/0x23 Sep 21 16:29:21 rtpc07 kernel: [] __ipipe_dispatch_event+0x28/0x228 Sep 21 16:29:21 rtpc07 kernel: [] copy_to_user+0x3f/0x47 Sep 21 16:29:21 rtpc07 kernel: [] sys_select+0x136/0x154 Sep 21 16:29:21 rtpc07 kernel: [] getnstimeofday+0x33/0x10a Sep 21 16:29:21 rtpc07 kernel: [] __ipipe_syscall_root+0x81/0x111 Sep 21 16:29:21 rtpc07 kernel: [] sysenter_past_esp+0x6e/0x72 * add some user info during long idle state * add (int,float,double) type values in channel_t structure * Check configuration types in alignmentInit function * Add a algo_run_one method in configured state A new configuration file is associated to this patch v2r8p3 (GcAlignment.cfg_Oo_New). It is now up and running. The present computing time in the cycle is now about 9 us (gained a factor 2). Gc Trend window must be updated again !