Skip to contentSkip to conversation

Antwort: Re: booting with systemd fails with poky 9.0.0 & meta-ivi 4.0 & meta-intel master

DISCUSSION Felix Fischer 3 participants 3 messages May 7, 2013 – May 14, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · felix

Hello,

Quoted 1 line

What branch of meta-ivi are you using?

I tried the 3.0 (and poky 1.3), 4.0 branch (and poky 1.4) and 4.0 branch (with "git checkout e33e0a0da6fd6f59e5e8244da9f23b590cf066e1" as stated

in

Quoted 7 lines

the genivi wiki), but no success.

Quoted 3 lines

As you have successfully build and tried qemux86 machine IVI images, did you try to create a pristine (non-IVI) Poky image that uses systemd as init system already? Did that work for a crownbay machine?

I built a core-image-sato image using MACHINE ?= "crownbay" and DISTRO

?=

Quoted 2 lines

"poky-ivi-systemd", but I had no luck.
Right now I'm btrying that again with DISTRO ?="poky"

The build is done. It won't boot either. The Error Message is the same except that the init and cat lines are gone.

The last two lines I get are

systemd-udev[48]: starting version 199 Waiting for removable media...

Quoted 23 lines

Regards,
Felix

What branch of meta-ivi are you using?

-----Original Message-----
From: Andrei Gherzan [andrei at gherzan.ro<mailto:andrei at gherzan.ro>]
Sent: Thursday, May 02, 2013 04:27 AM Pacific Standard Time
To: Felix01 Fischer
Cc: yocto at yoctoproject.org; Sarbu, Florin-Ionut (Florin); Behrens, Holger
Subject: Re: [yocto] Antwort: Re: booting with systemd fails with poky 9.0.0 & meta-ivi 4.0 & meta-intel master

Quoted 5 lines

On Thu, May 2, 2013 at 10:08 AM, Felix01 Fischer <felix01.fischer at iav.de<mailto:felix01.fischer at iav.de>> wrote:
Hello,

I've attached a file with the changes I made to local.conf,

bblayers.conf

Quoted 6 lines

& some output from bitbake. I can build working images for qemux86, too

The build process itself triggers no errors.

As im building with MACHINE ??= "crownbay" I was able to locate

tmp-eglibc-eglibc/work/crownbay-oe-linux/foton-image/4.0.0-r0/rootfs/bin/mount

Quoted 13 lines

which is a symlink to /bin/mount.util-linux. This file exists, too.

This is the output when trying to boot, beginning with the /init error

"/init: line 98: mount: not found
/init: line 98: mount: not found
/init: line 98: mount: not found systemd-udev[44]: starting version 199
cat: can't open '/proc/cmdline': No such file or directory Waiting for removable media..."

Quoted 1 line

So you are using crownbay. Most probably you miss some systemd configs

in

Quoted 13 lines

kernel. That would be my guess.
Adding Florin Sarbu and Holger Behrens to CC (meta-ivi maintainer).

Cheers!

--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#1 lore raw
Quoted 4 lines · Felix Fischer

The last two lines I get are

systemd-udev[48]: starting version 199
Waiting for removable media...

It's possibly waiting for the automounter to run, but it's not installed. Check that udev-extraconf is installed in your rootfs/initramfs or whatever is booting. core-image-minimal-initramfs does, but I've no idea if the IVI images pull it in explicitly as we recently removed it as a universal recommendation in systemd/udev.

Ross

#2 lore raw

Antwort: Re: Antwort: Re: booting with systemd fails with poky 9.0.0 & meta-ivi 4.0 & meta-intel master

[email protected] schrieb am 07.05.2013 20:51:52:

Quoted 21 lines

"Burton, Ross" <[email protected]>
Gesendet von: [email protected]

07.05.2013 20:51

An

Felix Fischer <[email protected]>,

Kopie

[email protected]

Thema

Re: [yocto] Antwort: Re: booting with systemd fails with poky 9.0.0 & meta-ivi 4.0 & meta-intel master

Quoted 2 lines · Felix Fischer

The last two lines I get are

Quoted 9 lines
Quoted 2 lines

systemd-udev[48]: starting version 199
Waiting for removable media...

It's possibly waiting for the automounter to run, but it's not installed. Check that udev-extraconf is installed in your rootfs/initramfs or whatever is booting. core-image-minimal-initramfs does, but I've no idea if the IVI images pull it in explicitly as we recently removed it as a universal recommendation in systemd/udev.

I built an image with udev-extraconf and the following changed:

No change with genivi and crownbay layers enabled (distro = "poky-ivi-systemd")

"/init ....." errors disappeared but the boot process still hangs while
"waiting for removable media" for a build with only crownbay layers enabled (distro = "poky", systemd set as init manager)

Viele Grüße

Felix Fischer

Studentischer Mitarbeiter (VC-D1)
Vehicle Cockpit Electronics Devices

IAV GmbH
Carnotstr. 1
10587 BERLIN
GERMANY

Phone: +49 30 39978-9540
Fax:      +49 30 39978-9411
E-Mail:  <mailto:[email protected]>
Internet: http://www.iav.com

Sitz/Registered Office: Berlin,
Registergericht/Registration Court: Amtsgericht Charlottenburg, Registernummer/Company Registration Number: HRB 21 280, Geschäftsführer/Managing Directors: Kurt Blumenröder, Michael Schubert, Dr. Rüdiger Goyk