Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-25-2020, 01:57 PM
|
#1
|
LQ Newbie
Registered: Apr 2020
Posts: 3
Rep: 
|
Help needed with a wierd SCSI device with LUN0 and LUN1
Hello All,
I need some help from you guys regarding some SCSI device or SCSI configuration.
I am working on a project to migrate a DEC OpenVMS system to emualtion on X86 (linux)
All works great except one thing, i have an external non standard SCSI device which was connected to DEC system.
The device is a "processor" type SCSI-2 device which sits on ID 1 and has LUN0 and LUN1.
On DEC system the SCSI device worked great, DEC system had two devices configured
GKB100 and GKB101 which corresponds to the SCSI device on ID1 and LUN0 and LUN1.
The GKB100 and GKB101 devices were always present , even if no SCSI device was connected.
Now on X86 sysem, i must have the SCSI device connected to it in order for SCSI bios to detect the device and the LUNs for Linux to "see" them as "sg0" and "sg1"
But looks like the SCSI device is not responding on LUN1 only on LUN0.
Therefore the Linux "see" only "sg0".
Now , i know there are LUN0 and LUN1 it's just the wierd SCSI device will not "allow" to detect it's LUN1.
The question is how i can create two devices in Linux regardless of SCSI bios detection to be able to work with both LUN0 and LUN1.
Clearly the DEC system works wihtout detecting the LUNs, it just sends the SCSI packets with ID1 LUN0 or LUN1 to the SCSI bus.
Thanks !
BR,
- Artiom.
|
|
|
04-25-2020, 10:50 PM
|
#2
|
LQ Newbie
Registered: Apr 2020
Posts: 3
Original Poster
Rep: 
|
Can a moderator move this thread to - "Linux - Hardware" please 
|
|
|
04-26-2020, 07:08 AM
|
#3
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,956
|
@CyberArtem,
Welcome to LQ.
This thread has been moved to Linux Hardware per your request.
For future reference you may use the Report button to request your thread be moved, there is a dialog box where you can type the request details.
|
|
|
04-27-2020, 03:00 PM
|
#4
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
If you can dd the drive by moving the disk to a system then you should be able to use that image on the emulator. I know I did it that way.
DEC used an external enclosure a lot for booting.
Is this a Qbus or Alpha?
Last edited by jefro; 04-27-2020 at 03:01 PM.
|
|
|
04-28-2020, 07:09 AM
|
#5
|
LQ Newbie
Registered: Apr 2020
Posts: 3
Original Poster
Rep: 
|
Hi jefro,
I am using Alpha.
Thanks for the reply, but the problem is not with the disk image or running the openvms. The problem is that the linux and scsi card bios does not identify the lun1 of the scsi device attached. Therefore i cannot pass the lun1 device to the alpha emulator. The disk i am usung was "dd"ed and working fine. I am looking for a way to manually create a scsi lun1 device in linux to which i could then attach a device called gkb101 in openvms.
Thanks
|
|
|
04-28-2020, 03:30 PM
|
#6
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
I don't fully get the manually create part.
Depending on distro and hardware this may still be useful. What hardware and distro are you using?
https://linoxide.com/how-tos/how-che...an-disk-linux/
https://www.thegeekdiary.com/how-to-...lying-os-disk/
However the emulator I used was like typical VM's in that you let the host do what it needs and it is transparent to the client. The dd's image would not know what resource it is running on except for how you configured the VM.
Last edited by jefro; 04-28-2020 at 03:33 PM.
|
|
|
All times are GMT -5. The time now is 11:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|