Date: Fri, 19 Jan 2001 16:51:42 -0600 From: ANUBHAV AGARWAL <AAGARWA1@email.usps.gov> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: help 3-stable -> 4-stable: shutdown -r now fails w/ sig 12 Message-ID: <0033000013990562000002L022*@MHS>
next in thread | raw e-mail | index | archive | help
=0Ahi,
i am trying to upgrade from 3-stable (last world installed some time
during last 2 weeks) to 4-stable (cvsup'd the sources this week).
for 4-stable, after successfully building world and building &
installing kernel (first GENERIC, then FOO) i tried to reboot.
couldn't as it dumped core w/ signal 12 (invalid system call).
in between of after installing kernel & before rebooting, i did...
# cd /usr/src/sbin && make install
# cd /dev
# sh MAKEDEV all
# sh MAKEDEV ad0
...then checked for disk slices in the current /etc/fstab, and then
made the missing ones, like ad0s2[af]. then, replaced alll "wd0" w/
"ad0" in /etc/fstab. however, after rebooting failed w/ signal 12 &
core dump, i changed restored the "wd0" entries.
i think the reason is, i did...
# cd /usr/src/sbin && make install
...instead of...
# cd /usr/src/sbin/mknod && make install
...so the solution i was thinking of...
1a mv /usr/src /usr/src-4
1b mv /usr/obj /usr/obj-4 # to save an hour of buildworld compilation
1c mkdir /usr/src
2a (cvsup the 3-stable sources needed to install /sbin)
q: what are the needed cvs-tags/sources to install "sbin" for
3-stable? if possible i would rather not get the whole tree.
2b cd /usr/src/sbin && make install
2c mv /usr/src /usr/src-3
2d mv /usr/obj /usr/obj-3
3a mv /usr/src-4 /usr/src
3b mv /usr/obj-4 /usr/obj
3c cd /usr/src
4a (reinstall kernel again, not build)
4b (run MAKEDEV again)
4c (change /etc/fstab "wd0" entries to "ad0")
q: UPDATING doesn't list step 4c; is it harmful/unneeded?
5 shutdonw -r now # reboot in single user mode, hopefully w/o dump
6 (run/follow rest of the UPDATING intructions /more/ carefully)
...so is that ok? any suggestions?
- anu=
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0033000013990562000002L022*>
