From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1BD91E00D15; Wed, 13 Jul 2016 00:04:11 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (simon.bolek[at]googlemail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.223.178 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 253DEE00D02 for ; Wed, 13 Jul 2016 00:04:06 -0700 (PDT) Received: by mail-io0-f178.google.com with SMTP id q83so38463461iod.1 for ; Wed, 13 Jul 2016 00:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RL5+n+poYS2bGyaEEM+L+F/KtxOgZgWlplBIQNFnfxI=; b=d1MfvYVKSmANMyO8fjShFADlThtETrxO6fmc4ALNXwDaIXCbEN+Rn8wobJBIcpKTFs lLjp34Tc4bFb+zlQLAbOZ6g2OO+blRP20/d9ykmoyls5DR+rL5Bin+YbLNYgaAiDBvCd Qm3mPl3gfDyxdrtvNrXgDNTGQDfTW5WGArbKDFbKEyu8RoyjYMUYF0t7mDQ0N44E/LNS NXHU7407v7a4NwIkEiYAYRxDwRa2C18wzxyLWWwIBjEmMqXl63gRG/EfsWcCscYnb3eG I0eeuow0NM2AggfDWLC79XmWARXbckuRaBIcgr9zAcrM/L14DWeKoUZ6Re0qqjbZaeGS tpiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RL5+n+poYS2bGyaEEM+L+F/KtxOgZgWlplBIQNFnfxI=; b=KD5uftON2Rf1BEfXzY5GkFJ0UdSIQzajf0HyiiJBrG/y3CxcI7wzAWueBDrjkwel7s EWUhduDi1uUfkqtWOLC/ER3KP9QEXKyMUsLSTljrLh6AOmLHn1xSSvqLdKejIFGQt5xi rbT/+bFy+Ix28WgV6xcm5sKjtAnSSYQBP10ofMMDHM8COQXEbGRiAutpI5snPNXwcYj2 /M4iSmcFeOEC3AiKCRkWvF56lv9lFNZOHjss1yVe7w9gwZCXcDozR6NY1jQQ/TqJ/0bq WFsn86U7AHuW7zcsGPJqjacT5HrZrdRxnwv7kfVZDcdxAwYs+xwEQL2Y5JpXuDSSlhGP Vj9w== X-Gm-Message-State: ALyK8tKXZweBTIrQ2XhvFGC+BOdfjDYJoYa7WNCaoowNOq9ir2NMvaLCWBSClqjrWG3zNJ/v8qPz5zYE1IlrMA== X-Received: by 10.107.154.210 with SMTP id c201mr6884183ioe.99.1468393446347; Wed, 13 Jul 2016 00:04:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.55.135 with HTTP; Wed, 13 Jul 2016 00:03:47 -0700 (PDT) In-Reply-To: References: From: Simon Bolek Date: Wed, 13 Jul 2016 09:03:47 +0200 Message-ID: To: Khem Raj Cc: "yocto@yoctoproject.org" Subject: Re: [genericx86-jethro] core-image-sato HDDIMG 'install' - no hard drive selected - /etc/fstab no such file or directory X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2016 07:04:11 -0000 Content-Type: multipart/alternative; boundary=001a1140fab6c2b28e05377efd5d --001a1140fab6c2b28e05377efd5d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you, I just guess, that it is the following function in init script to put the echos to? Is it? udev_daemon() { OPTIONS=3D"/sbin/udev/udevd /sbin/udevd /lib/udev/udevd /lib/systemd/systemd-udevd" for o in $OPTIONS; do if [ -x "$o" ]; then echo $o return 0 fi done return 1 } cheers Simon:-) Viele Gr=C3=BCsse Simon Bolek :-) mit freundlichem Gruss / kind regards / pozdrawiam Simon P. Bolek ------------------------------------------------------ Dipl. Inf. Simon P. Bolek SAP Integration Architect Business Mobile and IVI Solutions mailto: simon.bolek@arcom-ivi.de http://www.arcom-ivi.de/ XING: https://www.xing.com/profile/SimonP_Bolek On Wed, Jul 13, 2016 at 8:36 AM, Khem Raj wrote: > On Tue, Jul 12, 2016 at 11:28 PM, Simon Bolek > wrote: > > Thank you Raj, > > > > Is there a standard way to activate these initramfs logs, or do I have = to > > implement it myself somewhere? > > you have to add printf etc. yourself into the init script in initramfs > image > > > > > thank you and kind regards > > Simon :-) > > > > Viele Gr=C3=BCsse > > Simon Bolek :-) > > > > mit freundlichem Gruss / kind regards / pozdrawiam > > Simon P. Bolek > > ------------------------------------------------------ > > Dipl. Inf. Simon P. Bolek > > SAP Integration Architect > > Business Mobile and IVI Solutions > > mailto: simon.bolek@arcom-ivi.de > > http://www.arcom-ivi.de/ > > XING: https://www.xing.com/profile/SimonP_Bolek > > > > On Wed, Jul 13, 2016 at 1:36 AM, Khem Raj wrote: > >> > >> On Tue, Jul 12, 2016 at 3:45 AM, Simon Bolek < > simon.bolek@googlemail.com> > >> wrote: > >> > Hello everyone! > >> > > >> > I am trying to install genericx86 core-image-sato (jethro) HDDIMG to > an > >> > atom-pc. > >> > For this 2GB USB stick is used. > >> > When choosing 'install' option from boot menu I get the message: > >> > > >> > "Searching for hard drives... > >> > No hard drive selected. Installation aborted." > >> > > >> > Installatiion stops and i get the console. > >> > When I try to run fsck, it says: can't read '/etc/fstab': No such fi= le > >> > or > >> > directory > >> > > >> > fdisk -l shows only the partitions of USB stick. > >> > > >> > After I choose 'boot' option to boot into live image, SDD drive is > under > >> > /dev/sdb and USB installation stick under /dev/sda, > >> > > >> > What recipe/package is my installation missing? The SSD hard drive i= s > >> > not > >> > recognized for some reason. With previous yocto releases this packag= e > >> > list > >> > DID work fine. > >> > So there is something missing in the background. > >> > Do you have any idea what this might be? > >> > >> udev should have run and found your hdd. So it seems its not finding > >> it when running from initramfs. Can you try to add logs to initramfs > >> and see what udev is doing ? > >> > >> > > >> > Below is my package list from local.conf. > >> > > >> > thank you and kind regards > >> > Simon :-) > >> > > >> > EXTRA_IMAGE_FEATURES =3D "debug-tweaks ssh-server-openssh" > >> > IMAGE_INSTALL_append =3D " make \ > >> > initscripts \ > >> > grub \ > >> > initramfs-boot \ > >> > syslinux \ > >> > initramfs-live-install \ > >> > initramfs-live-install-efi \ > >> > initramfs-live-boot \ > >> > xinit \ > >> > xwininfo \ > >> > openssh-sftp \ > >> > openssh-sftp-server \ > >> > qtbase-plugins \ > >> > qtconnectivity \ > >> > qtdeclarative \ > >> > qtdeclarative-plugins \ > >> > qtdeclarative-tools \ > >> > qtdeclarative-qmlplugins \ > >> > qtenginio \ > >> > qtlocation \ > >> > qtmultimedia \ > >> > qtmultimedia-plugins \ > >> > qtmultimedia-qmlplugins \ > >> > qtsystems \ > >> > " > >> > > >> > Viele Gr=C3=BCsse > >> > Simon Bolek :-) > >> > > >> > mit freundlichem Gruss / kind regards / pozdrawiam > >> > Simon P. Bolek > >> > ------------------------------------------------------ > >> > Dipl. Inf. Simon P. Bolek > >> > SAP Integration Architect > >> > Business Mobile and IVI Solutions > >> > mailto: simon.bolek@arcom-ivi.de > >> > http://www.arcom-ivi.de/ > >> > XING: https://www.xing.com/profile/SimonP_Bolek > >> > > >> > -- > >> > _______________________________________________ > >> > yocto mailing list > >> > yocto@yoctoproject.org > >> > https://lists.yoctoproject.org/listinfo/yocto > >> > > > > > > --001a1140fab6c2b28e05377efd5d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you,

I just guess, that it i= s the following function in init script to put the echos to? Is it?

= udev_daemon() {
=C2=A0=C2=A0=C2=A0 OPTIONS=3D"/sbin/udev/udevd /sbi= n/udevd /lib/udev/udevd /lib/systemd/systemd-udevd"

=C2=A0=C2= =A0=C2=A0 for o in $OPTIONS; do
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if= [ -x "$o" ]; then
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 echo $o
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 return 0
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 fi
=C2=A0=C2= =A0=C2=A0 done

=C2=A0=C2=A0=C2=A0 return 1
}


cheers
Simon:-)

Viele Gr= =C3=BCsse
Simon Bolek :-)

mit freundlichem Gruss / kind regards /= pozdrawiam
Simon P. Bolek
------------------------------------------= ------------
Dipl. Inf. Simon P. Bolek
SAP Integration Architect
<= div>Business=C2=A0Mobile and IVI Solutions

On Wed, Jul 13, 2016 at 8:36 AM, Khem Raj <raj.khem@gmail.com> wrote:
On Tue, Jul 12, 2016 at 11:28 PM, Simo= n Bolek
<simon.bolek@googlemail.co= m> wrote:
> Thank you Raj,
>
> Is there a standard way to activate these initramfs logs, or do I have= to
> implement it myself somewhere?

you have to add printf etc. yourself into the init script in initram= fs image

>
> thank you and kind regards
> Simon :-)
>
> Viele Gr=C3=BCsse
> Simon Bolek :-)
>
> mit freundlichem Gruss / kind regards / pozdrawiam
> Simon P. Bolek
> ------------------------------------------------------
> Dipl. Inf. Simon P. Bolek
> SAP Integration Architect
> Business Mobile and IVI Solutions
> mailto: simon.bolek@arcom-= ivi.de
> http://www.arcom-ivi.de/
> XING: https://www.xing.com/profile/SimonP_Bolek >
> On Wed, Jul 13, 2016 at 1:36 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> On Tue, Jul 12, 2016 at 3:45 AM, Simon Bolek <simon.bolek@googlemail.com>
>> wrote:
>> > Hello everyone!
>> >
>> > I am trying to install genericx86 core-image-sato (jethro) HD= DIMG to an
>> > atom-pc.
>> > For this 2GB USB stick is used.
>> > When choosing 'install' option from boot menu I get t= he message:
>> >
>> > "Searching for hard drives...
>> > No hard drive selected. Installation aborted."
>> >
>> > Installatiion stops and i get the console.
>> > When I try to run fsck, it says: can't read '/etc/fst= ab': No such file
>> > or
>> > directory
>> >
>> > fdisk -l=C2=A0 shows only the partitions of USB stick.
>> >
>> > After I choose 'boot' option to boot into live image,= SDD drive is under
>> > /dev/sdb and USB installation stick under /dev/sda,
>> >
>> > What recipe/package is my installation missing? The SSD hard = drive is
>> > not
>> > recognized for some reason. With previous yocto releases this= package
>> > list
>> > DID work fine.
>> > So there is something missing in the background.
>> > Do you have any idea what this might be?
>>
>> udev should have run and found your hdd. So it seems its not findi= ng
>> it when running from initramfs. Can you try to add logs to initram= fs
>> and see what udev is doing ?
>>
>> >
>> > Below is my package list from local.conf.
>> >
>> > thank you and kind regards
>> > Simon :-)
>> >
>> > EXTRA_IMAGE_FEATURES =3D "debug-tweaks ssh-server-openss= h"
>> > IMAGE_INSTALL_append =3D " make \
>> >=C2=A0 =C2=A0 =C2=A0 initscripts \
>> >=C2=A0 =C2=A0 =C2=A0 grub \
>> >=C2=A0 =C2=A0 =C2=A0 initramfs-boot \
>> >=C2=A0 =C2=A0 =C2=A0 syslinux \
>> >=C2=A0 =C2=A0 =C2=A0 initramfs-live-install \
>> >=C2=A0 =C2=A0 =C2=A0 initramfs-live-install-efi \
>> >=C2=A0 =C2=A0 =C2=A0 initramfs-live-boot \
>> >=C2=A0 =C2=A0 =C2=A0 xinit \
>> >=C2=A0 =C2=A0 =C2=A0 xwininfo \
>> >=C2=A0 =C2=A0 =C2=A0 openssh-sftp \
>> >=C2=A0 =C2=A0 =C2=A0 openssh-sftp-server \
>> >=C2=A0 =C2=A0 =C2=A0 qtbase-plugins \
>> >=C2=A0 =C2=A0 =C2=A0 qtconnectivity \
>> >=C2=A0 =C2=A0 =C2=A0 qtdeclarative \
>> >=C2=A0 =C2=A0 =C2=A0 qtdeclarative-plugins \
>> >=C2=A0 =C2=A0 =C2=A0 qtdeclarative-tools \
>> >=C2=A0 =C2=A0 =C2=A0 qtdeclarative-qmlplugins \
>> >=C2=A0 =C2=A0 =C2=A0 qtenginio \
>> >=C2=A0 =C2=A0 =C2=A0 qtlocation \
>> >=C2=A0 =C2=A0 =C2=A0 qtmultimedia \
>> >=C2=A0 =C2=A0 =C2=A0 qtmultimedia-plugins \
>> >=C2=A0 =C2=A0 =C2=A0 qtmultimedia-qmlplugins \
>> >=C2=A0 =C2=A0 =C2=A0 qtsystems \
>> > "
>> >
>> > Viele Gr=C3=BCsse
>> > Simon Bolek :-)
>> >
>> > mit freundlichem Gruss / kind regards / pozdrawiam
>> > Simon P. Bolek
>> > ------------------------------------------------------
>> > Dipl. Inf. Simon P. Bolek
>> > SAP Integration Architect
>> > Business Mobile and IVI Solutions
>> > mailto: simon.bol= ek@arcom-ivi.de
>> > http://www.arcom-ivi.de/
>> > XING: https://www.xing.com/profile/SimonP_Bol= ek
>> >
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.= org
>> > https://lists.yoctoproject.org/listinfo/y= octo
>> >
>
>

--001a1140fab6c2b28e05377efd5d--