All of lore.kernel.org
 help / color / mirror / Atom feed
* Ls1021a how i include nfs-utils correcty
@ 2015-01-21 12:30 Hänel-Baas, Alexander
  2015-01-22  9:48 ` ting.liu
  0 siblings, 1 reply; 3+ messages in thread
From: Hänel-Baas, Alexander @ 2015-01-21 12:30 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]

Hi

I work with the Layerscape 1021a ,that comes with yocto, i can create the image, dtb und rootfs and start my target.
But I cannot mount a nfs directory via "mount -t nfs".

The Error message say:
"mount: wrong fs type, bad option, bad superblock on 172.16.17.63:/home/sm/myExport,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail or so."

And right in /sbin are no nfs helper.

So i start yocto select my machine (ls1021atwr), the image recipes (lsl-image-core) press the "edit image recipe" button, the "All recipes" button
And search for nfs and then I included the nfs-utils manually by activate the checkbox. Then I press the "Build packages" button.
Then yocto print "Building packages..." then shows "Step 2 of 2"
and I'm wondering because in the Included Packages  nfs-utils are not shown!!!

So I go to the "all package tab" an include the nfs-utils again.
And finally I build the image.
Yocto creates a new image, that can boot, but it has no changes. No nfs-utils are included!

The I press the edit recipes button and look under includet recipies/all recipies and my before selected nfs-utils are NOT included.


My question are:
What is going wrong?
How I added the nfs-utils correctly?

Best regards
                Alexander


[-- Attachment #2: Type: text/html, Size: 6044 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Ls1021a how i include nfs-utils correcty
  2015-01-21 12:30 Ls1021a how i include nfs-utils correcty Hänel-Baas, Alexander
@ 2015-01-22  9:48 ` ting.liu
  2015-01-22 10:00   ` Hänel-Baas, Alexander
  0 siblings, 1 reply; 3+ messages in thread
From: ting.liu @ 2015-01-22  9:48 UTC (permalink / raw)
  To: Hänel-Baas, Alexander, yocto

[-- Attachment #1: Type: text/plain, Size: 1952 bytes --]



From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of H?nel-Baas, Alexander
Sent: Wednesday, January 21, 2015 8:31 PM
To: yocto@yoctoproject.org
Subject: [yocto] Ls1021a how i include nfs-utils correcty

Hi

I work with the Layerscape 1021a ,that comes with yocto, i can create the image, dtb und rootfs and start my target.
But I cannot mount a nfs directory via "mount -t nfs".

The Error message say:
"mount: wrong fs type, bad option, bad superblock on 172.16.17.63:/home/sm/myExport,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail or so."

[Liu Ting-B28495] check if your mount is linked to mount.util-linux: bin/mount -> /bin/mount.util-linux
try to use the mount applet provided by busybox or mount.nfs provided by nfs-utils.

And right in /sbin are no nfs helper.

So i start yocto select my machine (ls1021atwr), the image recipes (lsl-image-core) press the "edit image recipe" button, the "All recipes" button
And search for nfs and then I included the nfs-utils manually by activate the checkbox. Then I press the "Build packages" button.
Then yocto print "Building packages..." then shows "Step 2 of 2"
and I'm wondering because in the Included Packages  nfs-utils are not shown!!!

[Liu Ting-B28495] are you using hob?
So I go to the "all package tab" an include the nfs-utils again.
And finally I build the image.
Yocto creates a new image, that can boot, but it has no changes. No nfs-utils are included!

The I press the edit recipes button and look under includet recipies/all recipies and my before selected nfs-utils are NOT included.


My question are:
What is going wrong?
How I added the nfs-utils correctly?

Best regards
                Alexander


[-- Attachment #2: Type: text/html, Size: 7219 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Ls1021a how i include nfs-utils correcty
  2015-01-22  9:48 ` ting.liu
@ 2015-01-22 10:00   ` Hänel-Baas, Alexander
  0 siblings, 0 replies; 3+ messages in thread
From: Hänel-Baas, Alexander @ 2015-01-22 10:00 UTC (permalink / raw)
  To: ting.liu, yocto

[-- Attachment #1: Type: text/plain, Size: 2563 bytes --]

Hi ting

Thank you for your reply.

Yes, the link are ok
lrwxrwxrwx    1 root     root            21 Jan 22 07:59 mount -> /bin/mount.util-linux

but I found out that the helper program under /sbin are not exist.

I don't know how I changed util-linux mount to busybox mount applet.

Yes I try to used hob.
Alex

Von: ting.liu@freescale.com [mailto:ting.liu@freescale.com]
Gesendet: Donnerstag, 22. Januar 2015 10:48
An: Hänel-Baas, Alexander; yocto@yoctoproject.org
Betreff: RE: Ls1021a how i include nfs-utils correcty



From: yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of H?nel-Baas, Alexander
Sent: Wednesday, January 21, 2015 8:31 PM
To: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
Subject: [yocto] Ls1021a how i include nfs-utils correcty

Hi

I work with the Layerscape 1021a ,that comes with yocto, i can create the image, dtb und rootfs and start my target.
But I cannot mount a nfs directory via "mount -t nfs".

The Error message say:
"mount: wrong fs type, bad option, bad superblock on 172.16.17.63:/home/sm/myExport,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail or so."

[Liu Ting-B28495] check if your mount is linked to mount.util-linux: bin/mount -> /bin/mount.util-linux
try to use the mount applet provided by busybox or mount.nfs provided by nfs-utils.

And right in /sbin are no nfs helper.

So i start yocto select my machine (ls1021atwr), the image recipes (lsl-image-core) press the "edit image recipe" button, the "All recipes" button
And search for nfs and then I included the nfs-utils manually by activate the checkbox. Then I press the "Build packages" button.
Then yocto print "Building packages..." then shows "Step 2 of 2"
and I'm wondering because in the Included Packages  nfs-utils are not shown!!!

[Liu Ting-B28495] are you using hob?
So I go to the "all package tab" an include the nfs-utils again.
And finally I build the image.
Yocto creates a new image, that can boot, but it has no changes. No nfs-utils are included!

The I press the edit recipes button and look under includet recipies/all recipies and my before selected nfs-utils are NOT included.


My question are:
What is going wrong?
How I added the nfs-utils correctly?

Best regards
                Alexander


[-- Attachment #2: Type: text/html, Size: 10817 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-22 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 12:30 Ls1021a how i include nfs-utils correcty Hänel-Baas, Alexander
2015-01-22  9:48 ` ting.liu
2015-01-22 10:00   ` Hänel-Baas, Alexander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.