search for: it_interval

Displaying 10 results from an estimated 10 matches for "it_interval".

2014 Jul 31
0
Re: hang after seabios
Hi Richard thanks for the info. I took the strace approach and ran into this looping over and over again. Is it failing to get time? timer_gettime(0x8, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0x8, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0 timer_gettime(0x8, {it_interval={0, 0}, it_value={0, 204443}}) = 0 select(16, [0 6 9 13 15], [], [], {1, 0}) = 2 (in [6 13], left {0, 999998}) read(13, "\1\0\0\0\0\0\0\0", 4096)...
2014 Jul 31
2
Re: hang after seabios
On Wed, Jul 30, 2014 at 03:58:43PM -0700, Zetan Drableg wrote: > [00183ms] /usr/libexec/qemu-kvm \ > -global virtio-blk-pci.scsi=off \ > -nodefconfig \ > -nodefaults \ > -nographic \ > -machine accel=kvm:tcg \ > -cpu host,+kvmclock \ > -m 500 \ > -no-reboot \ > -kernel /var/tmp/.guestfs-0/kernel.47903 \
2016 Aug 30
1
UPS shutdown
...d(3, "", 4096) = 0 close(3) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x76f86068) = 2937 rt_sigaction(SIGALRM, {0x91b8, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={45, 0}}, {it_interval={0, 0}, it_value={0, 0}}) = 0 wait4(2937, Network UPS Tools - Generic HID driver 0.37 (1.01-900) USB communication driver 0.32 Using subdriver: APC HID 0.95 Initiating UPS shutdown [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 2937 --- SIGCHLD (...
2018 Jul 02
4
No run cmd /usbhid-ups -k !
I used strace and the result is bus is busy: clock_gettime(CLOCK_MONOTONIC, {8158, 708518222}) = 0 timerfd_settime(11, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={8159, 708518000}}, NULL) = 0 ioctl(12, USBDEVFS_SUBMITURB, 0x40810) = 0 poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLOUT}], 4, 60000) = 1 ([{fd=12, revents=POLLOUT}]) ioctl(12, USBDEVFS_REAPURBNDELAY, 0xbecf8f24) = 0 timerfd_setti...
2009 Jul 14
0
[LLVMdev] "Recursive compilation detected" and signals
...quot;); LEVEL13; } int main (int argc, char **argv) { struct itimerval timer; struct sigaction sa1, sa2; /* Configure the timer to expire after 250 msec... */ timer.it_value.tv_sec = 0; timer.it_value.tv_usec = 250000; /* ... and every 250 msec after that. */ timer.it_interval.tv_sec = 0; timer.it_interval.tv_usec = 250000; /* Install timer_handler as the signal handler for SIGVTALRM. */ memset ((void *) &sa1, 0, (size_t) sizeof (sa1)); sa1.sa_handler = &timer_handler; sigaction (SIGVTALRM, &sa1, NULL); /* Install the SIGSEGV...
2023 Jan 14
1
[klibc:time64] time: Use 64-bit time types on all architectures
...RDER == __LITTLE_ENDIAN && __BITS_PER_LONG == 32 + long __tv_pad; +#endif +}; + +struct timeval { + __kernel_time64_t tv_sec; + __kernel_suseconds_t tv_usec; +}; + +struct timeval_old { + __kernel_time_t tv_sec; + __kernel_suseconds_t tv_usec; +}; + +struct itimerspec { + struct timespec it_interval; + struct timespec it_value; +}; + +struct itimerval { + struct timeval_old it_interval; + struct timeval_old it_value; +}; + +struct timezone { + int tz_minuteswest; + int tz_dsttime; +}; + +#define ITIMER_REAL 0 +#define ITIMER_VIRTUAL 1 +#define TIMER_PROF 2 + +#define CLOCK_REALTIME 0 +#de...
2011 Oct 08
13
[Bug 41585] New: X freeze and PGRAPH errors in dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=41585 Summary: X freeze and PGRAPH errors in dmesg Product: xorg Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2004 May 19
0
idmap_ad compile problem
...lude/includes.h:76, from idmap_ad.c:12: /usr/include/linux/time.h:11: syntax error before "time_t" /usr/include/linux/time.h:13: syntax error before '}' token /usr/include/linux/time.h:19: syntax error before "time_t" /usr/include/linux/time.h:45: field `it_interval' has incomplete type /usr/include/linux/time.h:46: field `it_value' has incomplete type /usr/include/linux/time.h:47: confused by earlier errors, bailing out I tried the solution offered at the time, which was to add #include "time.h" to the beginning of the idmap_ad.c file, but...
2003 Apr 08
0
Panic dereferencing p->p_leader during exit1()
...le_prev = 0xe18f0b10}, p_children = {lh_first = 0x0}, p_ithandle = { callout = 0x0}, p_oppid = 0, p_dupfd = 0, p_vmspace = 0xd477b440, p_estcpu = 42, p_cpticks = 17, p_pctcpu = 229, p_wchan = 0x0, p_wmesg = 0xc02985e9 "biord", p_swtime = 11, p_slptime = 0, p_realtimer = { it_interval = {tv_sec = 0, tv_usec = 0}, it_value = {tv_sec = 0, tv_usec = 0}}, p_runtime = 2935395, p_uu = 0, p_su = 549755813891, p_iu = 0, p_uticks = 884763262976, p_sticks = 1095216660492, p_iticks = 549755813888, p_traceflag = 0, p_tracep = 0xa8, p_siglist = { __bits = {0, 0, 0, 0}}, p_te...
2015 May 18
5
kernel/libc uapi changes for y2038
...e_t tv_sec; /* seconds */ long tv_nsec; /* nanoseconds */ }; -#endif struct timeval { __kernel_time_t tv_sec; /* seconds */ @@ -31,7 +44,7 @@ struct timezone { #define ITIMER_VIRTUAL 1 #define ITIMER_PROF 2 -struct itimerspec { +struct __old_kernel_itimerspec { struct timespec it_interval; /* timer period */ struct timespec it_value; /* timer expiration */ }; diff --git a/include/uapi/linux/timex.h b/include/uapi/linux/timex.h index 9b131f107ada..3cfa50caa77d 100644 --- a/include/uapi/linux/timex.h +++ b/include/uapi/linux/timex.h @@ -54,14 +54,22 @@ #define _UAPI_LINUX_TIMEX_H...