All of lore.kernel.org
 help / color / mirror / Atom feed
* QEMU nfs kernel panic
@ 2011-09-27  9:05 Jack Mitchell
  2011-09-27 12:05 ` Jack Mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Mitchell @ 2011-09-27  9:05 UTC (permalink / raw)
  To: yocto

I am using the stock sysroot and arm kernel zImage downloaded from the 
yocto site. When I try to boot QEMU all is well until it tries to mount 
the nfs root filesystem. It can't find it and the kernel panics, I have 
set --debug all on in the runqemu-export-rootfs script but it throws no 
further errors. Does anyone have any idea why it would do this, is it 
possible that there is something wrong with the nfs implementation in 
the kernel and the module is not loaded correctly, or is it more likely 
that the nfs share isn't mounted on my machine and the kernel cannot 
find it.

Screenshot of kernel panic: http://imgur.com/UbPTT

The only thing that jumps out at me is in the kernel boot up the rootfs 
doesn't have a value as can be seen in the screenshot, but I don't know 
if this is normal or not?

Cheers,
Jack.


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

* Re: QEMU nfs kernel panic
  2011-09-27  9:05 QEMU nfs kernel panic Jack Mitchell
@ 2011-09-27 12:05 ` Jack Mitchell
  2011-09-27 15:07   ` Zhang, Jessica
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Mitchell @ 2011-09-27 12:05 UTC (permalink / raw)
  To: yocto

On 27/09/2011 10:05, Jack Mitchell wrote:
> I am using the stock sysroot and arm kernel zImage downloaded from the 
> yocto site. When I try to boot QEMU all is well until it tries to 
> mount the nfs root filesystem. It can't find it and the kernel panics, 
> I have set --debug all on in the runqemu-export-rootfs script but it 
> throws no further errors. Does anyone have any idea why it would do 
> this, is it possible that there is something wrong with the nfs 
> implementation in the kernel and the module is not loaded correctly, 
> or is it more likely that the nfs share isn't mounted on my machine 
> and the kernel cannot find it.
>
> Screenshot of kernel panic: http://imgur.com/UbPTT
>
> The only thing that jumps out at me is in the kernel boot up the 
> rootfs doesn't have a value as can be seen in the screenshot, but I 
> don't know if this is normal or not?
>
> Cheers,
> Jack.
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Ok, I managed to fix it. I needed to load the tun module to get it 
working. Maybe this should be added as a check in runqemu?

I am now having issues with connecting to the live image, I recieve a 
connection refused message when I try to upload the file to the virtual 
machine, I have just the stick minimal-dev image so no additional 
passwords set.


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

* Re: QEMU nfs kernel panic
  2011-09-27 12:05 ` Jack Mitchell
@ 2011-09-27 15:07   ` Zhang, Jessica
  2011-09-28 12:42     ` Jack Mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: Zhang, Jessica @ 2011-09-27 15:07 UTC (permalink / raw)
  To: Jack Mitchell, yocto@yoctoproject.org

Hi Jack,

The minimal-dev image doesn't contain tcf-agent which is needed for any remote interaction.  So can you build core-image-sato-sdk image and use it to boot up qemu, then your problem will be solved.

Thanks,
Jessica

-----Original Message-----
From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Jack Mitchell
Sent: Tuesday, September 27, 2011 5:05 AM
To: yocto@yoctoproject.org
Subject: Re: [yocto] QEMU nfs kernel panic

On 27/09/2011 10:05, Jack Mitchell wrote:
> I am using the stock sysroot and arm kernel zImage downloaded from the
> yocto site. When I try to boot QEMU all is well until it tries to
> mount the nfs root filesystem. It can't find it and the kernel panics,
> I have set --debug all on in the runqemu-export-rootfs script but it
> throws no further errors. Does anyone have any idea why it would do
> this, is it possible that there is something wrong with the nfs
> implementation in the kernel and the module is not loaded correctly,
> or is it more likely that the nfs share isn't mounted on my machine
> and the kernel cannot find it.
>
> Screenshot of kernel panic: http://imgur.com/UbPTT
>
> The only thing that jumps out at me is in the kernel boot up the
> rootfs doesn't have a value as can be seen in the screenshot, but I
> don't know if this is normal or not?
>
> Cheers,
> Jack.
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Ok, I managed to fix it. I needed to load the tun module to get it
working. Maybe this should be added as a check in runqemu?

I am now having issues with connecting to the live image, I recieve a
connection refused message when I try to upload the file to the virtual
machine, I have just the stick minimal-dev image so no additional
passwords set.
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

* Re: QEMU nfs kernel panic
  2011-09-27 15:07   ` Zhang, Jessica
@ 2011-09-28 12:42     ` Jack Mitchell
  0 siblings, 0 replies; 4+ messages in thread
From: Jack Mitchell @ 2011-09-28 12:42 UTC (permalink / raw)
  To: yocto@yoctoproject.org

On 27/09/2011 16:07, Zhang, Jessica wrote:
> Hi Jack,
>
> The minimal-dev image doesn't contain tcf-agent which is needed for any remote interaction.  So can you build core-image-sato-sdk image and use it to boot up qemu, then your problem will be solved.
>
> Thanks,
> Jessica
>
> -----Original Message-----
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Jack Mitchell
> Sent: Tuesday, September 27, 2011 5:05 AM
> To: yocto@yoctoproject.org
> Subject: Re: [yocto] QEMU nfs kernel panic
>
> On 27/09/2011 10:05, Jack Mitchell wrote:
>> I am using the stock sysroot and arm kernel zImage downloaded from the
>> yocto site. When I try to boot QEMU all is well until it tries to
>> mount the nfs root filesystem. It can't find it and the kernel panics,
>> I have set --debug all on in the runqemu-export-rootfs script but it
>> throws no further errors. Does anyone have any idea why it would do
>> this, is it possible that there is something wrong with the nfs
>> implementation in the kernel and the module is not loaded correctly,
>> or is it more likely that the nfs share isn't mounted on my machine
>> and the kernel cannot find it.
>>
>> Screenshot of kernel panic: http://imgur.com/UbPTT
>>
>> The only thing that jumps out at me is in the kernel boot up the
>> rootfs doesn't have a value as can be seen in the screenshot, but I
>> don't know if this is normal or not?
>>
>> Cheers,
>> Jack.
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> Ok, I managed to fix it. I needed to load the tun module to get it
> working. Maybe this should be added as a check in runqemu?
>
> I am now having issues with connecting to the live image, I recieve a
> connection refused message when I try to upload the file to the virtual
> machine, I have just the stick minimal-dev image so no additional
> passwords set.
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


Thank you Jessica, that solved my problem of being unable to connect to 
the virtual machine.

Regards,
Jack.


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

end of thread, other threads:[~2011-09-28 12:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27  9:05 QEMU nfs kernel panic Jack Mitchell
2011-09-27 12:05 ` Jack Mitchell
2011-09-27 15:07   ` Zhang, Jessica
2011-09-28 12:42     ` Jack Mitchell

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.