[Soekris] 4801 and OpenBSD 3.3 - memory issue

Tom Cosgrove lists3579 at arches-consulting.com
Wed Aug 13 13:28:54 UTC 2003


>>> Peter Curran 13-Aug-03 12:03 >>>
>
> > michiel de bruijn [mdb at x42.net] wrote:
> > :
> > > In the meantime, you can use the 'machine mem
> > > +0x4000000 at 0x4100000' boot command (which can be persisted to
> > > /etc/boot.conf) to make OpenBSD recognize the additional RAM. Note
>
> Chris
>
> Your version works,  Michiel's seems to but when you run dmesg you get a
> sysctl error.
>
> Whereabouts is the stuff documented?
>
> Cheers
>
> Peter

$ man 8 boot yields:

   machine [command]
       Issues machine-dependent commands.  These are defined for i386
       architecture:

       <snip>

       memory  If used without any arguments this command will print
               out the memory configuration as determined through BIOS
               routines.  Otherwise the arguments would specify the
               expressions to modify the memory configuration.  The
               expression would have a form of:

                     [+-]<size>@<address>

               Meaning to add(+) or exempt(-) the specified by the
               <size> amount of memory at the location specified by the
               <address> argument.  Both size and base address could be
               specified as octal, decimal, or hexadecimal numbers, as
               accepted by the strtoul(3) routine.  Memo- ry segments
               are not required to be adjacent to each other, the only
               requirement is that there is real physical memory under
               the range added.  For example:

                     machine mem +0x2000000 at 0x1000000

               would add 32M of memory right after the first 16M.  The
               other useful command would be to withdraw a range of
               memory from OS usage (might be wrongfully reported as
               useful by the BIOS).

                     machine mem -0x100000 at 0xf00000

               which effectively excludes 15-16M range from the map of
               useful memory.


Hope this helps

Tom Cosgrove
London, UK



More information about the Soekris-tech mailing list