slind strace -p 916 Process 916 attached interrupt to quit select 256

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
slind:~# strace -p 916
Process 916 attached - interrupt to quit
select(256, [1 3 4 6 7 8], NULL, NULL, {299, 535000}) = 0 (Timeout)
setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
gettimeofday({4073, 457508}, NULL) = 0
ioctl(5, FBIOBLANK, 0x2) = 0
gettimeofday({4073, 460112}, NULL) = 0
gettimeofday({4073, 461250}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(256, [1 3 4 6 7 8], NULL, NULL, {599, 999000})
вот здесь я сказал echo mem > /sys/power/state, после чего быстро нажал клавишу.
= ? ERESTARTNOHAND (To be restarted)
select(256, [1 3 4 6 7 8], NULL, NULL, {315, 525000})
получил вот это. После этого ещё раз усыпил девайс и нажал клавишу подольше.
= ? ERESTARTNOHAND (To be restarted)
--- SIGIO (I/O possible) @ 0 (0) ---
read(6, "\26\21\0\0\366\32\7\0\1\0\v\0\1\0\0\0\26\21\0\0D\33\7\0\0\0\0\0\0\0\0\0"..., 2048) = 32
gettimeofday({4374, 584751}, NULL) = 0
sigreturn() = ? (mask now [QUIT ILL TRAP ABRT FPE KILL USR1 PIPE ALRM TERM STKFLT CHLD TTIN])
setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
ioctl(5, FBIOBLANK, 0) = 0
gettimeofday({4374, 600162}, NULL) = 0
writev(7, [{"\2\23\304\0018\300B\0<\0\0\0\1\0 \0\0\0\0\0,\1\220\1\325\376q\376\0\0\1\1"..., 32}], 1) = 32
gettimeofday({4374, 604593}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(256, [1 3 4 6 7 8], NULL, NULL, {599, 996000}) = 1 (in [6], left {599, 450000})
--- SIGIO (I/O possible) @ 0 (0) ---
read(6, "\27\21\0\0\35f\2\0\1\0\v\0\0\0\0\0\27\21\0\0Jf\2\0\0\0\0\0\0\0\0\0"..., 2048) = 32
gettimeofday({4375, 164783}, NULL) = 0
sigreturn() = ? (mask now [QUIT ILL TRAP ABRT FPE KILL USR1 PIPE ALRM TERM STKFLT CHLD TTIN])
rt_sigprocmask(SIG_BLOCK, [IO], NULL, 8) = 0
read(6, 0xbed9b0d8, 2048) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigprocmask(SIG_UNBLOCK, [IO], NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
gettimeofday({4375, 174857}, NULL) = 0
writev(7, [{"\3\23\304\1|\302B\0<\0\0\0\1\0 \0\0\0\0\0,\1\220\1\325\376q\376\0\0\1\1"..., 32}], 1) = 32
gettimeofday({4375, 185819}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(256, [1 3 4 6 7 8], NULL, NULL, {119, 989000}) = 1 (in [8], left {119, 989000})
setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
gettimeofday({4375, 201648}, NULL) = 0
read(8, "\202\4\10\0\2\0@\0\0\0\0\0X\2 \3\377\377\377\377\2\0\0\0\4\0@\0\0\0\0\0"..., 4096) = 32
read(8, 0x1da9a8, 4096) = -1 EAGAIN (Resource temporarily unavailable)
writev(8, [{"\1\10T\0\0\0\0\0!\0\0\0\0S\7\0\264\n\21\0\0\0\0\0\1\0\0\0\0\0\0\0"..., 32}], 1) = 32
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [TRAP FPE KILL])
gettimeofday({4375, 234655}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(256, [1 3 4 6 7 8], NULL, NULL, {119, 940000}) = 1 (in [8], left {119, 905000})
setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
gettimeofday({4375, 276387}, NULL) = 0
read(8, "\202\3\n\0\2\0@\0\0\0@\0X\2 \3\0\0\0\0X\2 \3\0\0\0\0\10\2\0\0\4"..., 4096) = 40
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [HUP])
read(8, 0x1da9a8, 4096) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({4375, 300903}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(256, [1 3 4 6 7 8], NULL, NULL, {119, 874000}