Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged

0

This error comes if you haven't rebooted after installation, so that should be it. #shutdown -r now OR #reboot then as root or sudo rum: #vboxconfig Also be sure you have the development-tools installed: #sudo apt update #sudo apt install build-essential


-1

FreeBSD is likely the most directly-derived modern UNIX-based OS. In June of 2017, Diomidis Spinellis of the Athens University of Economics and Business published a research paper which documents the evolution of the Bell Labs UNIX codebase from its early beginnings through to the modern-day FreeBSD 12. Using a variety of sources and methods, he ...


0

You either install the complete kernel source (with the headers), or you install a package from your distro that only contains the kernel headers. Then you can access them in any way you want, on the file system, as files.


0

Stopping systemd-logind fixed it for me: sudo systemctl stop systemd-logind This is suggested as a workaround in this github issue on the nvidia-xrun github page: Good news guys, systemd-logind is the culprit here. The current workaround is to run the following command after logging out from the "nvidia-xrun" session sudo systemctl stop systemd-...


0

CUDA Installation 1) Download the latest CUDA Toolkit 2) Switch to tty3 by pressing Ctl+Alt+F3 3) Unload nvidia-drm before proceeding. 3a) Isolate multi-user.target sudo systemctl isolate multi-user.target 3b) Note that nvidia-drm is currently in use. lsmod | grep nvidia.drm 3c) Unload nvidia-drm sudo modprobe -r nvidia-drm 4d) Note that nvidia-drm ...


0

Dontaudit is an avc rule: https://selinuxproject.org/page/AVCRules#dontaudit Disabling this rule is like disabling neverallow, allow, or auditallow rules: it involves re-writing the selinux policy. To do so you have to modify the .te files concerning your app's SEcontext in 2 directories in your aosp source: system/sepolicy/private/ system/sepolicy/public/ ...


0

In my case, I boot a VMWare Fusion virtual machine with Gentoo. I had to set CONFIG_FUSION_SPI=Y.


0

to correct the "invalid signature" issue; disable secure boot or, add your own key to your bios or, use kexec. https://blog.ubuntu.com/2017/08/11/how-to-sign-things-for-secure-boot


0

what worked for me was to change system to start in text more systemctl set-default runlevel3.target then restart and install nvidia cuda driver once finished you may want to change system to start in graphics mode again systemctl set-default runlevel5.target


4

echo writes its output to its stdout. That's its file descriptor 1. With echo -e '\a', depending on the echo implementation, that will either write a BEL character (0x7 byte value in ASCII) followed by LF (aka newline) or -e \a followed by LF or -e  followed by BEL and LF. To write a BEL character only, you'd rather write printf '\a'. That doesn't ...


-2

After following everyones suggestions I found one thing on my end that helped fix this. I had to enable the [elrepo-kernel] repo. Then I was able to install the correct headers and kernel-devel


0

Alternative # Using a named pipeline # Step 1. qemu configuration $ qemu-system-x86_64 \ -some options like above \ -serial pipe:/tmp/guest # Step 2. To get a log $ mkfifo /tmp/guest.in /tmp/guest.out $ cat /tmp/guest.out $ printf "id\n" > /tmp/guest.in $ printf "pw\n" > /tmp/guest.in $ printf "cmd\n" > /tmp/guest.in Link


0

Recompiling the kernel with CONFIG_SUSPEND=n and CONFIG_HIBERNATION=y ought to prevent suspend but still allow hibernate. Suspend only happens at userspace's request AFAIK, so you ought to be able to disable it that way as well. Also, I'm not sure how the drives work exactly, but I'd also be worried that resets might cause them to lose the key. If so, ...


1

The default value for shmmax is #define SHMMAX (ULONG_MAX - (1UL << 24)) This is an upper bound, chosen to be as large as possible while limiting the risk of overflow: SHMMNI, SHMMAX and SHMALL are default upper limits which can be modified by sysctl. The SHMMAX and SHMALL values have been chosen to be as large possible without facilitating ...


0

This is a super nasty hack, but here's what I did to get the version I needed of GCC (8.3.1 in this case). I am on Fedora 30 which has 9.x right now. I'm sure this is not the right way, but I didn't know of a better way to grab the right version of GCC. Used Docker to start a new container for Fedora 29: docker run --rm -it fedora:29 bash Installed the ...


0

The kernel has a tool (./scripts/config) to change specific options on .config. Here is an example: ./scripts/config --set-val CONFIG_OPTION y ./scripts/config --set-val CONFIG_OPTION1 n ./scripts/config --set-str CONFIG_OPTION3 64 ./scripts/config --set-str CONFIG_OPTION4 /path/


0

It seems like nobody knows anymore. There has been a 64-byte gap at the end of the irq stack for at least 12 years. It predates git history, and I can't find any good reason for it. Remove it. What's the worst that could happen? http://git.kernel.org/linus/4950d6d48a0c43cc61d0bbb76fb10e0214b79c66


1

SMART was originally an extension of ATA. It seems most tools now still only support (S)ATA because of that. Comparison of S.M.A.R.T. tools. As for model detection, I'm guessing the problem comes from the same direction. Probably lspci still prints the correct device type. For instance on my system: $ sudo lspci -kv ... 04:00.0 Non-Volatile memory ...


0

As per Samsung's Drive Support FAQ: BIOS may fail to support the SSD if it is outdated. Please update the BIOS to the latest version. When there is a problem with the port, BIOS may fail to detect the SSD. Connect the SSD in a different M.2 slot if you have one, and try again. Samsung also has a Facebook page for their SSDs, and you may get a quick ...


0

mov [register] and similar are not system calls, but assembler instructions. System calls are basically a user-space program calling specific sub-routines in the kernel, using a mechanism built into the processor and set up by the kernel, that allows the called sub-routine to have a higher privilege level than regular user-space program code. Assembler ...


1

If you need to disable all USB storage devices, these boot options might work for distributions that are using dracut their initramfs generator: rd.driver.blacklist=usb-storage,uas And this for distributions using Debian's initramfs-tools respectively: blacklist=usb-storage,uas


0

It was long time ago Identifying the USB ids was a bit difficult, but I manage to by viewing the boot messages and also with find /sys -ls piped to some grep filter. In the same time I found a remote help to remove that key so I couldn't test that solution. In any case this may perhaps helps you to disable an usb device at boot: Try usb-storage.quirks=...


Top 50 recent answers are included