Cannot flash multiple devices with fastboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Dispatcher |
Fix Released
|
Medium
|
Antonio Terceiro |
Bug Description
Steps to reproduce:
1) Connect two Galaxy Nexus devices to LAVA server
2) Make sure units are in fastboot mode with boot partition erased.
3) Schedule two of these jobs: http://
4) This should make the jobs run at approximately the same time, which will cause fastboot flashing to occur on both devices concurrently.
5) At this point fastboot hangs, and I get a flood of these messages in dmesg:
usb 1-5: usbfs: USBDEVFS_CONTROL failed cmd fastboot rqt 128 rq 6 len 256 ret -71
Thinking this might be a USB driver issues, I have tried this on three different machines, same result. Even build and installed the 3.6 and 3.7 kernels, no dice there.
After all of this I think I need to put some resource protection on fastboot binary
Related branches
- Linaro Validation Team: Pending requested
-
Diff: 195 lines (+76/-59)1 file modifiedlava_dispatcher/device/nexus.py (+76/-59)
Changed in lava-dispatcher: | |
assignee: | nobody → Antonio Terceiro (terceiro) |
importance: | Undecided → Medium |
milestone: | none → 2013.02 |
Changed in lava-dispatcher: | |
status: | New → Fix Committed |
Changed in lava-dispatcher: | |
status: | Fix Committed → Fix Released |
Hello Tyler, thanks for your report.
I guarded the data-intensive fastboot calls (flash and boot) with flock
to avoid this problem. I am hoping we won't need that for the "small"
commands.
Could you try the branch at lp:~terceiro/lava-dispatcher/fastboot-flock
and let me know if it works for you?
-- www.linaro. org
Antonio Terceiro
Software Engineer - Linaro
http://