Re: Help, I killed my machine.
On Jun 23, 2005, at 3:23 PM, Ben Timby wrote: I was upgrading from 4.10-STABLE to 5.4-STABLE, following the instructions in the freebsd handbook and something went wrong. I used CVSup to update my sources. I built the world and kernel as follows: cd /usr/src make buildworld make buildkernel I am using the GENERIC config. I had to copy /usr/src/sys/i386/conf/ GENERIC.hints to /boot/device.hints. Before the above builds worked properly. I installed the kernel, and rebooted the system. It booted (mostly) ok, sudo did not work properly, so I had to login as root. I did mergemaster -p. I had to add the new proxy user and group for pf. After this, I did: cd /usr/src/ make installworld during the process, it died in: /usr/src/bin/test with Signal 12. No commands worked after this point, All I received was Signal 12. I cannot boot into single user mode, I receive a Signal 12 from any shell I try to use. I understand a Signal 12 is a non-existant system call. The half installworld probably caused this. How can I recover from this? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] I've upgraded a few machines from 4.x to 5.x without any problems. I followed the instructions in /usr/src/UPDATING. cvsup your machine to RELENG_5_4 and look towards the end of /usr/src/UPDATING for instructions. There are a few important steps that I haven't seen documented elsewhere. Good luck, Ken Ebling ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help, I killed my machine.
I was upgrading from 4.10-STABLE to 5.4-STABLE, following the instructions in the freebsd handbook and something went wrong. I used CVSup to update my sources. I built the world and kernel as follows: cd /usr/src make buildworld make buildkernel I am using the GENERIC config. I had to copy /usr/src/sys/i386/conf/GENERIC.hints to /boot/device.hints. Before the above builds worked properly. I installed the kernel, and rebooted the system. It booted (mostly) ok, sudo did not work properly, so I had to login as root. I did mergemaster -p. I had to add the new proxy user and group for pf. After this, I did: cd /usr/src/ make installworld during the process, it died in: /usr/src/bin/test with Signal 12. No commands worked after this point, All I received was Signal 12. I cannot boot into single user mode, I receive a Signal 12 from any shell I try to use. I understand a Signal 12 is a non-existant system call. The half installworld probably caused this. How can I recover from this? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help, I killed my machine.
Ben Timby wrote: [ ... ] I understand a Signal 12 is a non-existant system call. The half installworld probably caused this. How can I recover from this? The easiest way is probably to perform an upgrade from a 5.4 CD burned from the ISO image. Make sure you don't repartition or enable newfs, and it will leave your existing config files and other stuff alone. (Note that you do want to have a backup available, first. Of course, you made a backup of your 4.x system, or at least the important bits, before trying to do this 4-5 upgrade, right...?) -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help, I killed my machine.
Chuck Swiger wrote: Ben Timby wrote: [ ... ] I understand a Signal 12 is a non-existant system call. The half installworld probably caused this. How can I recover from this? The easiest way is probably to perform an upgrade from a 5.4 CD burned from the ISO image. Make sure you don't repartition or enable newfs, and it will leave your existing config files and other stuff alone. I will give this a try. (Note that you do want to have a backup available, first. Of course, you made a backup of your 4.x system, or at least the important bits, before trying to do this 4-5 upgrade, right...?) But of course! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help, I killed my machine.
Ben Timby wrote: [...] I built the world and kernel as follows: So I guess you didn't followed the step-by-step instructions in the migration guide? http://www.freebsd.org/releases/5.4R/migration-guide.html cd /usr/src make buildworld make buildkernel [...] I did mergemaster -p. The -p stands for pre-buildworld mode, i.e. you should run it before buildworld. ;-) I would do a fresh clean installation in your case now. Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help, I killed my machine.
On 06/23/05 10:02 PM, Björn König sat at the `puter and typed: Ben Timby wrote: [...] I built the world and kernel as follows: So I guess you didn't followed the step-by-step instructions in the migration guide? http://www.freebsd.org/releases/5.4R/migration-guide.html cd /usr/src make buildworld make buildkernel [...] I did mergemaster -p. The -p stands for pre-buildworld mode, i.e. you should run it before buildworld. ;-) I would do a fresh clean installation in your case now. Uh, careful. My copy of the FreeBSD handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html) says to do it this way: # make buildworld # make buildkernel # make installkernel # reboot Note: There are a few rare cases when an extra run of mergemaster -p is needed before the buildworld step. These are described in UPDATING. In general, though, you can safely omit this step if you are not updating across one or more major FreeBSD versions. After installkernel finishes successfully, you should boot in single user mode (i.e. using boot -s from the loader prompt). Then run: # mergemaster -p # make installworld # mergemaster # reboot Every time I have to do an upgrade, one of my crucial steps prior to reboot is to print out that page and tape it to my right monitor. I always forget the right order. Always. Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Modesty: The gentle art of enhancing your charm by pretending not to be aware of it. -- Oliver Herford pgpCgL5G0cNIn.pgp Description: PGP signature
Re: Help, I killed my machine.
Louis LeBlanc wrote: On 06/23/05 10:02 PM, Björn König sat at the `puter and typed: The -p stands for pre-buildworld mode, i.e. you should run it before buildworld. ;-) Uh, careful. My copy of the FreeBSD handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html) says to do it this way: # make buildworld # make buildkernel # make installkernel # reboot [...] After installkernel finishes successfully, you should boot in single user mode (i.e. using boot -s from the loader prompt). Then run: # mergemaster -p # make installworld # mergemaster # reboot Indeed. I read the mergemaster script partially and deceided that it won't hurt to run 'mergemaster -p' before 'make buildworld'; and I think that this way is the intention of the author of mergemaster too. If I'm mistaken then somebody should state the description in mergemaster(8) more precisely. I think it is confusing to call it 'pre-buildworld mode' if it would be better to execute this command after 'make buildworld' in general. I prefer looking into manpages than into the handbook. Björn P.S.: I CC'd Doug Barton who wrote most parts of mergemaster. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]