Tag Info

Hot answers tagged

3

The Linux kernel source hasn't had the CONFIG_IP_FORWARDING option since the 2.0.x kernel series. As far as I know, there is no compile time option anymore to enable IP forwarding by default for the built kernel. Since the 2.1.x series, the correct way to enable IP forwarding for IPv4 has been with the net.ipv4.ip_forward sysctl option. Add the following ...


3

There are three kinds of things that can be called kernel parameters. Core kernel parameters are options passed on the kernel command line. They can only be passed at boot time. They are documented in kernel-parameters.txt (this file also lists module parameters; core kernel parameters are the ones without a .). Some of these parameters only matter at boot ...


3

The main resources to understand how the Linux kernel works are: The documentation. Linux Weekly News articles. The source. This is a complex beast which is a little easier to apprehend through LXR, the Linux cross-reference. The LXR variant running on lxr.linux.no is nicer than others, but it's often down. In this case, I can't find anything centrally ...


3

I'm not a beagle board user, so the first thing you want to do is make sure you have an appropriate kernel source. The vanilla source does support various Cortex-A8 (ARMv7) chips, including "OMAP3 BeagleBoard", but I can't say for sure whether that is good enough without further patches. The 3.x kernel should be backward compatible with a 2.6 oriented ...


2

The linux-headers package is only needed when you want to compile sources, kernels or build other packages. Package description from debian: This package provides the architecture-specific kernel header files for Linux kernel 2.6.32-5-686, generally used for building out-of-tree kernel modules. These files are going to be installed into ...


2

Troubleshooting performance issues on Linux is not simple and I won't cover all possibilities. However most issues falls into 3 categories usually : high CPU usage, high memory usage or I/O usage . NOTE: they are all inter-connected. First type : top -b -n 1 | head -15 This will give you the following output : top - 15:32:09 up 19 days, 2:32, 2 users, ...


2

Whenever you run make menuconfig, make xconfig, make XXX_defconfig, make oldconfig, make localmodconfig or any of the other make XXXconfig targets in the Linux kernel source tree, this creates (if successful) a file called .config. This file is used during the compilation of the kernel and is not erased unless you erase it manually or run make mrproper. ...


2

You need to make an uImage with your new kernel: make uimage and copy it to e.g. /boot/uImage-3.0.7. Then you can: either make uImage point to it: cd /boot; ln -sf uImage-3.0.7 uImage, or copy: cd /boot; cp uImage-3.0.7 uImage. Could you post the output of ls -l /boot? Alternatively, you can adjust the U-boot script to load the new uImage-3.0.7. I ...


1

HAVE_PWM (as all HAVE_* config parameters) isn't a parameter you are supposed to change. As the name suggests, it just tells something about the platform you're compiling the kernel for and is enabled by the platform you have selected (e.g. if you select "NXP LPC32XX" [CONFIG_ARCH_LPC32XX] it gets enabled since this platform supports PWM). If you selected ...


1

The compiler has to target your ARM-based system. It doesn't have to be a cross-compiler — you could be running the compiler on the same or another ARM platform. The name of the cross-compiler is somewhat variable, so the instructions can't cater for all the names that people have used out there. For the intended audience of this document, this is a ...


1

Apparently there were missing pieces that the driver depended on, that were not auto-selected by the menuconfig. In my case I was missing: pps_core and ptp I found these by booting a working install with the modules folder renamed. This caused the kernel to not find any loadable modules. Then I tried to insmod the e1000e.ko. This indicated that there ...


1

I found the following bug on the Kernel's bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=61521 I ended up taking the kernel configuration from the Gentoo LiveCD and basing a new Kernel config off of that. I still got the stack trace, but I could now see a VFS error at the top. It was trying to detect /dev/sda4 as a UDF-fs partition. I ended up ...


1

Simply updating the strongSwan configuration files has no effect on the running keying daemon or established IPsec tunnels. You have to either restart the daemon with ipsec restart (which terminates all existing IKE and IPsec Security Associations), or make it aware of the updated configuration with ipsec update. Since the latter has no effect on existing ...


1

This is only a partial answer and I for sure invite other answer, which might be more exhaustive and clear. The content of this answer is taken from the 3.13 linux kernel's kernel/reboot.c file (which might be not the first guess as the name is not shutdown.c but reboot.c) Anyways in there we have basically three functions that sketch the process of ...


1

You can apply your current .config to a newer version of the kernel; they're tagged, and the make system will update it appropriately without changing what you have -- that's not a guarantee, of course; there may be some kind of incompatibility that requires a change. I can't recall noticing anything like this, however, but I usually go in short steps. You ...


1

yes yes depends depends The "default" entries are, well, the default. When an interface comes up, it inherits the parameters from there. The "all" entries are there to assign a parameter to all interfaces at once. That does not mean that every interface is locked to that parameter. For instance, consider echo 0 > ...



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