CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Attached to Project: CRUX-ARM
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
~ #

Closed by  Jose V Beneyto
Saturday, 02 November 2013, 01:44 GMT
Reason for closing:  Works for me
Project Manager
Jose V Beneyto commented on Thursday, 17 October 2013, 14:10 GMT

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

Project Manager
Jose V Beneyto commented on Thursday, 31 October 2013, 12:39 GMT

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

  1. you should look for you media installation device and mount it at /media
  2. then log out (type 'exit' or press Control-D)

b) avoid this message and continue

  1. log out (type 'exit' or press Control-D)

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 just booted the initrd/initramfs for debug, test or rescue purposses you don't need it

- if you failed to mount the proper media then you can safely log out and continue with a complete shell

so later after you mounted the media properly you can try it again by running /etc/rc script
Project Manager
Jose V Beneyto commented on Thursday, 31 October 2013, 15:10 GMT

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

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing