Subject: Re: VS3100: success with netbooting, limited SCSI success
To: None <bertram@ifib.uni-karlsruhe.de>
From: maximum entropy <entropy@zippy.bernstein.com>
List: port-vax
Date: 08/15/1997 15:34:55
>From: Bertram Barth <bertram@ifib.uni-karlsruhe.de>
>
>> It did stop to ask me for a root device, swap device etc. and initially
>> started single-user. I know how to hardwire the root device in the
>> kernel config...is there any way to fake things so that "book dka000"
>> will try to load from rom(0,0) instead of sd(0,0)?
>
>Yes, that's possible. I once started to play with that, but didn't
>have enough time/interest to finish...
> [...]
>All in all, once you found the right spots, it should be minor
>modifications.
For now I simply cheated:
--- /sys/arch/vax/boot/boot.c.orig Fri Aug 15 15:30:37 1997
+++ /sys/arch/vax/boot/boot.c Fri Aug 15 13:59:09 1997
@@ -67,7 +67,7 @@
if ((howto & RB_ASKNAME) == 0) {
type = (devtype >> B_TYPESHIFT) & B_TYPEMASK;
if ((unsigned)type < ndevs && devsw[type].dv_name)
- strcpy(line, "/netbsd");
+ strcpy(line, "rom(0,0)/netbsd");
else
howto |= RB_SINGLE|RB_ASKNAME;
}
It works like a charm.
Now to begin learning more than I ever wanted to know about DMA and
low-level device drivers, to see if I can get around the need for my
PIO kludge...
--
entropy -- it's not just a good idea, it's the second law.
This message may refer to a product containing software developed by
Christopher G. Demetriou for the NetBSD Project.