Re: Don't let mergemaster beat you down [was Re: Failed update]

2009-08-11 Thread Mel Flynn
On Tuesday 11 August 2009 05:23:28 Arthur Chance wrote:
> Wayne Sierke wrote:
> > I lost practically all of my 'mergemaster pain' when I adopted the habit
> > of using it with -iUP options:
> >
> > -i  Automatically install any files that do not exist in the des-
> > tination directory.
> > -P  Preserve files that you replace in
> > /var/tmp/mergemaster/preserved-files-, or another
> > directory you specify in your mergemaster rc file.
> > -U  Attempt to auto upgrade files that have not been user modi-
> > fied.
>
> How does -U compare to -F? I've found that saves a lot of tedium.

-U saves a lot on major version upgrades as that tends to have a lot of 
changes in /etc/rc.*, something most of us don't touch by hand. However, the 
feature depends on having a fingerprint of the files, so that mergemaster can 
determine if you changed the file. Before using the feature and before 
upgrading it's therefore recommended to do a dry run so that the file 
(/var/db/mergemaster.mtree) is created.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Don't let mergemaster beat you down [was Re: Failed update]

2009-08-11 Thread Polytropon
On Tue, 11 Aug 2009 08:52:36 -0600 (MDT), Warren Block  
wrote:
> I prefer phooey mode: -FUi.  Still works with -PFUi.

"PFui" is German for something like "Ugh". I think
that is NOT intended. :-)



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Don't let mergemaster beat you down [was Re: Failed update]

2009-08-11 Thread Warren Block

On Tue, 11 Aug 2009, p...@pair.com wrote:

in message <1249971512.63923.1045.ca...@predator-ii.buffyverse>,
wrote Wayne Sierke thusly...


On Sun, 2009-08-09 at 08:34 -0700, Richard Mahlerwein wrote:

I'm redoing the whole process in single user mode.  My guess is
I goofed something during mergemaster and devd.conf is messed
up.  (Mergemaster is, undeniably, my least favorite utility).


I lost practically all of my 'mergemaster pain' when I adopted the
habit of using it with -iUP options:

-iAutomatically install any files that do not exist in the des-
  tination directory.
-PPreserve files that you replace in
  /var/tmp/mergemaster/preserved-files-, or another
  directory you specify in your mergemaster rc file.
-UAttempt to auto upgrade files that have not been user modi-
  fied.


Ah. My mnemonic would be "PiU" as in "Pew! Pew!".


I prefer phooey mode: -FUi.  Still works with -PFUi.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Don't let mergemaster beat you down [was Re: Failed update]

2009-08-11 Thread Paul Schmehl
--On Tuesday, August 11, 2009 01:18:32 -0500 Wayne Sierke  
wrote:




On Sun, 2009-08-09 at 08:34 -0700, Richard Mahlerwein wrote:

I'm redoing the whole process in single user mode.  My guess is I
goofed something during mergemaster and devd.conf is messed up.
(Mergemaster is, undeniably, my least favorite utility).


I lost practically all of my 'mergemaster pain' when I adopted the habit
of using it with -iUP options:

-i  Automatically install any files that do not exist in the des-
tination directory.
-P  Preserve files that you replace in
/var/tmp/mergemaster/preserved-files-, or another
directory you specify in your mergemaster rc file.
-U  Attempt to auto upgrade files that have not been user modi-
fied.

"Try it - you'll like it!"



That's one way to do it.  Another is to use /etc/mergemaster.rc.  Here's mine:

# less /etc/mergemaster.rc
# Automatically install files that do not exist
AUTO_INSTALL='yes'
# Automatically upgrade files that have not been edited
AUTO_UPGRADE='yes'
# Ignore files that I don't want changed
IGNORE_FILES='/etc/motd'
# Do not display changes that only affect whitespace
DIFF_FLAG="'.Bub'"
# Ignore CVS id lines to stop replacing files where only that line has changed
DIFF_OPTIONS='-I$FreeBSD:.*[$]'

I never have issues with mergemaster because of this file.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Don't let mergemaster beat you down [was Re: Failed update]

2009-08-11 Thread Richard Mahlerwein
--- On Tue, 8/11/09, Wayne Sierke  wrote:

> From: Wayne Sierke 
> Subject: Don't let mergemaster beat you down [was Re: Failed update]
> To: mahle...@yahoo.com
> Cc: "FreeBSD-Questions" 
> Date: Tuesday, August 11, 2009, 2:18 AM
> On Sun, 2009-08-09 at 08:34 -0700,
> Richard Mahlerwein wrote:
> > I'm redoing the whole process in single user
> mode.  My guess is I
> > goofed something during mergemaster and devd.conf is
> messed up.
> > (Mergemaster is, undeniably, my least favorite
> utility).  
> 
> I lost practically all of my 'mergemaster pain' when I
> adopted the habit
> of using it with -iUP options:
> 
>         -i   
> Automatically install any files that do not exist in the
> des-
>                
> tination directory.
>         -P    Preserve
> files that you replace in
>                
> /var/tmp/mergemaster/preserved-files-, or
> another
>                
> directory you specify in your mergemaster rc file.
>         -U    Attempt to
> auto upgrade files that have not been user modi-
>                
> fied.
>         
> "Try it - you'll like it!"
> 
> 
> Wayne

Thanks for the tips!  

I'll have more info in a couple of weeks on this  - I'm in training and not at 
home until thursday, and Friday we leave to visit relatives for another week.  

I did do the rebuild all in single-user mode before I left Sunday, and now I 
get another signal 12 core crash, at the *same* virtual address, but in a 
*different* utility... don't remember which one right now, but it seemed 
completely unrelated.

When I get home in a few weeks, I'm going to run some memory tests and yanking 
extraneous hardware to try to see if I can make it stop.  Anything else you all 
can think of to try?

Thanks,
Rich  



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Don't let mergemaster beat you down [was Re: Failed update]

2009-08-11 Thread parv
in message <1249971512.63923.1045.ca...@predator-ii.buffyverse>,
wrote Wayne Sierke thusly...
>
> On Sun, 2009-08-09 at 08:34 -0700, Richard Mahlerwein wrote:
> > I'm redoing the whole process in single user mode.  My guess is
> > I goofed something during mergemaster and devd.conf is messed
> > up.  (Mergemaster is, undeniably, my least favorite utility).
>
> I lost practically all of my 'mergemaster pain' when I adopted the
> habit of using it with -iUP options:
>
> -iAutomatically install any files that do not exist in the des-
>   tination directory.
> -PPreserve files that you replace in
>   /var/tmp/mergemaster/preserved-files-, or another
>   directory you specify in your mergemaster rc file.
> -UAttempt to auto upgrade files that have not been user modi-
>   fied.

Ah. My mnemonic would be "PiU" as in "Pew! Pew!".


  - Parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Don't let mergemaster beat you down [was Re: Failed update]

2009-08-11 Thread Arthur Chance

Wayne Sierke wrote:

I lost practically all of my 'mergemaster pain' when I adopted the habit
of using it with -iUP options:

-i  Automatically install any files that do not exist in the des-
tination directory.
-P  Preserve files that you replace in
/var/tmp/mergemaster/preserved-files-, or another
directory you specify in your mergemaster rc file.
-U  Attempt to auto upgrade files that have not been user modi-
fied.


How does -U compare to -F? I've found that saves a lot of tedium.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Don't let mergemaster beat you down [was Re: Failed update]

2009-08-10 Thread Wayne Sierke
On Sun, 2009-08-09 at 08:34 -0700, Richard Mahlerwein wrote:
> I'm redoing the whole process in single user mode.  My guess is I
> goofed something during mergemaster and devd.conf is messed up.
> (Mergemaster is, undeniably, my least favorite utility).  

I lost practically all of my 'mergemaster pain' when I adopted the habit
of using it with -iUP options:

-i  Automatically install any files that do not exist in the des-
tination directory.
-P  Preserve files that you replace in
/var/tmp/mergemaster/preserved-files-, or another
directory you specify in your mergemaster rc file.
-U  Attempt to auto upgrade files that have not been user modi-
fied.

"Try it - you'll like it!"


Wayne


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Failed update

2009-08-09 Thread Richard Mahlerwein
--- On Sun, 8/9/09, Richard Mahlerwein  wrote:

> From: Richard Mahlerwein 
> Subject: Re: Failed update
> To: "FreeBSD-Questions" 
> Date: Sunday, August 9, 2009, 11:34 AM
> --- On Sun, 8/9/09, Richard
> Mahlerwein 
> wrote:
> 
> > From: Richard Mahlerwein 
> > Subject: Failed update
> > To: "FreeBSD-Questions" 
> > Date: Sunday, August 9, 2009, 10:23 AM
> > In upgrading 7.1-PRELEASE to -stable,
> > all seemed fine until I rebooted out of single user
> mode
> > after doing make installworld and mergemaster.
> > 
> > Now I get to devd and it dies.  I've copied down
> > what's on screen and typed it here.
> > 
> > 
> > [snip]
> > starting devd.
> > 
> > Fatal trap 12: page fault while in kernel mode.
> > cpu id = 0; apic id = 00
> > fault virtual address = 0x3030313a
> > fault code = supervisor write, page not present
> > [snip]
> > current process = 355 (devd)
> > 
> > 
> > 
> > What critical step did I miss?  Single user mode
> seems
> > OK, and I can mount the drives (though right now it'll
> tell
> > me to fsck, since I just hard crashed).  I have not
> > tried to cycle this thing much, for fear of trashing
> > something further, but I did at least try one
> reboot. 
> > Same issue.
> > 
> > (and yes, I'll be researching this myself, but I
> thought
> > I'd get this message out there sooner rather than
> later...)
> > 
> > Rich Mahlerwein
> 
> I'm redoing the whole process in single user mode.  My
> guess is I goofed something during mergemaster and devd.conf
> is messed up.  (Mergemaster is, undeniably, my least
> favorite utility).  
> 
> I can suffer the system being down for a while, as long as
> my wife has access to a handful of files.  
> 
> How would I go about mounting a USB stick, if such can be
> done in single-user mode?  
> 
> I have several sitting around that I could copy stuff to
> (I'm sure that's easier than pulling off the backup I made
> last night, since the backup is in dump format on tape, and
> since my only bsd box is currently not working...)

I'll answer my own question: 
mount -t msdosfs /dev/da0s1 /mnt
then copy away at will.  I suppose my biggest issue had been wondering if that 
works in single user mode.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Failed update

2009-08-09 Thread Richard Mahlerwein
--- On Sun, 8/9/09, Richard Mahlerwein  wrote:

> From: Richard Mahlerwein 
> Subject: Failed update
> To: "FreeBSD-Questions" 
> Date: Sunday, August 9, 2009, 10:23 AM
> In upgrading 7.1-PRELEASE to -stable,
> all seemed fine until I rebooted out of single user mode
> after doing make installworld and mergemaster.
> 
> Now I get to devd and it dies.  I've copied down
> what's on screen and typed it here.
> 
> 
> [snip]
> starting devd.
> 
> Fatal trap 12: page fault while in kernel mode.
> cpu id = 0; apic id = 00
> fault virtual address = 0x3030313a
> fault code = supervisor write, page not present
> [snip]
> current process = 355 (devd)
> 
> 
> 
> What critical step did I miss?  Single user mode seems
> OK, and I can mount the drives (though right now it'll tell
> me to fsck, since I just hard crashed).  I have not
> tried to cycle this thing much, for fear of trashing
> something further, but I did at least try one reboot. 
> Same issue.
> 
> (and yes, I'll be researching this myself, but I thought
> I'd get this message out there sooner rather than later...)
> 
> Rich Mahlerwein

I'm redoing the whole process in single user mode.  My guess is I goofed 
something during mergemaster and devd.conf is messed up.  (Mergemaster is, 
undeniably, my least favorite utility).  

I can suffer the system being down for a while, as long as my wife has access 
to a handful of files.  

How would I go about mounting a USB stick, if such can be done in single-user 
mode?  

I have several sitting around that I could copy stuff to (I'm sure that's 
easier than pulling off the backup I made last night, since the backup is in 
dump format on tape, and since my only bsd box is currently not working...)



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Failed update

2009-08-09 Thread Richard Mahlerwein
In upgrading 7.1-PRELEASE to -stable, all seemed fine until I rebooted out of 
single user mode after doing make installworld and mergemaster.

Now I get to devd and it dies.  I've copied down what's on screen and typed it 
here.


[snip]
starting devd.

Fatal trap 12: page fault while in kernel mode.
cpu id = 0; apic id = 00
fault virtual address = 0x3030313a
fault code = supervisor write, page not present
[snip]
current process = 355 (devd)



What critical step did I miss?  Single user mode seems OK, and I can mount the 
drives (though right now it'll tell me to fsck, since I just hard crashed).  I 
have not tried to cycle this thing much, for fear of trashing something 
further, but I did at least try one reboot.  Same issue.

(and yes, I'll be researching this myself, but I thought I'd get this message 
out there sooner rather than later...)

Rich Mahlerwein
Mobile: 715-891-7420


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"