* Mount ISO in Tru64 running on Personal Alpha emulator @ 2010-03-16 19:23 !!!@!!! 2010-03-17 0:00 ` H Vlems 0 siblings, 1 reply; 17+ messages in thread From: !!!@!!! @ 2010-03-16 19:23 UTC (permalink / raw) Hi! I'm running Tru64 V5.1A on Personal Alpha Version 2.0.17. In DKA0 I have a virtual disk 'disk.vdisk' which I downloaded and already contains the Tru64 system installed. In DKA100 I have selected an ISO file which is non-bootable. It's just an Image of a Data CD with some files I want to open from Tru64. How do I mount the ISO and open it's contents? Which of the devices is DKA100 in Tru64? My OS is Windows XP SP3. Elton ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-16 19:23 Mount ISO in Tru64 running on Personal Alpha emulator !!!@!!! @ 2010-03-17 0:00 ` H Vlems 2010-03-17 0:27 ` !!!@!!! 0 siblings, 1 reply; 17+ messages in thread From: H Vlems @ 2010-03-17 0:00 UTC (permalink / raw) On Mar 16, 8:23 pm, "!!!@!!!" <eltoni...@gmail.com> wrote: > Hi! > I'm running Tru64 V5.1A on Personal Alpha Version 2.0.17. > In DKA0 I have a virtual disk 'disk.vdisk' which I downloaded and > already contains the Tru64 system installed. > In DKA100 I have selected an ISO file which is non-bootable. It's just > an Image of a Data CD with some files I want to open from Tru64. > How do I mount the ISO and open it's contents? > Which of the devices is DKA100 in Tru64? > My OS is Windows XP SP3. > > Elton Umm, your explanation of the Personal ALpha configuration is difficult to understand. In the Personal Alpha configuration panel there are four disks available: DKA0 .. DKA300. The DKA names are the emulated hardware devices: a real Alpha would show these same names when you type the SHOW DEVICES command on the >>> prompt. On an emulated system there are no real disks but files on the host system (in your case a pc with Windows XP sp 3). By convention Stromasys uses the filetype .vdisk but you're free to give the file any name you'd like. I understand that you've been succesful in booting Tru64 from DKA0, right? If so then DKA100 will show up in the directory as /dev/disk/dsk1c (assuming that DKA0 is called /dev/disk/dsk0c). Perhaps Personal Alpha is configured that the .iso file is actually an emulated cdrom, in which case the the device is called /dev/disk/ cdrom0c That would make sense since you can't destroy that file. Try mount -q /dev/disk/cdrom0c to check whether Tru64 recognizes the contents of the .iso file. When it does, it will suggest the correct filesystem to mount it as. Hans ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-17 0:00 ` H Vlems @ 2010-03-17 0:27 ` !!!@!!! 2010-03-17 20:27 ` H Vlems 2010-03-17 20:40 ` Kari Uusimäki 0 siblings, 2 replies; 17+ messages in thread From: !!!@!!! @ 2010-03-17 0:27 UTC (permalink / raw) > Umm, your explanation of the Personal ALpha configuration is difficult > to understand. > In the Personal Alpha configuration panel there are four disks > available: DKA0 .. DKA300. > The DKA names are the emulated hardware devices: a real Alpha would > show these same names when you type the SHOW DEVICES command on the>>> prompt. In DKA0 is a vdisk which contains the Tru64 system. In DKA100 is an ISO file. When I type SHOW DEVICES on the >>> prompt it returns this: DKA0 SCSI 0 6 0 0 0 0 FLAMG-IO DEC RZ26 0003 DKA100 SCSI 0 6 0 0 100 0 FLAMG-IO EMULATORS CD-IMAGE 0003 DKA200 SCSI 0 6 0 0 200 0 FLAMG-IO DKA300 SCSI 0 6 0 0 300 0 FLAMG-IO ESA0 MOP 0 7 0 0 0 2 CORE-IO Built-in Lance 00-23-65-be- d1-b7 PKA NOBOOT 0 6 0 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI Controller PKB NOBOOT 0 6 1 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI Controller To boot to Tru64 then I type "set boot_osflags A" to run multi-user and then "boot DKA0" to boot the vdisk. > I understand that you've been succesful in booting Tru64 from DKA0, > right? Yes. > If so then DKA100 will show up in the directory as /dev/disk/dsk1c > (assuming that DKA0 is called /dev/disk/dsk0c). > Perhaps Personal Alpha is configured that the .iso file is actually an > emulated cdrom, in which case the the device is called /dev/disk/ > cdrom0c No, there's no cdrom device in /dev/disk. There are only dsk0a to dsk0h, dsk1a to dsk1h, and some floppy devices. > That would make sense since you can't destroy that file. > Try mount -q /dev/disk/cdrom0c to check whether Tru64 recognizes the > contents of the .iso file. When I run the command, it says: mount: illegal option -- q Elton ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-17 0:27 ` !!!@!!! @ 2010-03-17 20:27 ` H Vlems 2010-03-17 20:46 ` Kari Uusimäki 2010-03-17 21:28 ` !!!@!!! 2010-03-17 20:40 ` Kari Uusimäki 1 sibling, 2 replies; 17+ messages in thread From: H Vlems @ 2010-03-17 20:27 UTC (permalink / raw) On Mar 17, 1:27 am, "!!!@!!!" <eltoni...@gmail.com> wrote: > > Umm, your explanation of the Personal ALpha configuration is difficult > > to understand. > > In the Personal Alpha configuration panel there are four disks > > available: DKA0 .. DKA300. > > The DKA names are the emulated hardware devices: a real Alpha would > > show these same names when you type the SHOW DEVICES command on the>>> prompt. > > In DKA0 is a vdisk which contains the Tru64 system. > In DKA100 is an ISO file. > When I type SHOW DEVICES on the >>> prompt it returns this: > > DKA0 SCSI 0 6 0 0 0 0 FLAMG-IO DEC RZ26 0003 > DKA100 SCSI 0 6 0 0 100 0 FLAMG-IO EMULATORS CD-IMAGE 0003 > DKA200 SCSI 0 6 0 0 200 0 FLAMG-IO > DKA300 SCSI 0 6 0 0 300 0 FLAMG-IO > ESA0 MOP 0 7 0 0 0 2 CORE-IO Built-in Lance 00-23-65-be- > d1-b7 > PKA NOBOOT 0 6 0 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI > Controller > PKB NOBOOT 0 6 1 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI > Controller > > To boot to Tru64 then I type "set boot_osflags A" to run multi-user > and then "boot DKA0" to boot the vdisk. > > > I understand that you've been succesful in booting Tru64 from DKA0, > > right? > > Yes. > > > If so then DKA100 will show up in the directory as /dev/disk/dsk1c > > (assuming that DKA0 is called /dev/disk/dsk0c). > > Perhaps Personal Alpha is configured that the .iso file is actually an > > emulated cdrom, in which case the the device is called /dev/disk/ > > cdrom0c > > No, there's no cdrom device in /dev/disk. > There are only dsk0a to dsk0h, dsk1a to dsk1h, and some floppy > devices. > > > That would make sense since you can't destroy that file. > > Try mount -q /dev/disk/cdrom0c to check whether Tru64 recognizes the > > contents of the .iso file. > > When I run the command, it says: > mount: illegal option -- q > > Elton The boot flags may be passed to the OS from the srm commandline. So this would be a valid alternative: >>> b -fl A dka0 The srm commandline overrides the stored option values. It seems the emulator sees dka100 as a cdrom device. Apparently your base system wasn't configured with a cdrom. You write that mount -q 'resulted in an error, possibly because you targeted it at /dev/disk/dsk1c right? You'd have to add a cdrom device to your emulated system. Which is where my poor understanding of Tru64 ends I'm afraid. Hans ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-17 20:27 ` H Vlems @ 2010-03-17 20:46 ` Kari Uusimäki 2010-03-17 21:35 ` !!!@!!! 2010-03-18 20:33 ` H Vlems 2010-03-17 21:28 ` !!!@!!! 1 sibling, 2 replies; 17+ messages in thread From: Kari Uusimäki @ 2010-03-17 20:46 UTC (permalink / raw) On 17.3.2010 22:27, H Vlems wrote: > On Mar 17, 1:27 am, "!!!@!!!"<eltoni...@gmail.com> wrote: >>> Umm, your explanation of the Personal ALpha configuration is difficult >>> to understand. >>> In the Personal Alpha configuration panel there are four disks >>> available: DKA0 .. DKA300. >>> The DKA names are the emulated hardware devices: a real Alpha would >>> show these same names when you type the SHOW DEVICES command on the>>> prompt. >> >> In DKA0 is a vdisk which contains the Tru64 system. >> In DKA100 is an ISO file. >> When I type SHOW DEVICES on the>>> prompt it returns this: >> >> DKA0 SCSI 0 6 0 0 0 0 FLAMG-IO DEC RZ26 0003 >> DKA100 SCSI 0 6 0 0 100 0 FLAMG-IO EMULATORS CD-IMAGE 0003 >> DKA200 SCSI 0 6 0 0 200 0 FLAMG-IO >> DKA300 SCSI 0 6 0 0 300 0 FLAMG-IO >> ESA0 MOP 0 7 0 0 0 2 CORE-IO Built-in Lance 00-23-65-be- >> d1-b7 >> PKA NOBOOT 0 6 0 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI >> Controller >> PKB NOBOOT 0 6 1 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI >> Controller >> >> To boot to Tru64 then I type "set boot_osflags A" to run multi-user >> and then "boot DKA0" to boot the vdisk. >> >>> I understand that you've been succesful in booting Tru64 from DKA0, >>> right? >> >> Yes. >> >>> If so then DKA100 will show up in the directory as /dev/disk/dsk1c >>> (assuming that DKA0 is called /dev/disk/dsk0c). >>> Perhaps Personal Alpha is configured that the .iso file is actually an >>> emulated cdrom, in which case the the device is called /dev/disk/ >>> cdrom0c >> >> No, there's no cdrom device in /dev/disk. >> There are only dsk0a to dsk0h, dsk1a to dsk1h, and some floppy >> devices. >> >>> That would make sense since you can't destroy that file. >>> Try mount -q /dev/disk/cdrom0c to check whether Tru64 recognizes the >>> contents of the .iso file. >> >> When I run the command, it says: >> mount: illegal option -- q >> >> Elton > > The boot flags may be passed to the OS from the srm commandline. > So this would be a valid alternative: > >>>> b -fl A dka0 > > The srm commandline overrides the stored option values. > It seems the emulator sees dka100 as a cdrom device. > Apparently your base system wasn't configured with a cdrom. > You write that mount -q 'resulted in an error, possibly because you > targeted it at /dev/disk/dsk1c right? > You'd have to add a cdrom device to your emulated system. Which is > where my poor understanding of Tru64 ends I'm afraid. > Hans You add a (nowadays usually a SCSI disk, tape or cdrom) device in Tru64 V5.x after connecting it and powering it on by: # hwmgr -scan -scsi You can always look at what SCSI devices you have on your system by: # scu show edt Kari ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-17 20:46 ` Kari Uusimäki @ 2010-03-17 21:35 ` !!!@!!! 2010-03-18 17:02 ` Kari Uusimäki 2010-03-18 20:33 ` H Vlems 1 sibling, 1 reply; 17+ messages in thread From: !!!@!!! @ 2010-03-17 21:35 UTC (permalink / raw) > You add a (nowadays usually a SCSI disk, tape or cdrom) device in Tru64 > V5.x after connecting it and powering it on by: > # hwmgr -scan -scsi It returns "hwmgr: Error unable to find subsystem name in command line." > You can always look at what SCSI devices you have on your system by: > > # scu show edt It returns this: CAM Equipment Device Table (EDT) Information: Bus/Target/Lun Device Type ANSI Vendor ID Product ID Revision N/W -------------- ----------- ------ --------- ---------------- -------- --- 0 0 0 Direct SCSI-2 DEC RZ26 0003 N 0 1 0 Direct SCSI-2 EMULATOR CD-IMAGE 0003 N --------------------------------------------------------------------------------------------------------------------- Elton ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-17 21:35 ` !!!@!!! @ 2010-03-18 17:02 ` Kari Uusimäki 2010-03-18 17:42 ` !!!@!!! 0 siblings, 1 reply; 17+ messages in thread From: Kari Uusimäki @ 2010-03-18 17:02 UTC (permalink / raw) On 17.3.2010 23:35, !!!@!!! wrote: > >> You add a (nowadays usually a SCSI disk, tape or cdrom) device in Tru64 >> V5.x after connecting it and powering it on by: >> # hwmgr -scan -scsi > > It returns "hwmgr: Error unable to find subsystem name in command > line." > >> You can always look at what SCSI devices you have on your system by: >> >> # scu show edt > > It returns this: > CAM Equipment Device Table (EDT) Information: > > Bus/Target/Lun Device Type ANSI Vendor ID Product ID > Revision N/W > -------------- ----------- ------ --------- ---------------- > -------- --- > 0 0 0 Direct SCSI-2 DEC RZ26 > 0003 N > 0 1 0 Direct SCSI-2 EMULATOR CD-IMAGE > 0003 N > --------------------------------------------------------------------------------------------------------------------- > > Elton Sorry, the dashes slipped in where they don't belong. That's a consequence of not working with Tru64 daily anymore. The correct syntax is: # hwmgr scan scsi Then you can check what is found: # hwmgr show scsi -type disk The scu output shows a CD image. It might mean be the one you are trying to mount. You can test the device as follows: # scu scu> set nexus bus 0 target 1 lun 0 scu> show device Then you should get information (what type, what SCSI version is supports, etc) about the device. I am not familiar with the Personal Alpha and cannot right now advise how to deal with devices or disk images there. Somewhow it appears as the CD image isn't ready for use. Maybe it isn't correct type of device? Or does it need some kind of enabling before it is ready? Maybe even a boot of the emulator. Kari ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-18 17:02 ` Kari Uusimäki @ 2010-03-18 17:42 ` !!!@!!! 2010-03-18 20:14 ` Kari Uusimäki 0 siblings, 1 reply; 17+ messages in thread From: !!!@!!! @ 2010-03-18 17:42 UTC (permalink / raw) > # hwmgr scan scsi > > Then you can check what is found: > > # hwmgr show scsi -type disk > > The scu output shows a CD image. It might mean be the one you are trying > to mount. > > You can test the device as follows: > > # scu > scu> set nexus bus 0 target 1 lun 0 > scu> show device > > Then you should get information (what type, what SCSI version is > supports, etc) about the device. > > I am not familiar with the Personal Alpha and cannot right now advise > how to deal with devices or disk images there. > Somewhow it appears as the CD image isn't ready for use. Maybe it isn't > correct type of device? Or does it need some kind of enabling before it > is ready? Maybe even a boot of the emulator. > > Kari Hey thanks man. I finally got it working. When I enter # hwmgr show scsi -type disk it returns: # hwmgr show scsi -type disk SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH ------------------------------------------------------------------------- 16: 0 osvirtual disk none 2 1 dsk0 [0/0/0] 17: 1 osvirtual disk none 0 1 (null) 18: 2 osvirtual disk floppy 0 1 (null) 20: 3 osvirtual disk floppy 0 1 (null) 21: 4 osvirtual disk floppy 0 1 floppy2 [0/1/0] 22: 5 osvirtual disk floppy 0 1 (null) It seems that floppy2a and floppy2c are the devices where the CD Image is mapped. I tried mounting it with "# mount -r -t cdfs /dev/disk/floppy2c /mnt" and it worked, althought I don't know why, it works even with floppy2a. So this brings me to another question: Why are there so many floppy devices, and for every number there are floppy*a and floppy*c devices? Elton ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-18 17:42 ` !!!@!!! @ 2010-03-18 20:14 ` Kari Uusimäki 2010-03-18 20:46 ` H Vlems 2010-03-18 21:00 ` !!!@!!! 0 siblings, 2 replies; 17+ messages in thread From: Kari Uusimäki @ 2010-03-18 20:14 UTC (permalink / raw) On 18.3.2010 19:42, !!!@!!! wrote: > >> # hwmgr scan scsi >> >> Then you can check what is found: >> >> # hwmgr show scsi -type disk >> >> The scu output shows a CD image. It might mean be the one you are trying >> to mount. >> >> You can test the device as follows: >> >> # scu >> scu> set nexus bus 0 target 1 lun 0 >> scu> show device >> >> Then you should get information (what type, what SCSI version is >> supports, etc) about the device. >> >> I am not familiar with the Personal Alpha and cannot right now advise >> how to deal with devices or disk images there. >> Somewhow it appears as the CD image isn't ready for use. Maybe it isn't >> correct type of device? Or does it need some kind of enabling before it >> is ready? Maybe even a boot of the emulator. >> >> Kari > > Hey thanks man. > I finally got it working. > When I enter # hwmgr show scsi -type disk it returns: > > # hwmgr show scsi -type disk > > SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST > HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID > PATH > ------------------------------------------------------------------------- > 16: 0 osvirtual disk none 2 1 dsk0 > [0/0/0] > 17: 1 osvirtual disk none 0 1 (null) > 18: 2 osvirtual disk floppy 0 1 (null) > 20: 3 osvirtual disk floppy 0 1 (null) > 21: 4 osvirtual disk floppy 0 1 floppy2 > [0/1/0] > 22: 5 osvirtual disk floppy 0 1 (null) > > It seems that floppy2a and floppy2c are the devices where the CD Image > is mapped. > I tried mounting it with "# mount -r -t cdfs /dev/disk/floppy2c /mnt" > and it worked, althought I don't know why, it works even with > floppy2a. > So this brings me to another question: Why are there so many floppy > devices, and for every number there are floppy*a and floppy*c devices? > > Elton Good that you got it working. The last letter of the device name e.g. floppy2c <---- is a way of defining a partition (or slice as it is called in Solaris) on a disk. By definition the c partition covers the whole disk and the a partition is the first one from beginning of the disk, which usually is used for booting the OS. The rest of the partitions (b,d,e,f,g and h) can be configured as the user wishes. In case of a floppy or CD-ROM both a and c works similarly unless you have partitioned them and the a partition is smaller than the disk. It is hard to answer the question about multiple floppies without knowing how the emulator is configured. Could be that the device type is defined as a floppy. There used to be SCSI floppy drives. A real AlphaServer might have two IDE buses with two possible device connections each. Maybe the emulator thinks the IDE buses of your computer are potential floppy drive attachment points. This is pure guesswork, of course. Does the emulator documentation shed any light on the issue? Kari ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-18 20:14 ` Kari Uusimäki @ 2010-03-18 20:46 ` H Vlems 2010-03-18 21:00 ` !!!@!!! 1 sibling, 0 replies; 17+ messages in thread From: H Vlems @ 2010-03-18 20:46 UTC (permalink / raw) On Mar 18, 9:14 pm, Kari Uusimäki <uusim...@exdecWITHOUTTHISfinland.org> wrote: > On 18.3.2010 19:42, !!!@!!! wrote: > > > > > > > > >> # hwmgr scan scsi > > >> Then you can check what is found: > > >> # hwmgr show scsi -type disk > > >> The scu output shows a CD image. It might mean be the one you are trying > >> to mount. > > >> You can test the device as follows: > > >> # scu > >> scu> set nexus bus 0 target 1 lun 0 > >> scu> show device > > >> Then you should get information (what type, what SCSI version is > >> supports, etc) about the device. > > >> I am not familiar with the Personal Alpha and cannot right now advise > >> how to deal with devices or disk images there. > >> Somewhow it appears as the CD image isn't ready for use. Maybe it isn't > >> correct type of device? Or does it need some kind of enabling before it > >> is ready? Maybe even a boot of the emulator. > > >> Kari > > > Hey thanks man. > > I finally got it working. > > When I enter # hwmgr show scsi -type disk it returns: > > > # hwmgr show scsi -type disk > > > SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST > > HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID > > PATH > > ------------------------------------------------------------------------- > > 16: 0 osvirtual disk none 2 1 dsk0 > > [0/0/0] > > 17: 1 osvirtual disk none 0 1 (null) > > 18: 2 osvirtual disk floppy 0 1 (null) > > 20: 3 osvirtual disk floppy 0 1 (null) > > 21: 4 osvirtual disk floppy 0 1 floppy2 > > [0/1/0] > > 22: 5 osvirtual disk floppy 0 1 (null) > > > It seems that floppy2a and floppy2c are the devices where the CD Image > > is mapped. > > I tried mounting it with "# mount -r -t cdfs /dev/disk/floppy2c /mnt" > > and it worked, althought I don't know why, it works even with > > floppy2a. > > So this brings me to another question: Why are there so many floppy > > devices, and for every number there are floppy*a and floppy*c devices? > > > Elton > > Good that you got it working. > > The last letter of the device name e.g. floppy2c <---- > is a way of defining a partition (or slice as it is called in Solaris) > on a disk. By definition the c partition covers the whole disk and the a > partition is the first one from beginning of the disk, which usually is > used for booting the OS. The rest of the partitions (b,d,e,f,g and h) > can be configured as the user wishes. In case of a floppy or CD-ROM both > a and c works similarly unless you have partitioned them and the a > partition is smaller than the disk. > > It is hard to answer the question about multiple floppies without > knowing how the emulator is configured. Could be that the device type is > defined as a floppy. There used to be SCSI floppy drives. > A real AlphaServer might have two IDE buses with two possible device > connections each. Maybe the emulator thinks the IDE buses of your > computer are potential floppy drive attachment points. This is pure > guesswork, of course. Does the emulator documentation shed any light on > the issue? > > Kari- Hide quoted text - > > - Show quoted text - Kari, I think that the Personal Alpha emulator was configured without a cdrom device. And there may be no need for a cdrom. There is hardly any difference between a disk and a cdrom other than that the last is of course readonly. But for an emulator both a disk and a cdrom have the same representation: a file on a disk of the hostsystem. The file that represents a cd may be set readonly but there the differences end. Now the on-disk structure may differ of course between a disk and a cd. Unix is pretty good at that, it has different choices for filesystems on a regular harddisk even. Floppies use a different filesystem altogether IIRC but the mount command is flexible: it allows you to mount various filesystems on all kinds of unsuspecting hardware:in this case a cd image on a floppy ;-) ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-18 20:14 ` Kari Uusimäki 2010-03-18 20:46 ` H Vlems @ 2010-03-18 21:00 ` !!!@!!! 1 sibling, 0 replies; 17+ messages in thread From: !!!@!!! @ 2010-03-18 21:00 UTC (permalink / raw) On Mar 18, 9:14 pm, Kari Uusimäki <uusim...@exdecWITHOUTTHISfinland.org> wrote: > On 18.3.2010 19:42, !!!@!!! wrote: > > > > > > > > >> # hwmgr scan scsi > > >> Then you can check what is found: > > >> # hwmgr show scsi -type disk > > >> The scu output shows a CD image. It might mean be the one you are trying > >> to mount. > > >> You can test the device as follows: > > >> # scu > >> scu> set nexus bus 0 target 1 lun 0 > >> scu> show device > > >> Then you should get information (what type, what SCSI version is > >> supports, etc) about the device. > > >> I am not familiar with the Personal Alpha and cannot right now advise > >> how to deal with devices or disk images there. > >> Somewhow it appears as the CD image isn't ready for use. Maybe it isn't > >> correct type of device? Or does it need some kind of enabling before it > >> is ready? Maybe even a boot of the emulator. > > >> Kari > > > Hey thanks man. > > I finally got it working. > > When I enter # hwmgr show scsi -type disk it returns: > > > # hwmgr show scsi -type disk > > > SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST > > HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID > > PATH > > ------------------------------------------------------------------------- > > 16: 0 osvirtual disk none 2 1 dsk0 > > [0/0/0] > > 17: 1 osvirtual disk none 0 1 (null) > > 18: 2 osvirtual disk floppy 0 1 (null) > > 20: 3 osvirtual disk floppy 0 1 (null) > > 21: 4 osvirtual disk floppy 0 1 floppy2 > > [0/1/0] > > 22: 5 osvirtual disk floppy 0 1 (null) > > > It seems that floppy2a and floppy2c are the devices where the CD Image > > is mapped. > > I tried mounting it with "# mount -r -t cdfs /dev/disk/floppy2c /mnt" > > and it worked, althought I don't know why, it works even with > > floppy2a. > > So this brings me to another question: Why are there so many floppy > > devices, and for every number there are floppy*a and floppy*c devices? > > > Elton > > Good that you got it working. > > The last letter of the device name e.g. floppy2c <---- > is a way of defining a partition (or slice as it is called in Solaris) > on a disk. By definition the c partition covers the whole disk and the a > partition is the first one from beginning of the disk, which usually is > used for booting the OS. The rest of the partitions (b,d,e,f,g and h) > can be configured as the user wishes. In case of a floppy or CD-ROM both > a and c works similarly unless you have partitioned them and the a > partition is smaller than the disk. > > It is hard to answer the question about multiple floppies without > knowing how the emulator is configured. Could be that the device type is > defined as a floppy. There used to be SCSI floppy drives. > A real AlphaServer might have two IDE buses with two possible device > connections each. Maybe the emulator thinks the IDE buses of your > computer are potential floppy drive attachment points. This is pure > guesswork, of course. Does the emulator documentation shed any light on > the issue? > > Kari No, the documentation is very brief. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-17 20:46 ` Kari Uusimäki 2010-03-17 21:35 ` !!!@!!! @ 2010-03-18 20:33 ` H Vlems 2010-03-19 19:14 ` Kari Uusimäki 1 sibling, 1 reply; 17+ messages in thread From: H Vlems @ 2010-03-18 20:33 UTC (permalink / raw) On Mar 17, 9:46 pm, Kari Uusimäki <uusim...@exdecWITHOUTTHISfinland.org> wrote: > On 17.3.2010 22:27, H Vlems wrote: > > > > > > > On Mar 17, 1:27 am, "!!!@!!!"<eltoni...@gmail.com> wrote: > >>> Umm, your explanation of the Personal ALpha configuration is difficult > >>> to understand. > >>> In the Personal Alpha configuration panel there are four disks > >>> available: DKA0 .. DKA300. > >>> The DKA names are the emulated hardware devices: a real Alpha would > >>> show these same names when you type the SHOW DEVICES command on the>>> prompt. > > >> In DKA0 is a vdisk which contains the Tru64 system. > >> In DKA100 is an ISO file. > >> When I type SHOW DEVICES on the>>> prompt it returns this: > > >> DKA0 SCSI 0 6 0 0 0 0 FLAMG-IO DEC RZ26 0003 > >> DKA100 SCSI 0 6 0 0 100 0 FLAMG-IO EMULATORS CD-IMAGE 0003 > >> DKA200 SCSI 0 6 0 0 200 0 FLAMG-IO > >> DKA300 SCSI 0 6 0 0 300 0 FLAMG-IO > >> ESA0 MOP 0 7 0 0 0 2 CORE-IO Built-in Lance 00-23-65-be- > >> d1-b7 > >> PKA NOBOOT 0 6 0 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI > >> Controller > >> PKB NOBOOT 0 6 1 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI > >> Controller > > >> To boot to Tru64 then I type "set boot_osflags A" to run multi-user > >> and then "boot DKA0" to boot the vdisk. > > >>> I understand that you've been succesful in booting Tru64 from DKA0, > >>> right? > > >> Yes. > > >>> If so then DKA100 will show up in the directory as /dev/disk/dsk1c > >>> (assuming that DKA0 is called /dev/disk/dsk0c). > >>> Perhaps Personal Alpha is configured that the .iso file is actually an > >>> emulated cdrom, in which case the the device is called /dev/disk/ > >>> cdrom0c > > >> No, there's no cdrom device in /dev/disk. > >> There are only dsk0a to dsk0h, dsk1a to dsk1h, and some floppy > >> devices. > > >>> That would make sense since you can't destroy that file. > >>> Try mount -q /dev/disk/cdrom0c to check whether Tru64 recognizes the > >>> contents of the .iso file. > > >> When I run the command, it says: > >> mount: illegal option -- q > > >> Elton > > > The boot flags may be passed to the OS from the srm commandline. > > So this would be a valid alternative: > > >>>> b -fl A dka0 > > > The srm commandline overrides the stored option values. > > It seems the emulator sees dka100 as a cdrom device. > > Apparently your base system wasn't configured with a cdrom. > > You write that mount -q 'resulted in an error, possibly because you > > targeted it at /dev/disk/dsk1c right? > > You'd have to add a cdrom device to your emulated system. Which is > > where my poor understanding of Tru64 ends I'm afraid. > > Hans > > You add a (nowadays usually a SCSI disk, tape or cdrom) device in Tru64 > V5.x after connecting it and powering it on by: > > # hwmgr -scan -scsi > > You can always look at what SCSI devices you have on your system by: > > # scu show edt > > Kari- Hide quoted text - > > - Show quoted text - Hey thanks Kari: the scu command is new for me! ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-18 20:33 ` H Vlems @ 2010-03-19 19:14 ` Kari Uusimäki 2010-03-19 21:21 ` H Vlems 0 siblings, 1 reply; 17+ messages in thread From: Kari Uusimäki @ 2010-03-19 19:14 UTC (permalink / raw) On 18.3.2010 22:33, H Vlems wrote: > On Mar 17, 9:46 pm, Kari Uusim�ki > <uusim...@exdecWITHOUTTHISfinland.org> wrote: >> On 17.3.2010 22:27, H Vlems wrote: >> >> >> >> >> >>> On Mar 17, 1:27 am, "!!!@!!!"<eltoni...@gmail.com> wrote: >>>>> Umm, your explanation of the Personal ALpha configuration is difficult >>>>> to understand. >>>>> In the Personal Alpha configuration panel there are four disks >>>>> available: DKA0 .. DKA300. >>>>> The DKA names are the emulated hardware devices: a real Alpha would >>>>> show these same names when you type the SHOW DEVICES command on the>>> prompt. >> >>>> In DKA0 is a vdisk which contains the Tru64 system. >>>> In DKA100 is an ISO file. >>>> When I type SHOW DEVICES on the>>> prompt it returns this: >> >>>> DKA0 SCSI 0 6 0 0 0 0 FLAMG-IO DEC RZ26 0003 >>>> DKA100 SCSI 0 6 0 0 100 0 FLAMG-IO EMULATORS CD-IMAGE 0003 >>>> DKA200 SCSI 0 6 0 0 200 0 FLAMG-IO >>>> DKA300 SCSI 0 6 0 0 300 0 FLAMG-IO >>>> ESA0 MOP 0 7 0 0 0 2 CORE-IO Built-in Lance 00-23-65-be- >>>> d1-b7 >>>> PKA NOBOOT 0 6 0 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI >>>> Controller >>>> PKB NOBOOT 0 6 1 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI >>>> Controller >> >>>> To boot to Tru64 then I type "set boot_osflags A" to run multi-user >>>> and then "boot DKA0" to boot the vdisk. >> >>>>> I understand that you've been succesful in booting Tru64 from DKA0, >>>>> right? >> >>>> Yes. >> >>>>> If so then DKA100 will show up in the directory as /dev/disk/dsk1c >>>>> (assuming that DKA0 is called /dev/disk/dsk0c). >>>>> Perhaps Personal Alpha is configured that the .iso file is actually an >>>>> emulated cdrom, in which case the the device is called /dev/disk/ >>>>> cdrom0c >> >>>> No, there's no cdrom device in /dev/disk. >>>> There are only dsk0a to dsk0h, dsk1a to dsk1h, and some floppy >>>> devices. >> >>>>> That would make sense since you can't destroy that file. >>>>> Try mount -q /dev/disk/cdrom0c to check whether Tru64 recognizes the >>>>> contents of the .iso file. >> >>>> When I run the command, it says: >>>> mount: illegal option -- q >> >>>> Elton >> >>> The boot flags may be passed to the OS from the srm commandline. >>> So this would be a valid alternative: >> >>>>>> b -fl A dka0 >> >>> The srm commandline overrides the stored option values. >>> It seems the emulator sees dka100 as a cdrom device. >>> Apparently your base system wasn't configured with a cdrom. >>> You write that mount -q 'resulted in an error, possibly because you >>> targeted it at /dev/disk/dsk1c right? >>> You'd have to add a cdrom device to your emulated system. Which is >>> where my poor understanding of Tru64 ends I'm afraid. >>> Hans >> >> You add a (nowadays usually a SCSI disk, tape or cdrom) device in Tru64 >> V5.x after connecting it and powering it on by: >> >> # hwmgr -scan -scsi >> >> You can always look at what SCSI devices you have on your system by: >> >> # scu show edt >> >> Kari- Hide quoted text - >> >> - Show quoted text - > > Hey thanks Kari: the scu command is new for me! That's a very old utility. It has been around since the first OSF/1 versions. It is very useful and practically the only one you can use to handle and troubleshoot SCSI devices especially in V4.x and earlier. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-19 19:14 ` Kari Uusimäki @ 2010-03-19 21:21 ` H Vlems 0 siblings, 0 replies; 17+ messages in thread From: H Vlems @ 2010-03-19 21:21 UTC (permalink / raw) On Mar 19, 8:14 pm, Kari Uusimäki <uusim...@exdecWITHOUTTHISfinland.org> wrote: > On 18.3.2010 22:33, H Vlems wrote: > > > > > > > On Mar 17, 9:46 pm, Kari Uusimäki > > <uusim...@exdecWITHOUTTHISfinland.org> wrote: > >> On 17.3.2010 22:27, H Vlems wrote: > > >>> On Mar 17, 1:27 am, "!!!@!!!"<eltoni...@gmail.com> wrote: > >>>>> Umm, your explanation of the Personal ALpha configuration is difficult > >>>>> to understand. > >>>>> In the Personal Alpha configuration panel there are four disks > >>>>> available: DKA0 .. DKA300. > >>>>> The DKA names are the emulated hardware devices: a real Alpha would > >>>>> show these same names when you type the SHOW DEVICES command on the>>> prompt. > > >>>> In DKA0 is a vdisk which contains the Tru64 system. > >>>> In DKA100 is an ISO file. > >>>> When I type SHOW DEVICES on the>>> prompt it returns this: > > >>>> DKA0 SCSI 0 6 0 0 0 0 FLAMG-IO DEC RZ26 0003 > >>>> DKA100 SCSI 0 6 0 0 100 0 FLAMG-IO EMULATORS CD-IMAGE 0003 > >>>> DKA200 SCSI 0 6 0 0 200 0 FLAMG-IO > >>>> DKA300 SCSI 0 6 0 0 300 0 FLAMG-IO > >>>> ESA0 MOP 0 7 0 0 0 2 CORE-IO Built-in Lance 00-23-65-be- > >>>> d1-b7 > >>>> PKA NOBOOT 0 6 0 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI > >>>> Controller > >>>> PKB NOBOOT 0 6 1 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI > >>>> Controller > > >>>> To boot to Tru64 then I type "set boot_osflags A" to run multi-user > >>>> and then "boot DKA0" to boot the vdisk. > > >>>>> I understand that you've been succesful in booting Tru64 from DKA0, > >>>>> right? > > >>>> Yes. > > >>>>> If so then DKA100 will show up in the directory as /dev/disk/dsk1c > >>>>> (assuming that DKA0 is called /dev/disk/dsk0c). > >>>>> Perhaps Personal Alpha is configured that the .iso file is actually an > >>>>> emulated cdrom, in which case the the device is called /dev/disk/ > >>>>> cdrom0c > > >>>> No, there's no cdrom device in /dev/disk. > >>>> There are only dsk0a to dsk0h, dsk1a to dsk1h, and some floppy > >>>> devices. > > >>>>> That would make sense since you can't destroy that file. > >>>>> Try mount -q /dev/disk/cdrom0c to check whether Tru64 recognizes the > >>>>> contents of the .iso file. > > >>>> When I run the command, it says: > >>>> mount: illegal option -- q > > >>>> Elton > > >>> The boot flags may be passed to the OS from the srm commandline. > >>> So this would be a valid alternative: > > >>>>>> b -fl A dka0 > > >>> The srm commandline overrides the stored option values. > >>> It seems the emulator sees dka100 as a cdrom device. > >>> Apparently your base system wasn't configured with a cdrom. > >>> You write that mount -q 'resulted in an error, possibly because you > >>> targeted it at /dev/disk/dsk1c right? > >>> You'd have to add a cdrom device to your emulated system. Which is > >>> where my poor understanding of Tru64 ends I'm afraid. > >>> Hans > > >> You add a (nowadays usually a SCSI disk, tape or cdrom) device in Tru64 > >> V5.x after connecting it and powering it on by: > > >> # hwmgr -scan -scsi > > >> You can always look at what SCSI devices you have on your system by: > > >> # scu show edt > > >> Kari- Hide quoted text - > > >> - Show quoted text - > > > Hey thanks Kari: the scu command is new for me! > > That's a very old utility. It has been around since the first OSF/1 > versions. > It is very useful and practically the only one you can use to handle and > troubleshoot SCSI devices especially in V4.x and earlier.- Hide quoted text - > > - Show quoted text - I'm slowly finding my way in Tru64 ... ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-17 20:27 ` H Vlems 2010-03-17 20:46 ` Kari Uusimäki @ 2010-03-17 21:28 ` !!!@!!! 1 sibling, 0 replies; 17+ messages in thread From: !!!@!!! @ 2010-03-17 21:28 UTC (permalink / raw) > Apparently your base system wasn't configured with a cdrom. Do I have to reinstall? > You write that mount -q 'resulted in an error, possibly because you > targeted it at /dev/disk/dsk1c right? For every device, it returns the same result. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-17 0:27 ` !!!@!!! 2010-03-17 20:27 ` H Vlems @ 2010-03-17 20:40 ` Kari Uusimäki 2010-03-17 21:33 ` !!!@!!! 1 sibling, 1 reply; 17+ messages in thread From: Kari Uusimäki @ 2010-03-17 20:40 UTC (permalink / raw) On 17.3.2010 2:27, !!!@!!! wrote: > >> Umm, your explanation of the Personal ALpha configuration is difficult >> to understand. >> In the Personal Alpha configuration panel there are four disks >> available: DKA0 .. DKA300. >> The DKA names are the emulated hardware devices: a real Alpha would >> show these same names when you type the SHOW DEVICES command on the>>> prompt. > > In DKA0 is a vdisk which contains the Tru64 system. > In DKA100 is an ISO file. > When I type SHOW DEVICES on the>>> prompt it returns this: > > DKA0 SCSI 0 6 0 0 0 0 FLAMG-IO DEC RZ26 0003 > DKA100 SCSI 0 6 0 0 100 0 FLAMG-IO EMULATORS CD-IMAGE 0003 > DKA200 SCSI 0 6 0 0 200 0 FLAMG-IO > DKA300 SCSI 0 6 0 0 300 0 FLAMG-IO > ESA0 MOP 0 7 0 0 0 2 CORE-IO Built-in Lance 00-23-65-be- > d1-b7 > PKA NOBOOT 0 6 0 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI > Controller > PKB NOBOOT 0 6 1 0 X 0 FLAMG-IO Built-in NCR53C94 SCSI > Controller > what > To boot to Tru64 then I type "set boot_osflags A" to run multi-user > and then "boot DKA0" to boot the vdisk. > > >> I understand that you've been succesful in booting Tru64 from DKA0, >> right? > > Yes. > >> If so then DKA100 will show up in the directory as /dev/disk/dsk1c >> (assuming that DKA0 is called /dev/disk/dsk0c). >> Perhaps Personal Alpha is configured that the .iso file is actually an >> emulated cdrom, in which case the the device is called /dev/disk/ >> cdrom0c > > No, there's no cdrom device in /dev/disk. > There are only dsk0a to dsk0h, dsk1a to dsk1h, and some floppy > devices. > >> That would make sense since you can't destroy that file. >> Try mount -q /dev/disk/cdrom0c to check whether Tru64 recognizes the >> contents of the .iso file. > > When I run the command, it says: > mount: illegal option -- q > > Elton You can always test what kind of device or file you have behind the device file by issuing the command: # file /dev/rdisk/dsk1a (or whatever id you have) Could be /dev/disk/cdrom0c also, like Hans mentioned. In a case of a real hardware device, you should get a short description of the device. If it is a filesystem file, you should get an approximation what kind of file it is. When mounting ISO files you usually use the option cdfs; like follows: # mount -r -t cdfs /dev/disk/dsk1c Depending on the ISO image, you might also need the option rrip: # mount -r -t cdfs -o rrip /dev/disk/dsk1c Kari ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Mount ISO in Tru64 running on Personal Alpha emulator 2010-03-17 20:40 ` Kari Uusimäki @ 2010-03-17 21:33 ` !!!@!!! 0 siblings, 0 replies; 17+ messages in thread From: !!!@!!! @ 2010-03-17 21:33 UTC (permalink / raw) > You can always test what kind of device or file you have behind the > device file by issuing the command: > > # file /dev/rdisk/dsk1a (or whatever id you have) It returns: "dsk1c: block special (19/21) > Could be /dev/disk/cdrom0c also, like Hans mentioned. There's no cdrom device in /dev or /dev/disk directory. > In a case of a real hardware device, you should get a short description > of the device. If it is a filesystem file, you should get an > approximation what kind of file it is. How? > When mounting ISO files you usually use the option cdfs; like follows: > > # mount -r -t cdfs /dev/disk/dsk1c It returns "unknown special file or file system dsk1c." When I type #mount -r -t cdfs /dev/disk/dsk1c /og2 (where /og2 is an emtpy dir where I want to mount) it returns: "dsk1c on /og2: No such device or address" > Depending on the ISO image, you might also need the option rrip: > > # mount -r -t cdfs -o rrip /dev/disk/dsk1c The same for this as above. Elton ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2010-03-19 21:21 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-03-16 19:23 Mount ISO in Tru64 running on Personal Alpha emulator !!!@!!! 2010-03-17 0:00 ` H Vlems 2010-03-17 0:27 ` !!!@!!! 2010-03-17 20:27 ` H Vlems 2010-03-17 20:46 ` Kari Uusimäki 2010-03-17 21:35 ` !!!@!!! 2010-03-18 17:02 ` Kari Uusimäki 2010-03-18 17:42 ` !!!@!!! 2010-03-18 20:14 ` Kari Uusimäki 2010-03-18 20:46 ` H Vlems 2010-03-18 21:00 ` !!!@!!! 2010-03-18 20:33 ` H Vlems 2010-03-19 19:14 ` Kari Uusimäki 2010-03-19 21:21 ` H Vlems 2010-03-17 21:28 ` !!!@!!! 2010-03-17 20:40 ` Kari Uusimäki 2010-03-17 21:33 ` !!!@!!!
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox