home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!ames!pacbell.com!tandem!UB.com!quack!mrapple
- From: mrapple@quack.sac.ca.us (Nick Sayer)
- Subject: Re: DAT's on 4.1.2
- Message-ID: <fU2cPyS@quack.sac.ca.us>
- Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
- References: <Bx9HMI.5Eu@mail.boi.hp.com>
- Date: 8 Nov 1992 17:57:35 UTC
- Lines: 57
-
- kde@boi.hp.com (Keith Emmen) writes:
-
- >Well, It's time to ask the net, since I haven't been able to figure it
- >out myself.
-
- >We have a Sun clone (Hyundai) running vmunix 4.1.2. We have been
- >trying to hook a DAT tape drive to the system, and while it is
- >recognized at bootup, subsequent attempts to access it result in
- >messages implying that it's off line or the tape is not loaded.
-
- >When it boots, we see:
-
- > st0 at esp0 target 4 lun 0
- > st0: <Vendor 'HP ' Product 'HP35450A -A'>
-
- >but when we try to talk with mt(1), we see: (there is no device file st0)
-
- which is normal.
-
- > / # mt -f /dev/rst0 status
- > /dev/rst0: no tape loaded or drive offline
- > / #
-
- At our company, we regularly use Archive Python DAT drives. We find that
- unless they are set up in the kernel (more specifically in
- /sys/scsi/targets/st_conf.c), the first access after tape insertion
- fails. Subsequent access, however, succeed. In our backup scripts we
- just stick
-
- mt -f /dev/nrst0 st > /dev/null 2>&1
- mt -f /dev/nrst0 st > /dev/null 2>&1
-
- at the top. This is harmless if used on other drives or on systems
- where the hack has been inserted in st_conf.c.
-
- Try this at the end of st_conf.c:
-
- {
- "HP DAT 4mm Helical Scan", 16, "HP HP35450A", 0x30, 512,
- (ST_BSF | ST_BSR | ST_LONG_ERASE ),
- 5000, 5000,
- { 0x00, 0x00, 0x00, 0x00 },
- { 0, 0, 0, 0 }
- }
- };
- int st_ndrivetypes = (sizeof (st_drivetypes)/sizeof (st_drivetypes[0]));
-
- #endif /* NST > 0 */
-
- A similar hack works for the Archive I have on my desk, but I don't have
- an HP, so no guarantees.
-
- --
- Nick Sayer <mrapple@quack.sac.ca.us> | "Quick man! Cling tenaciously to my
- N6QQQ @ N0ARY.#NOCAL.CA.USA.NOAM | buttocks!"
- 37 19 49 N / 121 57 36 W |
- +1 408 249 9630, log in as 'guest' | -- Powdered Toast Man
-