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

2012-08-08 Thread Dale
Yohan Pereira wrote:
> On 08/08/12 at 10:22pm, Dale wrote:
>> I used something called Gparted to partition this monster.  This is
>> temporary tho.  What should I be using to partition this thing?  What is
>> the best, and easiest, tool for me to use?  I have been using cfdisk in
>> the past but it doesn't seem to work on this one.  I do want one very
>> large partition and plan to use LVM on it too. 
>>
>> Oh, it would be nice if the tool is on LiveCDs, SystemRescue in my
>> case.  I use that when the stuff hits the fan and I am covered up pretty
>> deep.  ;-) 
>  
> GParted is on systemrescuecd :D. Its that goldenish disk icon on the
> panel. GParted is a frontend to parted you can use that directly as
> well.
>


It turned out that my problem was getting it to "align" properly.  It
seems that GParted does that pretty well.  I guess if I am without a GUI
thingy, I can use parted. 

I couldn't get cgdisk to work right tho.  Heck, it took me a bit to get
GParted to sort it out and it is supposed to be the easy way.  lol 
Sometimes new toys cause me grief.  ;-) 

Since I like cfdisk, are there any tricks to using cgdisk and getting it
to "align" it correctly?  The drive is a Seagate ST3000DM001 3Tb drive. 
I think this is the key bit:

Logical  Sector size:   512 bytes
Physical Sector size:  4096 bytes

Just not sure where cgdisk wants me to put that info. 

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-08 Thread Yohan Pereira
On 08/08/12 at 10:22pm, Dale wrote:
> I used something called Gparted to partition this monster.  This is
> temporary tho.  What should I be using to partition this thing?  What is
> the best, and easiest, tool for me to use?  I have been using cfdisk in
> the past but it doesn't seem to work on this one.  I do want one very
> large partition and plan to use LVM on it too. 
> 
> Oh, it would be nice if the tool is on LiveCDs, SystemRescue in my
> case.  I use that when the stuff hits the fan and I am covered up pretty
> deep.  ;-) 
 
GParted is on systemrescuecd :D. Its that goldenish disk icon on the
panel. GParted is a frontend to parted you can use that directly as
well.

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain



Re: [gentoo-user] Where to discuss ARM stuff.

2012-08-08 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 08.08.2012 14:14, schrieb Raffaele BELARDI:
> On 08/08/2012 02:03 PM, Norman Rieß wrote:
>> i am running Gentoo on an ARM device and ran into a problem 
>> building binutils.
> 
> What problem? I have no experience on Gentoo/ARM but some on 
> buildroot/ARM.
> 
> raf
> 

I have a problem compiling binutils.
Full build log can be found here http://smash-net.org/temp/build_log.txt

I tried tha vanilla flag and diabled zlib as suggested via google
search, but neither did help.
I also tried latest unstable version 2.29 i think.

Any hint would be welcome.

Norman

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

iQEcBAEBAgAGBQJQI0mIAAoJEMCA6frkLT6zsqgIAI1as1BdYXEdK2o2HJCITGSN
29Y/Q6EV5iXQ03TwCQFR+SgMCHy4Z/BdwhrtG+tDC7BpqjoTEFKKG6NTz46wn93D
odxhH8lQO1S7OhAUpeknHrxNKunCQicscVepi5S9qxmUklEw578/BCbdFRKgeLxv
fDQfWRY0IYq4h/9eGm9FF4FfwtvKFuelXBKIGkDl7y9DY6jm/F7w+Gh0Y/IzqK1M
A3pcLY4fSvvTAkOwzDrWZ49tlE/gIJ/UTmfS3IMgStfwColm31eboZhYE6Q3xppk
HywrpK40lu1HfoHnP9AT0PnMm+VuqhTWbrdPHD79t7Y1Xio50M83PqbfUMhiLH4=
=AJfb
-END PGP SIGNATURE-



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

2012-08-08 Thread Dale
Dale wrote:
> Not going to wear it out but going to make sure it survived the trip
> across the country while bouncing around in the box. :/ Check this
> out: Aug 8 12:46:47 localhost smartd[2083]: Device: /dev/sdd, type
> changed from 'scsi' to 'sat' Aug 8 12:46:47 localhost smartd[2083]:
> Device: /dev/sdd [SAT], opened Aug 8 12:46:47 localhost smartd[2083]:
> Device: /dev/sdd [SAT], ST3000DM001-9YN166, S/N:Z1F0PKT5,
> WWN:5-000c50-04d79e15c, FW:CC4C, 3.00 TB Aug 8 12:46:47 localhost
> smartd[2083]: Device: /dev/sdd [SAT], not found in smartd database.
> Aug 8 12:46:47 localhost smartd[2083]: Device: /dev/sdd [SAT], is
> SMART capable. Adding to "monitor" list. And: Aug 8 13:46:47 localhost
> smartd[2085]: Device: /dev/sdd [SAT], self-test in progress, 80%
> remaining Aug 8 14:16:47 localhost smartd[2085]: Device: /dev/sdd
> [SAT], self-test in progress, 70% remaining Aug 8 14:46:48 localhost
> smartd[2085]: Device: /dev/sdd [SAT], self-test in progress, 60%
> remaining Aug 8 15:16:47 localhost smartd[2085]: Device: /dev/sdd
> [SAT], self-test in progress, 50% remaining Aug 8 15:46:47 localhost
> smartd[2085]: Device: /dev/sdd [SAT], self-test in progress, 40%
> remaining Aug 8 16:16:47 localhost smartd[2085]: Device: /dev/sdd
> [SAT], self-test in progress, 30% remaining Aug 8 16:46:47 localhost
> smartd[2085]: Device: /dev/sdd [SAT], self-test in progress, 20%
> remaining It's working on it. ;-) Dale :-) :-) 

OK.  Finished a selftest.  So far, so good.  Now, why didn't someone
remind me that I had to use some special tool to partition this
monster?  It took some doing but I'm not sure I am doing this the right
way.  It works for testing tho. 

I used something called Gparted to partition this monster.  This is
temporary tho.  What should I be using to partition this thing?  What is
the best, and easiest, tool for me to use?  I have been using cfdisk in
the past but it doesn't seem to work on this one.  I do want one very
large partition and plan to use LVM on it too. 

Oh, it would be nice if the tool is on LiveCDs, SystemRescue in my
case.  I use that when the stuff hits the fan and I am covered up pretty
deep.  ;-) 

Thoughts?  Ideas?  Suggestions? 

Dale

:-)  :-) 

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




[gentoo-user] Getting apvlv running (My "excellent adventure")

2012-08-08 Thread Walter Dnes
  Earlier this year, my ISP changed their billing notification emails
from application/pdf to application/octet-stream.  Trying to view it
from mutt showed binary gobbledygook.  After some flailing around, I
found out that I had to put an entry into .mailcap, namely...

application/octet-stream; mimeopen %s

  When I tried to open a pdf file from mutt, I got a text dialogue
asking me which program to use.  I chose /usr/bin/epdfview, and mutt has
used that as the default ever since.

  Now epdfview is masked for removal in a few weeks.  apvlv is the
recommended lightweight alternative.  After some screwing around and
discovering an obscure bug in the apvlv ebuild, I finally got apvlv up
and running.  You ***MUST*** build poppler with USE="xpdf-headers", or
else the apvlv ebuild dies.  I reported the bug, and the apvlv ebuild
now should check for app-text/poppler[xpf-headers].

  I emerged and ran rox-mime-editor and have no clue what to do to
change from epdfview to apvlv.  There are no man or info files for
rox-mime-editor.  Is there a better alternative mime-editor?

  As a heavy-handed solution, I searched for the string "epdfview" in
~/.local.  In ~/.local/share/applications/defaults.list I found an entry
for pdf using epdfview.  I zapped that line, and tried reading the pdf
in mutt.  I got the text dialogue again, and specified /usr/bin/apvlv.
mutt now uses it all the time for pdf files.  In contrast, Firefox is
much easier, with a dialogue for applications.

-- 
Walter Dnes 



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

2012-08-08 Thread Dale
Mark Knecht wrote:
> Now, don't you wear it out, you hear?!?!? ;-) If your machine runs all
> the time you can add smartctl runs as chron jobs that run at midnight
> and have the results emailed to you. Look at them once a week and
> other than an unpredictable catastrophic failure you'll likely know a
> long time before it fails. Cheers, Mark 

Not going to wear it out but going to make sure it survived the trip
across the country while bouncing around in the box.  :/  Check this out:

Aug  8 12:46:47 localhost smartd[2083]: Device: /dev/sdd, type changed
from 'scsi' to 'sat'
Aug  8 12:46:47 localhost smartd[2083]: Device: /dev/sdd [SAT], opened
Aug  8 12:46:47 localhost smartd[2083]: Device: /dev/sdd [SAT],
ST3000DM001-9YN166, S/N:Z1F0PKT5, WWN:5-000c50-04d79e15c, FW:CC4C, 3.00 TB
Aug  8 12:46:47 localhost smartd[2083]: Device: /dev/sdd [SAT], not
found in smartd database.
Aug  8 12:46:47 localhost smartd[2083]: Device: /dev/sdd [SAT], is SMART
capable. Adding to "monitor" list.


And:

Aug  8 13:46:47 localhost smartd[2085]: Device: /dev/sdd [SAT],
self-test in progress, 80% remaining
Aug  8 14:16:47 localhost smartd[2085]: Device: /dev/sdd [SAT],
self-test in progress, 70% remaining
Aug  8 14:46:48 localhost smartd[2085]: Device: /dev/sdd [SAT],
self-test in progress, 60% remaining
Aug  8 15:16:47 localhost smartd[2085]: Device: /dev/sdd [SAT],
self-test in progress, 50% remaining
Aug  8 15:46:47 localhost smartd[2085]: Device: /dev/sdd [SAT],
self-test in progress, 40% remaining
Aug  8 16:16:47 localhost smartd[2085]: Device: /dev/sdd [SAT],
self-test in progress, 30% remaining
Aug  8 16:46:47 localhost smartd[2085]: Device: /dev/sdd [SAT],
self-test in progress, 20% remaining

It's working on it.  ;-) 

Dale

:-)  :-) 

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




Re: [gentoo-user] Packages

2012-08-08 Thread Mark Knecht
On Wed, Aug 8, 2012 at 11:24 AM, Neil Bothwick  wrote:
> On Wed, 8 Aug 2012 19:53:46 +0200, Silvio Siefke wrote:
>
>> Yes thats was the question. Sorry for my english. Yes so i accept to
>> build all from source, but Libreoffice from source on a Atom need not
>> hours, need days.
>
> Only hours, but quite a lot of them. About 16 IIRC.

I was surprised the other evening when updating my wife's machine that
her Intel i7 needed around an hour to get that thing built from
source. It drove the fan speed up enough that I could hear the machine
working to get the job done. Think I need to open the box and clean
the CPU fan as I now suspect it's clogged with dust...

- Mark



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

2012-08-08 Thread Mark Knecht
On Wed, Aug 8, 2012 at 11:02 AM, Dale  wrote:
> 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
>>
>> :-)  :-)
>>
>
>
> Update.  I went to the mailbox and there was a nice pretty brown box.
> Bad thing is, drive is OEM with just a blister pack around it.  The box
> had almost no packing, just a small amount of brown paper.  Eww!  It
> was just flopping around in the box.
>
> Anyway, I stole a SATA cable from another rig and got this:
>
> root@fireball / # smartctl -t long /dev/sdd
> smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.5.0-gentoo] (local build)
> Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
>
> === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
> Sending command: "Execute SMART Extended self-test routine immediately
> in off-line mode".
> Drive command "Execute SMART Extended self-test routine immediately in
> off-line mode" successful.
> Testing has begun.
> Please wait 255 minutes for test to complete.
> Test will complete after Wed Aug  8 17:10:46 2012
>
> Use smartctl -X to abort test.
> root@fireball / #
>
> 255 minutes.  Wow.  My plan, let this test finish, do a little bit of
> copy and rm, then test again.  I figure copying 800Gbs to it should give
> it a little bit of a work out since I will be doing it twice.
>
> Yeppie.
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or how 
> you interpreted my words!
>
>

Now, don't you wear it out, you hear?!?!? ;-)

If your machine runs all the time you can add smartctl runs as chron
jobs that run at midnight and have the results emailed to you. Look at
them once a week and other than an unpredictable catastrophic failure
you'll likely know a long time before it fails.

Cheers,
Mark



Re: [gentoo-user] Packages

2012-08-08 Thread Neil Bothwick
On Wed, 8 Aug 2012 19:53:46 +0200, Silvio Siefke wrote:

> Yes thats was the question. Sorry for my english. Yes so i accept to
> build all from source, but Libreoffice from source on a Atom need not
> hours, need days. 

Only hours, but quite a lot of them. About 16 IIRC.


-- 
Neil Bothwick

You have the capacity to learn from mistakes. You'll learn a lot today.


signature.asc
Description: PGP signature


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

2012-08-08 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
>
> :-)  :-) 
>


Update.  I went to the mailbox and there was a nice pretty brown box. 
Bad thing is, drive is OEM with just a blister pack around it.  The box
had almost no packing, just a small amount of brown paper.  Eww!  It
was just flopping around in the box. 

Anyway, I stole a SATA cable from another rig and got this:

root@fireball / # smartctl -t long /dev/sdd
smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.5.0-gentoo] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately
in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in
off-line mode" successful.
Testing has begun.
Please wait 255 minutes for test to complete.
Test will complete after Wed Aug  8 17:10:46 2012

Use smartctl -X to abort test.
root@fireball / #

255 minutes.  Wow.  My plan, let this test finish, do a little bit of
copy and rm, then test again.  I figure copying 800Gbs to it should give
it a little bit of a work out since I will be doing it twice. 

Yeppie. 

Dale

:-)  :-) 

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




Re: [gentoo-user] Packages

2012-08-08 Thread Silvio Siefke
Hello, 

On Wed, 8 Aug 2012 09:32:55 -0700
Mark Knecht  wrote:

> Hi Silvio,
>I'm not sure I understand your question. Are you asking where you
> can get a pre-built 'package'? I.e. - Gentoo builds from source code
> but you don't want to build libreoffice from source so you want a
> pre-built version?

Yes thats was the question. Sorry for my english. Yes so i accept to build
all from source, but Libreoffice from source on a Atom need not hours, need
days. 
 
>If that's your question then the generic answer is that Gentoo does
> not supply pre-built packages. That said there are a few packages that
> are supplied prebuilt and libreoffice is one of them. emerge
> libreoffice-bin.

Yes, the Description explain it. I must go to the doctor, need new glasses.


Thank you & Regards
Silvio



Re: [gentoo-user] kernels & swap usage

2012-08-08 Thread Volker Armin Hemmann
Am Dienstag, 7. August 2012, 01:02:29 schrieb 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 ?

different kernel versions are more or less swap happy. Has always been the 
case.
(I remember 2.2.10 - extreme swapping even with lots of ram... and 2.2.14 - no 
swapping at all...)

-- 
#163933



Re: [gentoo-user] Packages

2012-08-08 Thread Mark Knecht
On Wed, Aug 8, 2012 at 9:16 AM, Silvio Siefke  wrote:
> Hello,
>
> when i understand correctly so give it Gentoo Packages with can installed.
> Where can find this packages? Because i has clean my Netbook now from Sabayon
> and have installed Gentoo directly. But build Libreoffice need much time, so
> where better to find a package? Is there a chance or must built from sources?
>
>
> Thanks & Regards
> Silvio
>

Hi Silvio,
   I'm not sure I understand your question. Are you asking where you
can get a pre-built 'package'? I.e. - Gentoo builds from source code
but you don't want to build libreoffice from source so you want a
pre-built version?

   If that's your question then the generic answer is that Gentoo does
not supply pre-built packages. That said there are a few packages that
are supplied prebuilt and libreoffice is one of them. emerge
libreoffice-bin.

   If that's not the answer you are looking for then ask again.

HTH,
Mark



[gentoo-user] Packages

2012-08-08 Thread Silvio Siefke
Hello,

when i understand correctly so give it Gentoo Packages with can installed. 
Where can find this packages? Because i has clean my Netbook now from Sabayon
and have installed Gentoo directly. But build Libreoffice need much time, so 
where better to find a package? Is there a chance or must built from sources?


Thanks & Regards
Silvio



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

2012-08-08 Thread Dale
Paul Hartman wrote:
> On Tue, Aug 7, 2012 at 9:19 PM, Dale  wrote:
>> 4 or 5 hours huh.  I guess drives are a lot faster now.  Back in the
>> late 80's or early 90's, it took that long for those whimpy little 100Mb
>> drives.  Ooops, my ages is showing again.  lol
> I recently found a box of hard drives in my house and have been using
> ddrescue to pull the data off of them. These drives were not that old,
> around 1gb each. Desktop drives. I was amazed at how slow they were
> relative to today's drives... 2MB/sec? 5MB/sec? My internet connection
> is faster than that now.
>
> Also, found a dead 5.25" Quantum hard drive... forgot how huge those
> are. Weighed a ton and it was built like a tank.
>
> Your new drive will probably go around 100-150MB/sec or so on
> sequential writes. So you can do the math and figure out how many
> hours that will take.
>
>


It won't be that fast.  The drive supports 6Gbs/sec but my mobo is only
3Gbs/sec.  I hope to upgrade my mobo at some point.  Then maybe the ram
and CPU.  I been looking at those 8 core CPUs a bit.  The prices are
coming down slowly. 

Anyway, I'll only get the 3Gbs/sec for now. 

I used to have a couple of those really old 14 inch hard drives.  I
think I sold them for scrap a few years ago.  They were mostly aluminium
if I recall correctly.  They were only a few megabytes but they sure was
big. 

Our age is showing.  lol  I bet folks know I am not a teenager now.  ;-) 

Dale

:-)  :-) 

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




Re: [gentoo-user] Re: Gentoo: stock trading tools ?

2012-08-08 Thread Mark Knecht
On Wed, Aug 8, 2012 at 7:42 AM, James  wrote:
> Mark Knecht  gmail.com> writes:

> Any suggestions are most welcome,
> even if private.
>

I suggest anything not specifically Gentoo oriented be addressed
offline. If someone wants to get in touch privately please identify
yourself clear as a Gentoo user with some reference to a post you've
made on this list so I know I'm dealing with a real person and not
some spam generator reading the Gentoo list. I enjoy talking about
trading stuff when I have time, but this isn't the forum to do so.

Thanks,
Mark



[gentoo-user] Re: Where to discuss ARM stuff.

2012-08-08 Thread James
Norman Rieß  smash-net.org> writes:


> i am running Gentoo on an ARM device and ran into a problem building
> binutils. I thought to asked about that on an gentoo-arm mailing list,
> but found, that this list ist listed as closed. So is there an 
> apropriate list or ressource dedicated to that or does
> gentoo-user cover this?

gentoo-embedded is your best best.
http://www.gentoo.org/main/en/irc.xml

There is also a gentoo-embedded discussion group, but it is
mostly used for announcements, only occasionally having
material submitted for discussion, so it is a "slow ride"
for answers.

Also look at the embedded handbook. 
http://www.gentoo.org/proj/en/base/embedded/handbook/

hth,

James




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

2012-08-08 Thread Paul Hartman
On Tue, Aug 7, 2012 at 9:19 PM, Dale  wrote:
> 4 or 5 hours huh.  I guess drives are a lot faster now.  Back in the
> late 80's or early 90's, it took that long for those whimpy little 100Mb
> drives.  Ooops, my ages is showing again.  lol

I recently found a box of hard drives in my house and have been using
ddrescue to pull the data off of them. These drives were not that old,
around 1gb each. Desktop drives. I was amazed at how slow they were
relative to today's drives... 2MB/sec? 5MB/sec? My internet connection
is faster than that now.

Also, found a dead 5.25" Quantum hard drive... forgot how huge those
are. Weighed a ton and it was built like a tank.

Your new drive will probably go around 100-150MB/sec or so on
sequential writes. So you can do the math and figure out how many
hours that will take.



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

2012-08-08 Thread Ricardo Jesus
Sent from my Android device.
On Aug 6, 2012 4:22 PM, "Paul Hartman" 
wrote:

> On Sun, Aug 5, 2012 at 7:45 AM, 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.
>
> 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.
>
>


[gentoo-user] Re: Gentoo: stock trading tools ?

2012-08-08 Thread James
Mark Knecht  gmail.com> writes:


> >> Each Windows VM has it's own Windows
> >> license as well as it's own virus protection license. I run different
> >> trading apps in different VMs. All trading VMs are Virtualbox.

You have given me much to research, think about, and purchase some new
hardware for

> If I was to choose Wine it's
> left to me to figure out if the apps even function, much less work
> correctly. I just don't have time for that.

I successfully set up AutoCad 2000 on (Gentoo) wine in 2004. It still runs
well with the upgrades to wine, over the years However, it was
a TIME SINK and I do not even feel like I know wine all that well
I do not have the time to burn, as you have correctly articulated.


> On the other hand the VM model is proven world wide in a huge number
> of application spaces. It's really stable, powerful and reasonably
> easy to use. It is the 'cloud'.

Do you, or anyone else have a a wiki or reading materials so
I can read up more on this approach, as opposed to hacking
until I think it's ready?

I've mostly avoided windows over the
years. My "professional retirement investment advisers 
are really stupid and manipulative. My stock picks out perform
theirs hands down. So I'm going with etrade, TD_Ameritrade
or somebody like that. Any suggestions are most welcome,
even if private.

> Mark






Re: [gentoo-user] recovering pam.d directory

2012-08-08 Thread Alan McKinnon
On Wed, 8 Aug 2012 13:24:17 +
Marcello Varisco  wrote:

> 
> Hi all,
> 
> By incident I removed the pam.d directory containing all pam modules
> from command line. Is there a way to recover the removed directory?
> any help is appreciated since I can't login to my computer without
> live cd anymore.


Unless you have some amazing recovery tools to had (most people don't)
you can't easily recover those files.

pam.d isn't put there by a single package, everything that uses pam is
liable to write it's own custom file there. You can regain your ability
to log in by remerging these packages:

sys-apps/shadow
sys-auth/pambase

To do that, you will need to boot off a livecd and chroot. Then a
reboot should see you fine. Then you could rememrge everything that has
pam in USE and hope this is enough.

Or, you could restore from backups. You *do* have backups of /etc,
right?




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




Re: [gentoo-user] kernels & swap usage

2012-08-08 Thread Florian Philipp
Am 08.08.2012 11:33, schrieb Philip Webb:
> 120808 Florian Philipp wrote:
>> Am 07.08.2012 07:02, schrieb 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.
>> Did Firefox ever actually need to swap? Here it does a fair share
>> of disk I/O (some python script?) but never actually needs lots of memory.
>> With Libre Office, it could be their recent code cleaning effort.
>> They removed large amounts of cruft.
> 
> Sorry, perhaps I didn't make it clear enough:
> I'm refering to the process of compiling the pkgs via Portage,
> not to using them after they have been installed.
> Both packages used noticeably less memory during the compile stage
> on the latest occasion in contrast to the previous Emerges.
> 

No, you made yourself clear. I didn't. I meant the compiling, too.



signature.asc
Description: OpenPGP digital signature


[gentoo-user] recovering pam.d directory

2012-08-08 Thread Marcello Varisco

Hi all,

By incident I removed the pam.d directory containing all pam modules from 
command line. Is there a way to recover the removed directory? any help is 
appreciated since I can't login to my computer without live cd anymore.


Marcello
  

Re: [gentoo-user] Where to discuss ARM stuff.

2012-08-08 Thread Florian Philipp
Am 08.08.2012 14:03, schrieb Norman Rieß:
> Hello,
> 
> i am running Gentoo on an ARM device and ran into a problem building
> binutils.
> I thought to asked about that on an gentoo-arm mailing list, but
> found, that this list ist listed as closed.
> So is there an apropriate list or ressource dedicated to that or does
> gentoo-user cover this?
> 
> Regards,
> Norman
> 

When in doubt, gentoo-user covers it. gentoo-alt might also be worth a try.

Regards,
Florian Philipp




signature.asc
Description: OpenPGP digital signature


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

2012-08-08 Thread Dale
Mick wrote:
> On Wednesday 08 Aug 2012 05:21:31 Adam Carter wrote:
>>> To wipe a drive use dban. - live CD which uses (US) gov approved
>>> standards of wipe methods/patterns.
>> Or shred, which comes with coreutils.
>>
>>> dd is only going to show sectors on a failed drive - too late!
>>>
>>> To explain, modern drives have a store of locations they can use to
>>> transparently replace any failed locations (apparently similar to the
>>> way SSD's do it)  - the internal drive electronics handle this and its
>>> not visible externally though smart data seems to show it, but as google
>>> says, smart is a bit suspect.  The problem of a bad sector will only
>>> show once all the reserved locations are used up, by which time the
>>> drive is usually in rampant failure.
>>>
>>> I do suspect this is one reason for googles results - actual failures of
>>> the media (as against the motors/electronics are much as they always
>>> have been, but the drives are not reporting them until its too late.
>> Ahh - go to know. My reasoning assumed that smart reports all remaps.
> May be it does, but I understand that dd or shred won't overwrite them, or 
> any 
> bad blocks.  You'll need the hdparm ATA secure erase (or enhanced secure 
> erase) feature for that.
>
> BTW, Dale make sure that you plug the drive in a SATA controller for running 
> the hdparm erase function.  It has been reported that doing this using a USB 
> port will brick the drive!


I don't use USB for drives, except the USB stick thingys. 

I have a question sort of related to this.  Anyone can share info.  I
see boxes that hold drives in them and connect via ethernet or something
like that.  Do those work really well?  I thought about getting one
someday but I don't know what they do and how they do it EXACTLY.  Is it
like a small puter in there or some other means of getting the data
across? 

Right now, I like having my drives in my Cooler Master case.  The fan
blows right on the drives so they stay nice and cool.  But, I have given
thought to having the non OS drives in one of those little boxes, maybe
using RAID and mirroring the data on two drives. 

Just what magic is in those things? 

Dale

:-)  :-) 

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




Re: [gentoo-user] Where to discuss ARM stuff.

2012-08-08 Thread Raffaele BELARDI
On 08/08/2012 02:03 PM, Norman Rieß wrote:
> i am running Gentoo on an ARM device and ran into a problem
> building binutils.

What problem? I have no experience on Gentoo/ARM but some on
buildroot/ARM.

raf


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

2012-08-08 Thread Mick
On Wednesday 08 Aug 2012 05:21:31 Adam Carter wrote:
> > To wipe a drive use dban. - live CD which uses (US) gov approved
> > standards of wipe methods/patterns.
> 
> Or shred, which comes with coreutils.
> 
> > dd is only going to show sectors on a failed drive - too late!
> > 
> > To explain, modern drives have a store of locations they can use to
> > transparently replace any failed locations (apparently similar to the
> > way SSD's do it)  - the internal drive electronics handle this and its
> > not visible externally though smart data seems to show it, but as google
> > says, smart is a bit suspect.  The problem of a bad sector will only
> > show once all the reserved locations are used up, by which time the
> > drive is usually in rampant failure.
> > 
> > I do suspect this is one reason for googles results - actual failures of
> > the media (as against the motors/electronics are much as they always
> > have been, but the drives are not reporting them until its too late.
> 
> Ahh - go to know. My reasoning assumed that smart reports all remaps.

May be it does, but I understand that dd or shred won't overwrite them, or any 
bad blocks.  You'll need the hdparm ATA secure erase (or enhanced secure 
erase) feature for that.

BTW, Dale make sure that you plug the drive in a SATA controller for running 
the hdparm erase function.  It has been reported that doing this using a USB 
port will brick the drive!
-- 
Regards,
Mick


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


[gentoo-user] Where to discuss ARM stuff.

2012-08-08 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

i am running Gentoo on an ARM device and ran into a problem building
binutils.
I thought to asked about that on an gentoo-arm mailing list, but
found, that this list ist listed as closed.
So is there an apropriate list or ressource dedicated to that or does
gentoo-user cover this?

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

iQEcBAEBAgAGBQJQIlWjAAoJEMCA6frkLT6zy6MH/00jNkclFzdM/YcwVGUvYkSO
mJmgGTk2BHpdjC02zmKQa2IjpX24tdtfjnFxpwD+klL0h7Es5x4t/C6NN39cBHno
prfMRPpDu7+My47D2W/QTCVA0rXTOt0hkNN3yMQUnOpspsMEnclx4RwbBFL69SDN
K0lTCK0fJkNV4tQi2GwVzmpBx0ePwZ5/V6XfW1WEnm7mlgeHU4GUACWmG0Z6U3S+
QUya1mLK38gTKF5ylDUZ43G3Ncf0YFEAiBOkLku9R1YQoX06udf0s2iSdd0gWPQ1
gFiNx5XVSLsKKD1pwHA3eCN/c65IsEEeGdpyvMD7IxjBQdy28RGpCMzXxZTzxTo=
=7bHu
-END PGP SIGNATURE-



Re: [gentoo-user] kernels & swap usage

2012-08-08 Thread Philip Webb
120808 Florian Philipp wrote:
> Am 07.08.2012 07:02, schrieb 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.
> Did Firefox ever actually need to swap? Here it does a fair share
> of disk I/O (some python script?) but never actually needs lots of memory.
> With Libre Office, it could be their recent code cleaning effort.
> They removed large amounts of cruft.

Sorry, perhaps I didn't make it clear enough:
I'm refering to the process of compiling the pkgs via Portage,
not to using them after they have been installed.
Both packages used noticeably less memory during the compile stage
on the latest occasion in contrast to the previous Emerges.

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




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

2012-08-08 Thread Peter Humphrey
On Wednesday 08 August 2012 01:32:55 Mark Knecht wrote:
> On Tue, Aug 7, 2012 at 4:06 PM, Peter Humphrey 
 wrote:
> > On Tuesday 07 August 2012 23:39:05 Mark Knecht wrote:
> >> Dead out of the box is dead. However a drive failing in a couple
> >> of months _might_ have showed up in the smartctl output ...
> > 
> > I wonder. Does anyone here know what most often causes HD failure
> > after a couple of months? I imagine it's some component whose
> > material is substandard, in which case it might show up with
> > smartclt or it might not. I dunno.
> > 
> > --
> > Rgds
> > Peter
> 
> This has come up before on this list I think.

I must have missed it then.

> This is the overarching sort of thinking about failure over
> lifetime...
> 
> http://en.wikipedia.org/wiki/Bathtub_curve

Yes, I'm familiar with that idea thanks. I was wondering what specific 
causes were most implicated.

-- 
Rgds
Peter