View previous topic :: View next topic |
Author |
Message |
Gucky_der_Mausbiber Guru
Joined: 10 Apr 2005 Posts: 359 Location: Wetzlar, Hessen
|
Posted: Sun Jul 05, 2009 6:31 pm Post subject: gentoo running on mini2440(arm) + sd-card = some problems |
|
|
Hi guys,
i've been running gentoo on a mini2440, it's a arm powered development-board. Gentoo is running from a 2 GB Sd-Card.
First thing is the place on the sd-card.
After copying arm-stage3-autobuild and the latest portage-snapshot to the sd-card, "df" shows me 60% full, what means 1GB are gone. But when i check the folder size gentoo tells me all files are about 600MB only. Where are the other 400MB of the cd-card?
Next thing is a serious message when gentoo is booting it shows me the following error :
Code: | Unknow HZ value! (83) Assume 100. | the error appears 5-6 x times _________________ intel quad core, nvidia 8800gts, intel hd audio+sb live, gnome 2.24 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54592 Location: 56N 3W
|
Posted: Sun Jul 05, 2009 7:12 pm Post subject: |
|
|
Gucky_der_Mausbiber,
The portage snapshot can waste a lot of space as its a large number of very small files.
df shows the space allocated but the folder size shows the space used.
For example, a file may only hold 100 bytes but it is still allocated a whole disk block
Exactly what a disk block is is filesystem dependent but on FLASH, it will be 2k or 4k.
The space from byte 101 to the end of the block is wasted.
You do not need the whole snapshot and can prune branches you will not require.
Portage can manage your pruned tree for you too as it accepts an exclude list.
I don't know exactly how but I have seen it in the docs. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
armin76 Retired Dev
Joined: 24 Apr 2006 Posts: 174
|
Posted: Sun Jul 12, 2009 9:33 am Post subject: Re: gentoo running on mini2440(arm) + sd-card = some problem |
|
|
Gucky_der_Mausbiber wrote: | Hi guys,
Next thing is a serious message when gentoo is booting it shows me the following error :
Code: | Unknow HZ value! (83) Assume 100. | the error appears 5-6 x times |
Thats a known bug on procps with ARM, have a look at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460331 |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Jul 26, 2009 3:17 pm Post subject: |
|
|
NeddySeagoon wrote: | Gucky_der_Mausbiber,
The portage snapshot can waste a lot of space as its a large number of very small files.
df shows the space allocated but the folder size shows the space used.
For example, a file may only hold 100 bytes but it is still allocated a whole disk block
Exactly what a disk block is is filesystem dependent but on FLASH, it will be 2k or 4k.
The space from byte 101 to the end of the block is wasted.
You do not need the whole snapshot and can prune branches you will not require.
Portage can manage your pruned tree for you too as it accepts an exclude list.
I don't know exactly how but I have seen it in the docs. | A better idea, if this is networked and you have another linux machine is to put just /usr/portage on another computer and run it nfs - that way you save space locally on distfiles as well. _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
|