All of lore.kernel.org
 help / color / mirror / Atom feed
* qemuarm hangs
@ 2011-05-11 18:29 Gary Thomas
  2011-05-11 18:34 ` Bruce Ashfield
  2011-05-11 18:57 ` Yocto Project text mail archives don't seem to be text Bob Cochran
  0 siblings, 2 replies; 9+ messages in thread
From: Gary Thomas @ 2011-05-11 18:29 UTC (permalink / raw)
  To: Poky Project

Building from master, updated earlier today.

OE Build Configuration:
BB_VERSION        = "1.11.0"
METADATA_BRANCH   = "my_master"
METADATA_REVISION = "2e4518bf18d977e1249ef7e7cd384df66e7b4801"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.0+snapshot-20110511"
TARGET_FPU        = "soft"

When I runqemu on core-image-sato, it brings up the simulated
video screen and the Yocto splash shows.  The progress bar goes
to about 60% and then it just hangs there forever.

core-image-minimal boots to a login prompt

Ideas?  How can I figure out where it's bombing out?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: qemuarm hangs
  2011-05-11 18:29 qemuarm hangs Gary Thomas
@ 2011-05-11 18:34 ` Bruce Ashfield
  2011-05-11 18:39   ` Gary Thomas
  2011-05-11 19:13   ` Richard Purdie
  2011-05-11 18:57 ` Yocto Project text mail archives don't seem to be text Bob Cochran
  1 sibling, 2 replies; 9+ messages in thread
From: Bruce Ashfield @ 2011-05-11 18:34 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

On Wed, May 11, 2011 at 2:29 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> Building from master, updated earlier today.
>
> OE Build Configuration:
> BB_VERSION        = "1.11.0"
> METADATA_BRANCH   = "my_master"
> METADATA_REVISION = "2e4518bf18d977e1249ef7e7cd384df66e7b4801"
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux-gnueabi"
> MACHINE           = "qemuarm"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.0+snapshot-20110511"
> TARGET_FPU        = "soft"
>
> When I runqemu on core-image-sato, it brings up the simulated
> video screen and the Yocto splash shows.  The progress bar goes
> to about 60% and then it just hangs there forever.
>
> core-image-minimal boots to a login prompt
>
> Ideas?  How can I figure out where it's bombing out?

When I saw this go by:

commit a2e232e2313ee267076bb8de32a1a604dbebc33b
Author: Zhai Edwin <edwin.zhai@intel.com>
Date:   Tue May 10 14:02:35 2011 +0800

    qemu: Upgrade qemu git to the latest 0.14 branch

    Also add missing patch to build qemu-git

    [YOCTO #1013] got fixed

    (From OE-Core rev: 9b80846152931bed018f33baaaf1ba253e756867)

    Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

I wondered about compatibility. Have you tried with the older qemu ?

Bruce

>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


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

* Re: qemuarm hangs
  2011-05-11 18:34 ` Bruce Ashfield
@ 2011-05-11 18:39   ` Gary Thomas
  2011-05-11 18:57     ` Bruce Ashfield
  2011-05-11 19:17     ` Richard Purdie
  2011-05-11 19:13   ` Richard Purdie
  1 sibling, 2 replies; 9+ messages in thread
From: Gary Thomas @ 2011-05-11 18:39 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: Poky Project

On 05/11/2011 12:34 PM, Bruce Ashfield wrote:
> On Wed, May 11, 2011 at 2:29 PM, Gary Thomas<gary@mlbassoc.com>  wrote:
>> Building from master, updated earlier today.
>>
>> OE Build Configuration:
>> BB_VERSION        = "1.11.0"
>> METADATA_BRANCH   = "my_master"
>> METADATA_REVISION = "2e4518bf18d977e1249ef7e7cd384df66e7b4801"
>> TARGET_ARCH       = "arm"
>> TARGET_OS         = "linux-gnueabi"
>> MACHINE           = "qemuarm"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.0+snapshot-20110511"
>> TARGET_FPU        = "soft"
>>
>> When I runqemu on core-image-sato, it brings up the simulated
>> video screen and the Yocto splash shows.  The progress bar goes
>> to about 60% and then it just hangs there forever.
>>
>> core-image-minimal boots to a login prompt
>>
>> Ideas?  How can I figure out where it's bombing out?
>
> When I saw this go by:
>
> commit a2e232e2313ee267076bb8de32a1a604dbebc33b
> Author: Zhai Edwin<edwin.zhai@intel.com>
> Date:   Tue May 10 14:02:35 2011 +0800
>
>      qemu: Upgrade qemu git to the latest 0.14 branch
>
>      Also add missing patch to build qemu-git
>
>      [YOCTO #1013] got fixed
>
>      (From OE-Core rev: 9b80846152931bed018f33baaaf1ba253e756867)
>
>      Signed-off-by: Zhai Edwin<edwin.zhai@intel.com>
>      Signed-off-by: Richard Purdie<richard.purdie@linuxfoundation.org>
>
> I wondered about compatibility. Have you tried with the older qemu ?

I believe so.  I ran the same test a few days ago and it worked fine.
I'm trying qemux86 now with this latest tree.  After that, I could
try reverting the change you mention.

Any clues how to get "under the covers" when booting a qemu image?
Once it brings up the video/splash screen, I'm in the dark as to
what's going on.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: qemuarm hangs
  2011-05-11 18:39   ` Gary Thomas
@ 2011-05-11 18:57     ` Bruce Ashfield
  2011-05-11 19:17     ` Richard Purdie
  1 sibling, 0 replies; 9+ messages in thread
From: Bruce Ashfield @ 2011-05-11 18:57 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

On 11-05-11 02:39 PM, Gary Thomas wrote:
> On 05/11/2011 12:34 PM, Bruce Ashfield wrote:
>> On Wed, May 11, 2011 at 2:29 PM, Gary Thomas<gary@mlbassoc.com> wrote:
>>> Building from master, updated earlier today.
>>>
>>> OE Build Configuration:
>>> BB_VERSION = "1.11.0"
>>> METADATA_BRANCH = "my_master"
>>> METADATA_REVISION = "2e4518bf18d977e1249ef7e7cd384df66e7b4801"
>>> TARGET_ARCH = "arm"
>>> TARGET_OS = "linux-gnueabi"
>>> MACHINE = "qemuarm"
>>> DISTRO = "poky"
>>> DISTRO_VERSION = "1.0+snapshot-20110511"
>>> TARGET_FPU = "soft"
>>>
>>> When I runqemu on core-image-sato, it brings up the simulated
>>> video screen and the Yocto splash shows. The progress bar goes
>>> to about 60% and then it just hangs there forever.
>>>
>>> core-image-minimal boots to a login prompt
>>>
>>> Ideas? How can I figure out where it's bombing out?
>>
>> When I saw this go by:
>>
>> commit a2e232e2313ee267076bb8de32a1a604dbebc33b
>> Author: Zhai Edwin<edwin.zhai@intel.com>
>> Date: Tue May 10 14:02:35 2011 +0800
>>
>> qemu: Upgrade qemu git to the latest 0.14 branch
>>
>> Also add missing patch to build qemu-git
>>
>> [YOCTO #1013] got fixed
>>
>> (From OE-Core rev: 9b80846152931bed018f33baaaf1ba253e756867)
>>
>> Signed-off-by: Zhai Edwin<edwin.zhai@intel.com>
>> Signed-off-by: Richard Purdie<richard.purdie@linuxfoundation.org>
>>
>> I wondered about compatibility. Have you tried with the older qemu ?
>
> I believe so. I ran the same test a few days ago and it worked fine.
> I'm trying qemux86 now with this latest tree. After that, I could
> try reverting the change you mention.
>
> Any clues how to get "under the covers" when booting a qemu image?
> Once it brings up the video/splash screen, I'm in the dark as to
> what's going on.

Typically I'd redirect the console to another tty, but you
could use SERIAL_LOGFILE as an option to your qemu launch
to log the tty output to something you can watch while the
splash screen takes over. But I must warn, that I've never
actually used that option with poky :)

Alternately, removing psplash (or disabling it) in your
sato rootfs would get you more information, and let you
know if it is just the graphics causing a problem.

Bruce

>



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

* Yocto Project text mail archives don't seem to be text
  2011-05-11 18:29 qemuarm hangs Gary Thomas
  2011-05-11 18:34 ` Bruce Ashfield
@ 2011-05-11 18:57 ` Bob Cochran
  2011-05-11 22:03   ` Jeffrey Osier-Mixon
  1 sibling, 1 reply; 9+ messages in thread
From: Bob Cochran @ 2011-05-11 18:57 UTC (permalink / raw)
  To: yocto

After gunzipping the archives, the text files don't seem to be text: 
https://lists.yoctoproject.org/pipermail/yocto/




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

* Re: qemuarm hangs
  2011-05-11 18:34 ` Bruce Ashfield
  2011-05-11 18:39   ` Gary Thomas
@ 2011-05-11 19:13   ` Richard Purdie
  1 sibling, 0 replies; 9+ messages in thread
From: Richard Purdie @ 2011-05-11 19:13 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: Poky Project

On Wed, 2011-05-11 at 14:34 -0400, Bruce Ashfield wrote:
> On Wed, May 11, 2011 at 2:29 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> > Building from master, updated earlier today.
> >
> > OE Build Configuration:
> > BB_VERSION        = "1.11.0"
> > METADATA_BRANCH   = "my_master"
> > METADATA_REVISION = "2e4518bf18d977e1249ef7e7cd384df66e7b4801"
> > TARGET_ARCH       = "arm"
> > TARGET_OS         = "linux-gnueabi"
> > MACHINE           = "qemuarm"
> > DISTRO            = "poky"
> > DISTRO_VERSION    = "1.0+snapshot-20110511"
> > TARGET_FPU        = "soft"
> >
> > When I runqemu on core-image-sato, it brings up the simulated
> > video screen and the Yocto splash shows.  The progress bar goes
> > to about 60% and then it just hangs there forever.
> >
> > core-image-minimal boots to a login prompt
> >
> > Ideas?  How can I figure out where it's bombing out?
> 
> When I saw this go by:
> 
> commit a2e232e2313ee267076bb8de32a1a604dbebc33b
> Author: Zhai Edwin <edwin.zhai@intel.com>
> Date:   Tue May 10 14:02:35 2011 +0800
> 
>     qemu: Upgrade qemu git to the latest 0.14 branch
> 
>     Also add missing patch to build qemu-git
> 
>     [YOCTO #1013] got fixed
> 
>     (From OE-Core rev: 9b80846152931bed018f33baaaf1ba253e756867)
> 
>     Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
>     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> 
> I wondered about compatibility. Have you tried with the older qemu ?

Note that this is the git recipe, not the released version. I've just
realised that it should have a DEFAULT_PREFERENCE = "-1" and doesn't
though. These git versions used to be great for testing upstream changes
before they hit releases but they shouldn't be the default and I suspect
this on has slipped to become default due to the PV change.

It is of course a worry if the upstream version is broken but that is a
different problem :/.

Cheers,

Richard



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

* Re: qemuarm hangs
  2011-05-11 18:39   ` Gary Thomas
  2011-05-11 18:57     ` Bruce Ashfield
@ 2011-05-11 19:17     ` Richard Purdie
  2011-05-11 21:26       ` Gary Thomas
  1 sibling, 1 reply; 9+ messages in thread
From: Richard Purdie @ 2011-05-11 19:17 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

On Wed, 2011-05-11 at 12:39 -0600, Gary Thomas wrote:
> On 05/11/2011 12:34 PM, Bruce Ashfield wrote:
> > On Wed, May 11, 2011 at 2:29 PM, Gary Thomas<gary@mlbassoc.com>  wrote:
> >> Building from master, updated earlier today.
> >>
> >> OE Build Configuration:
> >> BB_VERSION        = "1.11.0"
> >> METADATA_BRANCH   = "my_master"
> >> METADATA_REVISION = "2e4518bf18d977e1249ef7e7cd384df66e7b4801"
> >> TARGET_ARCH       = "arm"
> >> TARGET_OS         = "linux-gnueabi"
> >> MACHINE           = "qemuarm"
> >> DISTRO            = "poky"
> >> DISTRO_VERSION    = "1.0+snapshot-20110511"
> >> TARGET_FPU        = "soft"
> >>
> >> When I runqemu on core-image-sato, it brings up the simulated
> >> video screen and the Yocto splash shows.  The progress bar goes
> >> to about 60% and then it just hangs there forever.
> >>
> >> core-image-minimal boots to a login prompt
> >>
> >> Ideas?  How can I figure out where it's bombing out?
> >
> > When I saw this go by:
> >
> > commit a2e232e2313ee267076bb8de32a1a604dbebc33b
> > Author: Zhai Edwin<edwin.zhai@intel.com>
> > Date:   Tue May 10 14:02:35 2011 +0800
> >
> >      qemu: Upgrade qemu git to the latest 0.14 branch
> >
> >      Also add missing patch to build qemu-git
> >
> >      [YOCTO #1013] got fixed
> >
> >      (From OE-Core rev: 9b80846152931bed018f33baaaf1ba253e756867)
> >
> >      Signed-off-by: Zhai Edwin<edwin.zhai@intel.com>
> >      Signed-off-by: Richard Purdie<richard.purdie@linuxfoundation.org>
> >
> > I wondered about compatibility. Have you tried with the older qemu ?
> 
> I believe so.  I ran the same test a few days ago and it worked fine.
> I'm trying qemux86 now with this latest tree.  After that, I could
> try reverting the change you mention.
> 
> Any clues how to get "under the covers" when booting a qemu image?
> Once it brings up the video/splash screen, I'm in the dark as to
> what's going on.

Several ways:

a) You can redirect the console as Bruce mentions

b) there is an option you can add to the kernel commandline to disable
psplash (psplash=false)

c) you can switch the console as you normally would under Linux which
triggers psplash to terminate (Something like Crtl+Alt+F2 then Ctrl+Alt
+F1 again but I can't remember the exact combination off the top of my
head)

Cheers,

Richard





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

* Re: qemuarm hangs
  2011-05-11 19:17     ` Richard Purdie
@ 2011-05-11 21:26       ` Gary Thomas
  0 siblings, 0 replies; 9+ messages in thread
From: Gary Thomas @ 2011-05-11 21:26 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Poky Project

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

On 05/11/2011 01:17 PM, Richard Purdie wrote:
> On Wed, 2011-05-11 at 12:39 -0600, Gary Thomas wrote:
>> On 05/11/2011 12:34 PM, Bruce Ashfield wrote:
>>> On Wed, May 11, 2011 at 2:29 PM, Gary Thomas<gary@mlbassoc.com>   wrote:
>>>> Building from master, updated earlier today.
>>>>
>>>> OE Build Configuration:
>>>> BB_VERSION        = "1.11.0"
>>>> METADATA_BRANCH   = "my_master"
>>>> METADATA_REVISION = "2e4518bf18d977e1249ef7e7cd384df66e7b4801"
>>>> TARGET_ARCH       = "arm"
>>>> TARGET_OS         = "linux-gnueabi"
>>>> MACHINE           = "qemuarm"
>>>> DISTRO            = "poky"
>>>> DISTRO_VERSION    = "1.0+snapshot-20110511"
>>>> TARGET_FPU        = "soft"
>>>>
>>>> When I runqemu on core-image-sato, it brings up the simulated
>>>> video screen and the Yocto splash shows.  The progress bar goes
>>>> to about 60% and then it just hangs there forever.
>>>>
>>>> core-image-minimal boots to a login prompt
>>>>
>>>> Ideas?  How can I figure out where it's bombing out?
>>>
>>> When I saw this go by:
>>>
>>> commit a2e232e2313ee267076bb8de32a1a604dbebc33b
>>> Author: Zhai Edwin<edwin.zhai@intel.com>
>>> Date:   Tue May 10 14:02:35 2011 +0800
>>>
>>>       qemu: Upgrade qemu git to the latest 0.14 branch
>>>
>>>       Also add missing patch to build qemu-git
>>>
>>>       [YOCTO #1013] got fixed
>>>
>>>       (From OE-Core rev: 9b80846152931bed018f33baaaf1ba253e756867)
>>>
>>>       Signed-off-by: Zhai Edwin<edwin.zhai@intel.com>
>>>       Signed-off-by: Richard Purdie<richard.purdie@linuxfoundation.org>
>>>
>>> I wondered about compatibility. Have you tried with the older qemu ?
>>
>> I believe so.  I ran the same test a few days ago and it worked fine.
>> I'm trying qemux86 now with this latest tree.  After that, I could
>> try reverting the change you mention.
>>
>> Any clues how to get "under the covers" when booting a qemu image?
>> Once it brings up the video/splash screen, I'm in the dark as to
>> what's going on.
>
> Several ways:
>
> a) You can redirect the console as Bruce mentions
>
> b) there is an option you can add to the kernel commandline to disable
> psplash (psplash=false)
>
> c) you can switch the console as you normally would under Linux which
> triggers psplash to terminate (Something like Crtl+Alt+F2 then Ctrl+Alt
> +F1 again but I can't remember the exact combination off the top of my
> head)

Disabling the psplash screen, I see this error:
   Running postinst /etc/rpm-postinsts/gthumb.sh
   Failed to load file "/etc/gconf/gconf.xml.defaults/%gconf-tree-pl.xml": Error on line 363 char 9: Element 'dir' was closed, no element is currently open
I think this was a result of an incomplete [previous] startup, so I
tried with a fresh image.  This time, it made it all the way to X,
so I guess I was just too impatient (of course, it took almost 8 minutes
to get to X on a 2.4GHz Core-2 Duo!)

I'll continue with my experiment to see how this runs on qemux86

Sorry for the noise.  I do think a slight improvement in the runqemu
script can help with situations like this.  I had to edit the scripts
to add the 'psplash=false' kernel option.  With the attached patch,
you can do it directly:
   % SCRIPT_KERNEL_OPT='psplash=false ' runqemu qemuarm

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: runeqmu.suggestion --]
[-- Type: text/plain, Size: 292 bytes --]

diff --git a/scripts/runqemu b/scripts/runqemu
index a09362c..2c3f6f4 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -51,7 +51,7 @@ ROOTFS=""
 LAZY_ROOTFS=""
 SCRIPT_QEMU_OPT=""
 SCRIPT_QEMU_EXTRA_OPT=""
-SCRIPT_KERNEL_OPT=""
+SCRIPT_KERNEL_OPT=${SCRIPT_KERNEL_OPT:-""}
 
 TMPDIR=""
 

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

* Re: Yocto Project text mail archives don't seem to be text
  2011-05-11 18:57 ` Yocto Project text mail archives don't seem to be text Bob Cochran
@ 2011-05-11 22:03   ` Jeffrey Osier-Mixon
  0 siblings, 0 replies; 9+ messages in thread
From: Jeffrey Osier-Mixon @ 2011-05-11 22:03 UTC (permalink / raw)
  To: Bob Cochran; +Cc: yocto

Hi Bob - excellent catch! That's a lot of 8-bit stuff, must be something 
misconfigured in mailman. I'll check it out.

On 5/11/2011 11:57 AM, Bob Cochran wrote:
> After gunzipping the archives, the text files don't seem to be text: 
> https://lists.yoctoproject.org/pipermail/yocto/
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


-- 
Jeff Osier-Mixon http://jefro.net/blog
Yocto Project Community Manager @Intel http://yoctoproject.org



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

end of thread, other threads:[~2011-05-11 22:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11 18:29 qemuarm hangs Gary Thomas
2011-05-11 18:34 ` Bruce Ashfield
2011-05-11 18:39   ` Gary Thomas
2011-05-11 18:57     ` Bruce Ashfield
2011-05-11 19:17     ` Richard Purdie
2011-05-11 21:26       ` Gary Thomas
2011-05-11 19:13   ` Richard Purdie
2011-05-11 18:57 ` Yocto Project text mail archives don't seem to be text Bob Cochran
2011-05-11 22:03   ` Jeffrey Osier-Mixon

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.