home *** CD-ROM | disk | FTP | other *** search
/ Amiga GigaPD 3 / Amiga_GigaPD_v3_3of3.iso / netbsd / docs / mailinglist-archive / 1993-11 / text0256.txt < prev    next >
Encoding:
Text File  |  1993-06-25  |  8.2 KB  |  176 lines

  1. On Nov 23,  8:57pm, Patrick Vervoorn wrote:
  2. > I have tried the brand-new vmunix-040.713 kernel, but it, much to my
  3. > regret, doesn't do much on my Amiga 4000/040, though comparably a lot more
  4. > than previous kernels... :)
  5.  
  6.   Ah - someone finally willing to try it out on the A4000.
  7.  
  8. > The first problem is (probably) the AGA chipset; if I boot with it enabled,
  9. > the console screen that appears is a bunch of garbage. Selecting the ECS
  10. > setting in the 3.0 bootmenu fixes this. Typing
  11.  
  12.   That would make sense - the current kernel wouldn't know anything about
  13. the AGA stuff.
  14.  
  15. > 1> RunShit loadbsd.713 vmunix-040.713
  16. > also fixes this problem. RunShit is a rather useful "getting euro-demos to
  17. > work"-utility. Too bad I have to use it with NetBSD :)
  18.  
  19.   Is the source to RunShit available?  If it's easy to select the ECS mode
  20. from software, loadbsd could be modified to do this.  This would be
  21. a workaround until the kernel can initialize things properly.
  22.  
  23. > The second problem happens during booting; since I know of no way to
  24. > redirect the console output to a file (and I don't even have a NetBSD
  25. > partition yet (my HD died sunday :()), I have written it on a piece of
  26. > paper and will type it from this piece of paper; I might have missed
  27. > something or used the wrong character case (upper/lower), so there might be
  28. > some errors. All goes well upto and including the first line I quote, after
  29. > that the sh*t hits the fan...
  30. > ---------------------------------------------------------------------------
  31. > using 102 buffers blabla....
  32. > unexpected trap (vector offset 30) from 10009
  33.  
  34.   This is rather strange, as that trap is defined as "reserved, undefined"
  35. according to my 68040 manual.  I'll have to look at what's at that pc
  36. location.
  37.  
  38. > pid 0: kernel format exception
  39.  
  40.   Looks like a stack frame got clobbered, or maybe the 040 doesn't accept
  41. the stack frame from the previous exception.
  42.  
  43. > trap: bad kernel access at 10
  44. > trap type 8, code = 485, v = c0
  45. > pid = 0, pc = 00059F68, ps = 2018, sfc = 0001, dfc = 0001
  46. > registers:
  47. >         0        1        2        3        4        5        6        7
  48. > preg FFFFFFF7 FFFFFFFF 00000001 00000000 0000008A 0000000C 0000000D 00000000
  49. > areg 00000000 01C0F850 000A5E50 00000000 0009A068 00000000 FFFFFEAE 0EFFFFFC
  50.  
  51.   This looks like a fault in the kernel trying to access location 0x10
  52. (or 0xc0 - the "at 10" and "v= c0" should be printing out the same value).
  53. Again, I'll have to check the pc location and see what was going on.
  54.  
  55. > kernel stack (FFFFFD8C)
  56. > <kernel stack dump *NOT* hand-copied :)>
  57.  
  58.   I don't blame you :-)
  59.  
  60. > panic: MMU fault
  61. > hit any key to boot/dump
  62. > <this repeats indefinately when hitting a key>
  63.  
  64.   It's probably not a good idea to hit a key at this point until the 
  65. kernel gets far enough to be able to write a dump file.  Since there's
  66. nothing to analyze a dump file yet anyway, it's probably best to just
  67. reboot at this point.
  68.  
  69. > All this on an Amiga 4000/040, 8MB FAST, 2MB CHIP, the plain SeaCrate
  70. > 120meg HD and nothing else in it. It is of course possible it crashes
  71. > because it finds no supported host-adapter; after my HD crash I removed my
  72. > GVP HC8+ (it slowed down the booting by about half a minute every time I
  73. > reset due to no devices on the SCSI bus)... If this is so, it might prove
  74. > useful to give some more meaningfull messages during bootup, indicating
  75. > this problem...
  76.  
  77.   I'm not sure, but you might be able to disable the autoboot on the GVP
  78. HC8+ card which would allow you to leave the card in the machine without
  79. a hard disk connected.  I ran mine that way for a while.  If I wanted to
  80. use the controller, I could just run binddrivers (I don't normally run it
  81. on bootup since I have nothing that needs it at the moment).  Then again,
  82. I don't think this would work on the next kernel - I modified the autoconfig
  83. of the GVP devices to try to distinguish the Series II controller and
  84. the I/O extender card.  I think the Series II controller with the autoboot
  85. disabled would look exactly like the I/O extender.  [I'm going to disable
  86. the autoboot on my GVP this weekend since I want to try out a new ADOS
  87. driver for it, so I'll find out if it will work.]
  88.  
  89.   If the fast memory on the A4000 starts at 0x07000000 or higher, the current
  90. kernel will think it's running on an A3000 and attempt to configure the
  91. hardware as such.  Specifically, it will try to access the real time clock
  92. [does anybody know if the RTC on the A4000 is the same or different than
  93. the RTC on the A3000?], and it will also attempt to access the built-in
  94. SCSI on the A3000.  The next kernel will have a patchable location
  95. (_a3000_flag) that can be patched to 0 to disable the A3000 configuration
  96. setup.  I suspect that the A4000 may need a special configuation setup.
  97.  
  98. > I hope this means something to all you kernel hackers; I'm not one of them,
  99. > though I've tried to compile the kernel under AmigaDOS. To no avail, which
  100. > brings me to my third problem;
  101.  
  102.   Since I've been doing the 040 support, it does mean something to me and
  103. I will do what I can to help get it running on the A4000.  Since I don't
  104. have any access to an A4000, it's not too easy to do.
  105.  
  106. > - Until my new HD arrives (hopefully at or before the end of this week), I
  107. > can't even try to write the rootfs to my HD. Does the current rootfs still
  108. > work with the '040 patches (or a '040 kernel)? Or is it hopelessly
  109. > out-of-date?
  110.  
  111.   I've booted my '040 kernel using the original rootfs and it works well
  112. enough to boot up to the root prompt and allow access to the root file
  113. system.  Unfortunately, the 713 and later kernels have changed some
  114. data structures so that the old newfs will not run.  It should be easy
  115. enough to transfer the new newfs to the root partition.
  116.  
  117. > - Could the author of the rather handy (or so the message claimed) "raw
  118. > partition write"- util (I forgot its AND the author's name: sorry about
  119. > that) please upload it to ftp.eunet.ch? I don't have a spare HD and will
  120. > add NetBSD to my new HD and would like to, when possible, keep the other
  121. > partitions intact.. ;-)
  122.  
  123.   If you are talking about the dcp program by Chris Hooper, it should be
  124. available at ftp.mtu.edu in the directory /pub/cdh.  It's much easier to
  125. use dcp than filetodev [I never bothered trying to use filetodev.]
  126.  
  127. > - Is there a way to check where you write the rootfs? I know the method to
  128. > calculate the blocknumber where you should write it is in the FAQ (and I
  129. > understand it fully), but I suppose you could also use the calculated
  130. > numbers with the 'devtofile' command to read the blocks you intend to
  131. > overwrite into a file. Can this file be examined to check if you are indeed
  132. > 'poking' at the right spot? What should I look for in this file?
  133.  
  134.   If you have the RDB information correct, then dcp will access the correct
  135. location.
  136.  
  137. > - A question about the current GVP SCSI driver. Does it take advantage of
  138. > possible 16-bit RAM which I could put on the HC8+? This would be the
  139. > fastest possible temporary buffer (of minimally 2MB) for the HC8+ to DMA
  140. > the data to and the fastest possible buffer to CPU-copy it out of. (Besides
  141. > having 32-bit RAM within the ZORRO-II range, something which is, AFAIK,
  142. > impossible on the A4000/040).
  143.  
  144.   No, the current GVP SCSI driver does not take advantage of the Zorro II
  145. memory.  You need to patch _scsi_no_dma if your fast memory is outside
  146. the Zorro II address space.  I've had some thoughts on doing some things
  147. dynamically for both the GVP and A2091 drivers so that it will use DMA
  148. if the buffer is withing the Zorro II address space and use PIO if the
  149. buffer isn't.  I'd also like to try setting up a chip memory buffer that
  150. could be used to do DMA if the buffer is outside the Zorro II address
  151. space (there isn't any convenient way at the moment to have it use 16
  152. bit memory, which would be better - but DMA using chip memory should
  153. be better than PIO).
  154.  
  155. > And, to ease my decision, when will there be a NetBSD driver for either the
  156. > A4091 or the Z3 Fastlane? :) (or any other Fast-SCSI-2 adapter that might
  157. > emerge.)
  158.  
  159.   I've got the 53C710 [got that number correct this time!] drive reorganized
  160. to allow supporting different cards, so the A4091 support should be easy
  161. to add once all the required hardware details are known.
  162.  
  163. Michael
  164.  
  165. -- 
  166. Michael L. Hitch            INTERNET:  osymh@montana.edu
  167. Computer Consultant            BITNET:  OSYMH@MTSUNIX1.BITNET
  168. Office of Systems and Computing Services
  169. Montana State University    Bozeman, MT    USA
  170.  
  171.