home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / bsd / 11977 < prev    next >
Encoding:
Internet Message Format  |  1993-01-29  |  3.2 KB

  1. Path: sparky!uunet!europa.eng.gtefsd.com!howland.reston.ans.net!spool.mu.edu!olivea!charnel!sifon!broue!captain
  2. From: captain@rot.qc.ca (Andrew Webster)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: [386BSD] boot disk does absolutely nothing on gateway 4dx33v
  5. Message-ID: <C1LKFw.DLt@rot.qc.ca>
  6. Date: 29 Jan 93 03:59:55 GMT
  7. References: <1993Jan21.221451.10039@fcom.cc.utah.edu>
  8. Organization: Groupe de Recherche Operationnelle en Telecommunication (ROT) Inc.
  9. Lines: 62
  10. X-Newsreader: TIN [version 1.1 PL8]
  11.  
  12. A Wizard of Earth C (terry@cs.weber.edu) wrote:
  13. > In article <1jkdpeINNkeg@cat.cis.Brown.EDU> tim@news.Brown.EDU (Timothy Miller) writes:
  14. > >I have acquired the boot disk image for 386bsd, and no matter what I try,
  15. > >when my system starts up, it displays all the bios messages, and then hangs
  16. [stuff deleted]...
  17.  
  18. > This is the "Compaq boot problem".  You can get the patch from the file
  19. > ~/terry/patch.bootblock.fdboot.c on ref.tfs.com, download a Compaq
  20. > dist.fs or fixit,fs, or go to a news archive and get the article
  21. > "Message-ID: <1992Dec08.132820.29435@crash>".
  22.  
  23. > The problem is insidious, and it's a wonder anyone can boot at all; from
  24. > the referenced article:
  25.  
  26. > ] Also, Akihiro Higashi, in article
  27. > ] <1992Sep11.051554.29192@mlab.nttdocomo.co.jp>, reported that he
  28. > ] had to change 3rd & 4th "NOP"s to "JMP .+2"s on his COMPAQ 486/50L.
  29. > ] 'NOP' is a delay macro which alters the AL register.  The specific
  30. > ] ange 3rd & 4th "NOP"s to "JMP .+2"s on his COMPAQ 486/50L.
  31. > ] 'NOP' is a delay macro which alters the AL register.  The specific
  32. > ] instances mentioned involve code resetting the DMA controller's first/last
  33. > ] flip-flop and then programming the DMA controller's mode register.
  34. > ] The initialization byte for the mode register is clobbered by a NOP
  35. > ] (I am amazed that the boot works on most systems!).  This can be fixed
  36. > ] by rearranging the code slightly.
  37.  
  38. > And for brave, brave souls:
  39.  
  40. > ] Fortunately, these changes do not shift the boot code, so a binary patch
  41. > ] is possible.  The changes to the first sector on the disk (fixit.fs or
  42. > ] dist.fs) are given below:
  43. > ] 
  44. > ] Offset    Old    New
  45. > ] ------    ----   ----
  46. > ] 0x00e1    0x07   0xbf
  47. > ] 0x00f2    0xb0   0xee
  48. > ] 0x00f3    0x46   0xe4
  49. > ] 0x00f4    0xee   0x84
  50. > ] 0x00f5    0xe4   0x4a
  51. > ] 0x00f6    0x84   0xb0
  52. > ] 0x00f7    0x4a   0x46
  53.  
  54. > I believe the pattern "b0 46 ee e4 84 4a" would exist even on altered boot
  55. > disks, since this portion of the boot would be unchanged, even if not at
  56. > the same offset.  Work back by -15 (decimal) to fix the e1 offset value.
  57.  
  58. > Using either a binary patch or Compaq boot disks should alleviate the
  59. > need to have a working system to build a disk to have a working system...
  60.  
  61.  
  62. I tried the binary patch, and lo-and behold it boots!
  63. Thanks!
  64.  
  65. -------------------------------------------------------------------------------
  66. captain@broue.rot.qc.ca    | Andrew Webster    |  "The engines canna take it 
  67.             |            |  anymore cap'n..."
  68. IP: 192.77.49.131    | ROT inc.         ------------------------------
  69.             | Recherche Operationnelle en Telecommunication
  70.             |
  71. Voice: +1 514 737 0020    | Dataradio Inc.
  72. Fax:   +1 514 737 7883    | Montreal, Quebec
  73. -------------------------------------------------------------------------------
  74.