Prev: [PATCH 1/2] mm: fix bugs of mpol_rebind_nodemask()
Next: mm,migration: Allow the migration of PageSwapCache pages
From: Rishi Dhupar on 22 Apr 2010 10:20 I am trying to use initramfs to run an embedded linux device. I am getting a kern warning printed during bootup that the kernel is unable to open an initial console. My rootfs does not contain a /dev/console node; I was expecting to be able to create the /dev/console node in my init script before the kernel tries to access the /dev tree. Why does the kernel expect /dev/console to exist prior to running the ramdisk init process? I thought one of the benefits of initramfs was it could run earlier in the init process, thus allowing me to create devs and build the proc, sys directories at run-time. I know I could do a mknod console on my host machine before building the rootfs but I want my device to be able to get itself up and running with a minimal file system. For reference: init/main.c:init_post() it checks if /dev/console exists (and prints warning) prior to calling run_init_process(ramdisk_execute_command) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |