Parse error with kprobe event registration - kprobe

I'm testing kprobe events on CentOS 7, kernel version 3.10.0-1160.59.1.el7.x86_64.
[root#linux2 ~]# echo 'p:qwe do_sys_openat2 filename=+0($arg2):string' > /sys/kernel/debug/tracing/kprobe_events
-bash: echo: write error: Invalid argument
[root#linux2 ~]# dmesg
[447101.144698] Parse error at argument[0]. (-22)
Does anyone know what's wrong here?

Related

How do i fix this error while running vagrant?

Received the following message:
dpkg-deb: error: 'vagrant_2.3.4_x86_64.deb' is not a Debian format archive
dpkg: error processing archive vagrant_2.3.4_x86_64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
vagrant_2.3.4_x86_64.deb
While running the following command:
dpkg -i vagrant_$(echo $vagrant_latest_version)_x86_64.deb
I was trying to build a Virtual Machine inside my docker. (https://medium.com/axon-technologies/installing-a-windows-virtual-machine-in-a-linux-docker-container-c78e4c3f9ba1). I cannot get back to the docker since i closed the whole terminal.
How could i download or fix the file missing?

RTL8188FU driver couldn't be installed because of a missing kernel tree module?

I am relatively new to Arch Linux.
So i have been dealing with this issue for quite a long time now. I got this new RTL8188FTV wireless USB network adapter and i have tried installing the drivers for it with Paru AUR helper. The installation seems to fail, as it throws this error at the end :
==> ERROR: Missing 5.15.70-1-lts kernel modules tree for module 8188fu/r112.89d7288.
I can confirm the wireless adapter is functional, since it works on Windows
Package Name: 8188fu-kelebek333-dkms-git
Is there a way to install this "kernel modules tree" so i could finish the installation?
Thanks!
Edit: back with more errors
Building module:
Cleaning build area...
'make' all KVER=6.0.5-arch1-1.............(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.0.5-arch1-1 (x86_64)
Consult /var/lib/dkms/8188fu/r113.f5df53d/build/make.log for more information.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod 8188fu/r113.f5df53d -k 6.0.5-arch1-1
Error! Bad return status for module build on kernel: 6.0.5-arch1-1 (x86_64)
Consult /var/lib/dkms/8188fu/r113.f5df53d/build/make.log for more information.
==> WARNING: `dkms install --no-depmod 8188fu/r113.f5df53d -k 6.0.5-arch1-1' exited 10
==> ERROR: Missing 5.15.75-1-lts kernel modules tree for module 8188fu/r113.f5df53d.
(3/3) Performing snapper post snapshots for the following configurations...
The command
echo 'alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu' | sudo tee /etc/modprobe.d/r8188eu-blacklist.conf
doesn't seem to do much.
Installation still fails.
Your on kernel 5.15 so you have to backlist the rl8188eu driver. You can do that with this command
echo 'alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu' | sudo tee /etc/modprobe.d/r8188eu-blacklist.conf
The code was taken from the same repo the aur package was made from
https://github.com/kelebek333/rtl8188fu

MongooseIM keeps throwing FATAL FIPS SELFTEST FAILURE after server restart

I am testing MongooseIM v.5.0.0 for my project.
I download the deb file for Ubuntu Xenial from this link
And I deployed it under Ubuntu 16.04 Xenial AMD in VM.
I haven't customized its config files and just simply run it. My problem is: after restarting my VM a few times, the MongooseIM doesn't want to start and throws an error like below
root#ubuntu:~# mongooseimctl foreground
Root: /usr/lib/mongooseim
Exec: /usr/lib/mongooseim/erts-12.1/bin/erlexec -noshell -noinput +Bd -boot
/usr/lib/mongooseim/releases/5.0.0/start -embedded -config /etc/mongooseim/app.config -
args_file /etc/mongooseim/vm.args -args_file /etc/mongooseim/vm.dist.args -- foreground
fips.c(139): OpenSSL internal error, assertion failed: FATAL FIPS SELFTEST FAILURE
/usr/bin/mongooseimctl: line 165: 856 Aborted
"$RUNNER_SCRIPT_DIR"/mongooseim foreground
I search for this error, but none seems to answer my problem.
Can anybody help me?

Limit of argument size of a command (for ex: in grep "$some_argument_size" filename)

I'm running a shell script and line# 15 is:
grep "$var1$var2" somefilewithonly10000lines_letsay
and getting an error:
line 15: /bin/grep: Argument list too long
What's the limit for the grep command's pattern? -- which when I reach, gives me the above error message.
THe following will tell the limit. Thanks Cyrus.
$ getconf ARG_MAX
More info: http://www.in-ulm.de/~mascheck/various/argmax/

Xcode Build error, arm-apple-darwin11-gcc-4.2.1 execvp: No such file or directory

After upgrading to Xcode 4.3.2. I'm getting a metric ton of build errors.
A whole line of them are error code 255
gcc-4.2: error trying to exec '/usr/bin/arm-apple-darwin11-gcc-4.2.1': execvp: No such file or directory
Command /usr/bin/gcc-4.2 failed with exit code 255
I noticed that there is no /usr/bin/arm-apple-darwin11-gcc-4.2.1 file on my machine. Could this be the source of the problem?
What's the output of this command?
$ printenv | grep "CC="
It might be honoring your C Compiler (CC) selection. I was getting similar errors (through cocoapods) and doing an
$ export CC=
fixed it for me.

Resources