Tag Info

Hot answers tagged

21

It sounds like you've got a decent grasp on what happened. Yes, because you hard-powered-off the system before your changes were committed to disk, they were there when you booted back up. The system caches all writes before flushing them out to disk. There are several options which control this behavior, all located at /proc/sys/vm/dirty_* [kernel doc]. ...


7

Because those programs are build to use things defined in the kernel headers: busybox-1.22.1]$ egrep -RHn '^#include <linux' modutils/modutils-24.c:194:#include <linux/elf-em.h> include/fix_u32.h:17:#include <linux/types.h> libbb/loop.c:11:#include <linux/version.h> console-tools/openvt.c:23:#include <linux/vt.h> ...


5

You can change that with setterm -blank X (X is the number of minutes). From man setterm: -blank [0-60|force|poke] (virtual consoles only) Sets the interval of inactivity, in minutes, after which the screen will be automatically blanked (using APM if available). Without an argument, gets the blank status (returns which vt ...


4

linux-image-amd64 is a generic metapackage, which depends on the specific default kernel package. In your particular case, linux-image-amd64 probably depends on linux-image-3.16-2-amd64. In general is suffices to install the generic metapackage. You could alternatively install the specific linux-image-3.16-2-amd64 package, but in general it is better style ...


4

According to the documentation, parameters for modules which are built into the kernel need to be specified on the kernel command line with a module name prefix. In this case add snd_hda_intel.enable=0,1 to your kernel boot line. You can check the value of the param with: cat /sys/module/snd_hda_intel/parameters/enable Some parameters can be set by ...


3

You should get the source code for the kernel, patch that and recompile. Changing a compiled binary is extremely difficult to do by hand and errors are easy to make.


2

getting the kernel source Clone the stable kernel tree: git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Change into it: cd linux-stable Checkout a tag where the bug is fixed: git checkout v3.15 You know the file you're after drivers/leds/led-core.c and where the bug is fixed (3.15) and broken (3.12) so there are a few ...


1

If you use the same compilation options as Ubuntu, and you also install the corresponding modules, and you regenerate the initramfs, this will work. Get Ubuntu's configuration file, put it in the kernel compilation directory, and run make oldconfig. It would be less error-prone to Ubuntu's own compilation process. Get the kernel source package, substitute ...


1

Most programs and scripts I've seen parse the usual files in /etc, AFAIK there's no other way: On Redhat, look for /etc/redhat-release On Debian, look for /etc/debian_version Mandriva has /etc/version and Slackware has /etc/slackware-version You could also use uname to get the ARCH or, probably the most sane way, use lsb_release.


1

P states on x86 processors are levels of voltage scaling. When a processor runs at higher voltage, it can run faster, but it also uses more energy and heats more. The P state numbering is standardized: 0 to 15, from fastest to slowest. It is up to the kernel to decide when to switch between P states. The kernel will switch to a lower-numbered (faster, ...


1

As mentioned in the comments, you should be using the Iproute2 utility ip, and not ifconfig. ifconfig has been deprecated in Linux for several years now, and is missing a lot of functionality. The specific bit of functionality affecting your case is the ability to add multiple IP addresses to a single interface (without creating interface aliases). The ...


1

CONFIG_EFI_MIXED might be what you need.


1

From: https://www.kernel.org/doc/Documentation/filesystems/ext4.txt commit=nrsec (*) Ext4 can be told to sync all its data and metadata every 'nrsec' seconds. The default value is 5 seconds. This means that if you lose your power, you will lose as much as the latest 5 seconds of work (your ...


1

I have the same question, but I'm using Ubuntu Trusty 14.04. It worked doing apt-get install qemu-utils



Only top voted, non community-wiki answers of a minimum length are eligible