Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - IDE 4.5 creates useless efs images: Page 1 of 2 (26 Items)
   
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
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
> 
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
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
>
>    
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
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
>
>    


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
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
>
>    
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
>
>    
Re: IDE 4.5 creates useless efs images  
Okay, here is my very simple example.

Thanks,
Thomas
Attachment: Compressed file test6.4.zip 3.72 KB
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
>    
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
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
> 
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
Attachment: Image ScreenShot022.png 64.3 KB
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
> 
> 
> ------------------------------------------------------------------------
> 
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)
Attachment: Text com.qnx.tools.ide.builder.core_4.5.0.200902121038.jar 169.16 KB
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
Attachment: Text 1234454774549.log 3.01 KB
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
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?
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
> 
Re: IDE 4.5 creates useless efs images  
It shows me old (no longer existing) version??????
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
> 
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?
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


Attachment: Text winmail.dat 2.64 KB
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.
Attachment: Text com.qnx.tools.ide.builder.core_4.5.0.v200902130948.jar 169.17 KB