Locking a file backed mdconfig into memory

Peter C. Lai peter at simons-rock.edu
Mon May 31 03:11:06 UTC 2010


On 2010-05-30 07:42:47PM -0700, Dave Hayes wrote:
> Garrett Cooper <yanefbsd at gmail.com> writes:
> > This is how I do it in my quickie loader.rc:
> >  include /boot/loader.4th
> >  set vfs.root.mountfrom="ufs:/dev/md0"
> >  load /kernel
> >  load -t mfs_root /mfsroot
> >  start
> 
> I used to do exactly this back at FreeBSD 4.11 to boot off a cdrom. 
> Nice to know it still works this way. 
> 
> Jeremy Chadwick <freebsd at jdc.parodius.com> writes:
> > However, what I'm having trouble understanding is what exactly
> > preload_search_info() looks for and how all this actually connects
> > and works.  It appears to me that there are specific drivers located in
> > src/sys/dev that are KLD-supported and others which are expected to be
> > included in the kernel statically.
> 
> Maybe this confusion explains why /dev/md0c is giving me random crashes
> at the moment? 
> 
> Of course, another theory might be the size of my initial ramdisk
> (300Mb). Would there any known bug where booting off a large ramdisk
> causes unreadable panics to flash past the console too rapidly to view?

Run memtest86 on the first 300mb of ram lately?

Does your ramdisk crash at any size?

-- 
===========================================================
Peter C. Lai                 | Bard College at Simon's Rock
Systems Administrator        | 84 Alford Rd.
Information Technology Svcs. | Gt. Barrington, MA 01230 USA
peter AT simons-rock.edu     | (413) 528-7428
===========================================================



More information about the freebsd-stable mailing list