RTSP cache/buffer

by Chirag » Fri, 23 Apr 2010 08:05:15 GMT


Sponsored Links
 Hi All,

I am trying do rtsp video streaming on my android device using media
player. works fine for both, h263 and h264. the only issue is, I am
getting around 3 to 4 second delay. I want to reduce it to less then a
second.

I have checked till depth, I cant find buffer or cache settings
anywhere. Is it default for media player? Is there any way I can
change it?

Is there any other option to play remote video without delay??????

If this limitation is from Opencore it self, there is no way android
can have by-directional video calling with its native libs.


Thanks,

Chirag

--



Other Threads

1. Problem of using switch_class for headset detection

Dear all,

I'm using switch_class driver for me to implement headset detection.
Below are my codes (roughly):
-------------------------------------------------------
enum {
        NO_DEVICE       = 0,
        HEADSET = 1,
};

struct hs_res {
        struct switch_dev sdev;

        unsigned int det;
        unsigned int irq;
};
static struct hs_res *hr;

In probe function:

xxx_probe()
{
        int ret;
        hr->sdev.name = "hs";
        hr->sdev.print_name = hs_print_name;

        ret = switch_dev_register(&hr->sdev);
}

In IRQ for dealing with detection gpio

hs_det_irq()
{
        state = gpio_get_value(hr->det);
        if (state)
                switch_set_state(&hr->sdev, NO_DEVICE);
        else
                switch_set_state(&hr->sdev, HEADSET);
}

This switch_set_state(&hr->sdev, HEADSET) action can be done while the
headset is inserted
first before power on the device.

I can set the state to 1 by switch_set_state(&hr->sdev, HEADSET), and
the audio path can be switched to my headset (music came from my
headset)

Howevere, if the headset is inserted after the device gets into
homescreen,  the switch_set_state(&hr->sdev, HEADSET) won't be done .

It pops up messages as below:
Anyone has idea about what's wrong is it?

================================================================
------------[ cut here ]------------
(01:28.107202) [   84.126733] WARNING: at /home/law/3135/android/
kernel/kernel/softirq.c:77 __local_bh_disable+0x48/0x94()
(01:28.116248) [   84.136193] Modules linked in:
(01:28.119704) [   84.139233] [<c002d420>] (dump_stack+0x0/0x14) from
[<c005edfc>] (warn_on_slowpath+0x4c/0x84)
(01:28.128054) [   84.147739] [<c005edb0>] (warn_on_slowpath+0x0/0x84)
from [<c0063c54>] (__local_bh_disable+0x48/0x94)
(01:28.137081) [   84.156939]  r6:c407dbe0 r5:c0237fe4 r4:c0459c40
(01:28.141943) [   84.161539] [<c0063c0c>] (__local_bh_disable
+0x0/0x94) from [<c0063cb4>] (local_bh_disable+0x14/0x18)
(01:28.150963) [   84.170739]  r5:c407dbe0 r4:c4119400
(01:28.154440) [   84.174299] [<c0063ca0>] (local_bh_disable+0x0/0x18)
from [<c0237fe4>] (sk_filter+0x1c/0xd8)
(01:28.162773) [   84.182719] [<c0237fc8>] (sk_filter+0x0/0xd8) from
[<c023b270>] (netlink_broadcast+0x20c/0x3c8)
(01:28.171795) [   84.191399]  r6:c407dbe0 r5:c407dbe0 r4:c4119400
(01:28.175963) [   84.195999] [<c023b064>] (netlink_broadcast
+0x0/0x3c8) from [<c0154a74>] (kobject_uevent_env+0x2b8/0x3a0)
(01:28.185690) [   84.205553] [<c01547bc>] (kobject_uevent_env
+0x0/0x3a0) from [<c01fd18c>] (switch_set_state+0x114/0x16c)
(01:28.195413) [   84.215013] [<c01fd078>] (switch_set_state
+0x0/0x16c) from [<c004f9c8>] (hs_det_irq+0x74/0xa4)
(01:28.203739) [   84.223606]  r7:000000d7 r6:00000000 r5:00000000
r4:c04381a0
(01:28.209297) [   84.229246] [<c004f954>] (hs_det_irq+0x0/0xa4) from
[<c008f974>] (handle_IRQ_event+0x2c/0x68)
(01:28.217628) [   84.237753]  r4:c985cae0
(01:28.220414) [   84.240273] [<c008f948>] (handle_IRQ_event+0x0/0x68)
from [<c0090e24>] (handle_edge_irq+0xf8/0x180)
(01:28.229439) [   84.249299]  r7:c03cd3d8 r6:c985cae0 r5:000000d7
r4:c03cd3a8
(01:28.234993) [   84.254939] [<c0090d2c>] (handle_edge_irq+0x0/0x180)
from [<c0034fd0>] (msm_gpio_irq_handler+0x60/0x9c)
(01:28.244715) [   84.264319]  r8:c03c8d1c r7:000000ee r6:c03cdb34
r5:c03bdb20 r4:00000000
(01:28.250963) [   84.270999] [<c0034f70>] (msm_gpio_irq_handler
+0x0/0x9c) from [<c0037108>] (sirc_irq_handler+0x78/0x94)
(01:28.260685) [   84.280379] [<c0037090>] (sirc_irq_handler+0x0/0x94)
from [<c0028048>] (asm_do_IRQ+0x48/0x64)
(01:28.269025) [   84.288886]  r5:c03c9010 r4:00000009
(01:28.272494) [   84.292439] [<c0028000>] (asm_do_IRQ+0x0/0x64) from
[<c0028890>] (__irq_svc+0x50/0x94)
(01:28.280811) [   84.300346] Exception stack(0xc03b5f40 to
0xc03b5f88)
(01:28.285693) [   84.305379] 5f40: c002a460 00000000 00000000
c03b4000 c002a41c c03b4000 c002a41c c03e3928
(01:28.294021) [   84.313619] 5f60: 16025774 510f00f2 0000001f
c03b5f94 c03b5f78 c03b5f88 c00827ac c002a464
(01:28.302337) [   84.321873] 5f80: 60000013
ffffffff
(01:28.309988) [   84.330119]  r6:c002a41c r5:e0000000 r4:ffffffff
(01:28.314856) [   84.334719] [<c002a41c>] (default_idle+0x0/0x50)
from [<c002a324>] (cpu_idle+0x3c/0x6c)
(01:28.323170) [   84.342706] [<c002a2e8>] (cpu_idle+0x0/0x6c) from
[<c02aa8b0>] (rest_init+0x68/0x7c)
(01:28.330821) [   84.350426]  r7:c03b8bf8 r6:c0026f14 r5:c03e34c8
r4:c07ecbb0
(01:28.336382) [   84.356073] [<c02aa848>] (rest_init+0x0/0x7c) from
[<c0008bd4>] (start_kernel+0x278/0x2e8)
(01:28.344711) [   84.364319] [<c000895c>] (start_kernel+0x0/0x2e8)
from [<16008034>] (0x16008034)
(01:28.351650) [   84.371699] ---[ end trace b0b306711ae5cb68 ]---
(01:28.356519) [   84.376306] ------------[ cut here ]------------
(01:28.361362) [   84.380899] WARNING: at /home/law/3135/android/
kernel/kernel/softirq.c:136 local_bh_enable+0x54/0xf4()
(01:28.370408) [   84.390186] Modules linked in:
(01:28.373180) [   84.393226] [<c002d420>] (dump_stack+0x0/0x14) from
[<c005edfc>] (warn_on_slowpath+0x4c/0x84)
(01:28.382196) [   84.401733] [<c005edb0>] (warn_on_slowpath+0x0/0x84)
from [<c00646a0>] (local_bh_enable+0x54/0xf4)
(01:28.390544) [   84.410673]  r6:00000000 r5:c0238088 r4:c0459c44
(01:28.395402) [   84.415273] [<c006464c>] (local_bh_enable+0x0/0xf4)
from [<c0238088>] (sk_filter+0xc0/0xd8)
(01:28.403743) [   84.423606]  r5:c407dbe0 r4:00000000
(01:28.407205) [   84.427166] [<c0237fc8>] (sk_filter+0x0/0xd8) from
[<c023b270>] (netlink_broadcast+0x20c/0x3c8)
(01:28.416235) [   84.435846]  r6:c407dbe0 r5:c407dbe0 r4:c4119400
(01:28.420406) [   84.440446] [<c023b064>] (netlink_broadcast
+0x0/0x3c8) from [<c0154a74>] (kobject_uevent_env+0x2b8/0x3a0)
(01:28.430127) [   84.449993] [<c01547bc>] (kobject_uevent_env
+0x0/0x3a0) from [<c01fd18c>] (switch_set_state+0x114/0x16c)
(01:28.439848) [   84.459453] [<c01fd078>] (switch_set_state
+0x0/0x16c) from [<c004f9c8>] (hs_det_irq+0x74/0xa4)
(01:28.448180) [   84.468053]  r7:000000d7 r6:00000000 r5:00000000
r4:c04381a0
(01:28.453740) [   84.473693] [<c004f954>] (hs_det_irq+0x0/0xa4) from
[<c008f974>] (handle_IRQ_event+0x2c/0x68)
(01:28.462075) [   84.482199]  r4:c985cae0
(01:28.464853) [   84.484719] [<c008f948>] (handle_IRQ_event+0x0/0x68)
from [<c0090e24>] (handle_edge_irq+0xf8/0x180)
(01:28.473878) [   84.493746]  r7:c03cd3d8 r6:c985cae0 r5:000000d7
r4:c03cd3a8
(01:28.479434) [   84.499386] [<c0090d2c>] (handle_edge_irq+0x0/0x180)
from [<c0034fd0>] (msm_gpio_irq_handler+0x60/0x9c)
(01:28.489201) [   84.508759]  r8:c03c8d1c r7:000000ee r6:c03cdb34
r5:c03bdb20 r4:00000000
(01:28.495409) [   84.515446] [<c0034f70>] (msm_gpio_irq_handler
+0x0/0x9c) from [<c0037108>] (sirc_irq_handler+0x78/0x94)
(01:28.505130) [   84.524819] [<c0037090>] (sirc_irq_handler+0x0/0x94)
from [<c0028048>] (asm_do_IRQ+0x48/0x64)
(01:28.513460) [   84.533326]  r5:c03c9010 r4:00000009
(01:28.516933) [   84.536886] [<c0028000>] (asm_do_IRQ+0x0/0x64) from
[<c0028890>] (__irq_svc+0x50/0x94)
(01:28.525248) [   84.544786] Exception stack(0xc03b5f40 to
0xc03b5f88)
(01:28.530120) [   84.549819] 5f40: c002a460 00000000 00000000
c03b4000 c002a41c c03b4000 c002a41c c03e3928
(01:28.538463) [   84.558066] 5f60: 16025774 510f00f2 0000001f
c03b5f94 c03b5f78 c03b5f88 c00827ac c002a464
(01:28.546776) [   84.566313] 5f80: 60000013
ffffffff
(01:28.554431) [   84.574559]  r6:c002a41c r5:e0000000 r4:ffffffff
(01:28.559297) [   84.579159] [<c002a41c>] (default_idle+0x0/0x50)
from [<c002a324>] (cpu_idle+0x3c/0x6c)
(01:28.567609) [   84.587146] [<c002a2e8>] (cpu_idle+0x0/0x6c) from
[<c02aa8b0>] (rest_init+0x68/0x7c)
(01:28.575262) [   84.594873]  r7:c03b8bf8 r6:c0026f14 r5:c03e34c8
r4:c07ecbb0
(01:28.580825) [   84.600513] [<c02aa848>] (rest_init+0x0/0x7c) from
[<c0008bd4>] (start_kernel+0x278/0x2e8)
(01:28.589154) [   84.608759] [<c000895c>] (start_kernel+0x0/0x2e8)
from [<16008034>] (0x16008034)
(01:28.596099) [   84.616139] ---[ end trace b0b306711ae5cb68 ]---
(01:28.600960) [   84.620806] BUG: scheduling while atomic: swapper/
0/0x00010003
(01:28.606516) [   84.626559] INFO: lockdep is turned off.
(01:28.610682) [   84.630459] Modules linked in:
(01:28.613459) [   84.633499]
(01:28.615569) [   84.634979] Pid: 0, comm:              swapper
(01:28.619706) [   84.639413] CPU: 0    Tainted: G        W  (2.6.27
#19)
(01:28.624566) [   84.644619] PC is at default_idle+0x48/0x50
(01:28.628737) [   84.648786] LR is at trace_hardirqs_on+0x14/0x18
(01:28.633599) [   84.653386] pc : [<c002a464>]    lr :
[<c00827ac>]    psr: 60000013
(01:28.639840) [   84.653393] sp : c03b5f88  ip : c03b5f78  fp :
c03b5f94
(01:28.644711) [   84.664839] r10: 0000001f  r9 : 510f00f2  r8 :
16025774
(01:28.650267) [   84.670046] r7 : c03e3928  r6 : c002a41c  r5 :
c03b4000  r4 : c002a41c
(01:28.656512) [   84.676559] r3 : c03b4000  r2 : 00000000  r1 :
00000000  r0 : c002a460
(01:28.663458) [   84.683073] Flags: nZCv  IRQs on  FIQs on  Mode
SVC_32  ISA ARM  Segment kernel
(01:28.670401) [   84.690359] Control: 00c5787f  Table: 1fb6c018  DAC:
00000017
(01:28.675957) [   84.696086] [<c002a378>] (show_regs+0x0/0x50) from
[<c0059100>] (__schedule_bug+0x64/0x78)
(01:28.684290) [   84.704333]  r4:c03b7150
(01:28.687071) [   84.706853] [<c005909c>] (__schedule_bug+0x0/0x78)
from [<c02ab98c>] (schedule+0x80/0x444)
(01:28.695399) [   84.715099]  r5:c03b7150 r4:c03b5cb4
(01:28.698871) [   84.718659] [<c02ab90c>] (schedule+0x0/0x444) from
[<c02abff8>] (schedule_timeout+0x20/0xb4)
(01:28.707208) [   84.727079] [<c02abfd8>] (schedule_timeout+0x0/0xb4)
from [<c02ab7dc>] (wait_for_common+0xf4/0x190)
(01:28.716230) [   84.736106]  r7:7fffffff r6:c03b5cb0 r5:c03b7150
r4:c03b5cb4
(01:28.721783) [   84.741746] [<c02ab6e8>] (wait_for_common+0x0/0x190)
from [<c02ab908>] (wait_for_completion+0x18/0x1c)
(01:28.731493) [   84.751033] [<c02ab8f0>] (wait_for_completion
+0x0/0x1c) from [<c006ffb8>] (call_usermodehelper_exec+0xd8/0x13c)
(01:28.741234) [   84.761106] [<c006fee0>] (call_usermodehelper_exec
+0x0/0x13c) from [<c0154ae8>] (kobject_uevent_env+0x32c/0x3a0)
(01:28.751647) [   84.771259]  r8:00000007 r7:c9852000 r6:c407dbe0
r5:00000000 r4:00000018
(01:28.757899) [   84.777946] [<c01547bc>] (kobject_uevent_env
+0x0/0x3a0) from [<c01fd18c>] (switch_set_state+0x114/0x16c)
(01:28.767618) [   84.787406] [<c01fd078>] (switch_set_state
+0x0/0x16c) from [<c004f9c8>] (hs_det_irq+0x74/0xa4)
(01:28.775951) [   84.795999]  r7:000000d7 r6:00000000 r5:00000000
r4:c04381a0
(01:28.781510) [   84.801646] [<c004f954>] (hs_det_irq+0x0/0xa4) from
[<c008f974>] (handle_IRQ_event+0x2c/0x68)
(01:28.790539) [   84.810153]  r4:c985cae0
(01:28.792615) [   84.812666] [<c008f948>] (handle_IRQ_event+0x0/0x68)
from [<c0090e24>] (handle_edge_irq+0xf8/0x180)
(01:28.801651) [   84.821699]  r7:c03cd3d8 r6:c985cae0 r5:000000d7
r4:c03cd3a8
(01:28.807203) [   84.827339] [<c0090d2c>] (handle_edge_irq+0x0/0x180)
from [<c0034fd0>] (msm_gpio_irq_handler+0x60/0x9c)
(01:28.816928) [   84.836713]  r8:c03c8d1c r7:000000ee r6:c03cdb34
r5:c03bdb20 r4:00000000
(01:28.823854) [   84.843399] [<c0034f70>] (msm_gpio_irq_handler
+0x0/0x9c) from [<c0037108>] (sirc_irq_handler+0x78/0x94)
(01:28.832897) [   84.852773] [<c0037090>] (sirc_irq_handler+0x0/0x94)
from [<c0028048>] (asm_do_IRQ+0x48/0x64)
(01:28.841225) [   84.861279]  r5:c03c9010 r4:00000009
(01:28.844706) [   84.864839] [<c0028000>] (asm_do_IRQ+0x0/0x64) from
[<c0028890>] (__irq_svc+0x50/0x94)
(01:28.853033) [   84.872739] Exception stack(0xc03b5f40 to
0xc03b5f88)
(01:28.857898) [   84.877773] 5f40: c002a460 00000000 00000000
c03b4000 c002a41c c03b4000 c002a41c c03e3928
(01:28.866230) [   84.886019] 5f60: 16025774 510f00f2 0000001f
c03b5f94 c03b5f78 c03b5f88 c00827ac c002a464
(01:28.874562) [   84.894266] 5f80: 60000013
ffffffff
(01:28.882896) [   84.902513]  r6:c002a41c r5:e0000000 r4:ffffffff
(01:28.887065) [   84.907113] [<c002a41c>] (default_idle+0x0/0x50)
from [<c002a324>] (cpu_idle+0x3c/0x6c)
(01:28.895395) [   84.915099] [<c002a2e8>] (cpu_idle+0x0/0x6c) from
[<c02aa8b0>] (rest_init+0x68/0x7c)
(01:28.903038) [   84.922826]  r7:c03b8bf8 r6:c0026f14 r5:c03e34c8
r4:c07ecbb0
(01:28.908592) [   84.928466] [<c02aa848>] (rest_init+0x0/0x7c) from
[<c0008bd4>] (start_kernel+0x278/0x2e8)
(01:28.916919) [   84.936713] [<c000895c>] (start_kernel+0x0/0x2e8)
from [<16008034>] (0x16008034)
(01:28.924546) [   84.944093] bad: scheduling from the idle thread!
(01:28.928728) [   84.948779] [<c002d420>] (dump_stack+0x0/0x14) from
[<c0057cd4>] (dequeue_task_idle+0x24/0x34)
(01:28.937749) [   84.957373] [<c0057cb0>] (dequeue_task_idle
+0x0/0x34) from [<c0055664>] (dequeue_task+0xf8/0x108)
(01:28.946092) [   84.966226]  r4:00000000
(01:28.948869) [   84.968746] [<c005556c>] (dequeue_task+0x0/0x108)
from [<c00556a0>] (deactivate_task+0x2c/0x3c)
(01:28.957879) [   84.977426]  r7:7fffffff r6:c03b5cb0 r5:c03b7150
r4:c0438798
(01:28.963448) [   84.983066] [<c0055674>] (deactivate_task+0x0/0x3c)
from [<c02aba78>] (schedule+0x16c/0x444)
(01:28.971779) [   84.991486]  r4:00000000
(01:28.973942) [   84.994006] [<c02ab90c>] (schedule+0x0/0x444) from
[<c02abff8>] (schedule_timeout+0x20/0xb4)
(01:28.982878) [   85.002426] [<c02abfd8>] (schedule_timeout+0x0/0xb4)
from [<c02ab7dc>] (wait_for_common+0xf4/0x190)
(01:28.991903) [   85.011453]  r7:7fffffff r6:c03b5cb0 r5:c03b7150
r4:c03b5cb4
(01:28.997479) [   85.017093] [<c02ab6e8>] (wait_for_common+0x0/0x190)
from [<c02ab908>] (wait_for_completion+0x18/0x1c)
(01:29.006497) [   85.026379] [<c02ab8f0>] (wait_for_completion
+0x0/0x1c) from [<c006ffb8>] (call_usermodehelper_exec+0xd8/0x13c)
(01:29.016903) [   85.036453] [<c006fee0>] (call_usermodehelper_exec
+0x0/0x13c) from [<c0154ae8>] (kobject_uevent_env+0x32c/0x3a0)
(01:29.026642) [   85.046606]  r8:00000007 r7:c9852000 r6:c407dbe0
r5:00000000 r4:00000018
(01:29.033586) [   85.053293] [<c01547bc>] (kobject_uevent_env
+0x0/0x3a0) from [<c01fd18c>] (switch_set_state+0x114/0x16c)
(01:29.042608) [   85.062753] [<c01fd078>] (switch_set_state
+0x0/0x16c) from [<c004f9c8>] (hs_det_irq+0x74/0xa4)
(01:29.051643) [   85.071346]  r7:000000d7 r6:00000000 r5:00000000
r4:c04381a0
(01:29.057198) [   85.076993] [<c004f954>] (hs_det_irq+0x0/0xa4) from
[<c008f974>] (handle_IRQ_event+0x2c/0x68)
(01:29.065534) [   85.085499]  r4:c985cae0
(01:29.068312) [   85.088013] [<c008f948>] (handle_IRQ_event+0x0/0x68)
from [<c0090e24>] (handle_edge_irq+0xf8/0x180)
(01:29.077337) [   85.097046]  r7:c03cd3d8 r6:c985cae0 r5:000000d7
r4:c03cd3a8
(01:29.082893) [   85.102686] [<c0090d2c>] (handle_edge_irq+0x0/0x180)
from [<c0034fd0>] (msm_gpio_irq_handler+0x60/0x9c)
(01:29.091917) [   85.112059]  r8:c03c8d1c r7:000000ee r6:c03cdb34
r5:c03bdb20 r4:00000000
(01:29.098862) [   85.118746] [<c0034f70>] (msm_gpio_irq_handler
+0x0/0x9c) from [<c0037108>] (sirc_irq_handler+0x78/0x94)
(01:29.108568) [   85.128119] [<c0037090>] (sirc_irq_handler+0x0/0x94)
from [<c0028048>] (asm_do_IRQ+0x48/0x64)
(01:29.116921) [   85.136626]  r5:c03c9010 r4:00000009
(01:29.120391) [   85.140186] [<c0028000>] (asm_do_IRQ+0x0/0x64) from
[<c0028890>] (__irq_svc+0x50/0x94)
(01:29.128029) [   85.148086] Exception stack(0xc03b5f40 to
0xc03b5f88)
(01:29.133568) [   85.153119] 5f40: c002a460 00000000 00000000
c03b4000 c002a41c c03b4000 c002a41c c03e3928
(01:29.141227) [   85.161366] 5f60: 16025774 510f00f2 0000001f
c03b5f94 c03b5f78 c03b5f88 c00827ac c002a464
(01:29.149556) [   85.169613] 5f80: 60000013
ffffffff
(01:29.157890) [   85.177859]  r6:c002a41c r5:e0000000 r4:ffffffff
(01:29.162754) [   85.182459] [<c002a41c>] (default_idle+0x0/0x50)
from [<c002a324>] (cpu_idle+0x3c/0x6c)
(01:29.170393) [   85.190446] [<c002a2e8>] (cpu_idle+0x0/0x6c) from
[<c02aa8b0>] (rest_init+0x68/0x7c)
(01:29.178029) [   85.198173]  r7:c03b8bf8 r6:c0026f14 r5:c03e34c8
r4:c07ecbb0
(01:29.184266) [   85.203813] [<c02aa848>] (rest_init+0x0/0x7c) from
[<c0008bd4>] (start_kernel+0x278/0x2e8)
(01:29.191914) [   85.212059] [<c000895c>] (start_kernel+0x0/0x2e8)
from [<16008034>] (0x16008034)
(01:29.199558) [   85.220419] Unable to handle kernel NULL pointer
dereference at virtual address 00000000
(01:29.207884) [   85.227513] pgd = c0004000
(01:29.210651) [   85.230199] [00000000] *pgd=00000000
(01:29.214136) [   85.233766] Internal error: Oops: 0 [#1] PREEMPT
(01:29.218302) [   85.238359] Modules linked in:
(01:29.221772) [   85.241406] CPU: 0    Tainted: G        W  (2.6.27
#19)
(01:29.226637) [   85.246613] PC is at 0x0
(01:29.229417) [   85.249146] LR is at enqueue_task+0x3c/0x4c
(01:29.233583) [   85.253299] pc : [<00000000>]    lr :
[<c00556ec>]    psr: 60000093
(01:29.239833) [   85.253306] sp : c983de68  ip : 00000000  fp :
c983de7c
(01:29.244691) [   85.264753] r10: 00000000  r9 : 00000003  r8 :
c03b5cd0
(01:29.250248) [   85.269959] r7 : 00000000  r6 : c0438798  r5 :
c03b7150  r4 : 00000013
(01:29.256498) [   85.276473] r3 : c02b1190  r2 : 00000001  r1 :
c03b7150  r0 : c0438798
(01:29.263427) [   85.282986] Flags: nZCv  IRQs off  FIQs on  Mode
SVC_32  ISA ARM  Segment kernel
(01:29.270379) [   85.290359] Control: 00c5787f  Table: 1fb4c018  DAC:
00000017
(01:29.275941) [   85.296093] Process khelper (pid: 6, stack limit =
0xc983c2e0)
(01:29.282192) [   85.301906] Stack: (0xc983de68 to 0xc983e000)
(01:29.286362) [   85.306246] de60:                   c0438798
c03b7150 c983de94 c983de80 c0055728 c00556bc
(01:29.294691) [   85.314486] de80: c007a190 00000000 c983debc
c983de98 c0057ddc c0055708 c00843cc 00000093
(01:29.303025) [   85.322739] dea0: c03b5c34 c03b5cc4 00000001
00000001 c983decc c983dec0 c0057e4c c0057cf0
(01:29.311351) [   85.330986] dec0: c983defc c983ded0 c0055150
c0057e44 00000002 c03b5cb0 c03b5cb4 60000013
(01:29.319676) [   85.339226] dee0: 00000000 c983c000 c006fe38
c983df5c c983df24 c983df00 c0056390 c005511c
(01:29.327325) [   85.347479] df00: 00000000 00000000 00000000
00000000 c420e8e0 c420e8e0 c983df3c c983df28
(01:29.335665) [   85.355719] df20: c006fe94 c0056350 c420e8e4
c9803ce0 c983df94 c983df40 c00704c8 c006fe44
(01:29.343997) [   85.363973] df40: 00000002 00000000 c007045c
c983df58 c02abd24 c9803cfc c02aea04 00000000
(01:29.352334) [   85.372219] df60: 00000000 00000000 c983df94
c9803d04 c983c000 c9803ce0 c9803cfc c983df9c
(01:29.360660) [   85.380459] df80: 00000000 00000000 c983dfd4
c983df98 c0071354 c00703bc c981fef8 00000000
(01:29.368990) [   85.388706] dfa0: c983a0c0 c007483c c983dfa8
c983dfa8 c9803ce0 c983c000 c9803ce0 c007125c
(01:29.377330) [   85.396953] dfc0: 00000000 00000000 c983dff4
c983dfd8 c0074730 c0071268 00000000 00000000
(01:29.385650) [   85.405199] dfe0: 00000000 00000000 00000000
c983dff8 c0061c90 c00746e0 00000000 00000000
(01:29.393304) [   85.413446] Backtrace:
(01:29.396077) [   85.415879] [<c00556b0>] (enqueue_task+0x0/0x4c)
from [<c0055728>] (activate_task+0x2c/0x3c)
(01:29.404411) [   85.424299]  r5:c03b7150 r4:c0438798
(01:29.407883) [   85.427859] [<c00556fc>] (activate_task+0x0/0x3c)
from [<c0057ddc>] (try_to_wake_up+0xf8/0x154)
(01:29.416910) [   85.436539]  r4:00000000
(01:29.418988) [   85.439059] [<c0057ce4>] (try_to_wake_up+0x0/0x154)
from [<c0057e4c>] (default_wake_function+0x14/0x18)
(01:29.428746) [   85.448433]  r7:00000001 r6:00000001 r5:c03b5cc4
r4:c03b5c34
(01:29.434274) [   85.454073] [<c0057e38>] (default_wake_function
+0x0/0x18) from [<c0055150>] (__wake_up_common+0x40/0x84)
(01:29.443982) [   85.463533] [<c0055110>] (__wake_up_common+0x0/0x84)
from [<c0056390>] (complete+0x4c/0x60)
(01:29.452314) [   85.471866] [<c0056344>] (complete+0x0/0x60) from
[<c006fe94>] (__call_usermodehelper+0x5c/0x70)
(01:29.460667) [   85.480639]  r6:c420e8e0 r5:c420e8e0 r4:00000000
(01:29.465527) [   85.485239] [<c006fe38>] (__call_usermodehelper
+0x0/0x70) from [<c00704c8>] (run_workqueue+0x118/0x214)
(01:29.474547) [   85.494613]  r5:c9803ce0 r4:c420e8e4
(01:29.478022) [   85.498173] [<c00703b0>] (run_workqueue+0x0/0x214)
from [<c0071354>] (worker_thread+0xf8/0x10c)
(01:29.487045) [   85.506853] [<c007125c>] (worker_thread+0x0/0x10c)
from [<c0074730>] (kthread+0x5c/0x94)
(01:29.495370) [   85.514926]  r8:00000000 r7:00000000 r6:c007125c
r5:c9803ce0 r4:c983c000
(01:29.503012) [   85.521606] [<c00746d4>] (kthread+0x0/0x94) from
[<c0061c90>] (do_exit+0x0/0x7b0)
(01:29.509273) [   85.529073]  r6:00000000 r5:00000000 r4:00000000
(01:29.514117) [   85.533673] Code: bad PC value.
(01:29.516910) [   85.536806] Kernel panic - not syncing: Fatal
exception

======================================================================

Ethan
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

2. Camera preview callback and garbage collector

I dunno if there is a way to rectify that in the android framework. If
possible we can change the code in the framework to suit our requirements.
My belief is there should be one. We might have to hack somewhere.






-- 
Regards,
-Karan.

--~--~---------~--~----~------------~-------~--~----~

3. Example code of listview/arrayadapter with rows containing multiple text views?

4. SDL init failure, reason is: No available video device

5. using stl in Android

6. HOWTO: include bluetooth classes into the build and flush results to the G1

7. Example code of listview/arrayadapter with rows containing multiple text views?