From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321919.tru64-unix-managers.marc@archive.invalid> From: marco () gore ! afep ! cornell ! edu Date: Thu, 31 Oct 1996 14:44:11 +0000 To: tru64-unix-managers Subject: SUMMARY:Bad file magic number X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321919 Original to follow. Basically I was trying to install the ping patch but got the "Bad file magic number" error on the kernal rebiuld for one of my machines. Other machines worked fine. Answer: My predecessor had originally led me to believe that both machines were running DU 3.2c. The machine that the failure occured on runs DU 3.0B. I was trying to install the ping patch for v3.2c on all my systems. Oops. Other responses: From: "Dave Golden" & "Dr. Tom Blinn, 603-881-0646" & Alan Cox sudgested that I had a corrupted file, for my case: uipc_socket.o ----------------------- From: Chris Kirby I've seen this too. The file in question (for me it's usually vfs.mod) doesn't appear to be corrupted- the checksum matches that of vfs.mod on my other Digital UNIX machines. I don't know what to do to *fix* the problem, but I've successfully worked around it by always doing kernel builds from the console. I only see the problem when I build via telnet. ----------------------- {this is closest to my case, by I solved the probel differently} From: sxkac@java.sois.alaska.edu (Kurt Carlson) This type of problem can be caused by a mis-configuration. I have seen two things specifically cause it here: - a patched source module which was a higher level then another patch - a residue XMI bus in the /sys/conf/HOST file which was removed. First, try building a brand new kernel: cd /sys/conf doconfig -c BOGUS # or other new name of your choice if that works, look for differences in the config: diff BOGUS then: edit ident in BOGUS to be mv /sys/HOSTNAME /sys/HOSTNAME.old mv /sys/BOGUS /sys/HOSTNAME mv /sys/conf/BOGUS and BOGUS.list to HOSTNAME and HOSTNAME.list if it doesn't work, review whatever patches you have applied (particularly anything patching a *.c or *.h) for incompatability. kurt Thank you to all who replied! -------------------------- Original: Hello managers, I am trying to install the "ping patch". It worked just fine on one machine, on another machine I cannot rebuild the kernal. This is the error I get from doing doconfig: *** PERFORMING KERNEL BUILD *** Working....Tue Oct 29 10:22:55 EST 1996 Working....Tue Oct 29 10:24:57 EST 1996 Working....Tue Oct 29 10:26:58 EST 1996 *** WARNING *** An error has occurred during system configuration. A partial listing of the error log file (./errs) follows: {several lines of the following garabge:} cc -c -O2 -DLANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=XXXXX -DDEC3000_500 -DSWAPTYPE=1 -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS - DKERNEL -D_KERNEL -D_BSD -signed -no_excpt -Wb,-static -Wco,-nofloat -Olimit 1500 -D__alpha -Umips -UMIPS tc_option_data.c cc -c -O2 -DLANGUAGE_C -g3 - {about 10 of the above deleted} rm -f vmunix vmunix.sys loading vmunix.sys ld: Object file format error in: uipc_socket.o: bad file magic number *** Exit 1 (ignored) chmod 755 a.out chmod: a.out: No such file or directory *** Exit 4 Stop.