All of lore.kernel.org
 help / color / mirror / Atom feed
* qemu boot fail(root-nfs: unknown option: mountprog=21111)
@ 2011-09-08  5:49 蔡振军
  2011-09-08  7:38 ` Bruce Ashfield
  2011-09-08 15:09 ` Scott Garman
  0 siblings, 2 replies; 5+ messages in thread
From: 蔡振军 @ 2011-09-08  5:49 UTC (permalink / raw)
  To: yocto


[-- Attachment #1.1: Type: text/plain, Size: 643 bytes --]

Hi ALL
QEMU run well with a pre-build kernel image from yocto site. Now just change the kernel to one built myself, some error information appeared about nfs. My kernel image version is 2.6.35 configured by versatile_defconfig. Error information as following:
[cid:image001.png@01CC6E2C.F8552DD0]

         “root-nfs: unknown option: mountprog=21111”,this message search nothing on google.
         Is there something wrong with .config? Add normally is there some special configuration I should do with kernel to fit QEMU?

Best regards
Feye

蔡振军
网新技术有限公司物联网事业部
杭州天目山路226号网新大厦
电话-138 6745 1910


[-- Attachment #1.2: Type: text/html, Size: 4293 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 17678 bytes --]

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

* Re: qemu boot fail(root-nfs: unknown option: mountprog=21111)
  2011-09-08  5:49 qemu boot fail(root-nfs: unknown option: mountprog=21111) 蔡振军
@ 2011-09-08  7:38 ` Bruce Ashfield
  2011-09-09  1:32   ` 答复: " 蔡振军
  2011-09-08 15:09 ` Scott Garman
  1 sibling, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2011-09-08  7:38 UTC (permalink / raw)
  To: 蔡振军; +Cc: yocto

On 11-09-08 01:49 AM, 蔡振军 wrote:
> Hi ALL
> 
> QEMU run well with a pre-build kernel image from yocto site. Now just 
> change the kernel to one built myself, some error information appeared 
> about nfs. My kernel image version is 2.6.35 configured by 
> versatile_defconfig. Error information as following:
> 
> “root-nfs: unknown option: mountprog=21111”,this message search nothing 
> on google.
> 
> Is there something wrong with .config? Add normally is there some 
> special configuration I should do with kernel to fit QEMU

You can't change out the kernel version / tree and expect to use the full
functionality provided by the linux-yocto kernel. In this case there are
changes to NFS and rpc to support alternate rpc ports being used to support
usermode NFS. You would need to port and test the patches for this
which can be found on yocto/standard/base

Cheers,

Bruce

> 
> Best regards
> 
> Feye
> 
> 蔡振军
> 
> 网新技术有限公司物联网事业部
> 
> 杭州天目山路226号网新大厦
> 
> 电话-138 6745 1910
> 
> 
> 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



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

* Re: qemu boot fail(root-nfs: unknown option: mountprog=21111)
  2011-09-08  5:49 qemu boot fail(root-nfs: unknown option: mountprog=21111) 蔡振军
  2011-09-08  7:38 ` Bruce Ashfield
@ 2011-09-08 15:09 ` Scott Garman
  2011-09-08 16:11   ` Bruce Ashfield
  1 sibling, 1 reply; 5+ messages in thread
From: Scott Garman @ 2011-09-08 15:09 UTC (permalink / raw)
  To: yocto

On 09/07/2011 10:49 PM, 蔡振军 wrote:
> Hi ALL
> 
> QEMU run well with a pre-build kernel image from yocto site. Now just 
> change the kernel to one built myself, some error information appeared 
> about nfs. My kernel image version is 2.6.35 configured by 
> versatile_defconfig. Error information as following:
> 
> “root-nfs: unknown option: mountprog=21111”,this message search nothing 
> on google.
> 
> Is there something wrong with .config? Add normally is there some 
> special configuration I should do with kernel to fit QEMU?

Hi Feye,

The linux-yocto kernel has patches in it to enable booting via a
userspace NFS server, which needs to use high port numbers for its
mountd and nfsd daemons. You will need to include these patches in your
custom kernel if you wish to continue using our userspace NFS boot method.

Bruce, can you point Feye to this patchset?

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


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

* Re: qemu boot fail(root-nfs: unknown option: mountprog=21111)
  2011-09-08 15:09 ` Scott Garman
@ 2011-09-08 16:11   ` Bruce Ashfield
  0 siblings, 0 replies; 5+ messages in thread
From: Bruce Ashfield @ 2011-09-08 16:11 UTC (permalink / raw)
  To: Scott Garman; +Cc: yocto

On 11-09-08 11:09 AM, Scott Garman wrote:
> On 09/07/2011 10:49 PM, 蔡振军 wrote:
>> Hi ALL
>>
>> QEMU run well with a pre-build kernel image from yocto site. Now just
>> change the kernel to one built myself, some error information appeared
>> about nfs. My kernel image version is 2.6.35 configured by
>> versatile_defconfig. Error information as following:
>>
>> “root-nfs: unknown option: mountprog=21111”,this message search nothing
>> on google.
>>
>> Is there something wrong with .config? Add normally is there some
>> special configuration I should do with kernel to fit QEMU?
> 
> Hi Feye,
> 
> The linux-yocto kernel has patches in it to enable booting via a
> userspace NFS server, which needs to use high port numbers for its
> mountd and nfsd daemons. You will need to include these patches in your
> custom kernel if you wish to continue using our userspace NFS boot method.

I already replied to this last night:

"You can't change out the kernel version / tree and expect to use the full
functionality provided by the linux-yocto kernel. In this case there are
changes to NFS and rpc to support alternate rpc ports being used to support
usermode NFS. You would need to port and test the patches for this
which can be found on yocto/standard/base"

Cheers,

Bruce

"

> 
> Bruce, can you point Feye to this patchset?
> 
> Scott
> 



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

* 答复: qemu boot fail(root-nfs: unknown option: mountprog=21111)
  2011-09-08  7:38 ` Bruce Ashfield
@ 2011-09-09  1:32   ` 蔡振军
  0 siblings, 0 replies; 5+ messages in thread
From: 蔡振军 @ 2011-09-09  1:32 UTC (permalink / raw)
  To: Bruce Ashfield, scott.a.garman; +Cc: yocto

Hi Bruse,Scott
        The information you supply is helpful to me. I have known what I need to make QEMU run.

Thanks (*^__^*)
Feye


-----邮件原件-----
发件人: Bruce Ashfield [mailto:bruce.ashfield@windriver.com]
发送时间: 2011年9月8日 15:38
收件人: 蔡振军
抄送: yocto@yoctoproject.org
主题: Re: [yocto] qemu boot fail(root-nfs: unknown option: mountprog=21111)

On 11-09-08 01:49 AM, 蔡振军 wrote:
> Hi ALL
>
> QEMU run well with a pre-build kernel image from yocto site. Now just
> change the kernel to one built myself, some error information appeared
> about nfs. My kernel image version is 2.6.35 configured by
> versatile_defconfig. Error information as following:
>
> “root-nfs: unknown option: mountprog=21111”,this message search nothing
> on google.
>
> Is there something wrong with .config? Add normally is there some
> special configuration I should do with kernel to fit QEMU

You can't change out the kernel version / tree and expect to use the full
functionality provided by the linux-yocto kernel. In this case there are
changes to NFS and rpc to support alternate rpc ports being used to support
usermode NFS. You would need to port and test the patches for this
which can be found on yocto/standard/base

Cheers,

Bruce

>
> Best regards
>
> Feye
>
> 蔡振军
>
> 网新技术有限公司物联网事业部
>
> 杭州天目山路226号网新大厦
>
> 电话-138 6745 1910
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

end of thread, other threads:[~2011-09-09  1:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08  5:49 qemu boot fail(root-nfs: unknown option: mountprog=21111) 蔡振军
2011-09-08  7:38 ` Bruce Ashfield
2011-09-09  1:32   ` 答复: " 蔡振军
2011-09-08 15:09 ` Scott Garman
2011-09-08 16:11   ` Bruce Ashfield

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.