Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 13:52:59 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        "M. Warner Losh" <imp@bsdimp.com>, matusita@jp.FreeBSD.org, ru@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: cvs commit: src/release/i386 drivers.conf 
Message-ID:  <20020727205259.4A98A2A7D6@canning.wemm.org>
In-Reply-To: <3D3F5F40.AC5A33EF@mindspring.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> "M. Warner Losh" wrote:
> > I've noticed that some of the older cam drivers are about all that is
> > in the way of making CAM truly loadable.  By that I mean having a
> > kernel with all supported devices that aren't loadable forces CAM to
> > be in the kernel because some of the SCSI devices aren't (yet)
> > loadable.  However, that's relatively easy to fix.
> 
> I've noticed that the fact that I boot from a CDROM or a SCSI
> hard drive is in the way of making CAM loadable.  8-) 8-).
> 
> Anything in the boot path needs to be static, by definition,
> or you face the Catch-22 of needing to load the driver in
> order to be able to load the driver.

Nope, it just needs to be loaded before the kernel takes over.  This is
what the preload mechanism is for.

> ...This wouldn't be a problem, if VM86 supported disk I/O, and
> you could replace drivers on the fly...

I know this is a long favorite axe of yours, but I'd love to see code
for this.  Considering that loader *does* use VM86 do do disk IO calls,
it can be done - loader runs in a 32 bit paged environment with a vm86
executive for doing all the bios calls, including disk IO.

You dont feel like writing one for freebsd, do you?  A vm86disk driver
would solve a number of problems.  If you do one that is respectable, I'll
commit it for you myself.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020727205259.4A98A2A7D6>