Bug 4017 - crosstap and stap fail in core-image-sato-sdk (danny)
Summary: crosstap and stap fail in core-image-sato-sdk (danny)
Status: VERIFIED NOTABUG
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-03-12 10:05 UTC by Stoicescu Cornel
Modified: 2014-01-14 10:19 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2013-03-12 10:05:26 UTC
branch: danny
commit: 955827af15f611189c66850fd077de344e1285c3

1.Create the trace_open.stp script as follows:
 

probe syscall.open
{
        printf ("%s(%d) open (%s)\n", execname(), pid(), argstr)
}

2.Bitbake a core-image-sato-sdk image and start it under qemu.
3.Make sure that the ssh service is started on the Qemu machine.
4.From the host machine poky build_dir, run "crosstap root@192.168.7.2 trace_open.stp".

The script should successfully connect to the qemu machine and there should be presented a list of services(pid, process name) which run on the qemu machine.


Output:

[stefans@firebird yotta]$ crosstap root@192.168.7.2 trace_open.stp 
~/yocto/builds/yotta ~/yocto/builds/yotta
~/yocto/builds/yotta
Checking "/lib/modules/3.4.24-yocto-standard/build/.config" failed with error: No such file or directory
[stefans@firebird yotta]$ 

NOTE: This issue was fixed in master: bug 3756
Comment 1 Stoicescu Cornel 2013-03-12 11:24:24 UTC
This issue is not present when building the image without sstate. Test Case updated: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=319

Closing as NOTABUG.
Comment 2 Stoicescu Cornel 2014-01-14 10:19:08 UTC
Setting to Verified.