@Shantur I confirm your results trying to boot that kernel image in QEMU and unfortunately there does not appear to be a debug symbols package generated so I cannot debug it.
I should do more thorough checks first! I had accidentally fetched the amd64 kernel image!! *red faced*
So, this build DOES boot successfully with long parameters with QEMU:
$ qemu-system-aarch64 -machine virt,gic-version=3 -cpu max,pauth-impdef=on -smp 2 -m 4096 -nographic -kernel ./vmlinuz-6.8.0-39
-generic -append "debug $( for l in {144..157}; do echo -n param$l=$(pwgen $((l-9)) 1)' '; done )" -initrd rootfs/boot/initrd.img-6.8.12-arm64-debug
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x000f0510]
[ 0.000000] Linux version 6.8.0-39-generic (buildd@bos03-arm64-061) (aarch64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils
for Ubuntu) 2.42) #39+TEST2069534v20240727b1-Ubuntu SMP PREEMPT_DYNAMIC Sat Jul 27 (Ubuntu 6.8.0-39.39+TEST2069534v20240727b1-generic 6.8.8)
[ 0.000000] KASLR enabled
[ 0.000000] random: crng init done
[ 0.000000] Machine model: linux,dummy-virt
...
[ 0.000000] Kernel command line: debug param144=voorainu7ohRiewieTh4mahk6thoh5tahheex0aewei5ohCahHa8eefae1Iuw1tei3aethu1aen6Aewoi6omoox0iexiebafieShaidohraozaigi4ohng1iLai4eeniz4Eh0ah param145=eesh4eequaequ2coovie2goa0fohZah3ahToop0Aihail7feeVohgaepi9EiGae7oongoo6queihoh3ukeinahh4io5peikae5iidohqueGh6Er0CaeP6kaWaezothahK2uX1af7 param146=ui2phaej7cho6Daip3ahhoze9noQuie1uzaiquaer9aPhae1TiShaekae7Cooj6an3be4aiQuae2euz7aehueQuoo1eThi9jahc1Ahsuraequ0Al4L
ietheeleso5ji6reich2hai param147=OoRohkei8eex5thair8KeeCh5kea1miepheigh2phahsiqueethoo0eequahs6Fiecoo6HeuQuohte7ooxipoo0seethai9quo7ogoo1caibeiphoh0ahth
8heiPo8nucohg5shewo param148=sheim7muoCaingiegeepeimuokooghab4oXouX3ge8leeN3Roog9eeMah8ahb5iuxaifaig5ahPoh1pa9Aebeech2go5JooN8xawah5ohLi7thee8lei5aiX6oh
kae4giexohcagee2 param149=ojae4cho8eec2kithu6aelai0ieshai6iepeiY7aiTh8Oophub5ahdouWaiguuY6deidecooShaiziew2fiegeCuukooz3AiCiVaid4shaaceixochejoozaiSaiYa
ipeiJ9eelechuj param150=Eipee9ohb7ifohcato7paisho9een3tiev7eexah2iephaey0zah0zahjeeV6Ca7theiPeapae5eengaeshoothaibooS7aesoo9
...
[ 3.083720] Run /init as init process
[ 3.084590] with arguments:
[ 3.085474] /init
[ 3.085815] with environment:
[ 3.086312] HOME=/
[ 3.086631] TERM=linux
[ 3.086959] param144=voorainu7ohRiewieTh4mahk6thoh5tahheex0aewei5ohCahHa8eefae1Iuw1tei3aethu1aen6Aewoi6omoox0iexiebafieShaidohraozaigi4ohng1iLai4
eeniz4Eh0ah
[ 3.088406] param145=eesh4eequaequ2coovie2goa0fohZah3ahToop0Aihail7feeVohgaepi9EiGae7oongoo6queihoh3ukeinahh4io5peikae5iidohqueGh6Er0CaeP6kaWaezo
thahK2uX1af7
[ 3.089842] param146=ui2phaej7cho6Daip3ahhoze9noQuie1uzaiquaer9aPhae1TiShaekae7Cooj6an3be4aiQuae2euz7aehueQuoo1eThi9jahc1Ahsuraequ0Al4Lietheeleso
5ji6reich2hai
[ 3.091349] param147=OoRohkei8eex5thair8KeeCh5kea1miepheigh2phahsiqueethoo0eequahs6Fiecoo6HeuQuohte7ooxipoo0seethai9quo7ogoo1caibeiphoh0ahth8heiP
o8nucohg5shewo
[ 3.092792] param148=sheim7muoCaingiegeepeimuokooghab4oXouX3ge8leeN3Roog9eeMah8ahb5iuxaifaig5ahPoh1pa9Aebeech2go5JooN8xawah5ohLi7thee8lei5aiX6ohk
ae4giexohcagee2
[ 3.094310] param149=ojae4cho8eec2kithu6aelai0ieshai6iepeiY7aiTh8Oophub5ahdouWaiguuY6deidecooShaiziew2fiegeCuukooz3AiCiVaid4shaaceixochejoozaiSai
YaipeiJ9eelechuj
[ 3.095763] param150=Eipee9ohb7ifohcato7paisho9een3tiev7eexah2iephaey0zah0zahjeeV6Ca7theiPeapae5eengaeshoothaibooS7aesoo9keeyolaeWuaGhuGai5paxia2
OPhiilohnohk4ceed
[ 3.097292] param151=eich9ooDeiMeengahsah4thahbohngaoK1eX2Eh2gaiGu9jiquohKoC8toh0vat0noQueep6Eiw8aiyaCaeTh1OosahghiQua8siefaegi6SaidohphieS2ohgh1
ia3aeFeo1ahgeiface
[ 3.098808] param152=Xoxohr4riebo6coo7aicheetaeceez0chei7ohyaeJusah9uN1yu4thahzi4xoh6OhW2Meish6aeDeicoh7EeCh4eXahd0iekaiQuee0niesei6eiy7aoG0sooyo
2itaP2af5ahk6joh4to
[ 3.100321] param153=ha7naihiXiew4Meegah3coo5eeb0foo1AezeeXoo6shu8eimaiVaekeeTh6thirookeeN4woozapaitah8aeHai8aefoh9ae0Augoo1ahQu4ohchee0neix5vo9a
esoo7ohN7ei1Eivahwev
[ 3.101823] param154=yu9Iu4eiGe6gaishiateeng4Aiwaer9Chai8fai9miesieb3co1De6koow2iebahV6AhguGiechooseb8Mu0peish9ahaweiS1beig1oochiefi3Uu6chongae2p
hoch6pee5daa3quee3eiz
[ 3.103344] param155=athu5ohzei5aivaexai1ahKoquaijusinoolohx5shuomuovaewahmaWoh6quoh2aifeethoph5ohyiiy9coo2ge4meiNgieChoo5eixiech3aeziel6giejeizu
agh9ieveibiHijaid4oo3e
[ 3.104858] param156=yeech7uv7eedie6Wie0zooDiey7ahkoJ0wai8su1yooPhahHohuwi5rahsheequoomiom5atiegh9ahPhiem3mol0soothaotheifah1ohfi8theek2ajohx6Aeg
h0eera2seishiesieb2cae8
[ 3.106394] param157=shoo9hei9ohLix2ed6HeeVohx3ieZahm7Oa7choo3rieshae4beiyei3AiGhi9ue5oyoo
...
BusyBox v1.35.0 (Debian 1:1.35.0-4+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
@Shantur I confirm your results trying to boot that kernel image in QEMU and unfortunately there does not appear to be a debug symbols package generated so I cannot debug it.
I should do more thorough checks first! I had accidentally fetched the amd64 kernel image!! *red faced*
So, this build DOES boot successfully with long parameters with QEMU:
$ qemu-system-aarch64 -machine virt,gic-version=3 -cpu max,pauth-impdef=on -smp 2 -m 4096 -nographic -kernel ./vmlinuz-6.8.0-39 boot/initrd. img-6.8. 12-arm64- debug bos03-arm64- 061) (aarch64- linux-gnu- gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils v20240727b1- Ubuntu SMP PREEMPT_DYNAMIC Sat Jul 27 (Ubuntu 6.8.0-39. 39+TEST2069534v 20240727b1- generic 6.8.8) voorainu7ohRiew ieTh4mahk6thoh5 tahheex0aewei5o hCahHa8eefae1Iu w1tei3aethu1aen 6Aewoi6omoox0ie xiebafieShaidoh raozaigi4ohng1i Lai4eeniz4Eh0ah param145= eesh4eequaequ2c oovie2goa0fohZa h3ahToop0Aihail 7feeVohgaepi9Ei Gae7oongoo6quei hoh3ukeinahh4io 5peikae5iidohqu eGh6Er0CaeP6kaW aezothahK2uX1af 7 param146= ui2phaej7cho6Da ip3ahhoze9noQui e1uzaiquaer9aPh ae1TiShaekae7Co oj6an3be4aiQuae 2euz7aehueQuoo1 eThi9jahc1Ahsur aequ0Al4L eich2hai param147= OoRohkei8eex5th air8KeeCh5kea1m iepheigh2phahsi queethoo0eequah s6Fiecoo6HeuQuo hte7ooxipoo0see thai9quo7ogoo1c aibeiphoh0ahth sheim7muoCaingi egeepeimuokoogh ab4oXouX3ge8lee N3Roog9eeMah8ah b5iuxaifaig5ahP oh1pa9Aebeech2g o5JooN8xawah5oh Li7thee8lei5aiX 6oh ojae4cho8eec2ki thu6aelai0iesha i6iepeiY7aiTh8O ophub5ahdouWaig uuY6deidecooSha iziew2fiegeCuuk ooz3AiCiVaid4sh aaceixochejooza iSaiYa Eipee9ohb7ifohc ato7paisho9een3 tiev7eexah2ieph aey0zah0zahjeeV 6Ca7theiPeapae5 eengaeshoothaib ooS7aesoo9 voorainu7ohRiew ieTh4mahk6thoh5 tahheex0aewei5o hCahHa8eefae1Iu w1tei3aethu1aen 6Aewoi6omoox0ie xiebafieShaidoh raozaigi4ohng1i Lai4 eesh4eequaequ2c oovie2goa0fohZa h3ahToop0Aihail 7feeVohgaepi9Ei Gae7oongoo6quei hoh3ukeinahh4io 5peikae5iidohqu eGh6Er0CaeP6kaW aezo ui2phaej7cho6Da ip3ahhoze9noQui e1uzaiquaer9aPh ae1TiShaekae7Co oj6an3be4aiQuae 2euz7aehueQuoo1 eThi9jahc1Ahsur aequ0Al4Liethee leso OoRohkei8eex5th air8KeeCh5kea1m iepheigh2phahsi queethoo0eequah s6Fiecoo6HeuQuo hte7ooxipoo0see thai9quo7ogoo1c aibeiphoh0ahth8 heiP sheim7muoCaingi egeepeimuokoogh ab4oXouX3ge8lee N3Roog9eeMah8ah b5iuxaifaig5ahP oh1pa9Aebeech2g o5JooN8xawah5oh Li7thee8lei5aiX 6ohk ojae4cho8eec2ki thu6aelai0iesha i6iepeiY7aiTh8O ophub5ahdouWaig uuY6deidecooSha iziew2fiegeCuuk ooz3AiCiVaid4sh aaceixochejooza iSai Eipee9ohb7ifohc ato7paisho9een3 tiev7eexah2ieph aey0zah0zahjeeV 6Ca7theiPeapae5 eengaeshoothaib ooS7aesoo9keeyo laeWuaGhuGai5pa xia2 eich9ooDeiMeeng ahsah4thahbohng aoK1eX2Eh2gaiGu 9jiquohKoC8toh0 vat0noQueep6Eiw 8aiyaCaeTh1Oosa hghiQua8siefaeg i6SaidohphieS2o hgh1 Xoxohr4riebo6co o7aicheetaeceez 0chei7ohyaeJusa h9uN1yu4thahzi4 xoh6OhW2Meish6a eDeicoh7EeCh4eX ahd0iekaiQuee0n iesei6eiy7aoG0s ooyo ha7naihiXiew4Me egah3coo5eeb0fo o1AezeeXoo6shu8 eimaiVaekeeTh6t hirookeeN4wooza paitah8aeHai8ae foh9ae0Augoo1ah Qu4ohchee0neix5 vo9a ahwev yu9Iu4eiGe6gais hiateeng4Aiwaer 9Chai8fai9miesi eb3co1De6koow2i ebahV6AhguGiech ooseb8Mu0peish9 ahaweiS1beig1oo chiefi3Uu6chong ae2p ee3eiz athu5ohzei5aiva exai1ahKoquaiju sinoolohx5shuom uovaewahmaWoh6q uoh2aifeethoph5 ohyiiy9coo2ge4m eiNgieChoo5eixi ech3aeziel6giej eizu id4oo3e yeech7uv7eedie6 Wie0zooDiey7ahk oJ0wai8su1yooPh ahHohuwi5rahshe equoomiom5atieg h9ahPhiem3mol0s oothaotheifah1o hfi8theek2ajohx 6Aeg ieb2cae8 shoo9hei9ohLix2 ed6HeeVohx3ieZa hm7Oa7choo3ries hae4beiyei3AiGh i9ue5oyoo
-generic -append "debug $( for l in {144..157}; do echo -n param$l=$(pwgen $((l-9)) 1)' '; done )" -initrd rootfs/
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x000f0510]
[ 0.000000] Linux version 6.8.0-39-generic (buildd@
for Ubuntu) 2.42) #39+TEST2069534
[ 0.000000] KASLR enabled
[ 0.000000] random: crng init done
[ 0.000000] Machine model: linux,dummy-virt
...
[ 0.000000] Kernel command line: debug param144=
ietheeleso5ji6r
8heiPo8nucohg5shewo param148=
kae4giexohcagee2 param149=
ipeiJ9eelechuj param150=
...
[ 3.083720] Run /init as init process
[ 3.084590] with arguments:
[ 3.085474] /init
[ 3.085815] with environment:
[ 3.086312] HOME=/
[ 3.086631] TERM=linux
[ 3.086959] param144=
eeniz4Eh0ah
[ 3.088406] param145=
thahK2uX1af7
[ 3.089842] param146=
5ji6reich2hai
[ 3.091349] param147=
o8nucohg5shewo
[ 3.092792] param148=
ae4giexohcagee2
[ 3.094310] param149=
YaipeiJ9eelechuj
[ 3.095763] param150=
OPhiilohnohk4ceed
[ 3.097292] param151=
ia3aeFeo1ahgeiface
[ 3.098808] param152=
2itaP2af5ahk6joh4to
[ 3.100321] param153=
esoo7ohN7ei1Eiv
[ 3.101823] param154=
hoch6pee5daa3qu
[ 3.103344] param155=
agh9ieveibiHija
[ 3.104858] param156=
h0eera2seishies
[ 3.106394] param157=
...
BusyBox v1.35.0 (Debian 1:1.35.0-4+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) uname -a v20240727b1- Ubuntu SMP PREEMPT_DYNAMIC Sat Jul 27 aarch64 GNU/Linux voorainu7ohRiew ieTh4mahk6thoh5 tahheex0aewei5o hCahHa8eefae1Iu w1tei3aethu1aen 6Aewoi6omoox0ie xiebafieShaidoh raozaigi4ohng1i Lai4eeniz4Eh0ah p eesh4eequaequ2c oovie2goa0fohZa h3ahToop0Aihail 7feeVohgaepi9Ei Gae7oongoo6quei hoh3ukeinahh4io 5peikae5iidohqu eGh6Er0CaeP6kaW aezothahK2uX1af 7 param14 Daip3ahhoze9noQ uie1uzaiquaer9a Phae1TiShaekae7 Cooj6an3be4aiQu ae2euz7aehueQuo o1eThi9jahc1Ahs uraequ0Al4Lieth eeleso5ji6reich 2hai param147=OoR 8KeeCh5kea1miep heigh2phahsique ethoo0eequahs6F iecoo6HeuQuohte 7ooxipoo0seetha i9quo7ogoo1caib eiphoh0ahth8hei Po8nucohg5shewo param148=sheim7m muokooghab4oXou X3ge8leeN3Roog9 eeMah8ahb5iuxai faig5ahPoh1pa9A ebeech2go5JooN8 xawah5ohLi7thee 8lei5aiX6ohkae4 giexohcagee2 param149=ojae4cho8e ieshai6iepeiY7a iTh8Oophub5ahdo uWaiguuY6deidec ooShaiziew2fieg eCuukooz3AiCiVa id4shaaceixoche joozaiSaiYaipei J9eelechuj param150= Eipee9ohb7if en3tiev7eexah2i ephaey0zah0zahj eeV6Ca7theiPeap ae5eengaeshooth aibooS7aesoo9ke eyolaeWuaGhuGai 5paxia2OPhiiloh nohk4ceed param151= eich9ooDeiMee ngaoK1eX2Eh2gai Gu9jiquohKoC8to h0vat0noQueep6E iw8aiyaCaeTh1Oo sahghiQua8siefa egi6SaidohphieS 2ohgh1ia3aeFeo1 ahgeiface param152= Xoxohr4riebo6 ez0chei7ohyaeJu sah9uN1yu4thahz i4xoh6OhW2Meish 6aeDeicoh7EeCh4 eXahd0iekaiQuee 0niesei6eiy7aoG 0sooyo2itaP2af5 ahk6joh4to param153= ha7naihiXiew 0foo1AezeeXoo6s hu8eimaiVaekeeT h6thirookeeN4wo ozapaitah8aeHai 8aefoh9ae0Augoo 1ahQu4ohchee0ne ix5vo9aesoo7ohN 7ei1Eivahwev param154=yu9Iu4eiGe iwaer9Chai8fai9 miesieb3co1De6k oow2iebahV6Ahgu Giechooseb8Mu0p eish9ahaweiS1be ig1oochiefi3Uu6 chongae2phoch6p ee5daa3quee3eiz param155=athu5oh Koquaijusinoolo hx5shuomuovaewa hmaWoh6quoh2aif eethoph5ohyiiy9 coo2ge4meiNgieC hoo5eixiech3aez iel6giejeizuagh 9ieveibiHijaid4 oo3e param156=yee 0zooDiey7ahkoJ0 wai8su1yooPhahH ohuwi5rahsheequ oomiom5atiegh9a hPhiem3mol0soot haotheifah1ohfi 8theek2ajohx6Ae gh0eera2seishie sieb2cae8 param15 x2ed6HeeVohx3ie Zahm7Oa7choo3ri eshae4beiyei3Ai Ghi9ue5oyoo
Linux (none) 6.8.0-39-generic #39+TEST2069534
(initramfs) cat /proc/cmdline | wc -c
2048
(initramfs) cat /proc/cmdline
debug param144=
aram145=
6=ui2phaej7cho6
ohkei8eex5thair
uoCaingiegeepei
ec2kithu6aelai0
ohcato7paisho9e
ngahsah4thahboh
coo7aicheetaece
4Meegah3coo5eeb
6gaishiateeng4A
zei5aivaexai1ah
ch7uv7eedie6Wie
7=shoo9hei9ohLi