From: wilson@dbit.com (John Wilson)
Subject: Re: Help Needed: Writing NetBSD boot tape
Date: 1999/01/02 [thread overview]
Message-ID: <368ea00f.0@news.wizvax.net> (raw)
In-Reply-To: 368e9176.98054044@news.jps.net
In article <368e9176.98054044@news.jps.net>,
Bruce Lane <kyrrin@my-dejanews.com> wrote:
> The 'it' in question is an effort to write a TK50 NetBSD boot tape
>using a Linux box (Red Hat 5.1) and a SCSI TK50 drive (TK50Z-FA).
I'm sure you know this but the -FA is officially *not* really SCSI, it's the
mutated form used by the VAXstations. The TK50Z-GA is the version that's
more or less SCSI compliant, it's basically the same thing but with different
firmware and it has a SCSI ID select switch.
It sounds like what you have is very close to working though, since clearly
you've gotten some of the right data onto the first record of the tape at
least, but maybe there's some weirdness with some SCSI commands other than
WRITE(6), like maybe the positioning doesn't work normally or the record
sizes are coming out wrong.
> I cannot netboot because I don't have another VAXen running any sort
>of Unix.
I thought NetBSD could be netbooted from Linux ... I wouldn't know though.
> I could really use an assist, people. If anyone has written a viable
>boot tape from Linux, or would be willing to let me send them a tape and
>write it for me, or if you can offer any sort of solution, PLEASE respond!
I've got a little DOS utility that can read/write raw SCSI tape drives
(including the TZ30 and TK50Z-GA) from DOS using an ASPI manager, it uses a
simple encoding format to preserve record lengths (a concept to which UNIX is
largely oblivious) in the image files so you'll need to massage your files
to add a length longword (VAX byte order) before and after each record,
but that's just a few lines of C code. Drop me a line if you want it,
it's hideous but it works, and it breaks out most of the SCSI error fields
so if there's an error the message is usually helpful. I don't know about
current versions of dd, but certainly the versions on some past Linux
distributions didn't bother with error checking, your output data could go
into a black hole for all they cared and there'd be no message at all.
John Wilson
D Bit
next prev parent reply other threads:[~1999-01-02 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-02 5:00 Help Needed: Writing NetBSD boot tape Bruce Lane
1999-01-02 5:00 ` John Wilson [this message]
1999-01-02 5:00 ` Brian Wheeler
1999-01-03 5:00 ` Boris Gjenero
-- strict thread matches above, loose matches on Subject: below --
1999-01-02 5:00 Help Needed: Writing NetBSD Boot tape Bruce Lane
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox