Tag Info

New answers tagged


While you won't notice any performance improvement (assuming you build your kernel with the modules you actaully require), there is some benefit in removing unneeded modules: first, it can significantly reduce the compile time and secondly, it will reduce the size of the final kernel. Creating a .config with make localmodconfig is a good way to get your ...


The modules are loaded as needed: don't worry, as there's no slowdown.


Just run a simple command in your terminal window: $ sudo apt-get install virtualbox-guest-x11 After completion, reboot your virtual box.


Run sudo update-initramfs -u to get your module in the initial ramdisk for the current kernel. Otherwise it will not load on init.


Use an Upstart job for this: # Ensures that the device is up and filesystem is too start on filesystem and net-device-up IFACE=ib0 stop on runlevel [016] # Ensures that module is loaded pre-start exec modprobe -q knem exec /path/to/exec


I don't know specifically about an init.d file, but a udev rule for running a script upon device-add might look like: ACTION=="add", ATTRS{idVendor}=="VID", ATTRS{idProduct}=="PID", RUN+="/path/to/executable" You should do some digging in udevadm to learn more about the way the device is typically added and its modules loaded. You'll also find the correct ...


To change the NDP DAD timing, use sysctl. The sysctl-key to look at is net.ipv6.neigh.<if>.retrans_time_ms.


Is is as simple as comparing /proc/filesystems with lsmod? No: $ comm -31 <(lsmod | awk 'NR!=1 {print $1}' |sort) \ <(</proc/filesystems awk '{print $NF}' |sort) | fmt anon_inodefs autofs bdev cgroup cpuset debugfs devpts devtmpfs ext2 ext3 fuseblk fusectl hugetlbfs mqueue nfs4 pipefs proc pstore ramfs rootfs rpc_pipefs securityfs ...


lsusb itself can get you good results. For compact output I use lsusb -t, where -t shows the devices as a tree; this format reports the driver as well. Example output: $ lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, ...

Top 50 recent answers are included