Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 11:39:43 -0800 (PST)
From:      "Bruce R. Montague" <brucem@mail.cruzio.com>
To:        freebsd-small@freebsd.org
Subject:   picoBSD net options MD_ROOT_SIZE missing
Message-ID:  <200103161939.f2GJdhC27230@mail.cruzio.com>

next in thread | raw e-mail | index | archive | help


The "./release/picobsd/net/PICOBSD" configuration
file does not contain a line:

 "options MD_ROOT_SIZE=2200   # same as def_sz"

under the "#PicoBSD" default-specifier line (all
other PICOBSD files do). This causes the compile of
the kernel driver for the memory device (md.c) to
fail with an "MD_ROOT_SIZE undeclared" error:


../../dev/md/md.c: In function `md_drvinit':
../../dev/md/md.c:482: `MD_ROOT_SIZE' undeclared (first use in this function)
../../dev/md/md.c:482: (Each undeclared identifier is reported only once
../../dev/md/md.c:482: for each function it appears in.)
*** Error code 1

Stop in /usr/src/sys/compile/PICOBSD-net.


Fix is to add a line:
  options MD_ROOT_SIZE=2200      # same as def_sz

under the default line.


---------
--- PICOBSD.original    Fri Mar 16 10:50:58 2001
+++ PICOBSD     Thu Mar 15 10:35:40 2001
@@ -4,6 +4,8 @@
 #Line starting with #PicoBSD contains PicoBSD build parameters
 #marker                def_sz  init    MFS_inodes      floppy_inodes
 #PicoBSD       2200    init    4096            32768
+options MD_ROOT_SIZE=2200
+
 
 machine                i386
 cpu            I386_CPU

---------


This makes the specification of this option similar
to what is done in the PICOBSD files for bridge,
dial, isp, and router.








- bruce


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




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