OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Yoru on February 15, 2006, 10:25:17 am

Title: Internal Microdrive To Install Apps
Post by: Yoru on February 15, 2006, 10:25:17 am
I have noticed during this firsts days of problems with my new C3100 that when I install the most part of programs can be installed but don't work.
My idea is to use my C3100's internal microdrive to install lib's, apps and all, I think that internal flash is too small.
I want to have installed the rom in the internal flash and leave the rest for this type of memory that is also used like RAM (I don't know it's name   , maybe swap?)

What I should do to the microdrive for make work the programs?
How can I use the rest of the internal flash like "RAM"?

I have searched in the forum but I haven't found anything important.

Thanks in advance
Title: Internal Microdrive To Install Apps
Post by: karlto on February 15, 2006, 03:40:31 pm
Quote
I have noticed during this firsts days of problems with my new C3100 that when I install the most part of programs can be installed but don't work.
My idea is to use my C3100's internal microdrive to install lib's, apps and all, I think that internal flash is too small.
I want to have installed the rom in the internal flash and leave the rest for this type of memory that is also used like RAM (I don't know it's name   , maybe swap?)

What I should do to the microdrive for make work the programs?
How can I use the rest of the internal flash like "RAM"?

I have searched in the forum but I haven't found anything important.

Thanks in advance
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114901\"][{POST_SNAPBACK}][/a][/div]

Make sure that symlinks are being made when you install to the microdrive - run ipkg-link to do this after installation (it should happen automatically, but I find that the graphical tool isn't so good).

As far as swap goes, it isn't quite the same as ram - I'd recommend putting this on the microdrive due to the amount of writing that takes place. Do a search for swap in this forum and you'll find heaps.
Title: Internal Microdrive To Install Apps
Post by: pgas on February 15, 2006, 03:48:55 pm
- the RAM is where the programs are executed
- the internal flash is comparable to the hard disk of a pc. packages can be  stored (ie installed) either on the internal flash or on the microdrive or other card or..
- swap is a part of the storage that the system can use as RAM  when the RAM is exhausted, ie when you run too many application at the same time

to install programs on your microdrive, you need to have a partition formatted with a unix filesystem (ext2 for instance)

see also:
http://mail.pdaxrom.org/contrib/docs/parti..._and_format.txt (http://mail.pdaxrom.org/contrib/docs/partition_and_format.txt)
and
http://www.pdaxrom.org/index.php?showid=43&menuid=8 (http://www.pdaxrom.org/index.php?showid=43&menuid=8)
Title: Internal Microdrive To Install Apps
Post by: Yoru on February 15, 2006, 06:04:12 pm
Ok, I got it, never do a swap file in any type of flash memory, so there is only one choice, the internal microdrive.

Quote
to install programs on your microdrive, you need to have a partition formatted with a unix filesystem (ext2 for instance)

I have the MD formated in ext2 (one question, diferences between ext2 and ext3??) but now I am thinking about make a partition of 2,5GB in fat and the rest (about 1,3GB) in ext2 or ext3 for apps. How much is recomended for swap file?

What I still do not understand are the symlinks, although a program or a library is in another place that is not the internal flash, can I do somethig to "tell the system" that all the programs and libraries are in MD? (I think that this is the problem why apps don't run on my device...)

PD: I have seen that by default, my internal microdrive has 3 partitions:
- /dev/hda1 9725 (1k-blocks) ext2
- /dev/hda2 9755 (1k-blocks) ext3
- /dev/hda3 3917024 (1k-blocks) vfat (now in ext2)
With what purpose are they there?

Thanks for your replies  
Title: Internal Microdrive To Install Apps
Post by: karlto on February 15, 2006, 07:33:07 pm
Quote
Ok, I got it, never do a swap file in any type of flash memory, so there is only one choice, the internal microdrive.

Quote
to install programs on your microdrive, you need to have a partition formatted with a unix filesystem (ext2 for instance)

I have the MD formated in ext2 (one question, diferences between ext2 and ext3??) but now I am thinking about make a partition of 2,5GB in fat and the rest (about 1,3GB) in ext2 or ext3 for apps. How much is recomended for swap file?

What I still do not understand are the symlinks, although a program or a library is in another place that is not the internal flash, can I do somethig to "tell the system" that all the programs and libraries are in MD? (I think that this is the problem why apps don't run on my device...)

PD: I have seen that by default, my internal microdrive has 3 partitions:
- /dev/hda1 9725 (1k-blocks) ext2
- /dev/hda2 9755 (1k-blocks) ext3
- /dev/hda3 3917024 (1k-blocks) vfat (now in ext2)
With what purpose are they there?

Thanks for your replies  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114943\"][{POST_SNAPBACK}][/a][/div]

Difference between ext2 and ext3 is just journalling in ext3 (otherwise same file system).

You can tell your system about all the progs on the drive by calling 'ipkg-link mount /mnt/cf' (or wherever your MD is mounted) in one of your startup scripts after the drive is mounted, or just manually on the command line.
Title: Internal Microdrive To Install Apps
Post by: andresgriego on February 15, 2006, 08:29:24 pm
I also read recently that ext3 isn't good for the Zaurus because an ext3 filesystem will take more CPU cycles than an ext2 will, to do an equivalent operation.

But I'm just a noob, so I could be full of it.  
Title: Internal Microdrive To Install Apps
Post by: pgas on February 16, 2006, 12:18:06 am
Quote
What I still do not understand are the symlinks, although a program or a library is in another place that is not the internal flash, can I do somethig to "tell the system" that all the programs and libraries are in MD?

more info on ipk :
http://mail.pdaxrom.org/contrib/docs/ipk.txt (http://mail.pdaxrom.org/contrib/docs/ipk.txt)
Title: Internal Microdrive To Install Apps
Post by: Yoru on February 16, 2006, 03:19:58 am
Pgas too many thanks for your links!! They are very useful!
Title: Internal Microdrive To Install Apps
Post by: Yoru on February 19, 2006, 09:39:47 am
Hi again!

I have made 3 partitions and formatted them:
- hda1 1,5GB in ext2
- hda2 65 in ext2 (I have made a swapfile of 64MB)
- hda3 2,5GB in vfat

I have installed all the programs in hda1 and they work except those:
- Firefox --> I can open it but any button work, I cant do anything with the bowser.
- VIM --> I can open it but instantly It closes doing anything
- ROX filer --> I cant open it
- Gaim --> Apparently it works ok but when I ad my MSN account, when I try to sign on, in the 3rd step of connection ("Retrieving buddy list") all the Gaim windows are closed automatically >_<

I have made a "ipkg-link mount /dev/ide" but I cant solve any problems. Is very important for me that Gaim works,

What I am doing wrong?
Title: Internal Microdrive To Install Apps
Post by: karlto on February 19, 2006, 02:13:48 pm
Quote
- Firefox --> I can open it but any button work, I cant do anything with the bowser.
- VIM --> I can open it but instantly It closes doing anything
- ROX filer --> I cant open it
- Gaim --> Apparently it works ok but when I ad my MSN account, when I try to sign on, in the 3rd step of connection ("Retrieving buddy list") all the Gaim windows are closed automatically >_<

I have made a "ipkg-link mount /dev/ide" but I cant solve any problems. Is very important for me that Gaim works,

What I am doing wrong?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115329\"][{POST_SNAPBACK}][/a][/div]

It seems you are on the right track - especially if other programs installed on the microdrive are working. Have you tried starting these programs from a terminal to see if you get any messages?
Title: Internal Microdrive To Install Apps
Post by: Yoru on February 19, 2006, 05:41:57 pm
Quote
It seems you are on the right track - especially if other programs installed on the microdrive are working. Have you tried starting these programs from a terminal to see if you get any messages?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115351\"][{POST_SNAPBACK}][/a][/div]

I have tried and I get this messages:
- When I try to sign on, in the 3rd step of connection ("Retrieving buddy list") and all the Gaim windows are closed automatically, the terminal says "aborted"
- When I run ROX Filer I have this message:
Code: [Select]
# rox
#
(ROX-Filer:23649): GLib-GObject-WARNING **: cannot register existing type `GtkIconTheme'

(ROX-Filer:23649): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `'
- With VIM I have this:
Code: [Select]
vim: relocation error: vim: undefined symbol: __divsi3
                                                                                         #
- With Firefox I havent any message

What I am doing wrong?  
Title: Internal Microdrive To Install Apps
Post by: karlto on February 19, 2006, 06:53:41 pm
Quote
Quote
It seems you are on the right track - especially if other programs installed on the microdrive are working. Have you tried starting these programs from a terminal to see if you get any messages?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=115351\")

I have tried and I get this messages:
- When I try to sign on, in the 3rd step of connection ("Retrieving buddy list") and all the Gaim windows are closed automatically, the terminal says "aborted"
- When I run ROX Filer I have this message:
Code: [Select]
# rox
#
(ROX-Filer:23649): GLib-GObject-WARNING **: cannot register existing type `GtkIconTheme'

(ROX-Filer:23649): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `'
- With VIM I have this:
Code: [Select]
vim: relocation error: vim: undefined symbol: __divsi3
                                                                                         #
- With Firefox I havent any message

What I am doing wrong?  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115360\"][{POST_SNAPBACK}][/a][/div]

The vim error is covered in [a href=\"https://www.oesf.org/forums/index.php?showtopic=6390]this old thread[/url], and the glib error also seems to be library related. Do you have different or strange versions of libraries installed? Which version of pdaXrom are you using?
Title: Internal Microdrive To Install Apps
Post by: Yoru on February 20, 2006, 11:34:29 am
As far as I know I havent any strange versions of libraries installed.
I use the last version of pdaXrom 1.1.0
Title: Internal Microdrive To Install Apps
Post by: pgas on February 20, 2006, 12:19:57 pm
where did you find the applications?
there:
http://mail.pdaxrom.org/1.1.0beta1/ (http://mail.pdaxrom.org/1.1.0beta1/) ?
Title: Internal Microdrive To Install Apps
Post by: Yoru on February 21, 2006, 04:22:29 am
yes, all the apps I have are from pdaxrom.org
Title: Internal Microdrive To Install Apps
Post by: pgas on February 21, 2006, 04:34:37 am
Quote
yes, all the apps I have are from pdaxrom.org
applications here:
http://www.pdaxrom.org/ipk_feed.php (http://www.pdaxrom.org/ipk_feed.php)

won't work with 1.10beta1
Title: Internal Microdrive To Install Apps
Post by: Yoru on February 22, 2006, 10:45:23 am
What f***!    I have the same problems with firefox and gaim...

I am desesperated, I cant use the two most needed programs  
Title: Internal Microdrive To Install Apps
Post by: karlto on February 22, 2006, 02:42:10 pm
Quote
What f***!    I have the same problems with firefox and gaim...

I am desesperated, I cant use the two most needed programs 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115735\"][{POST_SNAPBACK}][/a][/div]

You seem to have fixed your original problem with installing apps on the microdrive. Now you are just having problems running these specific apps, correct?

Have you tried uninstalling and installing the ones from the correct link above? Do you still get errors if you install on root instead of microdrive?
Title: Internal Microdrive To Install Apps
Post by: Yoru on February 24, 2006, 10:31:05 am
installing on root or user I have the same problems.

I have seen that Gaim's error is when you have a buddy online