sa01: No such file or directory

Questionsar Cannot open /var/log/sa/sa01: No such file or directory Please check if data collecting is enabled AnswerNeed to pass arguments sar -q 2 5 Linux 3.10.90 (rlx-linux) 11/01/23 _mips_ (1 CPU) 13:44:33 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 blocked 13:44:35 3 49 0.35 0.43 0.35 0 13:44:37 1 49 0.35 0.43 0.35 0 13:44:39 0 49 0.48 0.45 0.36 0 13:44:41 0 49 0.48 0.45 0.36 0 13:44:43 0 49 0.

error: the register ‘’ cannot be clobbered in ‘asm’ for the current target

Questioncd valgrind-3.22.0 ./configure --host=mipsel-linux [...] priv/guest_mips_helpers.c: In function ‘mips_dirtyhelper_calculate_FCSR_fp32’: priv/guest_mips_helpers.c:497:4: error: the register ‘$f21’ cannot be clobbered in ‘asm’ for the current target 497 | __asm__ volatile(".set push" "\n\t" \ | ^~~~~~~ priv/guest_mips_helpers.c:640:10: note: in expansion of macro ‘ASM_VOLATILE_UNARY32_DOUBLE’ 640 | ASM_VOLATILE_UNARY32_DOUBLE(round.w.d) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ priv/guest_mips_helpers.c:482:4: error: the register ‘$f20’ cannot be clobbered in ‘asm’ for the current target 482 | __asm__ volatile(".set push" "\n\t" \ | ^~~~~~~ priv/guest_mips_helpers.c:643:10: note: in expansion of macro ‘ASM_VOLATILE_UNARY32’ 643 | ASM_VOLATILE_UNARY32(floor.

B00000000000000: not found# Retry 0: Got TIMEOUT

Questionsz -vv -b helloworld.ko > /dev/ttyUSB0 < /dev/ttyUSB0 B00000000000000-/bin/sh: B00000000000000: not found# Retry 0: Got TIMEOUT B00000000000000-/bin/sh: B00000000000000: not found# Retry 0: Got TIMEOUT Transfer incomplete AnswerAdd LRZSZ package to defconfig + BR2_PACKAGE_LRZSZ=y

error: invalid use of undefined type ‘struct rchan_buf’

Questionstap -g -a mips -p4 -B CROSS_COMPILE=mipsel-linux- \ -m hello -e 'probe begin {print("hello! \n") exit()}' In file included from ./arch/mips/include/asm/bug.h:4, from include/linux/bug.h:4, from include/linux/mmdebug.h:4, from include/linux/gfp.h:4, from /usr/local/share/systemtap/runtime/linux/runtime_defines.h:20, from /usr/local/share/systemtap/runtime/runtime_defines.h:8, from /tmp/stapaU6vwh/hello_src.c:12: /usr/local/share/systemtap/runtime/transport/relay_v2.c: In function ‘__stp_relay_switch_subbuf’: /usr/local/share/systemtap/runtime/transport/relay_v2.c:69:34: error: invalid use of undefined type ‘struct rchan_buf’ 69 | if (unlikely(length > buf->chan->subbuf_size)) | ^~ include/linux/compiler.h:166:45: note: in definition of macro ‘unlikely’ 166 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from /usr/local/share/systemtap/runtime/transport/transport.

error: this statement may fall through [-Werror=implicit-fallthrough=]

Question CC mips_retval.o mips_retval.c: In function ‘mips_return_value_location’: mips_retval.c:249:10: error: this statement may fall through [-Werror=implicit-fallthrough=] 249 | if (! dwarf_hasattr_integrate (typedie, DW_AT_byte_size)) | ^ mips_retval.c:257:5: note: here 257 | case DW_TAG_base_type: | ^~~~ mips_retval.c:261:7: error: this statement may fall through [-Werror=implicit-fallthrough=] 261 | { | ^ mips_retval.c:304:5: note: here 304 | case DW_TAG_structure_type: | ^~~~ cc1: all warnings being treated as errors Answer- /* Fall through. */ + [[fallthrough]];
0%