Closed Bug 801651 Opened 12 years ago Closed 12 years ago

PandaBoard: untracked pid exit

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

Attachments

(1 file, 1 obsolete file)

On the PandaBoard, I often see errors in the form of

> init: untracked pid 1360 exited

I haven't figured out what the processes are, but I suspect they are b2g's OOPs. This might also be unrelated to the PandaBoard's environment itself and caused in some higher layer.
If the main b2g process exits or crashes before its plugin-container subprocesses, then the subprocesses will be reparented to init.

This can happen during normal shutdown / restart, and it's not unexpected.  If it happens at any other time, it's not expected.
Assignee: nobody → tzimmermann
This problem is caused by the init services network and sut. Sut could be fixed by installing a missing program.

The network service keeps on restarting constantly. A patch that fixes the init script has been pushed to https://github.com/tdz/android-device-panda/tree/bug-801651. Will be reviewed here.
Status: NEW → ASSIGNED
Malini,

even after installing sutagent, the network service constantly restarted. I made some changes and clean ups to the init script. Please review.

The Patch is also available at https://github.com/tdz/android-device-panda/commit/ff83f987419daa572e10fde25a4caac9c9da2e18.

--- Commit log ---

On the PandaBoard, the network and sut services were started by unconditionally running shell scripts during boot. The network script was restarted constantly, even though the network was already initialized.
    
This patch cleans up the initialization. The network service has been replaced by an equivalent service to initialize NIC eth0. Once the network is ready, sut gets (re-)started automatically.
Attachment #673203 - Flags: review?(mdas)
See my previous comment.
Attachment #673203 - Attachment is obsolete: true
Attachment #673203 - Flags: review?(mdas)
Attachment #673262 - Flags: review?(mdas)
Comment on attachment 673262 [details] [diff] [review]
Cleanup network and sut initialization on PandaBoard

Review of attachment 673262 [details] [diff] [review]:
-----------------------------------------------------------------

Sorry for the delay, I wanted to make sure this works locally. 

Thanks for doing this! I had a cleanup patch for some similar changes sitting around as a pull request, but I'll just close them since this is much better.
Attachment #673262 - Flags: review?(mdas) → review+
Thanks for doing the review. Meanwhile I got aware of [1], where the network.sh script seems used for configuring the NICs in very specific ways. I'll wait for the results of this issue before I send the patch upstream. I'll get back to you if I have to rework my changes.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=797629
See Also: → 797629
Depends on: 797629
Dave, you'll probably want this patch for your panda. Please have a look at

  https://github.com/mozilla-b2g/android-device-panda/pull/6

and pull it into master. Thanks!
I don't seem to have write permission on the android-device-panda.

I've cc'd mwu to either give me permission, or merge it, or tell us why we shouldn't.
It's merged.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: