Technical article 125443

How to access a USB floppy drive under SCO UnixWare 7 or OpenServer 6 and install a package or a HBA using pkgadd.

OpenServer 6.0.0UnixWare 7.1.3UnixWare 7.1.4

Written · Last revised

Problem

I have a system (Notebook, Server Blade...etc) that has no Legacy Floppy Drive, but only a USB Floppy Drive. I am having trouble accessing the USB Floppy in order to install a HBA driver or a UW7 package that is on a floppy disk.

The "pkgadd -d diskette1" command brings the following error:

UX:pkgadd: ERROR: device <diskette1> is not listed in device table.

I know that my system has detected the USB floppy drive. I see it in the "sdiconfig -l" output:

0:0,7,0: HBA     : (adst70,1) Adaptec Ultra160
  0,0,0: DISK    : SEAGATE ST39175LC       0359
  0,1,0: DISK    : SEAGATE ST39173LC       6218
  0,2,0: DISK    : QUANTUM ATLAS 10K 36SCA UCH0
2:0,7,0: HBA     : (adst70,1) Adaptec Ultra160
3:0,2,0: HBA     : (ide,1) Generic IDE/ATAPI
  0,0,0: CDROM   : TEAC    CD-224E         1.7A
5:0,7,0: HBA     : (usb_msto,2) USB     USB HBA
  0,0,0: DISK    : Y-E DATAUSB-FDU         3.12

USB HBA in the listing above is:

5:0,7,0: HBA : (usb_msto,2) USB USB HBA

and the floppy device in the listing above is:

0,0,0: DISK : Y-E DATAUSB-FDU 3.12

When I try to address the USB floppy with the command

fstyp /dev/dsk/c5b0t0d0s0
I get the error:
UX:fstyp: ERROR: Unknown_fstyp (no matches)

HARDWARE: OHCI, EHCI, UHCI USB Interface and USB Floppy drive. Laptops, Notebook that only have a USB floppy drive. Server Blade Systems.

New Generation of Servers that have no Legacy Floppy Drive as default.

Cause

A USB Floppy device is treated by SCO UnixWare 7.1.3 / 7.1.4 and
SCO OpenServer 6.0.0 to be a storage device.    i.e.   A disk.
Therefore it has to be addressed with the /dev/dsk/c#b0t0d0x# device.

In the example above, the c5b0t0d0s0 address only works on a disk that has an fdisk table on it. s0 references the active UNIX partition.

HBA floppies do not have a partition table and cannot therefore be accessed using the c#b#t#d#s0 device.

So any reference to the c#b0t0d0s0 to access a USB floppy device will fail.

Solution

You need to address the c#b0t0d0p0 device in order to access a USB floppy disk.

p0 works on anything and references the entire physical disk.

Here is an example on how to load a HBA floppy to a system that has only a USB floppy device.

1- Considering that OS has detected your USB floppy. you can see that on the "sdiconfig -l" output:

5:0,7,0: HBA     : (usb_msto,2) USB     USB HBA
  0,0,0: DISK    : Y-E DATAUSB-FDU         3.12

Also there will be an entry in the /var/adm/syslog:

Nov  3 22:31:27 mz310 unix: 5:0,7,0: HBA          :
(usb_msto,2) USB     USB HBA
Nov  3 22:31:27 mz310 unix:   0,0,0: DISK         : Y-E
DATAUSB-FDU         3.12

2- check the filesystem type of the HBA floppy:

# fstyp /dev/dsk/c5b0t0d0p0
-->returns:  s5 (or S15K)

3- Mount the USB floppy disk to <mount point>:

# mount -r -F s5 /dev/dsk/c5b0t0d0p0 /<mount point>

4- Install the HBA / Package to the system:

# pkgadd -d /<mount point>

You are now able to install the HBA / Package to the system.

5- unmount /<mount point>

See also

disk(7) or disk(HW)
Also available online at:
http://uw714doc.xinuos.com/en/man/html.7/disk.7.html

From the Xinuos technical article database, record 125443. Reproduced with permission. The original is at www.sco.com/ta/125443, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.