Thomas Wihl
|
IDE 4.5 creates useless efs images
|
Thomas Wihl
02/11/2009 8:44 AM
post21959
|
IDE 4.5 creates useless efs images
I have imported my flash images from 6.3.2 and now all files have the permisson 666 and therefore are no longer
executable.
It looks like the ide creates the script files for mkefs wrong.
All files are missing the permission property and therefore mkefs sets the permission to a default of 666.
A 6.4 line:
/bin/ls = C:\QNX640\target\qnx6\armle\bin\ls
and the 6.3.2 line:
[gid=0 uid=0 perms=777] /bin/ls = C:\QNX632\target\qnx6\armle\bin\ls
Regards,
Thomas
|
|
|
Elena Laskavaia
|
Re: IDE 4.5 creates useless efs images
|
Elena Laskavaia
02/11/2009 9:43 AM
post21974
|
Re: IDE 4.5 creates useless efs images
Yes, this bug being reported earlier and has been fixed in maintenance release 4.5.1, please download updated IDE from
foundry or use update site.
Thomas Wihl wrote:
> I have imported my flash images from 6.3.2 and now all files have the permisson 666 and therefore are no longer
executable.
> It looks like the ide creates the script files for mkefs wrong.
> All files are missing the permission property and therefore mkefs sets the permission to a default of 666.
> A 6.4 line:
> /bin/ls = C:\QNX640\target\qnx6\armle\bin\ls
> and the 6.3.2 line:
> [gid=0 uid=0 perms=777] /bin/ls = C:\QNX632\target\qnx6\armle\bin\ls
>
> Regards,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post21959
>
|
|
|
Thomas Wihl
|
Re: IDE 4.5 creates useless efs images
|
Thomas Wihl
02/11/2009 10:51 AM
post21999
|
Re: IDE 4.5 creates useless efs images
Still no luck. Now on 4.5.1 (Build I20081204).
I can change the default permission to 775 to make it work at the moment.
Thanks,
Thomas
|
|
|
Alex Chapiro
|
Re: IDE 4.5 creates useless efs images
|
Alex Chapiro
02/11/2009 11:07 AM
post22007
|
Re: IDE 4.5 creates useless efs images
I created simple project, added ESF image and added a couple of
executables to this project, then exported it. Below is what I've got:
[ block_size=64k spare_blocks=1 max_size=4G min_size=0]
[dperms=0777 uid=0 gid=0]
# Components
[perms=0777 data=copy]
/bin/altqstat = C:\QNX\QNX640\target\qnx6\armle\usr\sbin\altqstat
/libsocket.so.2 = C:\QNX\QNX640\target\qnx6\armle\lib\libsocket.so.2
/libm.so.2 = C:\QNX\QNX640\target\qnx6\armle\lib\libm.so.2
/libc.so.3 = C:\QNX\QNX640\target\qnx6\armle\lib\libc.so.3
/bin/aps = C:\QNX\QNX640\target\qnx6\armle\bin\aps
/bin/arp = C:\QNX\QNX640\target\qnx6\armle\usr\bin\arp
Is it not what you expect to see?
Regards,
Alex
On 11/02/2009 10:51 AM, Thomas Wihl wrote:
> Still no luck. Now on 4.5.1 (Build I20081204).
> I can change the default permission to 775 to make it work at the moment.
>
> Thanks,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post21999
>
>
|
|
|
Thomas Wihl
|
Re: IDE 4.5 creates useless efs images
|
Thomas Wihl
02/11/2009 11:16 AM
post22012
|
Re: IDE 4.5 creates useless efs images
No, I expected to see the same as with 6.3.2:
#
#
# GENERATED FILE - QNX System Builder Export
# Image Type: efs
# Image Sub-type: ffs3
#
[ block_size=128K spare_blocks=1 max_size=31M min_size=31M mount=/]
[dperms=0777 uid=0 gid=0]
[type=dir dperms=0777 uid=0 gid=0] /boot
[dperms=0777 uid=0 gid=0]
[type=dir dperms=0777 uid=0 gid=0] /bin
[dperms=0777 uid=0 gid=0]
[gid=0 uid=0 perms=777] /bin/ksh = C:\QNX632\target\qnx6\armle\bin\ksh
[gid=0 uid=0 perms=777] /lib/libc.so.2 = C:\QNX632\target\qnx6\armle\lib\libc.so.2
[type=link] /bin/sh = /bin/ksh
[gid=0 uid=0 perms=777] /bin/mount = C:\QNX632\target\qnx6\armle\bin\mount
[gid=0 uid=0 perms=777] /bin/ls = C:\QNX632\target\qnx6\armle\bin\ls
[gid=0 uid=0 perms=777] /bin/cat = C:\QNX632\target\qnx6\armle\bin\cat
[gid=0 uid=0 perms=777] /bin/mkdir = C:\QNX632\target\qnx6\armle\bin\mkdir
[gid=0 uid=0 perms=777] /bin/less = C:\QNX632\target\qnx6\armle\usr\bin\less
[gid=0 uid=0 perms=777] /bin/rm = C:\QNX632\target\qnx6\armle\bin\rm
[gid=0 uid=0 perms=777] /bin/rmdir = C:\QNX632\target\qnx6\armle\usr\bin\rmdir
At least the [perms=777] is required for each file as mkefs sets permission to 666 otherwise.
Regards,
Thomas
|
|
|
Alex Chapiro
|
Re: IDE 4.5 creates useless efs images
|
Alex Chapiro
02/11/2009 11:27 AM
post22015
|
Re: IDE 4.5 creates useless efs images
But I think that using of standalone [perms=0777 data=copy] also gives
you the same result, doesn't it?
On 11/02/2009 11:16 AM, Thomas Wihl wrote:
> No, I expected to see the same as with 6.3.2:
> #
> #
> # GENERATED FILE - QNX System Builder Export
> # Image Type: efs
> # Image Sub-type: ffs3
> #
> [ block_size=128K spare_blocks=1 max_size=31M min_size=31M mount=/]
> [dperms=0777 uid=0 gid=0]
> [type=dir dperms=0777 uid=0 gid=0] /boot
> [dperms=0777 uid=0 gid=0]
> [type=dir dperms=0777 uid=0 gid=0] /bin
> [dperms=0777 uid=0 gid=0]
> [gid=0 uid=0 perms=777] /bin/ksh = C:\QNX632\target\qnx6\armle\bin\ksh
> [gid=0 uid=0 perms=777] /lib/libc.so.2 = C:\QNX632\target\qnx6\armle\lib\libc.so.2
> [type=link] /bin/sh = /bin/ksh
> [gid=0 uid=0 perms=777] /bin/mount = C:\QNX632\target\qnx6\armle\bin\mount
> [gid=0 uid=0 perms=777] /bin/ls = C:\QNX632\target\qnx6\armle\bin\ls
> [gid=0 uid=0 perms=777] /bin/cat = C:\QNX632\target\qnx6\armle\bin\cat
> [gid=0 uid=0 perms=777] /bin/mkdir = C:\QNX632\target\qnx6\armle\bin\mkdir
> [gid=0 uid=0 perms=777] /bin/less = C:\QNX632\target\qnx6\armle\usr\bin\less
> [gid=0 uid=0 perms=777] /bin/rm = C:\QNX632\target\qnx6\armle\bin\rm
> [gid=0 uid=0 perms=777] /bin/rmdir = C:\QNX632\target\qnx6\armle\usr\bin\rmdir
>
> At least the [perms=777] is required for each file as mkefs sets permission to 666 otherwise.
>
> Regards,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22012
>
>
|
|
|
Thomas Wihl
|
Re: IDE 4.5 creates useless efs images
|
Thomas Wihl
02/11/2009 11:36 AM
post22019
|
Re: IDE 4.5 creates useless efs images
Hmm, maybe, but when I create an image all I get is:
[ block_size=64k spare_blocks=1 max_size=4G min_size=0]
[dperms=0777 uid=0 gid=0]
# Components
/bin/ls = C:\QNX640\target\qnx6\armle\bin\ls
/libc.so.3 = C:\QNX640\target\qnx6\armle\lib\libc.so.3
so no:
[perms=0777 data=copy]
or what so ever....am I missing something?
Thanks,
Thomas
|
|
|
Alex Chapiro
|
Re: IDE 4.5 creates useless efs images
|
Alex Chapiro
02/11/2009 11:46 AM
post22023
|
Re: IDE 4.5 creates useless efs images
Below is what I got for your example:
[ block_size=64k spare_blocks=1 max_size=4G min_size=0]
[dperms=0777 uid=0 gid=0]
# Components
[perms=0777]
/lib/libc.so.3 = C:\QNX\QNX640\target\qnx6\armle\lib\libc.so.3
/bin/ls = C:\QNX\QNX640\target\qnx6\armle\bin\ls
On 11/02/2009 11:36 AM, Thomas Wihl wrote:
> Hmm, maybe, but when I create an image all I get is:
> [ block_size=64k spare_blocks=1 max_size=4G min_size=0]
> [dperms=0777 uid=0 gid=0]
> # Components
> /bin/ls = C:\QNX640\target\qnx6\armle\bin\ls
> /libc.so.3 = C:\QNX640\target\qnx6\armle\lib\libc.so.3
>
> so no:
> [perms=0777 data=copy]
>
> or what so ever....am I missing something?
>
> Thanks,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22019
>
>
|
|
|
Alex Chapiro
|
Re: IDE 4.5 creates useless efs images
|
Alex Chapiro
02/11/2009 1:11 PM
post22039
|
Re: IDE 4.5 creates useless efs images
Anyway, could you please send me an example project. Maybe there is one
not obvious bug that I cannot reproduce for the some reason.
Thanks
Alex
On 11/02/2009 11:36 AM, Thomas Wihl wrote:
> Hmm, maybe, but when I create an image all I get is:
> [ block_size=64k spare_blocks=1 max_size=4G min_size=0]
> [dperms=0777 uid=0 gid=0]
> # Components
> /bin/ls = C:\QNX640\target\qnx6\armle\bin\ls
> /libc.so.3 = C:\QNX640\target\qnx6\armle\lib\libc.so.3
>
> so no:
> [perms=0777 data=copy]
>
> or what so ever....am I missing something?
>
> Thanks,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22019
>
>
|
|
|
Thomas Wihl
|
Re: IDE 4.5 creates useless efs images
|
Thomas Wihl
02/12/2009 2:30 AM
post22059
|
Re: IDE 4.5 creates useless efs images
Okay, here is my very simple example.
Thanks,
Thomas
|
|
|
Alex Chapiro
|
Re: IDE 4.5 creates useless efs images
|
Alex Chapiro
02/12/2009 7:28 AM
post22071
|
Re: IDE 4.5 creates useless efs images
Yes, works OK for me.
On 12/02/2009 2:30 AM, Thomas Wihl wrote:
> Okay, here is my very simple example.
>
> Thanks,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22059
>
|
|
|
Elena Laskavaia
|
Re: IDE 4.5 creates useless efs images
|
Elena Laskavaia
02/12/2009 10:27 AM
post22102
|
Re: IDE 4.5 creates useless efs images
I can reproduce it on 4.5.1. I will look into this asap, since it is a critical issue.
Thomas Wihl wrote:
> Okay, here is my very simple example.
>
> Thanks,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22059
|
|
|
Elena Laskavaia
|
Re: IDE 4.5 creates useless efs images
|
Elena Laskavaia
02/11/2009 1:29 PM
post22040
|
Re: IDE 4.5 creates useless efs images
That looks like exactly 4.5 unpatched version and it as was fixed in 4.5.1. Could it be not updated properly some-how?
Thomas Wihl wrote:
> Hmm, maybe, but when I create an image all I get is:
> [ block_size=64k spare_blocks=1 max_size=4G min_size=0]
> [dperms=0777 uid=0 gid=0]
> # Components
> /bin/ls = C:\QNX640\target\qnx6\armle\bin\ls
> /libc.so.3 = C:\QNX640\target\qnx6\armle\lib\libc.so.3
>
> so no:
> [perms=0777 data=copy]
>
> or what so ever....am I missing something?
>
> Thanks,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22019
>
|
|
|
Thomas Wihl
|
Re: IDE 4.5 creates useless efs images
|
Thomas Wihl
02/12/2009 2:29 AM
post22058
|
Re: IDE 4.5 creates useless efs images
Find attached my version info. Is it okay?
I have done the update through the IDE, should I try the zip file?
Thanks,
Thomas
|
|
|
Elena Laskavaia
|
Re: IDE 4.5 creates useless efs images
|
Elena Laskavaia
02/12/2009 9:30 AM
post22082
|
Re: IDE 4.5 creates useless efs images
Hold on, we need to investigate, maybe patch did not go through...
Thomas Wihl wrote:
> Find attached my version info. Is it okay?
> I have done the update through the IDE, should I try the zip file?
>
> Thanks,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22058
>
>
> ------------------------------------------------------------------------
>
|
|
|
Elena Laskavaia
|
Re: IDE 4.5 creates useless efs images
|
Elena Laskavaia
02/12/2009 10:42 AM
post22104
|
Re: IDE 4.5 creates useless efs images
This is patch for IDE 4.5.1
The problem manifests itself only when you have more then one image (it worked on first one)
Copy this file in eclipse/plugins directory of you IDE installation (remove previous .com.qnx.tools.ide.builder.core_4.5
.0* just in case)
|
|
|
Thomas Wihl
|
Re: IDE 4.5 creates useless efs images
|
Thomas Wihl
02/12/2009 11:08 AM
post22112
|
Re: IDE 4.5 creates useless efs images
Okay, tried to remove the old and place the new: Feature is completely gone.
Then tried to update (to get feature back) now IDE doesn't start anymore (see log).
So should I remove everything and start from scratch?
Thanks,
Thomas
|
|
|
Elena Laskavaia
|
Re: IDE 4.5 creates useless efs images
|
Elena Laskavaia
02/12/2009 11:12 AM
post22113
|
Re: IDE 4.5 creates useless efs images
weird. Are you on windows? Try to remove configuration area in <User Home>/momentics/4.5
and re-start
Thomas Wihl wrote:
> Okay, tried to remove the old and place the new: Feature is completely gone.
> Then tried to update (to get feature back) now IDE doesn't start anymore (see log).
> So should I remove everything and start from scratch?
>
> Thanks,
> Thomas
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22112
|
|
|
Thomas Wihl
|
Re: IDE 4.5 creates useless efs images
|
Thomas Wihl
02/12/2009 11:22 AM
post22115
|
Re: IDE 4.5 creates useless efs images
Yes I am on windows, and removing the config helped. But I am still not able to replace the builder just by replacing
the files? How to tell Eclipse to use the new one?
|
|
|
Elena Laskavaia
|
Re: IDE 4.5 creates useless efs images
|
Elena Laskavaia
02/12/2009 11:24 AM
post22116
|
Re: IDE 4.5 creates useless efs images
It should just use new one - if version is higher (which is). Check what plugins (versions) are loaded using Help->About
->Plugins-Details
Thomas Wihl wrote:
> Yes I am on windows, and removing the config helped. But I am still not able to replace the builder just by replacing
the files? How to tell Eclipse to use the new one?
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22115
>
|
|
|
Thomas Wihl
|
Re: IDE 4.5 creates useless efs images
|
Thomas Wihl
02/12/2009 11:44 AM
post22120
|
Re: IDE 4.5 creates useless efs images
It shows me old (no longer existing) version??????
|
|
|
Elena Laskavaia
|
Re: IDE 4.5 creates useless efs images
|
Elena Laskavaia
02/12/2009 11:53 AM
post22125
|
Re: IDE 4.5 creates useless efs images
It still caching it... Removing configuration area should have clean the cache.. Try start it from command line with
option -clean
Thomas Wihl wrote:
> It shows me old (no longer existing) version??????
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post22120
>
|
|
|
Thomas Wihl
|
Re: IDE 4.5 creates useless efs images
|
Thomas Wihl
02/13/2009 3:32 AM
post22178
|
Re: IDE 4.5 creates useless efs images
Okay the Configuration Details tells me:
com.qnx.tools.ide.builder.core (4.5.0.v200809191301) "QNX Momentics System Builder Core" [Active]
com.qnx.tools.ide.builder.core (4.5.0.200902121038) "QNX Momentics System Builder Core" [Installed]
I tried to delete dth 4.5/configuration directory, no luck. Same with -clean.....
Any ideas?
|
|
|
Andy Jin(deleted)
|
RE: IDE 4.5 creates useless efs images
|
Andy Jin(deleted)
02/13/2009 8:14 AM
post22190
|
RE: IDE 4.5 creates useless efs images
Can you move the 4.5.0.v200809191301 out of the "eclipse/plugins" directory and try again?
-----Original Message-----
From: Thomas Wihl [mailto:community-noreply@qnx.com]
Sent: Fri 13/02/2009 3:32 AM
To: general-ide
Subject: Re: IDE 4.5 creates useless efs images
Okay the Configuration Details tells me:
com.qnx.tools.ide.builder.core (4.5.0.v200809191301) "QNX Momentics System Builder Core" [Active]
com.qnx.tools.ide.builder.core (4.5.0.200902121038) "QNX Momentics System Builder Core" [Installed]
I tried to delete dth 4.5/configuration directory, no luck. Same with -clean.....
Any ideas?
_______________________________________________
General
http://community.qnx.com/sf/go/post22178
|
|
|
Elena Laskavaia
|
Re: IDE 4.5 creates useless efs images
|
Elena Laskavaia
02/13/2009 9:50 AM
post22214
|
Re: IDE 4.5 creates useless efs images
I made one with "v" in qualifier, that should work more smoothly if you just add it on top existing installation,
attached.
|
|
|
|