[systemd-devel] .libs/test-sched-prio failed

Rongqing Li rongqing.li at windriver.com
Fri Nov 1 01:42:56 PDT 2013



On 10/31/2013 11:44 AM, Zbigniew Jędrzejewski-Szmek wrote:
> On Thu, Oct 31, 2013 at 08:05:18AM +0800, Rongqing Li wrote:
>>
>>
>> On 10/30/2013 07:10 PM, Zbigniew Jędrzejewski-Szmek wrote:
>>> On Wed, Oct 30, 2013 at 10:02:33AM +0800, Rongqing Li wrote:
>>>> Hi:
>>>>
>>>> I am running the systemd test cases, but .libs/test-sched-prio always
>>>> failed, whether I put sched_idle_ok.service to anywhere, who can help
>>>> me? thanks
>>>>
>>>> .libs/test-sched-prio
>>>> Assertion 'idle_ok->load_state == UNIT_LOADED' failed at
>>>> src/test/test-sched-prio.c:47, function main(). Aborting.
>>>> Aborted
>>> That's interesting. *What* systemd version are you running, and *how*
>>> exactly are you running the tests?
>>>
>>
>> Thanks for your reply, I run it on a embedded linux.
>> and run it directly .libs/test-sched-prio, but I try to put
>> sched_idle_ok.service
>> to /lib/systemd/system/, and other places, it always failed.
> The test loads the file from $(abs_top_srcdir)/test/.
> Maybe try changing the assert to a printf, to see what is returned.
> If it is something like -ENOENT, then maybe strace the test to see
> where it is trying to load the unit from.
>
> Zbyszek
>

I did not see the file is read,

open("/proc/self/mountinfo", O_RDONLY|O_CLOEXEC) = 9
epoll_ctl(3, EPOLL_CTL_ADD, 9, {EPOLLPRI, {u32=7197784, u64=7197784}}) = 0
fstat(9, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
lseek(9, 0, SEEK_SET)                   = 0
read(9, "14 1 0:13 / / rw,relatime shared"..., 1024) = 1024
read(9, ",noexec,relatime shared:10 - cgr"..., 1024) = 1024
read(9, "s/binfmt_misc rw,relatime shared"..., 1024) = 1024
read(9, "tc/localtime rw,relatime shared:"..., 1024) = 692
read(9, "", 1024)                       = 0
open("/proc/swaps", O_RDONLY|O_CLOEXEC) = 10
epoll_ctl(3, EPOLL_CTL_ADD, 10, {EPOLLPRI, {u32=7197832, u64=7197832}}) = 0
fstat(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b2000
lseek(10, 0, SEEK_SET)                  = 0
read(10, "Filename\t\t\t\tType\t\tSize\tUsed\tPrio"..., 1024) = 37
read(10, "", 1024)                      = 0
read(10, "", 1024)                      = 0
writev(2, [{"Assertion 'idle_ok->load_state ="..., 114}, {"\n", 1}], 2) 
= 115
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(383, 383, SIGABRT)               = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=383, si_uid=0} ---
+++ killed by SIGABRT +++



--------------------more detailed--------------------
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=155\nDEVNAME=ttyyb\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyyb/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:155", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:304731\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyyc", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyyc/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyyc/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=156\nDEVNAME=ttyyc\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyyc/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:156", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:313540\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyyd", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyyd/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyyd/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=157\nDEVNAME=ttyyd\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyyd/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:157", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:323671\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyye", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyye/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyye/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=158\nDEVNAME=ttyye\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyye/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:158", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:335809\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyyf", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyyf/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyyf/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=159\nDEVNAME=ttyyf\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyyf/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:159", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:345600\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz0", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz0/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyz0/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=160\nDEVNAME=ttyz0\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz0/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:160", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:352695\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz1", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz1/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyz1/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=161\nDEVNAME=ttyz1\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz1/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:161", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:365971\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz2", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz2/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyz2/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=162\nDEVNAME=ttyz2\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz2/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:162", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:377398\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz3", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz3/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyz3/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=163\nDEVNAME=ttyz3\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz3/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:163", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:383664\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz4", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz4/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyz4/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=164\nDEVNAME=ttyz4\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz4/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:164", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:397552\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz5", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz5/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyz5/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=165\nDEVNAME=ttyz5\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz5/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:165", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:408712\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz6", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz6/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
mmap(NULL, 1093632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x7fa0ca617000
open("/sys/devices/virtual/tty/ttyz6/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=166\nDEVNAME=ttyz6\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz6/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:166", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:416883\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz7", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz7/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyz7/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=167\nDEVNAME=ttyz7\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz7/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:167", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:427813\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz8", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz8/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyz8/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=168\nDEVNAME=ttyz8\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz8/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:168", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:430762\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz9", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyz9/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyz9/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=169\nDEVNAME=ttyz9\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyz9/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:169", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:448773\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyza", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyza/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyza/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=170\nDEVNAME=ttyza\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyza/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:170", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:449677\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyzb", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyzb/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyzb/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=171\nDEVNAME=ttyzb\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyzb/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:171", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:463660\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyzc", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyzc/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyzc/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=172\nDEVNAME=ttyzc\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyzc/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:172", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:475337\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyzd", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyzd/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyzd/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=173\nDEVNAME=ttyzd\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyzd/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:173", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:497903\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyze", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyze/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyze/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=174\nDEVNAME=ttyze\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyze/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:174", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:506292\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyzf", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/tty/ttyzf/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/tty/ttyzf/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=3\nMINOR=175\nDEVNAME=ttyzf\n", 4096) = 32
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/tty/ttyzf/subsystem", 
"../../../../class/tty", 1024) = 21
open("/run/udev/data/c3:175", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=19, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:512682\nG:systemd\n", 4096)  = 19
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/block/md0", 0x7fffecf31360, 1024) = -1 
EINVAL (Invalid argument)
stat("/sys/devices/virtual/block/md0/uevent", {st_mode=S_IFREG|0644, 
st_size=4096, ...}) = 0
open("/sys/devices/virtual/block/md0/uevent", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "MAJOR=9\nMINOR=0\nDEVNAME=md0\nDEVT"..., 4096) = 41
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
readlink("/sys/devices/virtual/block/md0/subsystem", 
"../../../../class/block", 1024) = 23
open("/run/udev/data/b9:0", O_RDONLY|O_CLOEXEC) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=37, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
read(9, "I:564935\nE:SYSTEMD_READY=0\nG:sys"..., 4096) = 37
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x7fa0ca7b3000, 4096)            = 0
open("/proc/self/mountinfo", O_RDONLY|O_CLOEXEC) = 9
epoll_ctl(3, EPOLL_CTL_ADD, 9, {EPOLLPRI, {u32=7197784, u64=7197784}}) = 0
fstat(9, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b3000
lseek(9, 0, SEEK_SET)                   = 0
read(9, "14 1 0:13 / / rw,relatime shared"..., 1024) = 1024
read(9, ",noexec,relatime shared:10 - cgr"..., 1024) = 1024
read(9, "s/binfmt_misc rw,relatime shared"..., 1024) = 1024
read(9, "tc/localtime rw,relatime shared:"..., 1024) = 692
read(9, "", 1024)                       = 0
open("/proc/swaps", O_RDONLY|O_CLOEXEC) = 10
epoll_ctl(3, EPOLL_CTL_ADD, 10, {EPOLLPRI, {u32=7197832, u64=7197832}}) = 0
fstat(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa0ca7b2000
lseek(10, 0, SEEK_SET)                  = 0
read(10, "Filename\t\t\t\tType\t\tSize\tUsed\tPrio"..., 1024) = 37
read(10, "", 1024)                      = 0
read(10, "", 1024)                      = 0
writev(2, [{"Assertion 'idle_ok->load_state ="..., 114}, {"\n", 1}], 2) 
= 115
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(383, 383, SIGABRT)               = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=383, si_uid=0} ---
+++ killed by SIGABRT +++


>
>

-- 
Best Reagrds,
Roy | RongQing Li


More information about the systemd-devel mailing list