[android-kernel] Re: RFC: a new binder driver implementation

2012-02-06 Thread rong
Thanks for the encouraging. It's indeed quite hard to get a big picture on how it works as there are layers of encapsulation on it, and no really up-to-date documents can you refer to. If you have any questions on the existing binder driver, you could try me, not guaranteed to answer but certainly

[android-kernel] Re: RFC: a new binder driver implementation

2012-02-06 Thread rong
> From a security pov, is it possible to guess binder reference numbers of > binder nodes, thus by-passing the service manager to initiate IPC > 'directly' from one application to another? Is that possible in the > traditional Binder implementation? If yes, did you regard this in your > project?

Re: [android-kernel] Kernel compilation error

2012-02-06 Thread Jeremy Morales
What version of of gcc are you using? On Sun, Feb 5, 2012 at 11:09 PM, Amit kumar Bag wrote: > Hi All, > > I am tring to build android gingerbread kernel for snowball board. I > followed the below step to compile. > 1.make menuconfig for enabling the module in the kernel. > 2. export CROSS_COMPI

[android-kernel] Rebuild x86 goldfish kernel.

2012-02-06 Thread Stepan
Hi, I’m trying to build x86 goldfish kernel. I followed instructions from $ANDROID/external/qemu/docs/ANDROID- KERNEL.TXT and also there is a similar thread [1] which has useful instructions. But I see compile error: init/main.c:267: error: impossible constraint in 'asm' This error message is th

[android-kernel] Getting the Kernel

2012-02-06 Thread Pinas
Hello, well before starting with any kernel related work I need the kernel source but i have no idea how to get it. I use this howto http://source.android.com/source/downloading.html ("Getting Kernels" part) but whenever I execute the command the only thing I get after an apparently successful do

[android-kernel] Kernel compilation error

2012-02-06 Thread Amit kumar Bag
Hi All, I am tring to build android gingerbread kernel for snowball board. I followed the below step to compile. 1.make menuconfig for enabling the module in the kernel. 2. export CROSS_COMPILE=android-toolchain-eabi/bin (path of the binary located in my machine) 3.. make But I got one error aft

[android-kernel] Re: RFC: a new binder driver implementation

2012-02-06 Thread dh
Hi, sounds like a great piece of work. I'm not into the details of that low-level kernel stuff, but there's one question that sticks around in my mind: >From a security pov, is it possible to guess binder reference numbers of binder nodes, thus by-passing the service manager to initiate IPC '

[android-kernel] Re: Kernel Touchscreen Module

2012-02-06 Thread Kenny
Chuck, Sorry this is a little late, you may already have the answer. I think the touchscreen in this monitor is supported by the hid-quanta driver. This driver is usually disabled by default in the android kernel. I have used the hid-quanta driver with a HP L2105tm monitor, but it must be compi

[android-kernel] Galaxy Nexus UART for kernel development

2012-02-06 Thread Balban
Hi, Is it possible to get UART output during bootloader and kernel boot on the galaxy nexus? We need this for debugging custom kernels using printk. Regards, Bahadir -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

Re: [android-kernel] Getting USB Bluetooth dongle to work

2012-02-06 Thread Danny
In linux source: \drivers\bluetooth\ath3k.c there is a function like: static int ath3k_probe(struct usb_interface *intf, const struct usb_device_id *id) because you error code is 5, which is EIO, I think something went wrong here: if (request_firmware(&firmware, "ath3k-1.fw", &udev->dev) < 0)

[android-kernel] Re: RFC: a new binder driver implementation

2012-02-06 Thread Suryandaru Triandana
Very interesting, I have deadlock problem with current binder implementation on mainline kernel (3.3-rc1), I look into the codes and it quite messy. Trying to find alternative implementation and found yours, its so exciting that someone finally working on it. Hopefull it can become full binder

[android-kernel] Rebuild x86 goldfish kernel.

2012-02-06 Thread Esteban
Hi, I’m trying to build x86 goldfish kernel. I followed instructions from $ANDROID/external/qemu/docs/ANDROID- KERNEL.TXT and also there is a similar thread [1] which has useful instructions. But I see compile error: init/main.c:267: error: impossible constraint in 'asm' This error message is th

[android-kernel] Using ftrace in the goldfish kernel

2012-02-06 Thread James Snee
Hi, I want to use ftrace's function tracer to monitor the kernel while I perform various experiments. I decided to start with the emulator and work towards using a physical device. My problem is, everytime I enable the function tracer, everything hangs, without output. I am using the latest goldf

Re: [android-kernel] Compiling kernel modules for android

2012-02-06 Thread Gagan Chawla
Hello Johnson, Your file name is "hello.c" for compiling that, You should write obj-m := hello.o in Makefile. in your case, you have used "mymod.o" so it is trying to search "mymod.c" file in PWD but there is no such file thats why it throws the error. Also, I doubt on KERNEL_DIR path. It sh

Re: [android-kernel] Re: rcu_barrier stall

2012-02-06 Thread Robert Beckett
On 04/02/12 04:55, rong wrote: It looks to me that something either needs to wake up the idle cpu when an rcu callback is scheduled on it (I couldnt figure out how to do that), or it should not be scheduled on a completely idle cpu as this cpu is already in a quiescent state. While there are oth

[android-kernel] Re: Identification of appli using binder_thread_read

2012-02-06 Thread andria
Thanks for the answer it works or at least I got more precision than a simple "BinderThread #" On 27 jan, 02:38, rong wrote: > What you really need is to get the thread group leader pid by using > > task_tgid_vnr(current) > > and use that pid in whatever name lookup function you have. If you > st