Advertisement
mine260309

Untitled

Jul 25th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.11 KB | None | 0 0
  1. # strace dd if=/sys/kernel/debug/powerpc/lpc/io bs=1 skip=$((0x2f8)) count=1 | hexdump -Cv
  2. execve("/bin/dd", ["dd", "if=/sys/kernel/debug/powerpc/lpc"..., "bs=1", "skip=760", "count=1"], 0x7fffc75e3ba0 /* 20 vars */) = 0
  3. brk(NULL) = 0xc0e7da00000
  4. access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
  5. access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
  6. openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  7. fstat(3, {st_mode=S_IFREG|0644, st_size=59421, ...}) = 0
  8. mmap(NULL, 59421, PROT_READ, MAP_PRIVATE, 3, 0) = 0x72c098df0000
  9. close(3) = 0
  10. access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
  11. openat(AT_FDCWD, "/lib/powerpc64le-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  12. read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\25\0\1\0\0\0\20G\2\0\0\0\0\0"..., 832) = 832
  13. fstat(3, {st_mode=S_IFREG|0755, st_size=2181704, ...}) = 0
  14. mmap(NULL, 2250384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x72c098bc0000
  15. mmap(0x72c098dd0000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x200000) = 0x72c098dd0000
  16. close(3) = 0
  17. mprotect(0x72c098dd0000, 65536, PROT_READ) = 0
  18. mprotect(0xc0e7bc90000, 65536, PROT_READ) = 0
  19. mprotect(0x72c098e60000, 65536, PROT_READ) = 0
  20. munmap(0x72c098df0000, 59421) = 0
  21. rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  22. rt_sigaction(SIGUSR1, {sa_handler=0xc0e7bc74f10, sa_mask=[INT USR1], sa_flags=0}, NULL, 8) = 0
  23. rt_sigaction(SIGINT, {sa_handler=0xc0e7bc74ef0, sa_mask=[INT USR1], sa_flags=SA_NODEFER|SA_RESETHAND}, NULL, 8) = 0
  24. brk(NULL) = 0xc0e7da00000
  25. brk(0xc0e7da30000) = 0xc0e7da30000
  26. openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
  27. fstat(3, {st_mode=S_IFREG|0644, st_size=3003808, ...}) = 0
  28. mmap(NULL, 3003808, PROT_READ, MAP_PRIVATE, 3, 0) = 0x72c0988e0000
  29. close(3) = 0
  30. openat(AT_FDCWD, "/sys/kernel/debug/powerpc/lpc/io", O_RDONLY) = 3
  31. dup2(3, 0) = 0
  32. close(3) = 0
  33. _llseek(0, 0, [0], SEEK_CUR) = 0
  34. openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
  35. fstat(3, {st_mode=S_IFREG|0644, st_size=2995, ...}) = 0
  36. read(3, "# Locale name alias data base.\n#"..., 4096) = 2995
  37. read(3, "", 4096) = 0
  38. close(3) = 0
  39. openat(AT_FDCWD, "/usr/share/locale/en_HK.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  40. openat(AT_FDCWD, "/usr/share/locale/en_HK.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  41. openat(AT_FDCWD, "/usr/share/locale/en_HK/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  42. openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  43. openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  44. openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  45. openat(AT_FDCWD, "/usr/share/locale-langpack/en_HK.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  46. openat(AT_FDCWD, "/usr/share/locale-langpack/en_HK.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  47. openat(AT_FDCWD, "/usr/share/locale-langpack/en_HK/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  48. openat(AT_FDCWD, "/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  49. openat(AT_FDCWD, "/usr/share/locale-langpack/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  50. openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 3
  51. fstat(3, {st_mode=S_IFREG|0644, st_size=578, ...}) = 0
  52. mmap(NULL, 578, PROT_READ, MAP_PRIVATE, 3, 0) = 0x72c098df0000
  53. close(3) = 0
  54. ioctl(0, MTIOCGET, 0x7fffe9b71d98) = -1 ENOTTY (Inappropriate ioctl for device)
  55. _llseek(0, 760, [760], SEEK_CUR) = 0
  56. fstat(0, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
  57. write(2, "dd: ", 4dd: ) = 4
  58. write(2, "/sys/kernel/debug/powerpc/lpc/io"..., 65/sys/kernel/debug/powerpc/lpc/io: cannot skip to specified offset) = 65
  59. write(2, "\n", 1
  60. ) = 1
  61. read(0, "\377", 1) = 1
  62. write(1, "\377", 1) = 1
  63. close(0) = 0
  64. close(1) = 0
  65. 00000000 ff |.|
  66. 00000001
  67. write(2, "1+0 records in\n1+0 records out\n", 311+0 records in
  68. 1+0 records out
  69. ) = 31
  70. write(2, "1 byte copied, 0.000334471 s, 3."..., 381 byte copied, 0.000334471 s, 3.0 kB/s) = 38
  71. write(2, "\n", 1
  72. ) = 1
  73. close(2) = 0
  74. exit_group(0) = ?
  75. +++ exited with 0 +++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement