OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Internal Microdrive To Install Apps
Yoru
post Feb 15 2006, 07:25 AM
Post #1





Group: Members
Posts: 75
Joined: 15-January 06
From: Vitoria
Member No.: 8,928



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 blink.gif , 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
Go to the top of the page
 
+Quote Post
karlto
post Feb 15 2006, 12:40 PM
Post #2





Group: Members
Posts: 343
Joined: 3-October 05
From: NZ
Member No.: 8,243



QUOTE(Yoru @ Feb 16 2006, 04:25 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  blink.gif , 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
*


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.
Go to the top of the page
 
+Quote Post
pgas
post Feb 15 2006, 12:48 PM
Post #3





Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210



- 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
and
http://www.pdaxrom.org/index.php?showid=43&menuid=8
Go to the top of the page
 
+Quote Post
Yoru
post Feb 15 2006, 03:04 PM
Post #4





Group: Members
Posts: 75
Joined: 15-January 06
From: Vitoria
Member No.: 8,928



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 biggrin.gif
Go to the top of the page
 
+Quote Post
karlto
post Feb 15 2006, 04:33 PM
Post #5





Group: Members
Posts: 343
Joined: 3-October 05
From: NZ
Member No.: 8,243



QUOTE(Yoru @ Feb 16 2006, 12:04 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 biggrin.gif
*



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.
Go to the top of the page
 
+Quote Post
andresgriego
post Feb 15 2006, 05:29 PM
Post #6





Group: Members
Posts: 48
Joined: 22-January 06
Member No.: 8,972



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. ph34r.gif
Go to the top of the page
 
+Quote Post
pgas
post Feb 15 2006, 09:18 PM
Post #7





Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210



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
Go to the top of the page
 
+Quote Post
Yoru
post Feb 16 2006, 12:19 AM
Post #8





Group: Members
Posts: 75
Joined: 15-January 06
From: Vitoria
Member No.: 8,928



Pgas too many thanks for your links!! They are very useful!
Go to the top of the page
 
+Quote Post
Yoru
post Feb 19 2006, 06:39 AM
Post #9





Group: Members
Posts: 75
Joined: 15-January 06
From: Vitoria
Member No.: 8,928



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?
Go to the top of the page
 
+Quote Post
karlto
post Feb 19 2006, 11:13 AM
Post #10





Group: Members
Posts: 343
Joined: 3-October 05
From: NZ
Member No.: 8,243



QUOTE(Yoru @ Feb 20 2006, 03:39 AM)
- 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?
*


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?
Go to the top of the page
 
+Quote Post
Yoru
post Feb 19 2006, 02:41 PM
Post #11





Group: Members
Posts: 75
Joined: 15-January 06
From: Vitoria
Member No.: 8,928



QUOTE(karlto @ Feb 19 2006, 09:13 PM)
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?
*


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
# 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 `<invalid>'

- With VIM I have this:
CODE
vim: relocation error: vim: undefined symbol: __divsi3
                                                                                        #

- With Firefox I havent any message

What I am doing wrong? mad.gif
Go to the top of the page
 
+Quote Post
karlto
post Feb 19 2006, 03:53 PM
Post #12





Group: Members
Posts: 343
Joined: 3-October 05
From: NZ
Member No.: 8,243



QUOTE(Yoru @ Feb 20 2006, 11:41 AM)
QUOTE(karlto @ Feb 19 2006, 09:13 PM)
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?
*


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
# 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 `<invalid>'

- With VIM I have this:
CODE
vim: relocation error: vim: undefined symbol: __divsi3
                                                                                        #

- With Firefox I havent any message

What I am doing wrong? mad.gif
*



The vim error is covered in this old thread, 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?
Go to the top of the page
 
+Quote Post
Yoru
post Feb 20 2006, 08:34 AM
Post #13





Group: Members
Posts: 75
Joined: 15-January 06
From: Vitoria
Member No.: 8,928



As far as I know I havent any strange versions of libraries installed.
I use the last version of pdaXrom 1.1.0
Go to the top of the page
 
+Quote Post
pgas
post Feb 20 2006, 09:19 AM
Post #14





Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210



where did you find the applications?
there:
http://mail.pdaxrom.org/1.1.0beta1/ ?
Go to the top of the page
 
+Quote Post
Yoru
post Feb 21 2006, 01:22 AM
Post #15





Group: Members
Posts: 75
Joined: 15-January 06
From: Vitoria
Member No.: 8,928



yes, all the apps I have are from pdaxrom.org
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 08:35 AM