Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Mark Knecht

On 7/24/06, Zac Medico [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Knecht wrote:
   What is my best course of action at this point? The machine booted
 fine so I could start over. I also saved an old email from Zac Medico
 that suggested a command

 FEATURES=keepwork emerge --resume

 Would this be a good thing to do?

I wouldn't recommend the FEATURES=keepwork anymore because there's no guarantee 
that the build will resume properly.  It's safest to simply use --resume as 
suggested by Dale.

Zac


Thanks you guys. I did the emerge --resume and things seem to have
completed correctly.

Now if I could just get the machine to work properly I'd be in heaven! ;-)

Cheers all,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Dale
Mark Knecht wrote:
 On 7/24/06, Zac Medico [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Mark Knecht wrote:
What is my best course of action at this point? The machine booted
  fine so I could start over. I also saved an old email from Zac Medico
  that suggested a command
 
  FEATURES=keepwork emerge --resume
 
  Would this be a good thing to do?

 I wouldn't recommend the FEATURES=keepwork anymore because there's no
 guarantee that the build will resume properly.  It's safest to simply
 use --resume as suggested by Dale.

 Zac

 Thanks you guys. I did the emerge --resume and things seem to have
 completed correctly.

 Now if I could just get the machine to work properly I'd be in heaven!
 ;-)

 Cheers all,
 Mark

Keep in mind that when it is compiling that it is done in a temporary
location.  After the compile is done, then it copies it over.  Now if it
dies while it was copying to it's place to actually run, usually /, then
there could be problems.  Unless it was changed, compiling takes place
in /var/tmp/portage.

Someone correct me if I am wrong.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Mark Knecht

On 7/25/06, Dale [EMAIL PROTECTED] wrote:

Mark Knecht wrote:

SNIP

 Now if I could just get the machine to work properly I'd be in heaven!
 ;-)

 Cheers all,
 Mark

Keep in mind that when it is compiling that it is done in a temporary
location.  After the compile is done, then it copies it over.  Now if it
dies while it was copying to it's place to actually run, usually /, then
there could be problems.  Unless it was changed, compiling takes place
in /var/tmp/portage.

Someone correct me if I am wrong.

Dale


Dale,
  Sorry. My bad for making such an off-hand comment. The emerge
process worked completely correctly and everything was moved to the
right place. None of that is a problem.

  The problem I'm having is that I have two machines with identical
hardware. (Pundit-R's). They were both running as MythTV frontend only
boxes using an old kernel, old ati-driver and old MythTV. One I
rebuilt from scratch instead of updating. It works perfectly. The
second I updated because it also serves as an NFS file server and I
didn't want to take it off line for very long. For some reason on the
second machine ati-drivers won't load. That's the problem I was
alluding to earlier.

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Dale
Mark Knecht wrote:
 On 7/25/06, Dale [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:
 SNIP
  Now if I could just get the machine to work properly I'd be in heaven!
  ;-)
 
  Cheers all,
  Mark

 Keep in mind that when it is compiling that it is done in a temporary
 location.  After the compile is done, then it copies it over.  Now if it
 dies while it was copying to it's place to actually run, usually /, then
 there could be problems.  Unless it was changed, compiling takes place
 in /var/tmp/portage.

 Someone correct me if I am wrong.

 Dale

 Dale,
   Sorry. My bad for making such an off-hand comment. The emerge
 process worked completely correctly and everything was moved to the
 right place. None of that is a problem.

  snip 
 Cheers,
 Mark

That was for future reference.  If in the future you are seeing it copy
the install over and power fails, then you may need to re-emerge it and
be ready for issues.  I'm not really sure what those would be though. 
It may work just fine, it may not.

I'm bad at looking to far ahead.  My wife has noticed that too.  :\

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dale wrote:
 That was for future reference.  If in the future you are seeing it copy
 the install over and power fails, then you may need to re-emerge it and
 be ready for issues.  I'm not really sure what those would be though. 
 It may work just fine, it may not.
 
 I'm bad at looking to far ahead.  My wife has noticed that too.  :\

This is an important detail and you're right to be concerned about it.  
However, AFAIK, portage handles this pretty well.  You should receive some type 
of notice about an incomplete merge if a merge has been interrupted.

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFExpbh/ejvha5XGaMRAn/UAJ0R3bD2iI0ugYobM7HD8HGG1GmslgCg57mB
XpLiecgbcVrK5ZFD79slMpI=
=mMqZ
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-24 Thread Dale
Mark Knecht wrote:
 Hi,
   A hot summer day blew the power transformer in my backyard. One of
 my MythTV frontends was about 2/3 of the way through an emerge
 --emptytree world at the time:

 1153780822:  === (178 of 280) Post-Build Cleaning
 (x11-proto/scrnsaverproto-1.1.0::/usr/portage/x11-proto/scrnsaverproto/scrnsaverproto-1.1.0.ebuild)

 1153780822:  ::: completed emerge (178 of 280)
 x11-proto/scrnsaverproto-1.1.0 to /
 1153780822:   emerge (179 of 280) x11-base/xorg-server-1.0.2-r7 to /
 1153780822:  === (179 of 280) Cleaning
 (x11-base/xorg-server-1.0.2-r7::/usr/portage/x11-base/xorg-server/xorg-server-1.0.2-r7.ebuild)

 1153780822:  === (179 of 280) Compiling/Merging
 (x11-base/xorg-server-1.0.2-r7::/usr/portage/x11-base/xorg-server/xorg-server-1.0.2-r7.ebuild)

 1153781845:  *** terminating.

   What is my best course of action at this point? The machine booted
 fine so I could start over. I also saved an old email from Zac Medico
 that suggested a command

 FEATURES=keepwork emerge --resume

 Would this be a good thing to do?

   There are currently 5 files to be dealt with under etc-update.
 Should I do those first?

 Thanks,
 Mark

Just type in emerge --resume and it should carry on normally.  It will
start over with the last package that was not completed though.  You can
go ahead and run etc-update if you want.  Should not matter but never
hurts either.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-24 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Knecht wrote:
   What is my best course of action at this point? The machine booted
 fine so I could start over. I also saved an old email from Zac Medico
 that suggested a command
 
 FEATURES=keepwork emerge --resume
 
 Would this be a good thing to do?

I wouldn't recommend the FEATURES=keepwork anymore because there's no guarantee 
that the build will resume properly.  It's safest to simply use --resume as 
suggested by Dale.

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFExZfc/ejvha5XGaMRAuitAJ4tUoj5p+kzJb8mqZc2Riq4cQ6LqwCfb00l
3jJlkkhbxLKCva5R6mOR2yc=
=ZQxl
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list