Skip to content

Commit

Permalink
Increase kern.kstack_pages for 32bit FreeBSD (#662)
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <[email protected]>
  • Loading branch information
keirazhang authored Dec 31, 2024
1 parent fbeb868 commit 8680ef0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ sed -i '' 's/kern.geom.label.gptid.enable="0"/kern.geom.label.gptid.enable="1"/'
echo 'kern.geom.label.gpt.enable="1"' >>/boot/loader.conf
echo 'kern.geom.label.ufs.enable="1"' >>/boot/loader.conf
echo 'kern.geom.label.ufsid.enable="1"' >>/boot/loader.conf
if [ "$machtype" != "amd64" ] && [ "$machtype" != "x86_64" ]; then
# Workaround for FreeBSD issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283276
echo 'kern.kstack_pages=8' >>/boot/loader.conf
fi

# Reducing boot menu delay
echo "Reducing boot menu delay ..." > /dev/ttyu0
Expand Down

0 comments on commit 8680ef0

Please sign in to comment.