From owner-freebsd-small Wed Mar 22 9:41:25 2000 Delivered-To: freebsd-small@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 5C9DF37BBD0 for ; Wed, 22 Mar 2000 09:41:22 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA28272; Wed, 22 Mar 2000 10:41:18 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA32104; Wed, 22 Mar 2000 10:41:02 -0700 (MST) Message-Id: <200003221741.KAA32104@harmony.village.org> To: chad@DCFinc.com Subject: Re: M-systems DiskOnChip Cc: freebsd-small@FreeBSD.org In-reply-to: Your message of "Wed, 22 Mar 2000 10:13:09 MST." <200003221713.KAA20136@freeway.dcfinc.com> References: <200003221713.KAA20136@freeway.dcfinc.com> Date: Wed, 22 Mar 2000 10:41:02 -0700 From: Warner Losh Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200003221713.KAA20136@freeway.dcfinc.com> "Chad R. Larson" writes: : As I recall, chad wrote: : > The device driver on the development system works. We can mount the : > DiskOnChip (as /dev/fla0s4a -- we fdisk'd and disklabel'd it). We : > can get a kernel installed on the DiskOnChip, and get the BIOS to load : > that kernel into memory. But we can't figure out what magic incantation : > it takes to get the kernel to know where its root filesystem is. : > : > The "kernel" config option in the config file seems to be being : > ignored, and I can't grok the disk naming conventions in : > /boot/loader.rc for the "rootdev" variable. : > : > So we get as far as the kernel trying to change root to wd0a and : > panicing. : : I'd like to back up a step. : : Am I wrong in assuming that a "root on" clause on the "kernel" line : in the config file should take care of this? It might. I had bad luck with this. I have had good luck with labeling the DOC correctly as being a DOC2K in the type line of the disklabel. It is so simple I don't see why people want to make it harder... : Or that some variable setting in the loader.rc file should do it : too? Not in 3.x. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message