
4-14
Debugger General Information
4
Blocks Versus Sectors
The logical block defines the unit of information for disk devices. A
disk is viewed by 167Bug as a storage area divided into logical
blocks. By default, the logical block size is set to 256 bytes for every
block device in the system. The block size can be changed on a per
device basis with the
IOT
command.
The sector defines the unit of information for the media itself, as
viewed by the controller. The sector size varies for different
controllers, and the value for a specific device can be displayed and
changed with the
IOT
command.
When a disk transfer is requested, the start and size of the transfer
is specified in blocks. 167Bug translates this into an equivalent
sector specification, which is then passed on to the controller to
initiate the transfer. If the conversion from blocks to sectors yields
a fractional sector count, an error is returned and no data is
transferred.
Device Probe Function
A device probe with entry into the device descriptor table is done
whenever a specified device is accessed; i.e., when system calls
.DSKRD, .DSKWR, .DSKCFIG, .DSKFMT, and .DSKCTRL, and
debugger commands
BH
,
BO
,
IOC
,
IOP
,
IOT
,
MAR
, and
MAW
are used.
The device probe mechanism utilizes the SCSI commands "Inquiry"
and "Mode Sense". If the specified controller is non-SCSI, the probe
simply returns a status of "device present and unknown". The
device probe makes an entry into the device descriptor table with
the pertinent data. After an entry has been made, the next time a
probe is done it simply returns with "device present" status (pointer
to the device descriptor).
Summary of Contents for MVME167 Series
Page 1: ...MVME167 Single Board Computer Installation Guide MVME167IG D4 ...
Page 6: ......
Page 106: ...4 28 Debugger General Information 4 ...
Page 132: ...5 26 Using the 167Bug Debugger 5 ...
Page 146: ...A 14 Configure and Environment Commands A ...
Page 152: ...B 6 Disk Tape Controller Data B ...
Page 160: ...D 6 Troubleshooting the MVME167 Solving Startup Problems D ...
Page 168: ...E 8 EIA 232 D Interconnections E ...