Closed
Bug 850876
Opened 13 years ago
Closed 11 years ago
Running "ls /system/bin" hangs the build
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: gkw, Unassigned)
Details
(Whiteboard: [fuzzblocker])
Attachments
(1 file)
|
3.11 KB,
text/plain
|
Details |
We have a b2g build on a panda obtained via mozpool, and I can netcat to it successfully.
I can run:
ls /
ls /system
successfully, but running:
ls /system/bin
hangs the build.
Is this a kernel issue?
Comment 1•13 years ago
|
||
To expand a bit, I think :gkw meant "netcat to the sutagent/negatus port". So on a panda with a testing agent installed, do something like:
telnet <ip of panda> 20701
then from the agent prompt, do:
$> ls /system/bin
Doing a needinfo for :tzimmermann. Thomas, feel free to reassign if you're not the one dealing with panda kernel issues atm.
Flags: needinfo?(tzimmermann)
| Reporter | ||
Comment 2•13 years ago
|
||
Is this because /system/bin contains a lot of files and needs to take a very long time to get the output?
Comment 3•13 years ago
|
||
(In reply to Gary Kwong [:gkw] [:nth10sd] from comment #2)
> Is this because /system/bin contains a lot of files and needs to take a very
> long time to get the output?
I don't think so. At worst that might cause negatus (the agent) to hang, but you said on irc that it hangs the whole system:
<wlach> we have some serious problems if an "ls" command on the agent is hanging the panda tho
<gkw> wlach: nope, that hangs the system
<gkw> wlach: specifically the /system/bin directory
<gkw> wlach: switches the machine to request timeout if i do a ping
That indicates to me that the entire userspace of the panda is busted i.e. kernel panic or similar
| Reporter | ||
Comment 4•13 years ago
|
||
This blocks our work needed to try and get orangutan fuzzing on the pandas, as wlach points out on IRC, I would "need the orangutan kernel module for orng to work".
Whiteboard: [fuzzblocker]
Comment 5•13 years ago
|
||
I sometimes see these lockups happen even without running sutagent. I think that your case is just a way to trigger the problem. I tried to reproduce the issue, but it only happened once with 'ls /'. I turned on kernel debugging, but that didn't output any warnings or error messages.
When did this problem first occur? Do you run master of v1-train? And could you execute 'cat /proc/version' and print the result string here? Thanks.
Flags: needinfo?(tzimmermann)
Updated•13 years ago
|
Flags: needinfo?(gary)
| Reporter | ||
Comment 6•13 years ago
|
||
> When did this problem first occur?
I don't know. I only started trying to set up orangutan on pandaboards.
> Do you run master of v1-train?
I ran http://pvtbuilds.pvt.build.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-panda/20130313120850/
> And could you execute 'cat /proc/version' and print the result string here? Thanks.
I'll get this as soon as I can.
Flags: needinfo?(gary)
| Reporter | ||
Comment 7•13 years ago
|
||
Setting needinfo from myself to execute `cat /proc/version`.
Flags: needinfo?(gary)
| Reporter | ||
Comment 8•13 years ago
|
||
(In reply to Gary Kwong [:gkw] [:nth10sd] from comment #7)
> Setting needinfo from myself to execute `cat /proc/version`.
I get an error trying to obtain the file /proc/version, and I also cannot "cat" the file within netcat.
$ dm -m sut --host <some fqdn> pull /proc/version remoteVersion
Traceback (most recent call last):
File "/Users/skywalker/Downloads/testVirtualEnv/bin/dm", line 8, in <module>
load_entry_point('mozdevice==0.21', 'console_scripts', 'dm')()
File "/Users/skywalker/Downloads/testVirtualEnv/lib/python2.7/site-packages/mozdevice/dmcli.py", line 305, in cli
cli.run(args)
File "/Users/skywalker/Downloads/testVirtualEnv/lib/python2.7/site-packages/mozdevice/dmcli.py", line 162, in run
ret = command['function'](*command_args)
File "/Users/skywalker/Downloads/testVirtualEnv/lib/python2.7/site-packages/mozdevice/dmcli.py", line 237, in pull
self.dm.getFile(src, dest)
File "/Users/skywalker/Downloads/testVirtualEnv/lib/python2.7/site-packages/mozdevice/devicemanagerSUT.py", line 648, in getFile
remoteFile)
mozdevice.devicemanager.DMError: Automation Error: Failed to validate file when downloading /proc/version
Flags: needinfo?(gary) → needinfo?(tzimmermann)
| Reporter | ||
Comment 9•13 years ago
|
||
This works though (thanks wlach via IRC):
$ dm -m sut --host <some fqdn> shell cat /proc/version
Linux version 3.0.8-03314-g42f8be0 (tdz@linux-6f0r.site) (gcc version 4.4.3 (GCC) ) #28 SMP PREEMPT Fri Mar 8 11:01:03 CET 2013
Comment 10•13 years ago
|
||
You're running master with the latest kernel, which was recently committed. Could you try an older image from February and report back if it makes a difference? Thanks!
Flags: needinfo?(tzimmermann) → needinfo?(gary)
| Reporter | ||
Comment 11•13 years ago
|
||
(In reply to Thomas Zimmermann [:tzimmermann] from comment #10)
> You're running master with the latest kernel, which was recently committed.
> Could you try an older image from February and report back if it makes a
> difference? Thanks!
I tested the latest 1.0.1 branch build and got the same hang at `ls /system/bin`:
http://pvtbuilds.pvt.build.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-b2g18_v1_0_1-panda/20130315061433/
Flags: needinfo?(gary) → needinfo?(tzimmermann)
| Reporter | ||
Comment 12•13 years ago
|
||
> I tested the latest 1.0.1 branch build and got the same hang at `ls
> /system/bin`:
I did this instead of testing old builds from February because not many builds are archived at this location:
http://pvtbuilds.pvt.build.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/
so it did not seem possible to find old builds from February for pandaboards.
Comment 13•13 years ago
|
||
Thanks for trying the b2g18 build. This at least shows that the problem is not directly related to the kernel in master. I don't have a Pandaboard this week so I cannot work on the issue. I'll probably reach out to you next week.
Flags: needinfo?(tzimmermann)
Updated•13 years ago
|
Assignee: nobody → tzimmermann
| Reporter | ||
Comment 14•13 years ago
|
||
The attached output came from a build with the following kernel version:
Linux version 3.0.8-03314-g42f8be0 (tdz@linux-6f0r.site) (gcc version 4.4.3 (GCC) ) #28 SMP PREEMPT Fri Mar 8 11:01:03 CET 2013
which then hangs subsequently the second time you run it.
This is strange. Sometimes running `ls /system/bin` hangs immediately, sometimes it works but when you re-run the command, it hangs again.
Flags: needinfo?(tzimmermann)
| Reporter | ||
Comment 15•13 years ago
|
||
I believe that for comment 14, I used:
http://pvtbuilds.pvt.build.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-panda/20130418123644/
for the B2G build.
Comment 16•13 years ago
|
||
For now, I'm not sure what to do here. Unassigning the bug.
Assignee: tzimmermann → nobody
Flags: needinfo?(tzimmermann)
| Reporter | ||
Comment 17•11 years ago
|
||
We no longer have pandas for fuzzing work.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•