SCSINoLUN released

SpeedGeek

Member
AmiBayer
Joined
Jan 21, 2011
Posts
934
Country
USA
Region
Wisconsin
SCSINoLUN V1.5 ©SpeedGeek 2015.

INTRODUCTION:
SCSINoLUN is a small patch program intended for the OS3.5/3.9 versions of
HDtoolBox. Unfortunately, these versions no longer support the Tooltype
"SCSI_MAX_LUN". This was very useful to many third party SCSI device
users (e.g. omniscsi.device) because they lack the ability to disable LUN
scans at the driver level. It can take a full minute or longer to scan the
SCSI bus for all LUNs which is very annoying especially if you don't need any
LUN support!

SCSINoLUN doesn't prevent HDtoolBox (or any other SCSI tools) from scanning
for LUNs. But it does dramatically speed up the LUN scan (even faster than
the scsi.device with LUNs disabled). My system now completes the scan
in approx. 6 seconds! But of course, your mileage will vary with CPU and
SCSI controller speed.

REQUIREMENTS:
- Any 68K Amiga with a SCSI controller supporting "scsidisk.h" unit numbers
(e.g. A2091 = Yes, A2090 = No)
- System hardware not needing LUN support (e.g. SCSI card reader = No)
- Device name with 'scsi' characters (in lower case) and a maximum length of 24 characters
- OS2.x or higher (OS1.3 maybe it works, but don't send me any bug reports!)

Enjoy! :)

P.S. Another thread will posted on EAB to satisfy non-Amibay member download issues.
 

Attachments

  • SCSINOLUN15.LHA
    2.4 KB · Views: 0
Last edited:
I have a Blizzard1260 and BlizzardPPC with scsi kit and I was wondering if this tool is useful considering these materials ?
 
@Lio
Check your Blizzard manual... if you have an option to disable LUNs via jumper or battmem preferences then you don't need SCSINoLUN. ;)

@mfilos
Your welcome my friend. :)
 
** NEWS UPDATE **

V1.1 released - removed Debug symbols to make the executable a few hundred bytes smaller (Sorry, default assembler option caused bloated code).
 
** 2ND NEWS UPDATE **

v1.2 Released - Optimized parse board number code (8 bytes saved!)
 
** 3ND NEWS UPDATE **

v1.3 released - added simple parse LUN skip code for clipboard.device open calls

(Thanks to christof "at" kass.de for the bug report!)
 
** 4TH NEWS UPDATE **

v1.4 released - Replaced skip code with new qualify code for scsi.device open calls

UPDATE:
Due to the possibility of virtual devices using Unit numbers > 9 (even devices which don't actually use this many Units like AHI) the only reliable fix for SCSINoLUN was to qualify scsi.device open calls before parsing any LUNs. Unfortunately, the new qualify code makes the patch a little larger and slower than previous releases.
 
Last edited:
** 5TH NEWS UPDATE **

v1.5 released - Optimized and combined Board/LUN parse code (20 bytes saved!)

UPDATE:
Due to the possibility of virtual devices using Unit numbers > 9 (even
devices which don't actually use this many Units like AHI) the only reliable
fix for SCSINoLUN was to qualify scsi.device open calls before parsing any
LUNs. Fortunately, the Parse LUN code has been optimized further to
compensate for overhead of the qualify code.
 
Back
Top Bottom