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