sbrk(2) broken

Dag-Erling Smørgrav des at
Fri Jan 4 01:07:31 PST 2008

Jason Fesler <jfesler at> writes:

>> Also, may I humbly inject a user centric view here - it is pretty annoying to
>> be limited to 500 MB of mallocable memory on 32 bit machines when you expect
>> 3 GB to be usable (with 1 GB mapped to the kernel).
> amen.  :-(   Has anyone tried upgrading a system from i386 to amd_64
> with any success?

"Sidegrading" is supposed to work now in HEAD; with a little hacking,
you can build an amd64 world and kernel on the i386 world, install the
kernel, reboot, and install world.  AFAIK, the required hacking involves
copying /libexec/ to /libexec/ before rebooting
so the new kernel will be able to run the old binaries.  It should also
be possible to install an amd64 world *before* rebooting, in which case
you don't need the aforementioned hackery (installworld will do it for
you) but you may have trouble doing anything at all after installworld
since your new world will not run on the old kernel.  The install
process itself doesn't care, since it copies all the i386 binaries and
libraries it needs before installing anything.

Dag-Erling Smørgrav - des at

More information about the freebsd-current mailing list