From mboxrd@z Thu Jan 1 00:00:00 1970 From: madcrow.maxwell@gmail.com (Madcrow Maxwell) Date: Fri, 11 Aug 2006 09:25:07 -0400 Subject: [TUHS] TUHS Digest, Vol 33, Issue 2 In-Reply-To: <8dd2d95c0608110544h3475e39ax932210ec3010c283@mail.gmail.com> References: <8dd2d95c0608110544h3475e39ax932210ec3010c283@mail.gmail.com> Message-ID: <8dd2d95c0608110625u88f0b5arbfabb557c87c1a11@mail.gmail.com> Hmm, it doesn't seem to work. I run the following script: # This shell script builds a full ULTRIX-11 V3.1 master # distribution tape on a TK50 boot tape image. It # is based on a tape dump provided by Wilko Bulte, and # maintains all original files. # # Author: Fred N. van Kempen # ... with the support of many, now and in the past. # Modified by: Michael "Madcrow" Kerpan # # # Several of the included tools were either developed by # others trying to read or create tapes, or come from the # ULTRIX-11 source distribution kit. TAPE=./ultrix-3.1.tk50 echo Creating ULTRIX-11 V3.1 Master Distribution on TK50. echo "----------------------------------------------------" echo "" if [ ! -f ./maketape ]; then echo Compiling MAKETAPE tool... gcc -o ./maketape src/maketape.c fi if [ ! -f ./tdtk50.bv ]; then echo 'Generating the Tape Definition file (for TK50)...' cp src/tdtk50.bv ./tdtk50.bv fi if [ ! -f ./filesep ]; then echo 'Generating the Tape File Seperator...' dd if=/dev/zero of=./filesep bs=1 count=4 fi # Create the first tape file with uboot, boot and /sas. echo Creating boot record on tape... ./maketape ./step1 ./tdtk50.bv # Add the rest of the tape stuff and create the final image echo Generating tape image cat ./step1 ./filesep fs/md-sas.dsk ./filesep data/file14 ./filesep data/file15 ./filesep data/file16 ./filesep data/file17 ./filesep data/file18 ./filesep data/file19 ./filesep data/file20 ./filesep data/file21 ./filesep data/file22 ./filesep data/file23 ./filesep data/file24 ./filesep data/file25 ./filesep data/file26 ./filesep data/file27 ./filesep data/file28 ./filesep data/file29 ./filesep data/file30 ./filesep data/file31 ./filesep data/file32 ./filesep data/file33 ./filesep data/file34 ./filesep data/file35 ./filesep ./filesep > $TAPE echo "" echo "---------------------------------------" echo All done ! and get a file of 37939812 bytes, but when I try to boot it in SIMH I get the same error as before. Could the tape header and initial records as generated by "maketape" be faulty? The step1 file generated by maketape is only 45568 bytes and I get the following warnings from gcc (version 4.1.0) during the maketape compile: src/maketape.c: In function 'main': src/maketape.c:28: warning: incompatible implicit declaration of built-in function 'exit' src/maketape.c:32: warning: incompatible implicit declaration of built-in function 'exit' src/maketape.c:36: warning: incompatible implicit declaration of built-in function 'exit' src/maketape.c:43: warning: incompatible implicit declaration of built-in function 'exit' src/maketape.c:73: warning: assignment from incompatible pointer type Any help would be much appreciated. Mike "Madcrow" K.