[Buildroot] [PATCH v3 0/5] udev is now provided by systemd or eudev

Eric Le Bihan eric.le.bihan.dev at free.fr
Fri Nov 15 19:54:34 UTC 2013


Hi!

Le 14/11/2013 00:53, Thomas Petazzoni a écrit :

> However, while your demo defconfig work fine, I was not able to get
> a working configuration started from scratch. I.e, I have the following
> Buildroot configuration:
> 
> BR2_arm=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_INIT_SYSTEMD=y
> BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
> 
> and I boot it with the same kernel image that I used to boot the eudev
> example (under the ARM Versatile Qemu emulation). The kernel has
> cgroup support. But the boot hangs at:
> 
> Freeing unused kernel memory: 120K (c0399000 - c03b7000)
> systemd[1]: Failed to mount /dev/shm: Invalid argument

This problem occurs because tmpfs support is not enabled in your kernel
configuration. Setting CONFIG_TMPFS and CONFIG_TMPFS_POSIX_ACL will
solve this issue. I will add these kernel requirements in the help menu
of Systemd.

> Also, I've noted that kconfig complains about a dependency problem
> after applying your patch set:
> 
> warning: (BR2_PACKAGE_SYSTEMD && BR2_PACKAGE_MODULE_INIT_TOOLS) selects
> BR2_PACKAGE_KMOD_TOOLS which has unmet direct dependencies
> (BR2_PACKAGE_KMOD && BR2_PACKAGE_BUSYBOX_SHOW_OTHERS)

Thanks for noticing! As module-init-tools has been deprecated in favor
of kmod, the tools lsmod, modprobe and friends are now symlinks to kmod.
Systemd directly invokes kmod, so it can not be used with the ones
provided by Busybox.
I will had a 'select BR2_PACKAGE_BUSYBOX_SHOW_OTHER' in the Config.in of
Systemd.

Best regards,
ELB




More information about the buildroot mailing list