New answers tagged

1

Total_vm was badly calculated by me and the OOM report is correct. app has allocated 59739 pages which is 233MB. So, this is the correct reason of OOM.


3

ss uses the AF_NETLINK socket layer to talk to the kernel. This is a lower level protocol but allows for data to be transferred very quickly and in large chunks. A quick strace on CentOS 7 shows it sets the transfer window to be 1Mb.


0

To disable and enable your X server input devices xinput has syntactical sugar for both: xinput set-prop ID# "Device Enabled" 0 and xinput set-prop ID# "Device Enabled" 1 which are: xinput disable ID# and xinput enable ID# (where ID# is the number of the input device from xinput like the example below) $ xinput --list ⎡ Virtual core pointer ...


1

fs_usage shows information about file system usage (and related things). Given that, I suspect THROTTLED from fs_usage indicates it is disk access being throttled and not CPU (although THROTTLED is not clearly documented in the man page). OSX reduces I/O throughput of idle applications to give better performance to active ones (see this Ars article) so it's ...


0

I think you are thinking along the wrong lines. Your goal is clear. The way is not to stop the rest of the processes but to give your main processes near real-time sceduling priority. Use nice for your important user-space-processes for that. The more difficult problem is the PCIe interrupt handling, which resides in kernel-space. Since hardware is ...


0

From what I can see from the dmesg it's not setting up the wlan network card at all. Use the command "rfkill list" to see if the card is soft blocked or hard blocked , if it's hard blocked try switching it on from the button otherwise use the command "rfkill unblock wifi".


1

The kernel doesn't log module operations in a centralised manner, each module can log whatever it wants (using printk()). The USB module logs "Initializing USB Mass Storage Driver..." etc.; but the FCoE drivers only log messages when errors occur — if everything loads correctly they're silent. Many modules work this way; the tendency is to minimize the ...


9

eudyptula-boot is quite handy for this; its introductory blog post has more details, but basically it allows you to boot a VM using the kernel you wish to test, and your existing filesystems (using overlayfs). That way you can quickly check a kernel without rebooting, and you still have access to all your files. The only requirement on the kernel being ...


0

Finding: N2600 with 3.16 kernel :(Both with / without Quirk 0x80) Bandwidth per camera was 328 Mb. In my case overall allocated bandwidth was 656 (For 2 cameras) and max bandwidth for USB controller was 800. So there was no space available for my third camera. N2600 with 2.6.32 kernel Same my third camera did not work and memory allocation ...


1

You can check seven line,they show you No memory reserved for crash kernel.It's means you need edit grub file ,give crash kernel some space,usually 128 or 256.


0

When the kernel panics, it means something has gone wrong in the kernel. Writing log files and core dumps requires using the drivers for the block device (your disk) and the filesystem (space has to be allocated, and the size of the log file has to be updated). Given those services that are provided by the kernel are required in order to write files, and ...


0

If local (context implies "on This CPU") interrupts are forbidden, the (local) CPU will never see an interrupt to trigger possible kernel pre-emption.


0

For me, below command sequence has worked as it is desired. I have done modifications in /etc/udev/rules.d/70-persistent-net.rules to change the eth number and to reload them without rebooting. /etc/init.d/networking stop /etc/init.d/udev stop udevadm control --reload-rules /etc/init.d/udev start /etc/init.d/networking start By following this, It was ...


1

Forget about real mode, that's just a detail of the x86 architecture and it's just there for compatibility with 1980's processors. The processor indeed has a flag that indicates the current privilege level. The details of that flag vary between processor types but to keep things simple just think of it as two settings: user and kernel. There are processor ...


1

You only need to have the public key in your keyring: gpg --keyserver subkeys.pgp.net --recv-keys 0x38DBBDC86092693E (use the long identifier!). If it times out, try again — there are multiple servers, and some of them seem to be having issues currently. apt-key etc. aren't involved in this at all. Once you have the key in your keyring, gpg --verify ...


1

I suppose it's true that modern hardware wouldn't mind e.g. a 50MB kernel. You could argue that loading everything as separate modules has not been as important for a while now. However the initial ram system allows bootstrapping of any possible configuration, without needing any special handling in the kernel. Writing kernel code is a Big Deal. The ...


2

There are many reason to have an initramfs, some are below. When you need have a separate /usr,/var as some distros depends on having these directories in / When you want to encrypt / but you like to have /boot on a usb stick since you can't have an encrypted /boot When you don't want to have stuff in kernel builtin but instead as module, that way you only ...


3

The strength comes from all the other things you can do besides loading modules. Basically it gives you a userspace and the possibility of doing all the things you can do from that. An example: I use an initrd to have an encrypted root fs, setting that up requires code that there's no point having in kernel. The "Rationale" section of the Wikipedia page on ...


3

LTS does not mean that there will be no upgrades coming. LTS means that the packages will get minor upgrades to fix bugs and security problems when the 'standard' support for the version has stopped. It gives you the option/possibility to use your server in a safe way without you going to the next version that they support. The next version most often ...


1

Since you have build the Gentoo modules yourself, you most probably forgot to remove debug info from them. Try strip --strip-unneeded snd-ua101.ko and see if it makes a difference. Next time you rebuild modules for your system, strip all modules using make INSTALL_MOD_STRIP=1 modules_install


0

$ sudo grubby --info=ALL | grep -B1 '^kernel=' | grep -B1 `cat /proc/cmdline | awk -v RS=" " '/^BOOT_IMAGE=/ {print substr($0,12)}'`$ | head -n1 index=0 $ Reference: http://superuser.com/questions/462737/where-can-i-find-the-linux-kernel-file http://stackoverflow.com/questions/30524468/how-to-extract-value-of-root-variable-from-kernel-commandline http:...


0

Does cat /boot/grub/grub.conf work? In those days the LILO bootloader was also a common choice to boot a UNIX machine.


0

For example ls /boot/config-* will print you all the installed kernel versions. But there will be a lot more possibilities how to achieve the same. yum info 'kernel*' should do the job too on all the RHEL's


0

My knowledge about Linux Kernel is very limited and and how to tweak it. I kept googling after I posted and stumbled upon another kernel boot parameter nr_cpus here and after I set this to 2 (Number of CPUs) in my VM, I now only see 2 rcuos and rcuoc processes. This is what worked for me. Edit /etc/default/grub and add nr_cpus=2 in the line for ...


2

The reason is, that the kernel is loaded from flash BEFORE the filesystem gets mounted. You need to connect to the serial port (with USB-SERIAL-CABLE-F) reboot the board and watch the serial output. interrupt the bootloader load a different kernel image into ram (via tftp or similar) transfer the kernel image to flash (do not overwrite the old kernel) ...


1

The iwl3945 driver is for Intel wifi devices. The Netgear WG111v3 doesn't use that driver. The Thinkpad x60s are shipped with Intel Wifi, so maybe it's a boot time hardware conflict, or the drivers need tweaking. The x60s is supposed to have a switch to turn off wifi. Before booting turn off that switch, then try booting. If that fails, (with the ...


0

There is some information about this in the gentoo wiki: https://wiki.gentoo.org/wiki/Custom_Initramfs#Salvaging It recommends the usage of binwalk which works exceedingly well. I'll give a quick walk-through with an example: first extract the bzImage file with binwalk: > binwalk --extract bzImage DECIMAL HEXADECIMAL DESCRIPTION -------------...


0

QEMU emulates synthetic machines which are not strict copies of their real counterparts. If Linux kernel dislikes something about that, it's possible that it will crash early or just hang because it is not aware of sudden changes in expected architecture. You can try to aid the problem with early printk kernel mechanism and trying to redirect console to ...


1

Ended up updating to the F24 beta, as it's being frozen anyways. This fixed the problem, and I'm now running on the 4.7 kernel.


0

I'd try dnf reinstall kernel or (better) dnf reinstall kernel-4.4.9-300 since it's possible that dnf has status saying that the given set of files is complete.


2

How and when will the firmware files arrive to Debian? They'll arrive in the same way as usual, via a firmware-nonfree update; since linux-firmware now includes the Atheros update, the new files should be included. As to when, only the maintainer knows that; you should really file a bug so that he's aware that an update could be useful: reportbug firmware-...


1

You might get somewhere browsing the torvalds git tree, eg for the file time/hrtimer.c. Click on blame and for each line number you see the last patch applied. You can also browse the history for older patches.



Top 50 recent answers are included