Re: [gentoo-user] Gentoo on a Beaglebone

2012-08-06 Thread Bryan Gardiner
On August 6, 2012 06:51:41 AM meino.cra...@gmx.de wrote:
 
 What is meant with please convert /etc/portage/package.keywords to a
 directory What will happen to the contents of that file? What is the name
 of the directory to create? How can I fix that?
 
 Thank you very much in advance for any help!
 Best regards,
 mcc

package.keywords can be a directory instead of a file, in which case the file 
that ends up getting used is the concatenation of all of the files in the 
directory.  It lets you split your keywords up rather than having one large 
monolithic file.  In my case:

$ ll /etc/portage/package.accept_keywords/
total 28
-rw-r--r-- 1 root   root   4314 Apr 22 12:42 eclipse-3.7
-rw-r--r-- 1 khumba khumba 8739 Aug  1 23:56 kde-4.9.keywords.2012-08-01
-rw-r--r-- 1 root   root   3999 Aug  2 23:11 mine

The KDE file for example is provided on the Gentoo KDE page for unmasking all 
of the files necessary for KDE 4.9, and you don't have to merge it into your 
personal keywords file.  You have to be careful not to leave any xxx~ backup 
files in the directory, because they count as well.

The same applies to package.use.  The new style is for the file/directory to be 
called package.accept_keywords.  There's more info in man 5 portage.

Cheers,
Bryan



Re: [gentoo-user] Gentoo on a Beaglebone

2012-08-06 Thread meino . cramer
Bryan Gardiner b...@khumba.net [12-08-06 09:24]:
 On August 6, 2012 06:51:41 AM meino.cra...@gmx.de wrote:
  
  What is meant with please convert /etc/portage/package.keywords to a
  directory What will happen to the contents of that file? What is the name
  of the directory to create? How can I fix that?
  
  Thank you very much in advance for any help!
  Best regards,
  mcc
 
 package.keywords can be a directory instead of a file, in which case the 
 file 
 that ends up getting used is the concatenation of all of the files in the 
 directory.  It lets you split your keywords up rather than having one large 
 monolithic file.  In my case:
 
 $ ll /etc/portage/package.accept_keywords/
 total 28
 -rw-r--r-- 1 root   root   4314 Apr 22 12:42 eclipse-3.7
 -rw-r--r-- 1 khumba khumba 8739 Aug  1 23:56 kde-4.9.keywords.2012-08-01
 -rw-r--r-- 1 root   root   3999 Aug  2 23:11 mine
 
 The KDE file for example is provided on the Gentoo KDE page for unmasking all 
 of the files necessary for KDE 4.9, and you don't have to merge it into your 
 personal keywords file.  You have to be careful not to leave any xxx~ backup 
 files in the directory, because they count as well.
 
 The same applies to package.use.  The new style is for the file/directory to 
 be 
 called package.accept_keywords.  There's more info in man 5 portage.
 
 Cheers,
 Bryan
 

Hi Bryan,

thank you for your help and explanations! :)

Best regards,
mcc






[gentoo-user] mdadm device removed

2012-08-06 Thread Kraus Philipp
Hello,

I'm using a software raid with mdadm (mirror). A few days ago the mdadm removes 
during the boot process one disk and sets the raid inactive.
The disk contains no errors (smartctl) and nothing is reported in the logs. I 
reassemble the disk and activate the raid again. Reboot
the system and my disk are in sync and everything works fine.

I'm a little bit confused about it. Does anybody has got an idea, why the array 
lost a disk?

Thanks


Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Dale
Dale wrote:
 Howdy,

 I finally got me a 3Tb drive on the way.  Should be here Wednesday.  I
 have seen some reviews where it would not work right.  I think some of
 it may be BIOS related since some BIOS's don't like drives that large. 
 Anyway, I want to test this thing real good to really make sure it is up
 to the task before putting my data on it.  It's going to be so much
 data, there is really no way to do back-ups at this point.  Come on, 2
 to 3Tbs on 4Gb DVDs.  Really?  lol  Maybe a external drive later on but
 for now, well. 

 I have heard of bonnie and friends.  I also think dd could do some
 testing too.  Is there any other way to give this a good work and see if
 it holds up?  Oh, helpful hints with Bonnie would be great too.  I have
 never used it before.  Maybe someone has some test that is really brutal. 

 Thanks

 Dale

 :-)  :-) 


I seem to have got a few really good responses to my question.  Since I
really want to test this drive really hard, I'll try them all.  lol  If
it survives a few runs of all this, maybe it is going to live.  Like the
one with the script too.  May have to edit for my needs but certainly a
GREAT start. 

While at it, I found a lot of references to the flood in Japan or I
assume it was Japan.  Anyone think this could still be a problem? 
Should they all be flushed out of the system by now?  Pardon the flush
term there.  ;-) 

Linky:

http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=1310560CatId=4357

Please, no hard drive brand flame wars.  Seagates fail, WD fails, they
all fail at some point.  We all know that already.  This is what I got
so it is what it is.  :-D  That is why I want to test this thing like a
wild man BEFORE putting anything on it.  If it has a issue, hopefully
the test will bring that to the front now instead of later. 

Waiting on Wednesday to get here now. 

Dale

:-)  :-) 

P. S.  What is a good way to back up something this large BESIDES
another drive the same size or larger?  I thought about getting a blue
ray burner but even that will take a lot of media.  Another drive is all
I can think of myself. 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Volker Armin Hemmann
What do you gain if you abuse your drive so hard that its lifetime is
severly impacted?
Am 06.08.2012 11:47 schrieb Dale rdalek1...@gmail.com:

 Dale wrote:
  Howdy,
 
  I finally got me a 3Tb drive on the way.  Should be here Wednesday.  I
  have seen some reviews where it would not work right.  I think some of
  it may be BIOS related since some BIOS's don't like drives that large.
  Anyway, I want to test this thing real good to really make sure it is up
  to the task before putting my data on it.  It's going to be so much
  data, there is really no way to do back-ups at this point.  Come on, 2
  to 3Tbs on 4Gb DVDs.  Really?  lol  Maybe a external drive later on but
  for now, well.
 
  I have heard of bonnie and friends.  I also think dd could do some
  testing too.  Is there any other way to give this a good work and see if
  it holds up?  Oh, helpful hints with Bonnie would be great too.  I have
  never used it before.  Maybe someone has some test that is really brutal.
 
  Thanks
 
  Dale
 
  :-)  :-)
 

 I seem to have got a few really good responses to my question.  Since I
 really want to test this drive really hard, I'll try them all.  lol  If
 it survives a few runs of all this, maybe it is going to live.  Like the
 one with the script too.  May have to edit for my needs but certainly a
 GREAT start.

 While at it, I found a lot of references to the flood in Japan or I
 assume it was Japan.  Anyone think this could still be a problem?
 Should they all be flushed out of the system by now?  Pardon the flush
 term there.  ;-)

 Linky:


 http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=1310560CatId=4357

 Please, no hard drive brand flame wars.  Seagates fail, WD fails, they
 all fail at some point.  We all know that already.  This is what I got
 so it is what it is.  :-D  That is why I want to test this thing like a
 wild man BEFORE putting anything on it.  If it has a issue, hopefully
 the test will bring that to the front now instead of later.

 Waiting on Wednesday to get here now.

 Dale

 :-)  :-)

 P. S.  What is a good way to back up something this large BESIDES
 another drive the same size or larger?  I thought about getting a blue
 ray burner but even that will take a lot of media.  Another drive is all
 I can think of myself.

 --
 I am only responsible for what I said ... Not for what you understood or
 how you interpreted my words!





Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Mick
On Monday 06 Aug 2012 10:42:17 Dale wrote:

 If it has a issue, hopefully
 the test will bring that to the front now instead of later.

Or it is just going to knacker your drive and make it fail earlier that it 
would otherwise (esp if you overheat it)?  ha, ha!


 P. S.  What is a good way to back up something this large BESIDES
 another drive the same size or larger?  I thought about getting a blue
 ray burner but even that will take a lot of media.  Another drive is all
 I can think of myself.

Splitting it?

Partimage would do that and so would star/tar for fs level backups.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Dale
Volker Armin Hemmann wrote:

 What do you gain if you abuse your drive so hard that its lifetime is
 severly impacted?


That if it has a problem that will cause it to fail soon in it's life,
then I can find it soon.  Remember that curve about failures?  I would
like to get past that first part of the curve.  Maybe by the time I get
to the later part, I'll have another drive or some backup scheme.  Most
the failures I have read about in reviews for this drive were early or
was just plain old DOA.  Testing it will get me past that.  I'd rather
it fail before I get my data on it instead of after. 

I thought I posted why I wanted to do this in my first post. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Dale
Mick wrote:
 On Monday 06 Aug 2012 10:42:17 Dale wrote:

 If it has a issue, hopefully
 the test will bring that to the front now instead of later.
 Or it is just going to knacker your drive and make it fail earlier that it 
 would otherwise (esp if you overheat it)?  ha, ha!

Well, if it is going to fail because of anything, including heat, I
would rather it do so BEFORE I put my stuff on it.  Right now, a backup
is not possible other than a blue ray or something.  Also, I have a
Cooler Master case with the fan blowing right on the drives.  If it gets
hot and blows a fuse, it has a problem anyway.  It may as well die early
while under warranty. 


 P. S.  What is a good way to back up something this large BESIDES
 another drive the same size or larger?  I thought about getting a blue
 ray burner but even that will take a lot of media.  Another drive is all
 I can think of myself.
 Splitting it?

 Partimage would do that and so would star/tar for fs level backups.

Split what?  The drive into two partitions or something?  If that is
what you mean, if it dies, I'd still loose it all.  If you meant two
drives, well, I only have one on the way right now.  It will be a while
before I can get another.  In the past, I just backed up stuff on DVDs. 
3Tbs is a lot of DVDs tho.  It won't take to long to fill that up
either.  I love my DSL.  lol

I hope to get another drive in the future tho.  Just going to be a
little while.  ;-) 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06.08.2012 12:14, Dale wrote:
 Volker Armin Hemmann wrote:
 
 What do you gain if you abuse your drive so hard that its
 lifetime is severly impacted?
 
 
 That if it has a problem that will cause it to fail soon in it's
 life, then I can find it soon.  Remember that curve about failures?
 I would like to get past that first part of the curve.  Maybe by
 the time I get to the later part, I'll have another drive or some
 backup scheme.  Most the failures I have read about in reviews for
 this drive were early or was just plain old DOA.  Testing it will
 get me past that.  I'd rather it fail before I get my data on it
 instead of after.
 
 I thought I posted why I wanted to do this in my first post.
 
 Dale
 
 :-)  :-)
 

Why not simply get you data on it and use it for about 2 weeks? Maybe
you should mirror important stuff to the old drive for that time.

After about 2 weeks of normal usage you should be well out of the
beginnig of that bathtub curve (I always had problems when copying
data to the new drive when I had a bad one, except DOA of course).


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQH6ESAAoJEJwwOFaNFkYc1f0IAK/UpzNp/r4KBYczYIc9jKmJ
3JBvtCWPZkJ1qRXfZtErTk/oamPa+/iapJSoaoj4p45Uvjq5Qh5WDXiAlZs3U805
X1nCc9OMfKc3KGK3bcSKLhSIA1oV1imdgq1OqH/NeioEqOuVy56ZOdvwq6ml2fwM
1ZjBjsp1uqirork5eyZcJGGoNcsJpX3DvTZ7tBwM0gDFHcu4Yj3alEy7PgiYny4W
z0/K91jnyBouX7+CwtWKvGNgjGqMxXXp4SUS4MuOKs06p4LFKi/gHBRCAYjuTRK1
O3cKfz4nHMI+F2rH48sCAUgT5K88cdiX40lZpqTWyqADUQO9F1ZzTcg4fZW447s=
=s524
-END PGP SIGNATURE-



Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Neil Bothwick
On Mon, 06 Aug 2012 04:42:17 -0500, Dale wrote:

 P. S.  What is a good way to back up something this large BESIDES
 another drive the same size or larger?

A smaller drive, backups can be compressed. Also, you don't need to
backup everything, for example rips of DVDs and CDs you own can be
recreated. If you organise your data to separate stuff that needs to be
backed up from that which doesn't you can reduce the amount of space
needed.

Factor in that you won't be filling this drive for a while and that you
don't need maximum performance from a backup drive and you'll almost
certainly get by with using your old drive(s).

Really important stuff should be stored offsite, Amazon S3 gives the best
value for me.


-- 
Neil Bothwick

Ask a silly person, get a silly answer


signature.asc
Description: PGP signature


Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Dale
Neil Bothwick wrote:
 On Mon, 06 Aug 2012 04:42:17 -0500, Dale wrote:

 P. S.  What is a good way to back up something this large BESIDES
 another drive the same size or larger?
 A smaller drive, backups can be compressed. Also, you don't need to
 backup everything, for example rips of DVDs and CDs you own can be
 recreated. If you organise your data to separate stuff that needs to be
 backed up from that which doesn't you can reduce the amount of space
 needed.

 Factor in that you won't be filling this drive for a while and that you
 don't need maximum performance from a backup drive and you'll almost
 certainly get by with using your old drive(s).

 Really important stuff should be stored offsite, Amazon S3 gives the best
 value for me.



What I have on there is videos.  When I tried to compress some and test,
it was basically the same size.  I guess videos don't compress to much? 

When I put this in, I'm going to redo the whole thing.  Ages ago when I
was green all over and not just around the gills, I created a /data
directory and that is where I stored stuff.  My new plan, the new
drive will become /home and I will be putting things where they should
have been to begin with.  I plan to reorganize this whole mess I created
ages ago.  That video directory is HUGE tho. 

root@fireball / # du -shc /data/Videos/
703G/data/Videos/
703Gtotal
root@fireball / #

While I am at it.  You should have a good answer for this one.  What is
a good file system for this sort of thing?  I been using ext4 but it
sure does use a lot of space for its overhead.  As far as files go, most
will likely be videos.  I do have other files but when compared to the
number of videos, they are close to nothing.  The files system for the
current 1Tb, spread across two drives with LVM, uses about 75Gbs for the
file system thingy.  That's a pretty good bit to me.  I may lose more
than 200Gbs on this 3Tb drive.  O_O

Thanks.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




[gentoo-user] headset bluetooth problem

2012-08-06 Thread João Matos
Dears,

Actually It is working. But not the way I want it. I've installed bluez and
stuff, I've wrote some lines at /etc/asound.conf and I'm able to hear from
it while I type something like this:

mplayer -ao alsa:device=bluetooth filename

I could also configure it at Skype, but the microphone not seems to be
working.

Despite I've used kde interface to sync and connect the headset (nokia
bh-503), I can't find it at multimidia center (just bluetooth), neither I
can configure it at any other place to turn my default audio device. The
only way I could use it till now was the command line above and skype.

I think it is more an alsa or kde configuration problem than a bluetooth
properly. Here is my asound.conf,

  @hooks [
{
func load
files [
/usr/share/alsa/bluetooth.conf
]
errors false
}
  ]

  pcm.!default {
  type bluetooth
  device 50:08:5b:00:a5:48
  profile auto
  }

that was inspired on http://en.gentoo-wiki.com/wiki/Bluetooth_headset .

Any help will be appreciated. Thank you.

-- 
João de Matos
Linux User #461527
Graduando em Engenharia de Computação 2005.1
UEFS - Universidade Estadual de Feira de Santana


Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Neil Bothwick
On Mon, 06 Aug 2012 06:25:19 -0500, Dale wrote:

 While I am at it.  You should have a good answer for this one.  What is
 a good file system for this sort of thing?  I been using ext4 but it
 sure does use a lot of space for its overhead.

My MythTV box used XFS, but I use ext4 on newer systems. If you're only
storing data on it, create the filesystem with the -m 0 option to make
all the space available.


-- 
Neil Bothwick

There is always one more imbecile than you counted on.


signature.asc
Description: PGP signature


Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Michael Hampicke
 What I have on there is videos.  When I tried to compress some and test,
 it was basically the same size.  I guess videos don't compress to much? 
 

No videos don't compress well at all, compressing video files is just a
waste of cpu cycles :)

 When I put this in, I'm going to redo the whole thing.  Ages ago when I
 was green all over and not just around the gills, I created a /data
 directory and that is where I stored stuff.  My new plan, the new
 drive will become /home and I will be putting things where they should
 have been to begin with.  I plan to reorganize this whole mess I created
 ages ago.  That video directory is HUGE tho. 
 
 root@fireball / # du -shc /data/Videos/
 703G/data/Videos/
 703Gtotal
 root@fireball / #
 
 While I am at it.  You should have a good answer for this one.  What is
 a good file system for this sort of thing?  I been using ext4 but it
 sure does use a lot of space for its overhead.  As far as files go, most
 will likely be videos.  I do have other files but when compared to the
 number of videos, they are close to nothing.  The files system for the
 current 1Tb, spread across two drives with LVM, uses about 75Gbs for the
 file system thingy.  That's a pretty good bit to me.  I may lose more
 than 200Gbs on this 3Tb drive.  O_O

I use XFS on my NAS-Box for the drives that only hold video files and I
am pretty happy with it. The advantage of XFS is, that it is very fast
when working with large files. For everything else I use ext4, pretty
happy with that too.



Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Mick
On Monday 06 Aug 2012 12:25:19 Dale wrote:

 What I have on there is videos.  When I tried to compress some and test,
 it was basically the same size.  I guess videos don't compress to much?

Not without transcoding the streams into more space efficient formats - but 
you could well suffer from loss of quality (lossy formats and digital 
generation losses).  So YMMV.


 While I am at it.  You should have a good answer for this one.  What is
 a good file system for this sort of thing?  I been using ext4 but it
 sure does use a lot of space for its overhead.  As far as files go, most
 will likely be videos.  I do have other files but when compared to the
 number of videos, they are close to nothing.  The files system for the
 current 1Tb, spread across two drives with LVM, uses about 75Gbs for the
 file system thingy.  That's a pretty good bit to me.  I may lose more
 than 200Gbs on this 3Tb drive.  O_O

That sounds like a lot!  I'm waiting to see what others comment and 
benchmarks.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: gentoo on a macbook air

2012-08-06 Thread William Kenworthy
On Mon, 2012-08-06 at 19:03 +0800, William Kenworthy wrote:
 The boss just told me my beloved 2007 sony vaio has got to go (and
 600Mhz just doesnt cut it anymore when trying to run more than 1 vm !)
 
 He is offering a new 11 macbook air which I have never even had a look
 at, or be able to identify if I saw one - well he got me to say at least
 I should look at it rather than a Dell :)
 
 Googling seems to imply that I can get rid of the apple stuff and
 install linux but I have not found any up to date gentoo info yet
 (except these are UEFI, and the gentoo live media wont work) - does
 anyone have any idea if gentoo  is doable on these, and no real problems
 exist?
 
 They do seem a bit feature free (no CD drive etc) which reduces the
 options when trying to install.
 
 BillK
 
 





Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Mick
On Monday 06 Aug 2012 11:48:50 Hinnerk van Bruinehsen wrote:
 On 06.08.2012 12:14, Dale wrote:
  Volker Armin Hemmann wrote:
  What do you gain if you abuse your drive so hard that its
  lifetime is severly impacted?
  
  That if it has a problem that will cause it to fail soon in it's
  life, then I can find it soon.  Remember that curve about failures?
  I would like to get past that first part of the curve.  Maybe by
  the time I get to the later part, I'll have another drive or some
  backup scheme.  Most the failures I have read about in reviews for
  this drive were early or was just plain old DOA.  Testing it will
  get me past that.  I'd rather it fail before I get my data on it
  instead of after.
  
  I thought I posted why I wanted to do this in my first post.
  
  Dale
  
  :-)  :-)
 
 Why not simply get you data on it and use it for about 2 weeks? Maybe
 you should mirror important stuff to the old drive for that time.
 
 After about 2 weeks of normal usage you should be well out of the
 beginnig of that bathtub curve (I always had problems when copying
 data to the new drive when I had a bad one, except DOA of course).

The 'Conveyance self-test routine' of smartmontools will check for damage 
during physical transport.  If it is completely DOA, then that ought to be 
obvious I guess.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: gentoo on a macbook air

2012-08-06 Thread Alan McKinnon
On Mon, 06 Aug 2012 20:14:27 +0800
William Kenworthy bi...@iinet.net.au wrote:

 On Mon, 2012-08-06 at 19:03 +0800, William Kenworthy wrote:
  The boss just told me my beloved 2007 sony vaio has got to go (and
  600Mhz just doesnt cut it anymore when trying to run more than 1
  vm !)
  
  He is offering a new 11 macbook air which I have never even had a
  look at, or be able to identify if I saw one - well he got me to
  say at least I should look at it rather than a Dell :)

I can give you some feedback on working with those ultra-notebooks.
Sure, this is based on a Samsung Series 9 but that is a blatant ripoff
of the Air anyway (right now to the funky Apple touchpad)

As a portable device, they are awesome. As a backup device, they are
uber-awesome. As a primary workstation for tech types, they are not so
awesome.

The screen display is limited to around 1300x800 or so which is fine if
you run most apps maximized anyway. Adding a second monitor usually
requires a dongle as does an RJ45 wired connection (there just isn't
enough thickness to the machine to put the connectors), and there's no
such thing as a docking station. USB is limited, usually to just two
ports and on the Samsung you can only boot off one of them - the USB
2.0 one.

Battery life is excellent. Keyboards are awesome. Video cards tend to
be crap (something has to give to extend the battery life and the video
card is by far the easiest to turn down and reduce power usage). The
SSDs are awesome, if you have never used one before you *will* be
pleasantly surprised.

Linus has a Mac Air (was reading a blog post from him just this
morning) and he got OpenSUSE installed on it. So as long as you can get
it to boot from a USB device, you should be OK. Gentoo supports all the
fancy disk tools you need to get UEFI and GPT working.

  
  Googling seems to imply that I can get rid of the apple stuff and
  install linux but I have not found any up to date gentoo info yet
  (except these are UEFI, and the gentoo live media wont work) - does
  anyone have any idea if gentoo  is doable on these, and no real
  problems exist?
  
  They do seem a bit feature free (no CD drive etc) which reduces
  the options when trying to install.
  
  BillK
  
  
 
 
 



-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] crosscompiling...the point of view

2012-08-06 Thread meino . cramer
Hi,

I am asking, because I found not only one description of somehow
complicated setups to compile a distribution (namely gentoo) for a
platform A (Beaglebone TI OMAP4) on that platform with distcc to
speedup things or with emulated chroot environments based on qemu...

I thought it would be the easiest to compile the whole stuff on a host
system B with a crosscompilation toolchain...but may be I have
overlooked something important...

So - is there any logical reason, which prevents the process of the 
compilation of a complete distribution/rootfs/boot-mechanism for
a platform A on a hostsystem of the platform B if the cross
compilation toolchain is already installed on B and no emulated
environment is wanted?

Thank you very much in advance for any help!
Best regards,
mcc







Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Paul Hartman
On Sun, Aug 5, 2012 at 7:45 AM, Dale rdalek1...@gmail.com wrote:
 Howdy,

 I finally got me a 3Tb drive on the way.  Should be here Wednesday.  I
 have seen some reviews where it would not work right.  I think some of
 it may be BIOS related since some BIOS's don't like drives that large.
 Anyway, I want to test this thing real good to really make sure it is up
 to the task before putting my data on it.  It's going to be so much
 data, there is really no way to do back-ups at this point.  Come on, 2
 to 3Tbs on 4Gb DVDs.  Really?  lol  Maybe a external drive later on but
 for now, well.

 I have heard of bonnie and friends.  I also think dd could do some
 testing too.  Is there any other way to give this a good work and see if
 it holds up?  Oh, helpful hints with Bonnie would be great too.  I have
 never used it before.  Maybe someone has some test that is really brutal.

I wouldn't want to torture the drive, but just make sure it works.

What I do: boot parted magic liveCD, run ATA SECURE ERASE on the drive
(you probably need to suspend and awaken your machine to unlock the
drive, the GUI tool in the liveCD does this for you automatically),
that will do factory reformat/low-level reformat, then run SMART full
test which can take many hours. If it survives both of those, and
doesn't make audible clicking noises in the process, I feel confident
that it is in working order.

Those steps are more important if I'm testing a used or refurbished
drive, for a new drive you may want to skip the secure erase and only
do the smart test. If SMART test passes then I don't think there's any
reason to run badblocks, but you can have it run during mkfs if you
want reassurance.



Re: [gentoo-user] crosscompiling...the point of view

2012-08-06 Thread Paul Hartman
On Mon, Aug 6, 2012 at 8:01 AM,  meino.cra...@gmx.de wrote:
 Hi,

 I am asking, because I found not only one description of somehow
 complicated setups to compile a distribution (namely gentoo) for a
 platform A (Beaglebone TI OMAP4) on that platform with distcc to
 speedup things or with emulated chroot environments based on qemu...

 I thought it would be the easiest to compile the whole stuff on a host
 system B with a crosscompilation toolchain...but may be I have
 overlooked something important...

Seems the best way to me, too.

 So - is there any logical reason, which prevents the process of the
 compilation of a complete distribution/rootfs/boot-mechanism for
 a platform A on a hostsystem of the platform B if the cross
 compilation toolchain is already installed on B and no emulated
 environment is wanted?

So you want to install the packages into a virtual filesystem image
on the compiler machine to create a whole disk image for the target,
basically? Hmmm. Maybe something like Scratchbox can help with this.



Re: [gentoo-user] mdadm device removed

2012-08-06 Thread Jarry

On 06-Aug-12 10:50, Kraus Philipp wrote:


I'm using a software raid with mdadm (mirror). A few days ago the
mdadm removes during the boot process one disk and sets the raid
inactive. The disk contains no errors (smartctl) and nothing is
reported in the logs. I reassemble the disk and activate the raid
again. Reboot the system and my disk are in sync and everything works
fine.

I'm a little bit confused about it. Does anybody has got an idea, why
the array lost a disk?


It may happen quite frequently with common (non-raid) drives
which do not have TLER implemented.

Modern drives have some kind of internal error-recovery
procedure which covers remapping of bad/weak sectors. This
might take quite long time (a few seconds, or even tens
of seconds) and as a result raid-controller (or raid-software)
marks drive as failed because it does not respond in
given time.

Solution is to use raid-edition drives, with TLER
(time limited error recovery) implemented. On some drives
this can be activated by using some utility (i.e. WDTLER.EXE).
You can read more about it on the net, i.e.:
http://en.wikipedia.org/wiki/Time-Limited_Error_Recovery
http://en.wikipedia.org/wiki/RAID#Problems_with_RAID

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] crosscompiling...the point of view

2012-08-06 Thread meino . cramer
Paul Hartman paul.hartman+gen...@gmail.com [12-08-06 17:36]:
 On Mon, Aug 6, 2012 at 8:01 AM,  meino.cra...@gmx.de wrote:
  Hi,
 
  I am asking, because I found not only one description of somehow
  complicated setups to compile a distribution (namely gentoo) for a
  platform A (Beaglebone TI OMAP4) on that platform with distcc to
  speedup things or with emulated chroot environments based on qemu...
 
  I thought it would be the easiest to compile the whole stuff on a host
  system B with a crosscompilation toolchain...but may be I have
  overlooked something important...
 
 Seems the best way to me, too.
 
  So - is there any logical reason, which prevents the process of the
  compilation of a complete distribution/rootfs/boot-mechanism for
  a platform A on a hostsystem of the platform B if the cross
  compilation toolchain is already installed on B and no emulated
  environment is wanted?
 
 So you want to install the packages into a virtual filesystem image
 on the compiler machine to create a whole disk image for the target,
 basically? Hmmm. Maybe something like Scratchbox can help with this.
 
Hi Paul,

...yes, exactly. But theproblem remains...is there a logical reason,
which renders this attempt useless ?

Best regards,
mcc





Re: [gentoo-user] Gentoo on a Beaglebone

2012-08-06 Thread Daniel Wagener
On Sun, 05 Aug 2012 23:47:01 -0700
Bryan Gardiner b...@khumba.net wrote:

 On August 6, 2012 06:51:41 AM meino.cra...@gmx.de wrote:
  
  What is meant with please convert /etc/portage/package.keywords to a
  directory What will happen to the contents of that file? What is the name
  of the directory to create? How can I fix that?
  
  Thank you very much in advance for any help!
  Best regards,
  mcc
 
 package.keywords can be a directory instead of a file, in which case the 
 file 
 that ends up getting used is the concatenation of all of the files in the 
 directory.


Which also means, that moving the old file in there would also work.
Though that is somehow against the idea of it…



Re: [gentoo-user] crosscompiling...the point of view

2012-08-06 Thread Daniel Wagener
On Mon, 6 Aug 2012 15:01:40 +0200
meino.cra...@gmx.de wrote:

 So - is there any logical reason, which prevents the process of the 
 compilation of a complete distribution/rootfs/boot-mechanism for
 a platform A on a hostsystem of the platform B if the cross
 compilation toolchain is already installed on B and no emulated
 environment is wanted?

I know that it is possible, though I have not done it myself yet.
And unfortunately, the examples I know of were built with openembedded (prime 
example for beagleboard: Angstrom) and I do not the slightest idea how that 
would work on Gentoo.
But I would love to know. :)



[gentoo-user] Single user mode without keyboard ?

2012-08-06 Thread meino . cramer
Hi,

For the described I am using an IBM model M keyboard (PS2) which
is connected with a blue cube OS2-USB adaptor to a USB-port
of my PC.

this all had worked before:
When grub comes up, I entered the password to access the
grub command lines for the kernel boot, add an S at
the end of that line, hit enter and B for boot. The system
comes up and asked for the root password or to hit CTRL-D
to boot into normal mode.

Now, I can enter the grub and add an S to the commandline
and boot the kernel by pressing B.

When the kernel asks for the root password, the keyboard is
no longer recognized. No chance other than to press the
power button.

How can I fix that?

Best regards,
mcc





[gentoo-user] kernels swap usage

2012-08-06 Thread Philip Webb
Just an observation : when I updated Libre Office  Firefox this week,
neither compile used swap (I have  4 GB  RAM);
OTOH when I did them the previous time, both did use swap;
the total time  the HDD usage remained almost the same.
In between, I updated the Kernel 3.0.0 - 3.4.0 ,
but made no other changes in config files etc.

Does anyone have thoughts re the effect of kernel versions on swapping ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Gentoo on a Beaglebone

2012-08-06 Thread Walter Dnes
On Sun, Aug 05, 2012 at 11:47:01PM -0700, Bryan Gardiner wrote

 package.keywords can be a directory instead of a file, in which case the 
 file 
 that ends up getting used is the concatenation of all of the files in the 
 directory.  It lets you split your keywords up rather than having one large 
 monolithic file.  In my case:
 
 $ ll /etc/portage/package.accept_keywords/
 total 28
 -rw-r--r-- 1 root   root   4314 Apr 22 12:42 eclipse-3.7
 -rw-r--r-- 1 khumba khumba 8739 Aug  1 23:56 kde-4.9.keywords.2012-08-01
 -rw-r--r-- 1 root   root   3999 Aug  2 23:11 mine
 
 The KDE file for example is provided on the Gentoo KDE page for unmasking all 
 of the files necessary for KDE 4.9, and you don't have to merge it into your 
 personal keywords file.  You have to be careful not to leave any xxx~ backup 
 files in the directory, because they count as well.
 
 The same applies to package.use.  The new style is for the file/directory to 
 be 
 called package.accept_keywords.  There's more info in man 5 portage.

  Are the package.use files additive?  I.e. if one use file has
app-fu/bar flag1
  and another use file has
app-fu/bar flag2
  is that equivalant to one combined use file with
app-fu/bar flag1 flag2

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Gentoo on a Beaglebone

2012-08-06 Thread Bryan Gardiner
On August 7, 2012 01:46:30 AM Walter Dnes wrote:
   Are the package.use files additive?  I.e. if one use file has
 app-fu/bar flag1
   and another use file has
 app-fu/bar flag2
   is that equivalant to one combined use file with
 app-fu/bar flag1 flag2

They are, just as you can list a package multiple times in a single file, which 
makes make Portage's autounmask rules work easily.

The relevant part of man portage is under /etc/portage/:

 Any file in this directory that begins with package. can be more than just 
a flat file.  If it is a directory, then all the files in that directory will 
be 
sorted in ascending alphabetical order by file name and summed together as if 
it were a single file.

Cheers,
Bryan