Glen Eustace wrote:
On Tue, 05 Feb 2002 18:35, you wrote:
Try: man stinit and after you've created the proper device nodes
(search the archive for an earlier post of mine), add post-install st
/sbin/stinit to /etc/conf.modules. You already have the proper density
codes, so it shouldn't take more than a few minutes to get it all set
up.
Thanks for the info, I read your previous letter and am still a bit confussed.
I only want the single mode on the drive, so didn't put a mode line in the
stinit.def file, stinit complains it is missing.
If I add a mode1, then it complains there is not device /dev/nst1, which is
true it is /dev/nst0.
It doesn't like mode0, and clues ?
Hmmm, if I said mode0-3, my bad. Must be mode1-4, but you don't need
all of them. You do, however, want to be certain to identify the drive
to stinit, using the manufacturer= and model= (which you get from
the kernel boot messages in /var/log/messages). For instance, the
customized part of my stinit.def file for my AIT-1 drive:
manufacturer=SEAGATE model=AIT {
can-bsr can-partitions scsi2logical auto-lock
mode1 blocksize=0 density=0x30 compression=0# native, no compression
mode2 blocksize=0 density=0x30 compression=1# native, w/ compression
}
(note that you have your own density codes, and probably should not use
compression= for the Exabyte drives). Also, after editing
/etc/stinit.def, do rmmod st, then modprobe st. Oh, yeah, the
device files:
$ ls -l /dev | grep ' 9, ' | grep st0
crw-rw-rw- 1 root disk 9, 128 May 5 1998 nst0
crw-rw-rw- 1 root root 9, 160 Dec 11 1999 nst0c
crw-rw-rw- 1 root disk 9, 0 May 5 1998 st0
crw-rw-rw- 1 root root 9, 32 Dec 11 1999 st0c
stinit is smart enough to find them, no matter what you've called them,
but you must have both a rewind and non-rewind device for each mode you
specify. If, in fact, you have more than 1 tape drive, and the drive
you're messing with is actually st1, increment all the device minor
numbers by 1 (1, 33, 129, 161).
Let me know if any of that helps
(Copied back to the list, as the problem continues to crop up for
folks.)
Marty
--
Marty Shannon, RHCE, Independent Computing Consultant
mailto:[EMAIL PROTECTED]