Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo running on mini2440(arm) + sd-card = some problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Gucky_der_Mausbiber
Guru
Guru


Joined: 10 Apr 2005
Posts: 359
Location: Wetzlar, Hessen

PostPosted: Sun Jul 05, 2009 6:31 pm    Post subject: gentoo running on mini2440(arm) + sd-card = some problems Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54584
Location: 56N 3W

PostPosted: Sun Jul 05, 2009 7:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
armin76
Retired Dev
Retired Dev


Joined: 24 Apr 2006
Posts: 174

PostPosted: Sun Jul 12, 2009 9:33 am    Post subject: Re: gentoo running on mini2440(arm) + sd-card = some problem Reply with quote

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
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sun Jul 26, 2009 3:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum