7 Jan 2003 10:27
Re: File System Startup
Toru Nishimura <locore32 <at> gaea.ocn.ne.jp>
2003-01-07 09:27:42 GMT
2003-01-07 09:27:42 GMT
kyle <at> midnighttech.com (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
RSS Feed