From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c3a641296807a04e,start X-Google-Attributes: gidfee84,public From: Tommy Hash Subject: kernel rebuild errors with DU3.2C Date: 1997/02/27 Message-ID: <3316072E.41C6@vt.edu>#1/1 X-Deja-AN: 221913296 Organization: Virginia Tech Newsgroups: comp.unix.osf.osf1 I'm getting some strange errors when trying to rebuild vmuinx. I'm following all the directions in doconfig for rebuilding and things start going wrong in the middle of the compile. Here is what I'm doing: backup vmunix... # cp /vmunix /usr/users/vmunix.save copy genvmunix to vmunix and reboot... # cp /genvmunix /vmunix # /usr/sbin/shutdown -r login as root and shutdown into singel-user mode... # /usr/sbin/shutdown +1 my original congif file is called CLONE95 and is in /sys/conf/ I assumed sys was already mounted. # mount usr # cd /sys/conf/ # /usr/sbin/doconfig -c CLONE95 It backs up CLONE95 and asks if I want to change anything, I don't so it begins the rebuild process. Everything is fine till about 9 minutes into the build. Then I get a partial listing of file it called ./err. The first dozen lines are successful compiles that look like cc -c etc. Here is a listing of the first non cc -c line and what followed: cc -I -I. -I.. -I../include -DIDENT=CLONE95 -DDEC3000_300 -DSWAPTYPE=1 -DUERF -D OSF -DCOMPAT_43 -DMACH -DUFS -DKERNEL -D_DKERNEL -D_BSD -c vers.c rm -f vmunix vmunix.sys loading vmunix.sys ld: can't open: alpha_init.o (no such file or directory) ***Exit 1 (ignored) chmod 755 a.out chmod: a.out: No such file or directory ***Exit 4 Stop Press to continue Do you want to edit the configuation file? [y/n] ... I said no and quit the ed edit session. ... ***NOTE*** A new kernel for this machine could not be successfully created. Restoring original configuration file - /sys/conf/CLONE95 And the rest is history. I had to restore the old vmunix I had backed up and shutdown -r. Thank God for backups. Any ideas what the problem could be? -- Tommy [ Tommy Hash ----> thash@vt.edu <---- ] [ http://thash.async.vt.edu ]