Hello misc@,
after many hours of debugging (well kind of) I'm desperate about this
problem:
Josh Grosse told be about a bug he encountered while building big
(e.g. >1GB) LiveCDs containing many files.
I tried to hunt down the limitation one hits, but I could not find a
definite answer. Here my observations:
# Command used for all tests,
# btw. mkhybrid doesn't work at all with many files
/usr/local/bin/mkisofs \
-no-iso-translate \
-R \
-T \
-allow-leading-dots \
-l \
-d \
-D \
-N \
-v \
-V "LiveCD OpenBSD${vers}" \
-A "LiveCD OpenBSD${vers}" \
-p "Andreas Bihlmaier <[EMAIL PROTECTED]>" \
-publisher "Andreas Bihlmaier <[EMAIL PROTECTED]>" \
-b cdbr \
-no-emul-boot \
-c boot.catalog \
-o /home/ahb/livecd.iso \
/usr/livecd/
# Test 1:
# Size of livecd/
Tested with up to 4GB and only a few files
-> works
# Test 2:
# Number of files inside livecd/
Tested with ~50MB, but 200k (200.000) files
-> works
# Test 3:
# Real image
$ find livecd -type f | wc -l
231886 # it breaks < 200k already
$ du -s livecd
3.8G
-> breaks
boot>
heap full (0xhex+hex)
<reboot>
The "heap full" is certainly issued by cdboot
$ grep -a "heap full" cdboot
heap full (0x%lx+%u)
# I'm certain because I changed the string "heap full" and the changed
# string was displayed.
# I tried to fix it
$ grep -i heap /usr/src/sys/arch/i386/stand/Makefile.inc
HEAP_LIMIT=0x90000
Raising it and recompiling cdboot results in different crash.
(I can provide output, but I don't have it at hand ATM)
If anybody knows how to fix this or could at least explain the problem
I'd be very happy :)
A LiveCD is nice, but Josh Grosse (and I) would like to put KDE onto an
OpenBSD LiveCD, but this goes over the limit.
Regards,
ahb
p.s.: Should I send a bug report to [EMAIL PROTECTED]