[Dev] Common/Generic profile images usability

VanCutsem, Geoffroy geoffroy.vancutsem at intel.com
Fri May 16 09:32:46 GMT 2014


I have created TIVI-3202 for this issue: https://bugs.tizen.org/jira/browse/TIVI-3202 (assigned to Stéphane Desneux).

I have prepared a patch (config change) but somehow I could not push it to Gerrit for review... I'm getting a really bizarre error... see below:
[gvancuts at localhost kernel-common]$ git push origin HEAD:refs/for/tizen
Counting objects: 46, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (20/20), done.
Writing objects: 100% (39/39), 15.19 KiB | 0 bytes/s, done.
Total 39 (delta 25), reused 31 (delta 19)
remote: Resolving deltas: 100% (25/25)
remote:
remote: Processing changes: refs: 1, done
remote:
remote: ERROR:  In commit 8cd231e30ecda94cdad62ce0f9d3d0cfcd69e990
remote: ERROR:  committer email address stephane.desneux at open.eurogiciel.org
remote: ERROR:  does not match your user account.
remote: ERROR:
remote: ERROR:  The following addresses are currently registered:
remote: ERROR:    geoffroy.vancutsem at intel.com
remote: ERROR:
remote: ERROR:  To register an email address, please visit:
remote: ERROR:  https://review.tizen.org/gerrit/#/settings/contact
remote:
remote:
To tizen:profile/common/kernel-common
! [remote rejected] HEAD -> refs/for/tizen (invalid committer)
error: failed to push some refs to 'tizen:profile/common/kernel-common'

Here is my local git commit log:
[gvancuts at localhost kernel-common]$ git log 265da8df349228655a72a201d2a97727d06d7153..HEADcommit 82a6f36382c627dbe7b8a775370ec69f359d70c8
Author: Geoffroy Van Cutsem <geoffroy.vancutsem at intel.com>
Date:   Fri May 16 11:11:12 2014 +0200

    common_x86_64_defconfig: make the VMWGFX driver built-in

    Fix TIVI-3202

    Change-Id: Ie964d5b4764caa1156be201b62b3822b69bd9181
    Signed-off-by: Geoffroy Van Cutsem geoffroy.vancutsem at intel.com<mailto:geoffroy.vancutsem at intel.com>

And here is the commit that _appears_ to be causing troubles:
[gvancuts at localhost kernel-common]$ git log 387df1bd3fc46bc695b317dda38b3254f4409036..8cd231e30ecda94cdad62ce0f9d3d0cfcd69e990
commit 8cd231e30ecda94cdad62ce0f9d3d0cfcd69e990
Author: Casey Schaufler <casey at schaufler-ca.com>
Date:   Thu Nov 21 10:55:10 2013 +0200

    Smack: Cgroup filesystem access

    The cgroup filesystems are not mounted using conventional
    mechanisms. This prevents the use of mount options to
    set Smack attributes. This patch makes the behavior
    of cgroup filesystems compatable with the way systemd
    uses them.

    Change-Id: I1e0429f133db9e14117dc754d682dec08221354c
    Signed-off-by: Casey Schaufler <casey at schaufler-ca.com>
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
    Signed-off-by: Stephane Desneux stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>

Any idea what may be causing this error message?

Thanks,
Geoffroy

From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of Dominig ar Foll (Intel OTC)
Sent: Wednesday, May 14, 2014 7:22 PM
To: dev at lists.tizen.org
Subject: Re: [Dev] Common/Generic profile images usability

Geoffroy;

nice trick. Thanks.

No issue to add the module in the Common release image, just create a Jira entry an allocate it to Stéphane.
Common adaptation Layer is a test kernel and having multiple options activated is acceptable.

But for having the security=none by default will not be done.
That is a NoNo as you know :-)



Dominig ar Foll

Senior Software Architect

Open Source Technology Centre

Intel SSG
Le 14/05/2014 19:15, VanCutsem, Geoffroy a écrit :
Quick update:

I got the Tizen Common Weston desktop up and running under VMware using this image: http://download.tizen.org/releases/daily/tizen/common/common-wayland-x86_64/tizen_20140513.6/

The quickest way is to modify the /boot/extlinux/extlinux.conf file and add 'security=none' to the kernel command-line (workaround for https://bugs.tizen.org/jira/browse/TIVI-2964), a more permanent workaround (but not a complete fix) would be to modify the kernel config to have vmwgfx built-in (instead of a module). I have also verified that such modifications solves the issue (and you can keep security turned on in that case which you really really want).

I can push a patch to have 'vmwgfx' built-in to Tizen Common. In general, it may be good to re-use some of the specific kernel configs that are described here also in the Tizen Common kernel: https://wiki.tizen.org/wiki/IVI/artem-kernel#Kernel_configuration (look for those that are documented as useful for VMware).

Geoffroy

From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of VanCutsem, Geoffroy
Sent: Wednesday, May 14, 2014 5:56 PM
To: Roman Kubiak; dev at lists.tizen.org<mailto:dev at lists.tizen.org>
Subject: Re: [Dev] Common/Generic profile images usability

Hi Roman,

If you're interested, I used to keep some 'recipes' on how to run Tizen IVI 2.0 (based on X) under VMware, it's described here: https://wiki.tizen.org/wiki/IVI/IVI_2.0_VMware. Back then, I had to provide the xorg-x11-drv-vmware driver (as you have pointed out below) and I also had to modify some of the build options used for mesa and libdrm. Feel free to take a look there if you want to get that working but as pointed out by Dominique, we are not focused on X in Tizen 3.0 so I'm not sure where this would lead you to.

A more interesting path would be to get the Wayland image running on VMware. I have quickly looked at the kernel used in Common and the vmwgfx driver is built as a module which means we could be hitting https://bugs.tizen.org/jira/browse/TIVI-2964. I'll see if I can run a quick test on my side to validate this. If that's the problem, you could try to turn security off (add 'security=none' at the kernel command-line) or rebuild the kernel with the 'vmwgfx' driver built-in.

Geoffroy

From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of Roman Kubiak
Sent: Wednesday, May 14, 2014 4:07 PM
To: dev at lists.tizen.org<mailto:dev at lists.tizen.org>
Subject: Re: [Dev] Common/Generic profile images usability

Just to update the Xorg image won't work either, there is only one driver included in the image for Xorg and that's the intel_drv.so (bit selfish i think) no fbdev or vmware drivers are present so Xorg will never start.
Also i can't any service in systemctl that could be some sort of a windows manager.

best regards
Roman Kubiak
On 05/14/2014 03:59 PM, Dominig ar Foll (Intel OTC) wrote:

Le 14/05/2014 15:38, Roman Kubiak a écrit :
I got the images running before (the IVI profile) on VMware, so VMware itself is not an issue.
My question was really, SHOULD I see something in the image, is there a UI in the common profile at all or is this a bare bones sort of OS image that contains no UI experience at all.
When booting Tizen Common you should have a  test UX (basic Weston) with several user pre-logged on the system.
The background show the sea and several islands.



My question about Xorg is still not answered, what is the UI for Xorg i should expec t to find in the common image (is there some sort of default WM that should launch?)
We currently do not build a Tizen Common for X but only Wayland 32 and 64 nits for IA and 32 bits for ARM (work in progress)
If someone is interested to take the responsibility of building and maintain X Common images, thanks to speak up.

Regards

Dominig






_______________________________________________

Dev mailing list

Dev at lists.tizen.org<mailto:Dev at lists.tizen.org>

https://lists.tizen.org/listinfo/dev


--

--------------

 Roman Kubiak

--------------

Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718.
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718.
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.




_______________________________________________

Dev mailing list

Dev at lists.tizen.org<mailto:Dev at lists.tizen.org>

https://lists.tizen.org/listinfo/dev

Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20140516/585edb3b/attachment-0001.html>


More information about the Dev mailing list