home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8769 < prev    next >
Encoding:
Text File  |  1992-11-11  |  4.4 KB  |  130 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!usc!cs.utexas.edu!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!hasty
  3. From: hasty@netcom.com (Amancio Hasty Jr)
  4. Subject: Re: [386BSD] Problems booting on Gateway 4DX2-66V
  5. Message-ID: <1992Nov12.082440.7009@netcom.com>
  6. Keywords: 386 bsd boot problems gateway local bus
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. References: <dhess.721500427@Xenon.Stanford.EDU> <1992Nov11.184048.2256@alliant.com> <1992Nov12.080051.5911@netcom.com>
  9. Distribution: comp
  10. Date: Thu, 12 Nov 1992 08:24:40 GMT
  11. Lines: 117
  12.  
  13. In article <1992Nov12.080051.5911@netcom.com> rimkus@netcom.com (Mike Rimkus) writes:
  14. >In article <1992Nov11.184048.2256@alliant.com> dufault@alliant.com (Peter Dufault) writes:
  15. >>(No one responded first time.  Micronics 486VL won't boot from floppy).
  16. >>
  17. >>You need the patch provided by "someone"@kithrup.com.  (sorry, the
  18. >>mail is somewhere else).  It changes the bit pattern that we are
  19. >>waiting to show up in one of the floppy control registers.
  20. >
  21. >
  22. >I have the same problem, but on a Gateway 486DX2-50 system (no local bus). Does
  23. >this patch help me?
  24.  
  25. Anyone out there running an S3 on a local bus?
  26.  
  27. Here the previously mentioned patch for a local bus system.
  28.  
  29.  
  30. Amancio
  31.  
  32. -----------------------------------------------------------------
  33. Article 7619 of comp.unix.bsd:
  34. Newsgroups: comp.unix.bsd
  35. Path: netcom.com!csus.edu!wupost!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!kithrup!wilson
  36. From: wilson@kithrup.COM (Jim Wilson)
  37. Subject: solved: Problems with getting 386BSD 0.1 to run on Micronics 486VL
  38. Organization: Kithrup Enterprises, Ltd.
  39. Date: Mon, 19 Oct 1992 18:33:25 GMT
  40. Message-ID: <1992Oct19.183325.6828@kithrup.COM>
  41. References: <1992Oct12.061945.530@kithrup.COM>
  42. Lines: 83
  43.  
  44. In article <1992Oct12.061945.530@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes:
  45. >My apartmentmate just bought a 486 machine, and we've been trying to get
  46. >386bsd 0.1 to boot.  In the meantime, I also tried to get it running on my
  47. >machine, and it failed there, also.
  48.  
  49. I have managed to get 386BSD 0.1 booted on my Micronics 486DX33 ISA/VL-Bus
  50. motherboard.
  51.  
  52. It would not boot with any of the available boot floppies.  In all cases
  53. it gave the same behaviour: the floppy drive light would come on, the
  54. floppy would spin, but the floopy drive never seeked, and no messages
  55. appeared on the screen.
  56.  
  57. After much trial and error experimentation, I determined that it was
  58. going into an infinite loop in the fdboot code.  It repeatedly reads
  59. a programmable interrupt controller register waiting for the value 6
  60. to appear.  On my machine, it never does, instead the value 7 appears
  61. in the controller register.  After patching binaries to check for 7
  62. instead of 6, I was able to successfully boot both the dist.fs and
  63. fixit.fs floppies.  I don't know whether this is the correct change.
  64. The correct fix may be that this low bit should be masked out before
  65. the comparion.  I don't have any info on the PIC chip, so I can't
  66. tell which is the better solution.
  67.  
  68. I have a second problem now, in that about half the time after the
  69. machine boots, it won't respond to the keyboard, but you can login
  70. across the network fine.  This was much more common when booting from
  71. floppies than it is when booting from the harddisk.  I do not know
  72. the solution for this but will probably investigate it when I have
  73. the time.
  74.  
  75. To patch a boot floppy, edit a *.fs file with emacs, seach for
  76. the string '<^F', and change the ^F to a ^G.  This change will enable
  77. a boot floopy to boot on a Micronics 486VL motherboard, but I haven't
  78. tested it on any other machine.
  79.  
  80. In source:
  81. Alternative 1 (which is the same as the emacs patch above):
  82.  
  83. *** fdbootblk.c.or    Mon Jun 22 06:56:47 1992
  84. --- fdbootblk.c    Sat Oct 17 20:37:29 1992
  85. *************** dodisk:
  86. *** 249,255 ****
  87.       NOP
  88.       inb    %dx,%al
  89.       andb    $0x7f,%al
  90. !     cmpb    $6,%al
  91.       jne    2b
  92.       NOP
  93.       movb    $0x20,%al    # do a eoi
  94. --- 249,255 ----
  95.       NOP
  96.       inb    %dx,%al
  97.       andb    $0x7f,%al
  98. !     cmpb    $0x7,%al
  99.       jne    2b
  100.       NOP
  101.       movb    $0x20,%al    # do a eoi
  102.  
  103. Alternative 2:
  104.  
  105. *** fdbootblk.c.or    Mon Oct 19 12:01:11 1992
  106. --- fdbootblk.c    Mon Oct 19 12:01:46 1992
  107. *************** dodisk:
  108. *** 248,254 ****
  109.       outb    %al,%dx
  110.       NOP
  111.       inb    %dx,%al
  112. !     andb    $0x7f,%al
  113.       cmpb    $6,%al
  114.       jne    2b
  115.       NOP
  116. --- 248,254 ----
  117.       outb    %al,%dx
  118.       NOP
  119.       inb    %dx,%al
  120. !     andb    $0x7e,%al
  121.       cmpb    $6,%al
  122.       jne    2b
  123.       NOP
  124. -- 
  125. Jim Wilson    wilson@cygnus.com, wilson@kithrup.com
  126. Cygnus Support, 814 University Avenue, Palo Alto, CA 94301, +1 415 322 5167
  127.  
  128.  
  129.  
  130.