home *** CD-ROM | disk | FTP | other *** search
- > Well I had a nice pre-typed msg, but this msg answered some Qs. Please
- > disregard those parts. But to comment on above... So all SyQuest users
- > will be doomed to binpatch kernel for awhile? Here's orig msg:
-
-
- Well... Yep, I can't help that, sorry. I just can't make the default
- not to send sync-requests, as then drives that had arranged sync-requests
- with the AmigaOS scsi.device will lock up just like your Syquest is now. Since
- these SCSI-2 drives are getting more and more frequent, defaulting to sync
- seems the right thing to me.
-
- Note: it is *not* possible to pull the RESET line on the scsi bus (at least
- on the A3000) without resetting the machine (by a RESET instruction). The
- WD/AMD chip has no command to reset the bus, just to reset itself (which
- doesn't reset the bus), and resetting the machine would mean I'd have to
- do AutoConfig(tm) myself, which is something I'd like to avoid. So.. we'll
- have to live with this problem .. (FAQ-author(s): that would be worth a FAQ-
- section I guess:-)).
-
- > Would that binpatch prog work? If so what exact command I need to enter.
- > (The README seemed a bit cryptic...) Any other SyQuest users having same
- > prob?
-
- Ok.. there's a byte array called "inhibit_sync", and it's used like that:
-
- if (inhibit_sync[UNIT])
- don't do sync handshake to UNIT, go async
-
- to set the apropriate byte, first get the address of the first byte:
-
- binpatch -s _inhibit_sync vmunix.531
-
- this outputs a line containing the address of _inhibit_sync in
- parenthesis. Call that number ADDR. You then add the unit number of your
- drive you want to disable sync on to ADDR, thus if disabling unit 3, you'd
- calculate ADDR=ADDR+3.
-
- Then, set the byte:
-
- binpatch -b -a ADDR -r 1 vmunix.531
-
- where you replace ADDR with the value you just calculated, specify either
- as a decimal number, or as hex like: 0x12345, don't use $12345.
-
- That's it. The "-b" tells binpatch to change a byte value, "-w" changes
- a word (16bit) value, "-l" is the default and changes a long (32bit) value.
-
- Replace vmunix.531 by the kernel you want to patch of course:-)
-
- > On another note. It was stated to recompile stty if it's been dumping.
- > It has s atleast 450 for me. So I did, it compiled fine, but still
- > dumped.
-
- Hm, I think it stopped dumping when I relinked it with a freshly complied
- libc.a, the problem was the first libc.a was compiled in a rather hacky
- way "cross" from amigados, by using the amigados gcc :-)
-
- -Markus
- --
- CHUUG/EUnet Switzerland Markus Wild
- Zweierstrasse 35 Tel: +41 1 291 45 80 mw@eunet.ch
- CH-8004 Zuerich Fax: +41 1 291 46 42 S=mw;P=EUnet;A=EUnet;C=CH
-
-