Skip to contentSkip to conversation

Machine qemuarm linux-yocto-tiny_5.15 Missing ext4 in Kernel

DISCUSSION [email protected] 3 participants 4 messages Feb 23, 2024 – Feb 26, 2024

lore
Share & tools
lore
#0 lore raw

Having trouble with qemuarm for a tiny distro.

My system works fine with my target device (albeit different custom kernel) as well as qemux86 which uses this kernel. It seems that for some reason it's producing an ext4 rootfs but not compiling the kernel for ext4 support? Anyone else noticed this or am I missing some configuration?

Quoted 14 lines

[    0.834745] List of all partitions:
[    0.835431] 0100            6144 ram0
[    0.835496]  (driver?)
[    0.836106] fe00           20098 vda
[    0.836143]  driver: virtio_blk
[    0.836556] No filesystem could mount root, tried:
[    0.836581]  vfat
[    0.836795]
[    0.837053] VFS: Unable to mount root fs on unknown-block(254,0) [    0.837835] User configuration error - no valid root filesystem found [    0.838551] Kernel panic - not syncing: Invalid configuration from end user prevents continuing

#1 lore raw

Getting past that it seems like a other options are missing. I'm going to do some more testing and see what I come up with

#2 lore raw

The -tiny kernel configuration is just that ... tiny. Most everything is off by default.

Unless there's a distro feature to coordinate features, it won't be turned on unless you bbappend a fragment to enable what you need.

Bruce

Quoted 10 lines · On Fri, Feb 23, 2024 at 7:49 PM <[email protected]> wrote:

Getting past that it seems like a other options are missing. I'm going to do some more testing and see what I come up with
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62592): https://lists.yoctoproject.org/g/yocto/message/62592
Mute This Topic: https://lists.yoctoproject.org/mt/104539191/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

#3 lore raw
In reply to [email protected]
Quoted 4 lines · acox via lists.yoctoproject.org

Having trouble with qemuarm for a tiny distro.

My system works fine with my target device (albeit different custom kernel) as well as qemux86 which uses this kernel. It seems that for some reason it's producing an ext4 rootfs but not compiling the kernel for ext4 support? Anyone else noticed this or am I missing some configuration?

linux-yocto-tiny is meant to be used in conjunction with something like poky-tiny (which just uses an initramfs, so doesn’t need an ext4 driver) and is an example of a custom tiny configuration. You can’t really mix-and-match the pieces: if you want a tiny kernel, then make a tiny configuration that fits your needs.

Ross