Path: utzoo!attcan!uunet!munnari!vuwcomp!jonathan From: jonathan@comp.vuw.ac.nz (Jonathan) Newsgroups: comp.os.minix Subject: 1.3c bootblok.s broken +FIX (was Re: 1.3c upgrade results[LONG]) Keywords: Minix, 1.3c, bugs, bootblok Message-ID: <14265@comp.vuw.ac.nz> Date: 6 Oct 88 04:52:23 GMT References: <1429@ast.cs.vu.nl> <14243@comp.vuw.ac.nz> <1454@ast.cs.vu.nl> Reply-To: jonathan@comp.vuw.ac.nz (Jonathan) Organization: Comp Sci, Victoria Univ, Wellington, New Zealand Lines: 58 In article <1454@ast.cs.vu.nl> ast@cs.vu.nl (Andy Tanenbaum) writes: >In article <14243@comp.vuw.ac.nz> jonathan@comp.vuw.ac.nz (Jonathan) writes: >> (10) the new bootblok.s seems broken. >Good grief. I have made up the 1.3 diskettes and put them in a box full >of styrofoam and sealed it and am waiting to send it off. I am not >enthusiastic about starting all over, but this bug, if true, is deadly. A Minix kernel built from bootblok.s as posted in 1.3c will *never* boot off a 360k floppy. A context diff fixing this is included. I've tested it result on both 1.2M and 360k. #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create the files: # bootblok.cdiff # This archive created: Thu Oct 6 16:45:04 1988 # By: Jonathan () export PATH; PATH=/bin:$PATH echo shar: extracting "'bootblok.cdiff'" '(347 characters)' if test -f 'bootblok.cdiff' then echo shar: will not over-write existing file "'bootblok.cdiff'" else sed 's/^X//' << \SHAR_EOF > 'bootblok.cdiff' X*** /usr/src/minix/tools/bootblok-1.3c Sun Oct 2 13:13:04 1988 X--- bootblok.s Thu Oct 6 16:23:22 1988 X*************** X*** 136,142 **** X mov DSKBASE,ax X seg es X mov DSKBASE+2,dx X! int 0x13 | diskette reset X X L1: X X--- 136,143 ---- X mov DSKBASE,ax X seg es X mov DSKBASE+2,dx X! xor ax,ax | diskette reset X! int 0x13 X X L1: X SHAR_EOF if test 347 -ne "`wc -c < 'bootblok.cdiff'`" then echo shar: error transmitting "'bootblok.cdiff'" '(should have been 347 characters)' fi fi # end of overwriting check # End of shell archive exit 0 -- ----------------------------------------------------------------------------- sane mailers: jonathan@comp.vuw.ac.nz | Industrial democracy: UUCP path: ...!uunet!vuwcomp!jonathan | One factory, one vote!