tech-embed archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: File System Startup



kyle%midnighttech.com@localhost (Kyle Unice) asked;

> We want to move the gunzip to
> the point after all the devices are initialized and interrupts are
> enabled
> ...
> Is it possible to move all the file system startup code to a point after
> the device drivers are setup and interrupts enabled, or would this break
> a fundamental operating assumption for NetBSD?   

It should be possible to gunzip the filesystem just prior to mount rootfs.
Please consider of SCSI HD drive startup sequence.  Kernel defers probing
during configure() stage, then drives in turn are instructed to spin up and be
probed right after kernel makes itself spl0 (all initialization has done and 
ready
to accept INTs).   This is made possible by kernel thread support for SCSI
layer.   Your case might be benefied by a similar approach or a filesystem-on-
pseudo device trick.  Keep in mind to avoid gunzip loop hogs entire CPU.

Toru Nishimura/ALKYL Technology/www.alkyltechnology.com



Home | Main Index | Thread Index | Old Index