tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:Bad file magic number
@ 1996-10-31 14:44 marco
  0 siblings, 0 replies; only message in thread
From: marco @ 1996-10-31 14:44 UTC (permalink / raw)
  To: tru64-unix-managers


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" <golden@falcon.invincible.com>
  & "Dr. Tom Blinn, 603-881-0646" <tpb@zk3.dec.com>
  & Alan Cox <coxa@eris.private.cableol.net>

sudgested that I had a corrupted file, for my case:  uipc_socket.o

-----------------------
From: Chris Kirby <ckirby@fore.com>

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 <hostname>
then:
   edit ident in BOGUS to be <hostname>
   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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-10-31 14:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-31 14:44 SUMMARY:Bad file magic number marco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox