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

  1.  
  2. billc laments:
  3.  
  4. > >From: ahh@netcom.com (Andy Heffernan)
  5. > > >binpatch -b -a 0x72be2 -r 1 vmunix.570
  6. > > 0x72be2: 0 (0x0)
  7. > >I don't have access to the sources right now, but if you >have
  8. > >some other controller, try setting 0x72bea and 0x72bf2 to 1 as well
  9. > >(just going down the column for device 6).  If you're really desperate
  10. > >you may want to try setting the whole 24-byte array to 1's.
  11. > I did, it didn't.  I tried changing ALL of the array to 1s, to no avail.
  12. > It _still_ gives me the sync negotiation messages and pukes with a 0x4a.
  13. > During the identify's I get a TIMEO with a 0x4e right before it displays
  14. > the Archive Viper Tape drive as ST0.  (I pulled the Cipher tape drive off
  15. > in favor of one that is known to work under the kernal).
  16. > >> I then copy it to tape, unload it on the BSD slave, then it still  
  17. > >    You did a loadbsd of the patched kernel, right?  Worry about
  18. > >updating /vmunix when you get booted succesfully!
  19. > Yeh, I don't have that problem, because I can't GET to a command prompt
  20. > under BSD ;-).
  21.  
  22.     Yeah, that's obvious to me now -- I got confused by your
  23. statement about copying the kernel to your BSD slave (at least that's
  24. the cover story I'm using!)
  25.  
  26. > I've noticed that when I do the binpatch, the returned value is always 0,
  27. > which according to the binpatch doc is wrong.. any ideas?  This would
  28. > explain why nothing is changing in the kernel.
  29.  
  30.     Do you mean that if you run the same "binpatch -r 1" command
  31. twice in a row, it still says something like:
  32.     0x72be2: 0 (0x0)
  33. It shouldn't, the line that's printed out shows what's there now, so it
  34. should change to:
  35.     0x72be2: 1 (0x1)
  36. A couple more things to try would be to try working with longs instead
  37. of bytes (this is what I did because I forgot about the -b switch), so
  38. you would do "binpatch -l -a 0x72be0 -r 512 vmunix.570"; or, as a test
  39. of binpatch, try setting scsi_debug (a long) to 1, and see if you
  40. notice any change in output while booting (maybe you're already doing
  41. this).
  42.  
  43. --
  44. ------------------------------------------------------------------------
  45. Andy Heffernan                                            ahh@netcom.com
  46.  
  47.