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

  1. Hi,
  2.  
  3. A few days ago, I had a problem that I could not use my 32-bit ram
  4. with BSD for several reasons:
  5.  
  6. 1)  loadbsd would only pick the first segment of ram, the 8mb 16-bit
  7. 2)  my GVP11 controller could not do 32-bit DMA ( I realized this
  8.     when I thought about the controller being plugged into my A500
  9.     external bus which only has 24-bit addr lines!  :) )
  10. 3)  my 32-bit ram at 0x08c00000 made BSD think I was a 3000 because
  11.     of the is_a3000() routine, which would result in a crash.
  12.  
  13. Well, I am very happy to report that all is fine and dandy now.
  14. I changed the loadbsd prog to set fastmem_start=0x8c00000 and
  15. fastmem_size=0x400000 after the getmem() routine. Prob#1 solved.
  16.  
  17. Thanks to Markus for putting in the _scsi_no_dma switch.  I had
  18. to use this to prevent my GVP from DMA'ing into the 32-bit ram,
  19. which would result in a black screen and a crash. Prob#2 solved.
  20.  
  21. To fix the is_a3000() thing, I did not have to recompile the kernel,
  22. that would have taken 3 hours in my 16-bit ram ( I already did this).
  23. I simply did this:
  24.   binpatch -s _is_a3000 vmunix.613  (finds the address of the function)
  25.   used resource to look at vmunix and the code for is_a3000()
  26.   binpatch -b -a 0x548c8 -r 0x42 vmunix.613
  27. That last line changes a line in the assembly from NEG.L D0 to CLR.L D0
  28. Basically changing is_a3000() to return 0 always.
  29.  
  30. Sorry about the jabber, i just thought someone else might have a similar
  31. problem.  Please add this setup to the working list!
  32.  
  33. A500, GVP11 Impact HD+ 105/8MB, CSA Derringer 030/882 4MB
  34.  
  35. Next is to get my tape drive working! (Irwin 5040, anyone else got one?)
  36.  
  37.  
  38.