Hi, anyone else tried to update (todas's cvsup) 7.3-p7 to 8-STABLE? make update make buildworld && make kernel && make installworld mergemaster and i got a "bad system call (core dumped)". reboot, mergemaster again and it was allright. i use freebsd from 3.3 (maybe) and this is the first time i had to reboot with new kernel/world to make a mergemaster (very dangerous, i was remote). anyone else? -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/
On Wed, Mar 17, 2010 at 03:25:14PM +0100, Cristiano Deana wrote:> Hi, > > anyone else tried to update (todas's cvsup) 7.3-p7 to 8-STABLE? > > make update > make buildworld && make kernel && make installworldI'm not familiar with upgrading a working 7.x to 8.x box, so I can't tell you for certain if that's what caused your problem. But the above make commands *are not* the proper procedure to follow. /usr/src/Makefile contains the procedure: # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) Chances are the failure you were seeing is/was induced by you doing things in the wrong order. If your system doesn't have remote serial console (for the single user steps), then you get to do it from the VGA console. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
On Wed, Mar 17, 2010 at 2:25 PM, Cristiano Deana <cristiano.deana@gmail.com> wrote:> Hi, > > anyone else tried to update (todas's cvsup) 7.3-p7 to 8-STABLE? > > make update > make buildworld && make kernel && make installworld > mergemaster > and i got a "bad system call (core dumped)". > > reboot, mergemaster again and it was allright. > > i use freebsd from 3.3 (maybe) and this is the first time i had to > reboot with new kernel/world to make a mergemaster (very dangerous, i > was remote). > > anyone else? >You can't always run new userland on an old kernel, but you can always run old userland on a new kernel, which is why the process you went through is not the canonical way. See the handbook or /usr/src/UPDATING: To rebuild everything and install it on the current system. ----------------------------------------------------------- # Note: sometimes if you are running current you gotta do more than # is listed here if you are upgrading from a really old current. <make sure you have good level 0 dumps> make buildworld make kernel KERNCONF=YOUR_KERNEL_HERE [1] <reboot in single user> [3] mergemaster -p [5] make installworld make delete-old mergemaster [4] <reboot> Cheers Tom