Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for LUNs other than 0 #191

Open
uweseimet opened this issue Nov 4, 2022 · 11 comments
Open

Support for LUNs other than 0 #191

uweseimet opened this issue Nov 4, 2022 · 11 comments

Comments

@uweseimet
Copy link

At least for users of an Atari MegaSTE it would be great if BlueSCSI was supporting other LUNs than only LUN 0. The MegaSTE has a restricted internal SCSI port, which only supports a single SCSI ID/device, i.e. it cannot access more than one BlueSCSI image file. With support for several LUNs MegaSTE users could not just use BlueSCSI as a replacement for exactly one hard disk drive, but also for more hard disk drives or a CD-ROM drive.

@erichelgeson
Copy link
Owner

We addressed a few issues with LUN handling a while back but never actually added the ability back (macs don't support LUNs so I have no way of testing). If you'd like to take a crack at it please do!

Site note you can have many SCSI ID's on one bluescsi - so you should be able to support multiple disks/cds on one bluescsi - just name them HD0..., HD1... etc

@uweseimet
Copy link
Author

uweseimet commented Nov 4, 2022

@erichelgeson That's just the problem you have with the MegaSTEs controller: It does not support more than exactly one SCSI ID. It is configured with the ID that shall support, and any other ID is not accessible. That's why for this adapter the only work-around is to have several LUNs, which I tested successfully with RaSCSI.
I could run tests also for BlueSCSI (assuming that I would manage to update the firmware), but I'm afraid I won't be able to contribute code.

@mynameistroy
Copy link

I was looking at adding support for this as I have a couple of MegaSTE's in which to test.

@uweseimet
Copy link
Author

Having support for this would be great. I already had issues because with just one device transferring data to my MegaSTE is rather complicated. With RaSCSI I use a second drive image, which I prepare with Hatari, for instance. With two drives available I can then just copy the data I need from one drive/image to the other in the GEM desktop. With only a single drive I need to use a floppy disk for the data transfer, which is quite a pain.

@mynameistroy
Copy link

Agreed, definitely a convenience feature for that situation. I'll try to get something going shortly for it.

@mynameistroy
Copy link

There is now a PR with support for this feature specific to the MegaSTE situation so it will likely get pulled into the next release.

@uweseimet
Copy link
Author

uweseimet commented Nov 14, 2022

The PR says " MegaSTE mode added for using IDs as LUNs", but I assume this is general support for LUNs? I'm asking because LUNs are not a concept especially related to the MegaSTE, but a general feature of SCSI, also supported/used by other computers.
Is your LUN support limited to 8 LUNs, or does it support 32 LUNs (selected by an IDENTIFY message) in compliance with the SCSI-2 standard?

@mynameistroy
Copy link

This is a very limited mode that simply allows the 7 available SCSI IDs to be re-mapped as LUNs on SCSI ID0 specifically for the MegaSTE. It was done to make life easier for MegaSTE users for the time being with respect to the minimal resources available on the F103. I hope in good time full LUN support will be present for those that need it once further refactoring is finished.

@Robbizz
Copy link

Robbizz commented Mar 10, 2023

Hi all, I don't know if this is the right place but I too am having trouble getting my two Atari MSTEs to see multiple drives. I bought 2 BlueSCSI model 50-Pin Desktop (v1.1a) based on a description I found here: https://github.com/erichelgeson/BlueSCSI/wiki/Advanced-Settings#mega-ste-mode-mste_mode
But it seems that it is only possible from HDDRIVER but honestly I should spend another 60 Euros and at the moment I don't like it. I tried with ICD (once the SD card was prepared according to the instructions found in the link above) but without success.

@erichelgeson
Copy link
Owner

I was unaware that there was a paid driver in 2023 for a vintage computer. Until it works with a free driver I think it's best to remove the docs and put a note on the compatibility page to avoid confusion. Full disclose I've never used/seen a Atari computer, so relying on users reports.

@uweseimet
Copy link
Author

As the author of HDDRIVER I am not neutral, but fact is that in order to use multiple drives with the Atari and BlueSCSI you need a driver with support for multiple logical SCSI unit (LUNs). HDDRIVER is the only driver for the Atari with support for up to 8 LUNs.
Note, though, that I am having issues at least with the latest BlueSCSI firmware. See #190 for details. In case you decide to purchase HDDRIVER first check whether the demo version works with your hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants