* kernel rebuild errors with DU3.2C
@ 1997-02-27 5:00 Tommy Hash
1997-03-01 5:00 ` julio
0 siblings, 1 reply; 2+ messages in thread
From: Tommy Hash @ 1997-02-27 5:00 UTC (permalink / raw)
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 <RETURN> 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 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kernel rebuild errors with DU3.2C
1997-02-27 5:00 kernel rebuild errors with DU3.2C Tommy Hash
@ 1997-03-01 5:00 ` julio
0 siblings, 0 replies; 2+ messages in thread
From: julio @ 1997-03-01 5:00 UTC (permalink / raw)
Tommy Hash wrote:
>
> 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:
> [snip]
Hi Tommy,
why all that work?!
Just being root at init level 3, do the following:
1. backup /vmunix (as you do)
2. cd /sys/conf
3. doconfig -c CLONE95
4. don't change anything (as you do)
5. unsuccesful build ? RETRY (not more than a couple of times ;)
6. cp /sys/CLONE95/vmunix /vmunix
7. reboot
HTH, julio
julio@webzone.it
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-03-01 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-27 5:00 kernel rebuild errors with DU3.2C Tommy Hash
1997-03-01 5:00 ` julio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox