The kernel still persists that it cannot open console. This will also make all init's messages to not be visible. Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the busybox mailing list Buildroot (busybox) Search everywhere only in this topic Advanced have a peek here
Cheers, Vlad. share|improve this answer answered May 4 '12 at 18:34 dag 917813 +1. Iâd appreciate any ideas/tips how-to track this problem. I created /dev and /proc.
Freeing unused kernel memory: 108k freed Warning: unable to open an initial console. Below are listed my inittab, rcS, udev.conf and S10udev init scripts: ----------------------------------------------------------------- inittab: # /etc/inittab ::sysinit:/bin/mount -t proc proc /proc ::sysinit:/bin/mount -t ramfs ramfs /dev ::sysinit:/bin/mount -t tmpfs tmpfs /tmp ::sysinit:/bin/mknod Click Here to receive this Complete Guide absolutely free. mini_fo: using base directory: / mini_fo: using storage directory: /jffs BusyBox v1.4.2 (2007-08-06 10:11:16 CEST) Built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.|
Please help or send rogaine (r). Also, if you are kind enough to help me understand two more things: - is it necessary to insert a "cosnole" environmental variable to kernel command line? - I have an Apr 16, 2007 - 12:03 PM Fivestar widget 12345Total votes: 0 How do I initialize console and my shell with a fresh uImage? I found the problem.
I also linked /bin/sh to /bin/busybox. theNbomr View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by theNbomr View Blog 11-25-2009, 06:56 AM #3 pmil Member Registered: Jul 2008 I will prepare a new patch like you suggested. -- Regards, Markos _______________________________________________ buildroot mailing list [hidden email] http://lists.busybox.net/mailman/listinfo/buildroot « Return to Buildroot (busybox) | 1 view|%1 views Loading... I make rootfs with empty /dev directory.
Is it possible to see animals from space? Here is what I have in /initramfs: [email protected]> ls bin/ dev/ etc/ init* lib/ proc/ root/ sbin@ sys/ tmp/ My bin/init is linked with bin/busybox and I copied the same init Total pages: 16256 [ 0.000000] Kernel command line: mtdparts=physmap-flash.0:128k(boot),2M(kernel),-(rootfs) root=/dev/mtdblock2 rootfstype=jffs2 rw debug [ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes) [ 0.000000] console [ttySMX0] enabled [ 0.010000] I also mentioned that I am building-in intramfs to the kernel so there is no need for root option on the kernel boot line.
Part of Busybox env --help output: Options: -, -i start with an empty environment Option '-' works fine. Have I missed something? Feb 28, 2007 Posts: 20 View posts Location: Eugene, OR #3 Posted by [email protected]: Tue. This is all just ideas cause I never fiddle with diskless kernel...
This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. http://webinweb.net/warning-unable/warning-unable-to-open-an-initial-console-beagleboard.html Signed-off-by: Markos Chandras <[hidden email]> --- fs/common.mk | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fs/common.mk b/fs/common.mk index debf7db..d7383d1 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -55,6 My first openwrt-image is running, the output differs to yours, because of some things with mtd-partitions. Can you provide us the lines from lilo or grub accordingly.
Blag: http://www.niasdigital.com/blag Log in or register to post comments Top [email protected] Level: Rookie Joined: Wed. To me it seems as the partition/filesystem you provide within your bootloader either does not have the required modules inside the initram or is just plain wrong. Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. Check This Out zhjim View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by zhjim View Blog 11-25-2009, 09:29 AM #5 pmil Member Registered: Jul 2008
Can you get some additional printk's in there to report progress? All necesary binaries and utilities are compiled and placed in rootfs image. I am working on getting some printk's in there but was hoping someone could point out something obviously wrong with my approach before I went crazy with that. –dag May 3
busybox# 139 busybox# env - busybox# echo $? At this time, the only progress I had is that I managed to remove the "unable to open an initial console." warning. Quote: Originally Posted by theNbomr Does your kernel have built-in support for initramfs? Linux/BusyBox/jffs2/Hitachi SH-4(7750R) Date Index Thread: Prev Next Thread Index Hi, Iâm experiencing a very weird problem.
After testing and rebooting my target several times (it may happen after hours of testing) I suddenly receive a message:â Warning: Unable to open an initial console.â, which means what /dev/console Then use objdump and readelf to compare executables and find out what is wrong. -- vda Previous message: Busybox init problem Next message: Busybox init problem Messages sorted by: [ date Recent Msgs:fedora-users/2016-12/msg00573.htmlubuntu-bugs/2016-12/msg11908.htmlserver-dev.james.apache.org/2016-12/msg00080.htmlscm-fedora-commits/2016-12/msg12112.htmlubuntu-bugs/2016-12/msg11938.htmlflightgear-sim/2016-12/msg00425.htmldev-felix-apache/2016-12/msg00184.htmlgeneral/2016-12/msg30402.htmlgeneral/2016-12/msg30408.htmlcommits.gnome/2016-12/msg04857.html Latest News Stories: Linux 4.0 Kernel Released Google Lets SMTP Certificate Expire Open Crypto Audit Passes TrueCrypt CIA 'tried to crack security of Apple devices' Xen Security Bug: Amazon, this contact form RedBoot partition parsing not available Using physmap partition information Creating 3 MTD partitions on "physmap-flash.0": 0x00000000-0x00020000 : "u-boot" 0x00020000-0x007f0000 : "root" 0x007f0000-0x00800000 : "env" i8042.c: i8042 controller self test timeout.
Do you still get "Warning: unable to open an initial console" just above this line? Free forum by Nabble Edit this page Init problem: unable to open an initial console (busybox, udev and jffs2) [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] To: [email protected] Subject: Init Does your kernel have built-in support for initramfs? After adding printk's so that I better understood the startup sequence, I realized that console device is opened prior to running the init script.
I still can telnet to the target and what I stated is that /dev/console changed major/minor numbers from official (and initial) 5,1 to 0,5. I expect that uImage does not know how to proceed on. I will post the answer in case anyone else has this issue. All works now.
pmil View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by pmil 11-24-2009, 10:09 AM #2 theNbomr LQ 5k Club Registered: Aug 2005 ROman Log in or register to post comments Top [email protected] Level: Rookie Joined: Wed. pmil View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by pmil 11-25-2009, 08:26 AM #4 zhjim Senior Member Registered: Oct 2004 Distribution: Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.
If yes, this is definitely a problem with /dev/console not being found.