From owner-freebsd-current Thu Mar 18 0:36:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles193.castles.com [208.214.165.193]) by hub.freebsd.org (Postfix) with ESMTP id B03AC1538F for ; Thu, 18 Mar 1999 00:36:42 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id AAA01143; Thu, 18 Mar 1999 00:29:14 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199903180829.AAA01143@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: S ren Schmidt Cc: rnordier@nordier.com (Robert Nordier), current@FreeBSD.ORG Subject: Re: How to add a new bootdevice to the new boot code ??? In-reply-to: Your message of "Wed, 17 Mar 1999 09:05:00 +0100." <199903170805.JAA25289@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Thu, 18 Mar 1999 00:29:13 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > It seems Robert Nordier wrote: > > If the problem is the bootblocks, why not send a message to Robert > > Nordier, or if it's loader, to Mike Smith or Daniel Sobral? And > > say, "This is what I want to do, what are we going to do about it?" > > or something similar? > = > OK, easy enough, this is what I want to do: > = > Boot from an ata disk on major# 30, device name "ad", plain and simple.= > = > As the bootcode is now this wont work. If its as simple as me adding > the pair 30 & "ad" somewhere, I'm satisfied, if not, I'm dissapointed := ) Hah. You should be reusing the major from 'wd'; there is no other way = for this to work, sorry. More eloquently, the only information the loader has is the "disk type" = field from the disklabel, from which it has to decide the major for the = root device (this is all historical Vax breakage, but resistance to = fixing it has been strong). By picking a random number for the major for your new device, you make = the situation much worse than it needs to be; the loader can't tell = which ATA driver is in the kernel. -- = \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message