Re: [android-kernel] register_netdev -> kernel panic

2010-06-01 Thread sanjeev sharma
By Seeing Log cat messaged problem is in "driver_probe_device" function. Regards sanjeev On Tue, Jun 1, 2010 at 9:13 PM, chris wrote: > Hi, > > I'm having some problems registering a network device on Android. The > code works well on linux but on Android I'm getting a kernel panic > when I ex

Re: [android-kernel] install a kernel image

2010-06-01 Thread sanjeev sharma
It means it not writing into Nand Memory... Sanjeev On Tue, Jun 1, 2010 at 6:55 PM, Idoia Olalde wrote: > Hi, > > I need to use a specific image of the kernel, so I use "fastboot boot > zImage" to install it on the phone, but everytime I turn off the > phone, I lose it and I have to install it

[android-kernel] register_netdev -> kernel panic

2010-06-01 Thread chris
Hi, I'm having some problems registering a network device on Android. The code works well on linux but on Android I'm getting a kernel panic when I execute 'result = register_netdev(Adapter->dev);' (code and error below). Any guidance on what might be wrong greatly appreciated. Chris int regis

[android-kernel] Socket set send buffer size not working

2010-06-01 Thread santosh
Hi all, I am trying to change the send buffer size through setsockopt and it doesn't seem to be working. The server socket is in the framework layer and the client socket writes data from the linux user space. My understanding is that if an attempt is made to write, say 1000 bytes when the buffer

[android-kernel] install a kernel image

2010-06-01 Thread Idoia Olalde
Hi, I need to use a specific image of the kernel, so I use "fastboot boot zImage" to install it on the phone, but everytime I turn off the phone, I lose it and I have to install it again. Is any way to not reinstall the kernel every time the phone is rebooted? Thanks, -- unsubscribe: android-ke

[android-kernel] Re: how to enable logging (logcat) by default, during android boot

2010-06-01 Thread dofm...@gmail.com
On 4월26일, 오후11시58분, Deva R wrote: > (update on this thread) > > Thanks for Tony L for the suggestion.. > it can be launched via init.rc as below.. > > service logcat /system/bin/logcat -f /dev/kmsg >oneshot > Is there other solution? This has print overhead, so if music plays, music is br

[android-kernel] Question regarding the power management

2010-06-01 Thread Raj Kumar
Hi all, I have question regarding power management in kernel. What APIs are available in linux kernel for power management are available for device drivers? e.g. Driver is interested in knowing the system power startes. Which APIs the driver should register for which it will get notifications of p