[Atrix 4G Android Development] rhcohen:
Hard freeze on latest kernel

Using latest kernel, 2014_03_21_23_51 (for CM10.1) I had a hard freeze (screen on, phone unresponsive, had to pull battery to restart). This was while using Google voice recognition (over cell network.)

I rebooted, took a dmesg log, then attempted to use Google voice recognition to compose an email. It immediately failed (but did not freeze the phone this time). I took a second dmesglog, and kept only the lines added since the original log. This second log has the following lines, which seem like they might point to the problem:

<6>[ 185.330661] tegra_pinmux_set_tristate: setting DAP1 to TRISTATE

<6>[ 185.330698] tegra_pinmux_set_tristate: setting CDEV1 to TRISTATE

<3>[ 227.202426] spi_slave_tegra spi_slave_tegra.0: transfer timeout

<3>[ 228.203018] spi_slave_tegra spi_slave_tegra.0: Error in Dma Rx transfer

<3>[ 228.203056] spi_slave_tegra spi_slave_tegra.0: spi_tegra_handle_transfer_completion ERROR bit set 0x40a00000

<4>[ 228.203088] ------------[ cut here ]------------

<4>[ 228.203112] WARNING: at drivers/spi/spi_slave_tegra.c:1098 0xc03158f8()

<4>[ 228.203131] Modules linked in:

<4>[ 228.203164] Function entered at [<c0014880>] from [<c0050a28>]

<4>[ 228.203190] Function entered at [<c0050a28>] from [<c0050a5c>]

<4>[ 228.203213] Function entered at [<c0050a5c>] from [<c03158f8>]

<4>[ 228.203238] Function entered at [<c03158f8>] from [<c0064778>]

<4>[ 228.203263] Function entered at [<c0064778>] from [<c0064d9c>]

<4>[ 228.203285] Function entered at [<c0064d9c>] from [<c006ae00>]

<4>[ 228.203309] Function entered at [<c006ae00>] from [<c000f080>]

<4>[ 228.203334] ---[ end trace 1f34f2aba538fe8a ]---

<1>[ 228.203357] spi:tegra:address m=c07ef504 m->complete=c0312238

I am attaching the two log files: msglog0322, and msglog0322inc; the first is the one taken just after reboot, the second, the incremental log taken just after the Google voice recogntiion failure (keeping only lines from dmesg added since the first msglog).

Note voice recognition seems to work, at least for a while, after a fresh reboot, if done over wifi. But once it has failed via cell data it doesn't work on wifi either.

I have not had sufficient time to check with this kernel, but with the one I had been using for many days (02_22) there was this persistent phenomenon that I had reported on still earlier kernels, which seems like a memory leak: If I run Android Assistant and do a "quick boost" to close unneeded processes, then when the phone is freshly booted there is around 400 MB of available memory, but this drops with time. After a day (again after a "quick boost"), there is around 350 MB of available memory; after a couple of days, that is reduced to around 300 MB of available memory. The amount of available memory seems to correlate with my ability to use Google voice recognition: with a fresh boot, I can use it to compose a fairly long email message; after a couple of days it fails almost immediately. All is restored via a reboot. (Versus with the most recent kernel, voice recognition fails almost immediately on the cell network after a fresh reboot.)

[MENTION=4641721]krystianp[/MENTION], you have been posting quite a few kernels. Are there specific different things you would like tested on each? I had not looked at the thread or dropbox in a week, and then found 4 new kernels. Unclear to me if there was any value in my testing all 4, or whether you have just been steadily adding more diagnostics so the most recent is the one to test.