Tag Info

Hot answers tagged

3

Your question is stated in a rather chaotic way, but this is what I understand: You're talking about enabling your wireless network adapter using a command that requires root privileges (hence run using sudo). The command you're executing actually removes a module (see man modprobe under the -r option). It was probably suggested that you remove the ...


3

If you want to know the driver for your internal USB : lspci| grep USB This will list you the USB devices like : 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1d.0 USB ...


3

I believe it actually does prioritize interactive-programs -- but perhaps not enough. Programs looses priority the longer they run, and non-interactive programs looses it quicker than interactive ones. You really shouldn't operate at close to 100% CPU-usage, if you do, perhaps you should review some things... There are two things that impact the priority ...


3

The /sys (sysfs) filesystem is somewhat special; many operations are not possible, for example creating or removing a file. Changing the permissions and ownership of a file or setting an ACL is permitted; that allows the system administrator to allow certain users or groups to access certain kernel entry points. There is no special case that restricts a ...


2

It simply declares a firmware file that may be required by the module. See its definition in module.h; the firmware is loaded by request_firmware(). The information provided via MODULE_FIRMWARE appears in the module information, as shown for example by modinfo.


2

Yes. If you echo a string that starts with a | character to /proc/sys/kernel/core_pattern, it will get executed and receive the core dump as input. More information is available in man 5 core.


2

This is not a direct answer to your question - I think @BasileStarynkevitch is right that in general, this is not something you can easily/reliably do, though in theory at least, if your code is abstract enough (doesn't really on any kernel dependencies) then I suppose you could link it to a stub userspace process and test that way. Having said that the ...


2

You cannot easily do that (calling kernel functions directly from user space). You could make some kernel module -providing some device- which, thru the interface of the device (i.e. read,write,ioctl on that device) is calling your kernel functions. You might patch the kernel (but I don't recommend doing that) to add a new syscall calling your kernel ...


2

ATA errors like this are caused by faulty hardware for sure. You can use "smartctl -a " to check for Reallocated sectors or for errors in the device journal. You can also check the attribute UDMA_CRC_Error_count to check for faulty cable or adapter. If the ata device is part of a RAID, I would check it by itself by removing it from the RAID and using ...


2

This is related to your laptop's battery poor performance. This you can be more clear with checking ACPI(Advanced Configuration and Power Interface) modules. When my kernel was updated, I restarted my system and started the new kernel---however it failed to load and the same error messages were sent to the terminal. Then, again I reverted back to my old ...


2

Source packages are not added to the rpm database, so they will not show on query. Probable location is ~/rpmbuild/{SOURCES,SPECS} with SOURCES containing the package sources and distribution patches while the SPECS subdirectory containing the .spec file being used to build the package (see rpmbuild (8) man page for details). If you can't find the sources ...


1

GNU parallel is very probably an ordinary application built on standard Linux syscalls. So the particular version of the kernel does not matter much. It should run with an old kernel (e.g. a 3.1) or with a new one (e.g. a 4.1) Parallels desktop is a virtualization package for MacOSX. Since it is using hypervisor technology (hence emulating some PC hardware) ...


1

"make modules_install install" tries to build initrd image on /boot partition, which has 162 megabytes free, which is simply not enough. If you want to compile kernel yourself on Ubuntu, you need to prepare at least 1GB free space on /boot partition.


1

There are two ways to pass arguments to kernel: 1. Compile them inside. 2. Use bootloader So first check if your arguments are not compiled into kernel. Second setenv command you've found in not a bash command but boot loader command. It depends on how particular device made, but usually there is a partition in some internal storage (flash memory of your ...


1

You can use a uEnv.txt file in your boot partition to specify arguments for the boot. This is an example for Xilinx zynq-7000 devices from the yocto meta-zybo layer: kernel_image=uImage devicetree_image=zybo-zynq7.dtb bootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait earlyprintk uenvcmd=echo Copying Linux from SD to RAM... && fatload ...


1

Seems you need to (cross) compile a new kernel.


1

The correct package to install all of the required dependencies for building kernel modules is kernel-devel (see the CentOS documentation for more information). The headers are not installed in /usr/src/kernels, rather they're installed in a number of directories below /usr/include (the default location for C header files). You can list the contents of the ...


1

use a live-cd (ubuntu/fedora) and acess your Linux partitions, copy the files/data from there to your windows partitions. First priority is to save the Data. copy to an external disk/usb pendrive, then Later fix the grub issue with grub restore/rescue process.


1

I guess you mean Solaris 11.2 as Solaris 12 is not yet released, possibly next year (2016) according to a roadmap. /usr/bin/kstat is a Perl script in Solaris 11.2 so while still proprietary code, you can certainly read its source code. An alternative, C based open source version of the kstat command is available here ...


1

ad 1. and 2. The kernel image is called vmlinux, that's right, but that's not what you actually need when you want to build external modules. It's the configuration and header files from this kernel that is needed. ad 3. To build modules, internal or external, you need support for loadable modules in this kernel, you want to build the module for, of course, ...


1

The /dev/kmsg represeted by the kmsg_fops structure which has file_operations type that represents standard operations with a file: const struct file_operations kmsg_fops = { .open = devkmsg_open, .read = devkmsg_read, .write_iter = devkmsg_write, .llseek = devkmsg_llseek, .poll = devkmsg_poll, .release = devkmsg_release, }; You ...


1

ps -eL|wc -l gives total number of lwp/thread count at any point of time


1

My bad, I did compile kernel and the driver but not actually installed it. The solution is: gentoo~ # cd /usr/src/linux gentoo linux # make modules_install gentoo linux # cp arch/x86/boot/bzImage /boot/kernel-genkernel-x86_64-4.0.5-gentoo gentoo linux # reboot


1

vmlinux: A non-compressed and non-bootable Linux kernel file format, just an intermediate step to producing vmlinuz. vmlinuz: A compressed and bootable Linux kernel file. It is actually zImage or bzImage file. zImage: For old kernels, just fit 640k ram size. bzImage: Big zImage, no 640k ram size limit, can much larger. Please refer this ...



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