home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / bugs / 2bsd / 117 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.9 KB  |  64 lines

  1. Newsgroups: comp.bugs.2bsd
  2. Path: sparky!uunet!think.com!rpi!gatech!europa.eng.gtefsd.com!wlbr!sms
  3. From: sms@WLV.IIPO.GTEGSC.COM (Steven M. Schultz)
  4. Subject: RP06 bootblock bug + fix (#104)
  5. Message-ID: <1993Jan27.171346.9217@wlbr.iipo.gtegsc.com>
  6. Sender: news@wlbr.iipo.gtegsc.com (news)
  7. Nntp-Posting-Host: wlv.iipo.gtegsc.com
  8. Organization: GTE Government Systems
  9. Date: Wed, 27 Jan 93 17:13:46 GMT
  10. Lines: 52
  11.  
  12. Subject: RP06 bootblock bug + fix (#104)
  13. Index:    sys/mdec/hpuboot.s 2.11BSD
  14.  
  15. Description:
  16.     The block 0 bootstrap for the RP04/5/6 does not work.  This means
  17.     that the boot process had to be loaded from tape rather than disc.
  18.  
  19. Repeat-By:
  20.     Install 2.11BSD on a RP06 system, copy the /mdec/hpuboot boot code
  21.     to disc with "dd" and attempt a hardware boot of the disc.
  22.  
  23. Fix:
  24.     The bug was introduced when the boot blocks were rewritten back 
  25.     around May 1991, a 'mov' instruction should have been an 'add'
  26.     instruction.
  27.  
  28.     Apply the patch below and reinstall 'hpuboot' into /mdec.
  29.  
  30.     Thanks to Lasse Ylitalo & Johnny Billquist for finding the problem
  31.     and providing the fix.
  32. ==================================cut here=================================
  33. *** /sys/mdec/hpuboot.s.old    Tue Mar 10 15:10:29 1992
  34. --- /sys/mdec/hpuboot.s    Wed Jan 27 09:02:59 1993
  35. ***************
  36. *** 13,18 ****
  37. --- 13,21 ----
  38.   /          the keyboard had to be removed to make room for the 
  39.   /          code which understands the new directory structure on disc
  40.   
  41. + / 930124 Fixed major bug that made booting impossible.
  42. + /        Lasse Ylitalo & Johnny Billquist
  43.   / constants:
  44.   CLSIZE    = 2.            / physical disk blocks per logical block
  45.   CLSHFT    = 1.            / shift to multiply by CLSIZE
  46. ***************
  47. *** 227,233 ****
  48.       div    $22.,r0
  49.       swab    r0
  50.       bis    r1,r0
  51. !     mov    $hpcs2,r3
  52.       mov    unit,(r3)
  53.       mov    r0,-(r3)
  54.       mov    $buf,-(r3)
  55. --- 230,236 ----
  56.       div    $22.,r0
  57.       swab    r0
  58.       bis    r1,r0
  59. !     add    $hpcs2,r3    / 930124 LY&JB
  60.       mov    unit,(r3)
  61.       mov    r0,-(r3)
  62.       mov    $buf,-(r3)
  63.