From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f53c0,2607a089c9fd13f7 X-Google-Attributes: gidf53c0,public X-Google-Thread: 10cebf,2607a089c9fd13f7 X-Google-Attributes: gid10cebf,public X-Google-Thread: 1164f8,2607a089c9fd13f7 X-Google-Attributes: gid1164f8,public From: wilson@dbit.com (John Wilson) Subject: Re: Help Needed: Writing NetBSD boot tape Date: 1999/01/02 Message-ID: <368ea00f.0@news.wizvax.net>#1/1 X-Deja-AN: 428118233 References: <368e9176.98054044@news.jps.net> X-Trace: 2 Jan 1999 17:39:11 -0500, dbit.dbit.com Organization: D Bit, Troy, NY Newsgroups: comp.sys.dec,comp.sys.dec.micro,comp.unix.bsd.netbsd.misc In article <368e9176.98054044@news.jps.net>, Bruce Lane 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