[android-kernel] Re: Android CFS Scheduling

2010-12-07 Thread Brad Davis
Yes and no. If all the processes were active and runnable (not blocked waiting for something else to happen) then yes, you would be sharing the CPU with all of them. However, most of them are blocked for one reason or another (disk read, message, signal, UI interaction, another process, ...). On

[android-kernel] Re: Enabling NETFILTER and iptables command

2010-10-19 Thread Brad Davis
dule for Linux Kernel, but in > Android is a little more complex. > I have downloaded iptables source from android kernel source, but how > can i compile it? > I have to create only a Makefile?And I have to compile with static > mode? > Where I have to put my userspace program

[android-kernel] Re: Enabling NETFILTER and iptables command

2010-10-19 Thread Brad Davis
gt; can i compile it? > > > I have to create only a Makefile?And I have to compile with static > > > mode? > > > Where I have to put my userspace program iptables? > > > > On Oct 16, 5:02 am, Brad Davis wrote: > > > > In the kernel you need to en

[android-kernel] Re: Enabling NETFILTER and iptables command

2010-10-15 Thread Brad Davis
> have recompiled the kernel, with, command make menuconfig, adding > > general setup->"kernel-> user space relay support (formerly relayfs) " > > What I have to modify to enable iptables? > > On 13 Ott, 18:49, Brad Davis wrote: > > > Android is (simply

[android-kernel] Re: Build kernel for Nexus one with ipsec stack and upload it to device

2010-10-13 Thread Brad Davis
Sorry I don't have the exact web sites handy but you need to root your N1 and then it is "easy" (http://www.cyanogenmod.com has pointers). On Oct 13, 1:22 am, yan wrote: > Hi. > To build the kernel for nexus one, i can do : > 1- get source from git > git clone git://android.git.kernel.org/kernel/

[android-kernel] Re: Enabling NETFILTER and iptables command

2010-10-13 Thread Brad Davis
Android is (simply) a Linux kernel, some (not all) modified BSD userspace, and the Android Java system. If you want Linux userspace you will need to add Linux userspace programs to your build. On Oct 12, 11:17 am, cox85 wrote: > I want to create a netfilter kernel module and I am new in android

[android-kernel] Re: running android filesystem on normal linux

2010-10-11 Thread Brad Davis
If I read your question right there is no way to run Android on a standard Linux kernel. Android requires functionality from the kernel that the standard Linux kernels don't provide. You can (if you know about kernel work) take the Android changes and apply them to a standard kernel (or you can a

[android-kernel] Re: What is meant by "init: untracked pid 2194 exited"? init.rc does not work?

2010-09-22 Thread Brad Davis
Just a few more notes. If you don't use the "oneshot", you don't need the fork() (init restarts the service if it fails). This is not how Unix/Linux services are written (one of the differences between Android and Linux). The reason you don't normally want to use "oneshot" is because Android can

[android-kernel] Re: Kernel panic - not syncing: Attempted to kill init!

2010-08-25 Thread Brad Davis
On Aug 24, 2:58 am, anddev wrote: > Hi All, > I have downloaded kernel/common.git from android git server and > linux-2.6.35 branch, I am trying to port this kernel with froyo on my > hardware. > i the kernel i have only ported serial (UART) driver along with MTD > driver (which is onenand devic