Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) #4

Open
korewaChino opened this issue Oct 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed linear This issue is bridged to Linear

Comments

@korewaChino
Copy link
Member

korewaChino commented Oct 7, 2024

affects all of our bootc container builds, using bootc install and bootc-image-builder.

upgrading from an existing bootc installed machine also breaks

[    0.980404] /dev/root: Can't open blockdev
[    0.981116] VFS: Cannot open root device "UUID=96991ead-b3b0-48ef-a347-f8c3c0f86bf1" or unknown-block(0,0): error -6
[    0.982578] Please append a correct "root=" boot option; here are the available partitions:
[    0.983625] 0b00         1048575 sr0 
[    0.983627]  driver: sr
[    0.984593] List of all bdev filesystems:
[    0.985169]  ext3
[    0.985171]  ext2
[    0.985575]  ext4
[    0.985963]  btrfs
[    0.986318] 
[    0.987030] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.987874] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.11.2-300.fc41.x86_64 #1
[    0.988690] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS edk2-20240813-1.fc40 08/13/2024
[    0.989607] Call Trace:
[    0.990007]  <TASK>
[    0.990409]  dump_stack_lvl+0x5d/0x80
[    0.990952]  panic+0x155/0x316
[    0.991418]  mount_root_generic+0x1ce/0x270
[    0.991981]  prepare_namespace+0x1ec/0x240
[    0.992520]  kernel_init_freeable+0x2d7/0x310
[    0.993130]  ? __pfx_kernel_init+0x10/0x10
[    0.993737]  kernel_init+0x1a/0x140
[    0.995742]  ret_from_fork+0x34/0x50
[    0.996315]  ? __pfx_kernel_init+0x10/0x10
[    0.997007]  ret_from_fork_asm+0x1a/0x30
[    0.997630]  </TASK>
[    0.998160] Kernel Offset: 0x15000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    0.999467] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
@korewaChino korewaChino added the bug Something isn't working label Oct 7, 2024
@korewaChino
Copy link
Member Author

Seems like the initramfs is not being loaded???

@korewaChino
Copy link
Member Author

 │linux ($root)/boot/ostree/default-934843069bf87177967fce88d639065274aed6f533274ba4f8fc40639e64d\│
 │c98/vmlinuz-6.11.2-300.fc41.x86_64 root=UUID=96991ead-b3b0-48ef-a347-f8c3c0f86bf1 rw boot=UUID=\│
 │eefb14bf-bf8f-43bf-b188-a7ae1797d533 rw console=tty0 console=ttyS0 init=/ostree/boot.1/default/\│
 │934843069bf87177967fce88d639065274aed6f533274ba4f8fc40639e64dc98/0/usr/lib/ostree/ostree-prepar\│
 │e-root ostree=/ostree/boot.1/default/934843069bf87177967fce88d639065274aed6f533274ba4f8fc40639e\│
 │64dc98/0                                                                                        │
 │                                                                                                │

@korewaChino korewaChino added help wanted Extra attention is needed linear This issue is bridged to Linear and removed linear This issue is bridged to Linear labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed linear This issue is bridged to Linear
Projects
None yet
Development

No branches or pull requests

2 participants