* tape device numbering scheme?
@ 2001-11-13 13:45 Axel K�ster
2001-11-13 16:05 ` Oisin McGuinness
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Axel K�ster @ 2001-11-13 13:45 UTC (permalink / raw)
Hello,
I have a DS20 with True64 4.0G. When booting the system I find the tape at
mkd400. When coming up to standalone, I want to make the special devices for the
tape. As I remeber, the formula was BUS-IDx8+SCSI-ID of the device. But this
failed. During bootup I found a message regarding a tz44, which workes fine.
But: What is the numbering scheme behind this????
Thanks for help,
Axel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tape device numbering scheme?
2001-11-13 13:45 tape device numbering scheme? Axel K�ster
@ 2001-11-13 16:05 ` Oisin McGuinness
2001-11-13 18:36 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-11-14 20:46 ` Alain MARTIN
2 siblings, 0 replies; 4+ messages in thread
From: Oisin McGuinness @ 2001-11-13 16:05 UTC (permalink / raw)
"Axel K�ster" wrote:
>
> Hello,
>
> I have a DS20 with True64 4.0G. When booting the system I find the tape at
> mkd400. When coming up to standalone, I want to make the special devices for the
> tape. As I remeber, the formula was BUS-IDx8+SCSI-ID of the device. But this
> failed. During bootup I found a message regarding a tz44, which workes fine.
>
> But: What is the numbering scheme behind this????
>
> Thanks for help,
>
> Axel
mkd400 is a SRM console level name, meaning a Magnetic ("MK") tape
device on the 4th SCSI bus ("D") at SCSI ID 4 (4*100) on that bus. These
naming conventions are described in the owners manual, or
firmware/console manual, depending on your box.
If the kernel recognized bus'es in exactly the same way as the SRM
console, you would thus end up with a tz36 tape device. But
it generally doesn't. (There is probably a summary somewhere on the
alpha managers mailing list (search available at http://www.tru64.org)
with some discussion from either Tom Blinn, or Alan Rollow about this.)
Personally, I try to make sure the kernel gets configured the way I
think about the devices/bus order, so that I can do things like keep
configurations similar on different machines.
--
Oisin McGuinness
SMBC Capital Markets
277 Park Avenue
New York NY 10172
USA
(212)-224-4913, email: oisin@smbc-cm.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tape device numbering scheme?
2001-11-13 13:45 tape device numbering scheme? Axel K�ster
2001-11-13 16:05 ` Oisin McGuinness
@ 2001-11-13 18:36 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-11-14 20:46 ` Alain MARTIN
2 siblings, 0 replies; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-11-13 18:36 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]
In article <1n82vtccrmispf7o5t48lkmvau9k1f6t89@4ax.com>, Axel K�ster <a.kuester@ostalb.netsurf.de> writes:
>I have a DS20 with True64 4.0G. When booting the system I find the tape at
>mkd400. When coming up to standalone, I want to make the special devices for the
>tape. As I remeber, the formula was BUS-IDx8+SCSI-ID of the device. But this
>failed. During bootup I found a message regarding a tz44, which workes fine.
>
>But: What is the numbering scheme behind this????
Tape devices have two numbers. One is the internal unit number which
is found from the formula you provide (bus * 8) + scsi-id. This is
what you use to create the special files using MAKEDEV. The other
number is the special file number, which is assigned sequentially
starting at zero; rmt0, rmt1, rmt2, etc.
A "tz44" tape would be one on bus 5, target 4. An MKD400 would be
bus 3 (A = 0, B = 1, C = 2, D = 3) target 4. It would be "tz28".
The boot messages print the internal unit numbers as it identifies
devices, so that's often the best source to get the name to hand
off to MAKEDEV.
>
>Thanks for help,
>
>Axel
>
--
Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tape device numbering scheme?
2001-11-13 13:45 tape device numbering scheme? Axel K�ster
2001-11-13 16:05 ` Oisin McGuinness
2001-11-13 18:36 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2001-11-14 20:46 ` Alain MARTIN
2 siblings, 0 replies; 4+ messages in thread
From: Alain MARTIN @ 2001-11-14 20:46 UTC (permalink / raw)
The formula you gave looks correct to me.
You said the tape is seen in SRM console as MKD400
This means the tape is connected to the 4th SCSI bus at SCSI ID 4.
As bus are numbered from 0, the formula would be:
3*8 + 4 => tz28
So let's try the following:
# cd /dev
# ./MAKDEV tz28
The new special files should be created for the tape (rmt1h and nrmt1h,etc)
if there is already another tape drive configured...
Hope this wil help,
Alain
"Axel K�ster" a �crit :
> Hello,
>
> I have a DS20 with True64 4.0G. When booting the system I find the tape at
> mkd400. When coming up to standalone, I want to make the special devices for the
> tape. As I remeber, the formula was BUS-IDx8+SCSI-ID of the device. But this
> failed. During bootup I found a message regarding a tz44, which workes fine.
>
> But: What is the numbering scheme behind this????
>
> Thanks for help,
>
> Axel
--
===============================================================
Alain MARTIN Alain.Martin@compaq.com
Unix Support Suisse Romande (022) 709.51.11
Compaq Computer SA DTN: 821.5250
===============================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-11-14 20:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-13 13:45 tape device numbering scheme? Axel K�ster
2001-11-13 16:05 ` Oisin McGuinness
2001-11-13 18:36 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-11-14 20:46 ` Alain MARTIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox