Re: Install DragonFlyBSD on 48 MB RAM

2012-02-24 Thread Venkatesh Srinivas
You might be able to make progress by reducing the amount of memory
reserved during boot for DMA allocations.

You'll also be able to enable swap from the installer CD by logging in
as root and using swapon on the swap partition.

-- vs;


Re: Install DragonFlyBSD on 48 MB RAM

2012-02-24 Thread Matthew Dillon
I think the answer is probably 'no'.  We don't try to make the system
work with such a small amount of memory.  It should be able to boot
with 128MB of ram or more, though to really be decent a more contemporary
machine is necessary.

It might boot on less memory... in fact it will, but I don't think I've
ever tried to boot it with less than 64M and even 64M is probably too
little.

-Matt


Install DragonFlyBSD on 48 MB RAM

2012-02-24 Thread v_2e
  Hello!
  I've been willing to try using DragonFlyBSD for a long time, but
unfortunately, I had no free PC for that purpose till recently. Now I
have an "unemployed" old PC which used to act as a router for pretty
long time. So I decided to give DragonFlyBSD a try finally.
  I downloaded the dfly-i386-3.0.1_REL.iso image, burnt the CD and tried
to install from it, but failed. It looks like 48 MB of RAM I currently
have on this machine is not enough. Strange a bit, since I managed to
install FreeBSD successfully on it.
  I tried to create a separate swap partition under GNU/Linux with a
hope that DragonFlyBSD's installer would 'catch' it and use in addition
to the system memory. But whatever I tried, I always get the same error
message:

swap_pager_getswapspace  failed
Warning: system low on memory+ram
cannot open /etc/rc.subr : No such file or directory

  After this setup process does not get any further.

  So my question is: can I install DragonFlyBSD on my PC with 48 MB
RAM? And if it is possible, then what is the right way to do it?

  Thank you.
Vladimir
- 
 


DragonFly 3.0 is out!

2012-02-24 Thread Justin Sherrill
Chances are good you already noticed, but: DragonFly 3.0 is released!
Check the release notes for details.

http://www.dragonflybsd.org/release30/

Download from a convenient mirror.  We had issues with the inital
x86_64 GUI ISO image (file was over 2G when decompressed) but the ISO
there now will work.

If you are running DragonFly 2.10 or the tagged-but-not-released 2.12,
these steps will bring your src to 3.0:

cd /usr/src
git fetch
git checkout -b DragonFly_RELEASE_3_0 origin/DragonFly_RELEASE_3_0

...  and then go through a normal buildworld/buildkernel as detailed
in /usr/src/UPDATING.


wip/jdk15 does not build in pkgsrc-2011Q4 DFBSD 3.0

2012-02-24 Thread peeter (must)
Hi all

wip/jdk15 (pkgsrc-wip-20120223-snapshot.tar.gz) does not build on
pkgsrc-2011Q4 in DFBSD 3.0.1 x86_64 (used to build on 2.10, don't know
branch though). There seems to be a problem with finding

freetype/config/ftheader.h

which actually exists in

/usr/pkg/include/freetype2

I am not sure how to fix it. Any ideas?

Thanks

Peeter

--


---
gmake[4]: Entering directory `/usr/pkgsrc/wip/jdk15/work/j2se/make/sun/motif21'
rm -f 
/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt/motif21/.classes.list
if [ -s 
/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt/motif21/.classes.list
] ; \
then /usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/bin/javac
-J-XX:ThreadStackSize=1536 -J-Xms64m -J-Xmx256m -classpath
/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/classes
-bootclasspath 
"/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/lib/jce.jar:/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/lib/jsse.jar"
-sourcepath 
"/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/gensrc:../../../src/solaris/classes:../../../src/share/classes"
-target 1.5 -d /usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/classes
-encoding ascii   -source 1.5  \
 ; \
fi
/usr/pkgsrc/wip/jdk15/work/.wrapper/bin/gcc -O2 -fno-strict-aliasing
-fPIC -W -Wall  -Wno-unused -Wno-parentheses -pipe
-fno-omit-frame-pointer -DMLIB_NO_LIBSUNMATH -DMOTIF_VERSION=2
-DXMSTRINGDEFINES=1 -DMOTIF_VERSION=2  -Damd64 -DARCH='"amd64"'
-DRELEASE='"1.5.0_16-p9"'
-DFULL_VERSION='"1.5.0_16-p9-neo_24_feb_2012_16_50"' -D_GNU_SOURCE
-D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE  -D_LP64=1 -I.
-I/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt/motif21/CClassHeaders
-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export -I../../../src/share/javavm/include
-I../../../src/solaris/javavm/include
-I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/sun/awt
-I../../../src/solaris/native/sun/awt   -I/usr/pkg/include
-I/usr/X11R6/include  -I../../../src/share/native/sun/awt/debug
-I../../../src/share/native/sun/awt/../font
-I../../../src/solaris/native/sun/awt/../font
-I../../../src/share/native/sun/awt/image
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/awt/shell
-I../../../src/share/native/sun/awt/alphacomposite
-I../../../src/share/native/sun/awt/medialib
-I../../../src/solaris/native/sun/awt/medialib
-I../../../src/share/native/sun/awt/../java2d
-I../../../src/solaris/native/sun/awt/../java2d
-I../../../src/share/native/sun/awt/../java2d/loops
-I../../../src/share/native/sun/awt/../java2d/pipe
-I../../../src/share/native/sun/awt/../java2d/opengl
-I../../../src/solaris/native/sun/awt/../java2d/opengl
-I../../../src/share/native/sun/awt/../dc/doe
-I../../../src/share/native/sun/awt/../dc/path
-I../../../src/solaris/native/sun/awt/../jdga  -I/usr/X11R6/include
-I/usr/X11R6/include/X11/extensions -DX11DIR=\"/usr/X11R6\"
-DLOCALDIR=\"/usr/local\"  -c -o
/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt/motif21/obj64/awt_TextField.o
 ../../../src/solaris/native/sun/awt/awt_TextField.c
In file included from ../../../src/solaris/native/sun/awt/awt_TextField.c:25:
../../../src/solaris/native/sun/awt/awt_TextField.h:13: warning:
useless storage class specifier in empty declaration
In file included from
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:39,
 from
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/Xm/TextFP.h:47,
 from ../../../src/solaris/native/sun/awt/awt_TextField.c:31:
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/ft2build.h:56:38: error:
freetype/config/ftheader.h: No such file or directory
In file included from
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/Xm/TextFP.h:47,
 from ../../../src/solaris/native/sun/awt/awt_TextField.c:31:
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:40:10:
error: #include expects "FILENAME" or 
In file included from
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/Xm/TextFP.h:47,
 from ../../../src/solaris/native/sun/awt/awt_TextField.c:31:
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:60: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'_XftFTlibrary'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:94: error:
expected specifier-qualifier-list before 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:101:
error: expected specifier-qualifier-list before 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:188:
warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:188:
error: expected ';', ',' or ')' before '*' token
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:293:
warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:293:
error: expected ';', ',' or ')'