Bug 219014
Summary: | Kernel panic - not syncing: VFS: Unable to mount root fs on "UUID=XXX" or unknown-block(0,0) | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Jack D (wm2vdghq) |
Component: | ARM | Assignee: | linux-arm-kernel (linux-arm-kernel) |
Status: | NEW --- | ||
Severity: | normal | CC: | regressions |
Priority: | P3 | ||
Hardware: | ARM | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: | |
Attachments: |
.config works in kernel 6.8.12
.config for kernel 6.9.x - generates kernel panic on boot git bisect log full boot log on panic uboot start script |
Description
Jack D
2024-07-07 20:49:42 UTC
Created attachment 306543 [details]
.config for kernel 6.9.x - generates kernel panic on boot
Created attachment 306544 [details]
git bisect log
Created attachment 306545 [details]
full boot log on panic
Created attachment 306546 [details]
uboot start script
From https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2069534 Does this patch fix it for you? https://git.launchpad.net/~rathore4u/ubuntu/+source/linux/+git/version-seeds/commit/?h=LP2069534-140-char-fix&id=a16c19aee6d6f9b1ceb886ab835055668d662e8e Thanks for checking. Looks like that patch is for linux 6.8.x (the file in the patch doesn't exist in at all 6.9-rc1). linux 6.8.x is working okay for me. The problem I'm experiencing starts in linux 6.9-rc1 and later. Did you recheck if fe46a7dd189e25604716c03576d05ac8a5209743 (the first parent of 6d75c6f40a03c97e1ecd683ae54e249abb9d922b) really is fine). Rechecking if the second parent (1ef21fcd6a50f0) really is fine might be wise, too. Hi. Thank you for the pointers. Here are some new data points: fe46a7dd189e (parent of 6d75c6f40a03) boots with no problem. I have done this several times now. i.e., building from: git branch -b test-fe46a7dd189e fe46a7dd189e boots okay. 1ef21fcd6a50f0 (the last commit id in 6d75c6f40a03) also boots with no problem. i.e., building from: git branch -b test-1ef21fcd6a50 1ef21fcd6a50 is also good. 6d75c6f40a03 does not boot. I have done this several times now. i.e., git branch -b test-6d75c6f40a03 6d75c6f40a03 We've exceeded the limits of my git knowledge, but I guess this means that the arm64 tree itself at commit 6d75c6f40a03 was good, but it was out-of-sync with linux-6.9.y and broke something (for me) when it merged. In fact it looks like commit id 6d75c6f40a03 was at approx. linux-6.8-rc3. So that commit was good for linux-6.8-rc3, but not so good for linux-6.9.y (for me, at least). I guess my next option is to methodically apply the individual commits from 6d75c6f40a03 on top of fe46a7dd189e in order until it breaks? Or I'd be grateful for any other suggestions for tackling this. Thanks again. (In reply to Jack D from comment #8) > Or I'd be grateful for any other suggestions for tackling this. Yeah, sounds like two changes that work fine independently break when in the same tree. A more advanced bisection could help: https://lore.kernel.org/all/20240306100153.32d305f7@meshulam.tesarici.cz/ Also note that decd347c2a75d3 ("x86/efistub: Reinstate soft limit for initrd loading") [v6.9-rc2] fixes and error that leads to a problem that causes you boot failure. IOW: it's messy, so lets better bring in some developers. Can I CC you on a public mail (this would expose your email address to the world)? Hi. Thanks for looking into this. It is no problem with the email address as I always use disposables. I'm going to take some time this weekend and see if I can narrow it down better (not sure how successful I'll be). So early next week I might be able to give a better starting point for someone if they were to look into it. I don't see anyone else complaining about this so I'm starting to wonder if there is just something weird in my setup. Jack. Hi.
I saw a reply from Will Deacon on the mailing list:
> My guess (based on times I've seen this sort of thing in the past) is
> that the kernel binary grew in size and the broken bootloader is loading
> the kernel over the initramfs instead of parsing the 'image_size' field
> in the boot header.
I'm not sure of the protocol - if I'm supposed to reply directly on the mailing list here, but I'll reply here.
Yes, the 6.9x and now 6.10 kernels generate bigger vmlinuz than the working 6.8x kernels, so that seems like a real possibility.
I'll follow-up on that (need to read-up on uboot). Until now I have been using the predefined uboot addr variables that came with the board.
I will try to follow-up in the next couple of days on this.
Thanks again to everyone for the help and pointers.
(In reply to Jack D from comment #11) > if I'm supposed to reply directly on the mailing list Yes, please reply there; feel free to ignore this ticket, unless you need a place to attach files or something. But there is no strong need to repost that update on the list; just do so when you investigated uboot. |