Opened by Ryan Mullen - 2013-10-17
Last edited by Jose V Beneyto - 2013-11-02
FS#59 - Initrd shell prints wrong version and has no job control in shell
Hi, when booting the 3.0 initrd on my EOMA68-A20 I have the following message with the wrong CRUX-ARM version in the banner and no job control on the shell. Job control is important because if I run "ping" I can never recover the shell without a reboot due to the inability to ctrl-c.
CRUX-ARM 2.8 - https://crux-arm.nu/
* Mounting filesystems... OK
* Populating /dev via mdev... OK
* Registering mdev as hotplug agent... OK
* Creating and mounting /dev/pts... OK
* Starting kernel log daemon... OK
* Setting hostname... OK
* Loading network loopback device... OK
* Saving boot messages... OK
* Trying to find and mount the media installer...
* Searching for the CRUX media...
* The CRUX media was not properly mounted!
Spawning a shell for you to attempt to fix this problem. If
you are able to find the correct device, mount it at
/media and then log out of this shell to continue.
If you are NOT able to fix the problem, installation will
not be possible.
/bin/sh: can't access tty; job control turned off
~ #
Hey thanks for the report.
I missed to change 2.8/3.0 in our rc init script. Also setup stuff contained need a version bump, etc.
In other words; our initrd need some work.
- fix problem with job control[1]
- fix version numbers
- review setup stuff (setup, setup.dependencies, etc.)
- add more doc about to create the CRUX media (file crux.media)
- etc.
[1] http://www.busybox.net/FAQ.html#job_control
there is no job control in the shell but note about the message you got:
* The CRUX media was not properly mounted!
Spawning a shell for you to attempt to fix this problem. If
you are able to find the correct device, mount it at
/media and then log out of this shell to continue.
If you are NOT able to fix the problem, installation will
not be possible.
/bin/sh: can't access tty; job control turned off
you need to have the CRUX media, so you missed to add a file called 'crux-media' at topdir of your media installation device
you can select between:
a) mount the CRUX media
b) avoid this message and continue
after that the init script will continue and you'll have a complete shell with job control
NOTES
- the CRUX media is required to complete some parts for the installation
- if you failed to mount the proper media then you can safely log out and continue with a complete shell
it was a problem with mdev -s command in order to create mmc devices correctly
see this changeset related: https://crux-arm.nu/gitweb?p=initramfs.git;a=commitdiff;h=47138301d00f8fe2805bc43168adec3931b421e8