Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 09:33:26 -0800 (PST)
From:      "Edmund L. Wong" <bacchuswng@yahoo.com>
To:        freebsd-current@freebsd.org
Subject:   Re: signal 12's everywhere on Current with update this morning.
Message-ID:  <20031114173326.12340.qmail@web41009.mail.yahoo.com>
In-Reply-To: <3FB506F8.4090309@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Richard.  So unfortunately, I was an idiot and
ran installworld without rebuilding and installing a
new kernel (the one I have was built on Nov. 1).  Now
everything coredumps, including rm, ls, etc.  I cannot
make installworld, installkernel, buildworld or
buildkernel.

I am able to get myself to a single-user prompt as
root, but not much else.  Does anyone have any
suggestions as to how I can salvage this?  Or will I
have to reinstall anew?

(for those in freebsd-questions, I apologize in
advance, I asked there earlier this morning as well)

Thanks,
Ed


--- Richard Coleman <richardcoleman@mindspring.com>
wrote:
> Sure.  I can do that.  Some structures in statfs
> changed size.  So you 
> need to rebuild and install your kernel before you
> update the world. 
> The instructions in the handbook should work just
> fine.
> 
> 1. make buildworld
> 2. make buildkernel KERNCONF=NAME_OF_KERNEL_FILE
> 3. make installkernel KERNCONF=NAME_OF_KERNEL_FILE
> 4. shutdown -r now
> 5. boot into single user mode
> 6. fsck -p
> 7. mount -u /
> 8. mount -a -t ufs
> 9. swapon -a
> 10. make installworld
> 11. mergemaster
> 12. reboot
> 
> There are a couple ports that also need rebuilt. 
> I've heard cfs and 
> postfix mentioned.  There could be more.  If you
> don't have many ports, 
> just rebuild them all (that's what I'm doing).  If
> you are using 
> portupgrade, it's easy (portupgrade -afR). 
> Obviously this could take 
> awhile.
> 
> Richard Coleman
> richardcoleman@mindspring.com
> 
> Edmund L. Wong wrote:
> 
> > Could someone bring me up to speed on this thread?
>  I
> > just joined current and I also updated this
> morning
> > and have all kinds of issues.
> > 
> > THanks,
> > Ed
> > 
> > 
> > --- Richard Coleman
> <richardcoleman@mindspring.com>
> > wrote:
> > 
> >>Someone just needs to bring the build(7) man page
> up
> >>to date with the 
> >>handbook.
> >>
> >>Also, I noticed that build(7) still lists the
> >>"installmost" build 
> >>target.  I believe that was removed.
> >>
> >>I would file a PR except that my man pages always
> >>suck.
> >>
> >>Richard Coleman
> >>richardcoleman@mindspring.com
> >>
> >>Brent Jones wrote:
> >>
> >>
> >>>If this is true, perhaps the "build" man page
> >>
> >>should be updated.  Here's 
> >>
> >>>what the man page has to say on the topic:
> >>>
> >>>     The ``approved'' method of updating your
> >>
> >>system from the latest 
> >>
> >>>sources
> >>>     is:
> >>>
> >>>           make buildworld
> >>>           make buildkernel KERNCONF=FOO
> >>>           make installkernel KERNCONF=FOO
> >>>           make installworld
> >>>           mergemaster
> >>>
> >>>     After running these commands a system reboot
> >>
> >>is required...
> >>
> >>>This gives the impression that you're safe
> running
> >>
> >>all the builds 
> >>
> >>>without rebooting, especially as the word
> >>
> >>"approved" is used.
> >>
> >>>Brent
> >>>
> >>>On Nov 13, 2003, at 11:18 PM, M. Warner Losh
> >>
> >>wrote:
> >>
> >>>>In message: <3FB3BB9A.8080703@despammed.com>
> >>>>            Uwe Laverenz
> <laverenz@despammed.com>
> >>
> >>writes:
> >>
> >>>>: eculp@encontacto.net schrieb:
> >>>>:
> >>>>: > Uwe, do you have any remote machines?  I'm
> >>
> >>wondering what the correct
> >>
> >>>>: > sequence would be to update and reboot them.
> >>>>:
> >>>>: I would suggest to do it this way:
> >>>>:
> >>>>: 1. make buildworld
> >>>>: 2. make kernel KERNCONF=<YOURCONF>
> >>>>: 3. *reboot* (with new kernel and old userland)
> >>>>
> >>>>Into single user...
> >>>>
> >>>>: 4. make installworld
> >>>>: 5. mergemaster
> >>>>: 6. *reboot*
> >>>>
> >>>>This is the order that's recommended in UPDATING
> >>
> >>since 3.something.
> >>
> >>>>Warner
> >>
> >>
> >>
> >>_______________________________________________
> >>freebsd-current@freebsd.org mailing list
> >>
> > 
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > 
> >>To unsubscribe, send any mail to
> > 
> > "freebsd-current-unsubscribe@freebsd.org"
> > 
> > 
> > =====
> > edmund l wong
> > assistant staff : mit lincoln lab 
> > cs/ece alumni : carnegie mellon
> > 
> > ewong@alumni.cmu.edu
> > http://www.edmundlwong.com
> 
> 
> 


=====
edmund l wong
assistant staff : mit lincoln lab 
cs/ece alumni : carnegie mellon

ewong@alumni.cmu.edu
http://www.edmundlwong.com

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031114173326.12340.qmail>