Hang loading initrd since last Friday.
Hello,
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd. Nothing useful is seen on serial console after that. This was working late last week. Other older kernels boot OK, so I think is is related to the kernel.
I have not yet started bisect, curious if this is already know problem.
Thanks,
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
Quoted 5 lines · Ben Greear
Hello,
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd. Nothing useful is seen on serial console after that. This was working late last week. Other older kernels boot OK, so I think is is related to the kernel.
What is your setup (especially kernel config)?
Is v6.3 works for you? I haven't seen this regression on my computer using v6.3.
Quoted 2 lines
I have not yet started bisect, curious if this is already know problem.
Certainly you should try bisection.
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Quoted 3 lines · Bagas Sanjaya
Quoted 2 lines · Ben Greear
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
Quoted 8 lines
Quoted 3 lines
Nothing useful is seen on
serial console after that. This was working late last week. Other older kernels boot OK, so I think is is related to the kernel.What is your setup (especially kernel config)?
Is v6.3 works for you? I haven't seen this regression on my computer using v6.3.
Ben, you just to be sure might want to check if a kernel image that currently works still boots if you regenerate its initramfs: maybe the initramfs generator or something it uses changed recently and is causing your problem. I've seen a case or two where that was the case.
Quoted 2 lines
Quoted 1 line
I have not yet started bisect, curious if this is already know problem.
Certainly you should try bisection.
Yeah.
BTW: What kind of platform is this?
Ciao, Thorsten
Quoted 7 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 3 lines · Bagas Sanjaya
Quoted 2 lines · Ben Greear
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
I am bisecting...it appears to be .config related. If I skip enabling things during bisect, then I do not see the problem. But I copied my original buggy .config into an otherwise good kernel commit, and now it fails. I'm manually bisecting the .config settings....
Thanks,
Ben
Quoted 24 lines
Quoted 9 lines
Quoted 4 lines
Nothing useful is seen on
serial console after that. This was working late last week. Other older kernels boot OK, so I think is is related to the kernel.What is your setup (especially kernel config)?
Is v6.3 works for you? I haven't seen this regression on my computer using v6.3.
Ben, you just to be sure might want to check if a kernel image that currently works still boots if you regenerate its initramfs: maybe the initramfs generator or something it uses changed recently and is causing your problem. I've seen a case or two where that was the case.
Quoted 2 lines
Quoted 1 line
I have not yet started bisect, curious if this is already know problem.
Certainly you should try bisection.
Yeah.
BTW: What kind of platform is this?
Ciao, Thorsten
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
Quoted 9 lines · Ben Greear
Quoted 7 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 3 lines · Bagas Sanjaya
Quoted 2 lines · Ben Greear
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
Quoted 8 lines
I am bisecting...it appears to be .config related. If I skip enabling things during bisect, then I do not see the problem. But I copied my original buggy .config into an otherwise good kernel commit, and now it fails. I'm manually bisecting the .config settings....
Thanks,
Ben
Hello Ben,
(CCing Jens here)
I was facing same issue too. Surprising I did not hit the same on the guest VM.
After bisecting, found that Reverting
[9f4107b07b17b5ee68af680150f91227bea2df6f] block: store bdev->bd_disk->fops->submit_bio state in bdev
Helped me to boot back the system. Can you please confirm
Thanks
- Raghu
Quoted 25 lines
Quoted 24 lines
Quoted 9 lines
Quoted 4 lines
Nothing useful is seen on
serial console after that. This was working late last week. Other older kernels boot OK, so I think is is related to the kernel.What is your setup (especially kernel config)?
Is v6.3 works for you? I haven't seen this regression on my computer using v6.3.
Ben, you just to be sure might want to check if a kernel image that currently works still boots if you regenerate its initramfs: maybe the initramfs generator or something it uses changed recently and is causing your problem. I've seen a case or two where that was the case.
Quoted 2 lines
Quoted 1 line
I have not yet started bisect, curious if this is already know problem.
Certainly you should try bisection.
Yeah.
BTW: What kind of platform is this?
Ciao, Thorsten
Quoted 23 lines · Raghavendra K T
Quoted 9 lines · Ben Greear
Quoted 7 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 3 lines · Bagas Sanjaya
Quoted 2 lines · Ben Greear
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
Quoted 8 lines
I am bisecting...it appears to be .config related. If I skip enabling things during bisect, then I do not see the problem. But I copied my original buggy .config into an otherwise good kernel commit, and now it fails. I'm manually bisecting the .config settings....
Thanks,
BenHello Ben,
(CCing Jens here)
Quoted 7 lines
I was facing same issue too. Surprising I did not hit the same on the guest VM.
After bisecting, found that Reverting
[9f4107b07b17b5ee68af680150f91227bea2df6f] block: storebdev->bd_disk->fops->submit_biostate in bdevHelped me to boot back the system. Can you please confirm
Can you try and pull:
git://git.kernel.dk/linux for-6.4/block
into current -git and see if that works for you? There's a fix for that commit in there.
Signature · 1 line
Jens Axboe
Quoted 30 lines · Jens Axboe
Quoted 29 lines · Raghavendra K T
Quoted 9 lines · Ben Greear
Quoted 7 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 3 lines · Bagas Sanjaya
Quoted 2 lines · Ben Greear
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
Quoted 8 lines
I am bisecting...it appears to be .config related. If I skip enabling things during bisect, then I do not see the problem. But I copied my original buggy .config into an otherwise good kernel commit, and now it fails. I'm manually bisecting the .config settings....
Thanks,
BenHello Ben,
(CCing Jens here)
I was facing same issue too. Surprising I did not hit the same on the guest VM.
After bisecting, found that Reverting
[9f4107b07b17b5ee68af680150f91227bea2df6f] block: storebdev->bd_disk->fops->submit_biostate in bdev
Quoted 9 lines
Quoted 1 line
Helped me to boot back the system. Can you please confirm
Can you try and pull:
git://git.kernel.dk/linuxfor-6.4/blockinto current -git and see if that works for you? There's a fix for that commit in there.
Jens, pulling for-6.4/block helped in my case.
Thank you :)
Quoted 35 lines · Raghavendra K T
Quoted 34 lines · Jens Axboe
Quoted 23 lines · Raghavendra K T
Quoted 9 lines · Ben Greear
Quoted 7 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 3 lines · Bagas Sanjaya
Quoted 2 lines · Ben Greear
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
Quoted 8 lines
I am bisecting...it appears to be .config related. If I skip enabling things during bisect, then I do not see the problem. But I copied my original buggy .config into an otherwise good kernel commit, and now it fails. I'm manually bisecting the .config settings....
Thanks,
BenHello Ben,
(CCing Jens here)
Quoted 7 lines
I was facing same issue too. Surprising I did not hit the same on the guest VM.
After bisecting, found that Reverting
[9f4107b07b17b5ee68af680150f91227bea2df6f] block: storebdev->bd_disk->fops->submit_biostate in bdevHelped me to boot back the system. Can you please confirm
Can you try and pull:
Quoted 7 lines
Quoted 5 lines
git://git.kernel.dk/linuxfor-6.4/blockinto current -git and see if that works for you? There's a fix for that commit in there.
Jens, pulling for-6.4/block helped in my case.
Great! It will be heading to Linus's tree before -rc1.
Signature · 1 line
Jens Axboe
Quoted 6 lines · Ben Greear
Quoted 5 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 3 lines · Bagas Sanjaya
Quoted 2 lines · Ben Greear
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Quoted 7 lines
Quoted 2 lines
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
I am bisecting...it appears to be .config related. If I skip enabling things during bisect, then I do not see the problem. But I copied my original buggy .config into an otherwise good kernel commit, and now it fails. I'm manually bisecting the .config settings....
I had enabled this option: CONFIG_HYPERV_VTL_MODE
And that makes it not boot. Not sure that is expected or not, but I will simply un-select it and continue on, as I do not actually need that feature.
Thanks,
Ben
From: Ben Greear <[email protected]> Sent: Thursday, May 4, 2023 10:23 AM
Quoted 16 lines · Ben Greear
Quoted 6 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 5 lines · Bagas Sanjaya
Quoted 3 lines · Ben Greear
Quoted 2 lines
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Quoted 7 lines
Quoted 2 lines
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
I am bisecting...it appears to be .config related. If I skip enabling things during bisect, then I do not see the problem. But I copied my original buggy .config into an otherwise good kernel commit, and now it fails. I'm manually bisecting the .config settings....
Quoted 5 lines
I had enabled this option:
CONFIG_HYPERV_VTL_MODEAnd that makes it not boot. Not sure that is expected or not, but
I will simply un-select it and continue on, as I do not actually need that feature.
What you observed is expected when CONFIG_HYPERV_VTL_MODE is selected, which is why it defaults to N. The comment for that option in the Kconfig file says:
Select this option to build a Linux kernel to run at a VTL other than the normal VTL0, which currently is only VTL2. This option initializes the x86 platform for VTL2, and adds the ability to boot secondary CPUs directly into 64-bit context as required for VTLs other than 0. A kernel built with this option must run at VTL2, and will not run as a normal guest.
Note the last sentence.
Michael
Quoted 26 lines · Michael Kelley (LINUX)
From: Ben Greear <[email protected]> Sent: Thursday, May 4, 2023 10:23 AM
Quoted 16 lines · Ben Greear
Quoted 6 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 5 lines · Bagas Sanjaya
Quoted 3 lines · Ben Greear
Quoted 2 lines
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Quoted 7 lines
Quoted 2 lines
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
I am bisecting...it appears to be .config related. If I skip enabling things during bisect, then I do not see the problem. But I copied my original buggy .config into an otherwise good kernel commit, and now it fails. I'm manually bisecting the .config settings....
Quoted 5 lines
I had enabled this option:
CONFIG_HYPERV_VTL_MODEAnd that makes it not boot. Not sure that is expected or not, but
I will simply un-select it and continue on, as I do not actually need that feature.What you observed is expected when
CONFIG_HYPERV_VTL_MODEis selected, which is why it defaults to N. The comment for that option in theKconfigfile says:
Quoted 6 lines
Select this option to build a Linux kernel to run at a VTL other than the normal VTL0, which currently is only VTL2. This option initializes the x86 platform for VTL2, and adds the ability to boot secondary CPUs directly into 64-bit context as required for VTLs other than 0. A kernel built with this option must run at VTL2, and will not run as a normal guest.
I didn't read it close enough, but that is my fault.
Thanks,
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
From: Ben Greear <[email protected]> Sent: Thursday, May 4, 2023 4:46 PM
Quoted 28 lines · Michael Kelley (LINUX)
Quoted 26 lines
From: Ben Greear <[email protected]> Sent: Thursday, May 4, 2023 10:23 AM
Quoted 16 lines · Ben Greear
Quoted 6 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 5 lines · Bagas Sanjaya
Quoted 3 lines · Ben Greear
Quoted 2 lines
Pulling today's upstream 6.3+ tree, my system now hangs loading initrd.
Quoted 7 lines
Quoted 2 lines
Just to understand this properly: you mean after the boot loader said it loaded the initramfs, not when the kernel starts using it?
I am bisecting...it appears to be .config related. If I skip enabling things during bisect, then I do not see the problem. But I copied my original buggy .config into an otherwise good kernel commit, and now it fails. I'm manually bisecting the .config settings....
Quoted 5 lines
I had enabled this option:
CONFIG_HYPERV_VTL_MODEAnd that makes it not boot. Not sure that is expected or not, but
I will simply un-select it and continue on, as I do not actually need that feature.What you observed is expected when
CONFIG_HYPERV_VTL_MODEis selected, which is why it defaults to N. The comment for that option in theKconfigfile says:
Quoted 9 lines
Quoted 6 lines
Select this option to build a Linux kernel to run at a VTL other than the normal VTL0, which currently is only VTL2. This option initializes the x86 platform for VTL2, and adds the ability to boot secondary CPUs directly into 64-bit context as required for VTLs other than 0. A kernel built with this option must run at VTL2, and will not run as a normal guest.
I didn't read it close enough, but that is my fault.
No problem. :-) Just FYI, in the future if you are come across issues
specifically related to running Linux as a guest on Hyper-V, feel free to copy the [email protected] mailing list. That may elicit faster help from someone with Hyper-V expertise and potentially save you some trouble.
Michael