Opened 6 years ago

Last modified 3 years ago

#8369 reopened enhancement

Produce emulation builds again

Reported by: tvoverbeek Owned by: cscott
Priority: normal Milestone: Opportunity
Component: build-system Version: not specified
Keywords: blocks:8.2.0 cjbfor9.1.0 Cc: dgilmore
Blocked By: Blocking:
Deployments affected: Action Needed: never set
Verified: no

Description

All 8.2 devel-ext3 builds are unusable in qemu with the lone exception of 8.2-751.
Joyride shows a similar picture. 2346 was OK. 2347-2362 were not complete due to the gstreamer issue. 2363-2365 are OK. Every devel-ext3 build 2366-2405 is incomplete.
Problem on both 8.2 and joyride is the missing grub stage1 loader. See the errormessage at the bottom of the build logs, e.g. from build 2405:


cp: cannot stat `/home/cscott/public_html/xo-1/streams/joyride/build2405-20080909_0222/devel_ext3/install_root/usr/share/grub/i386-redhat/stage1': No such file or directory

  • Unmounting special file systems from install root
  • Detaching disk and partition 1 (/dev/loop5 and /dev/loop6)

Please fix asap so I can test 8.2 issues also in qemu (privately compiled version with 3dNow emulation enabled)

Attachments (1)

20080921-sugar-vmware-fusion.pdf (35.6 KB) - added by mchua 6 years ago.

Download all attachments as: .zip

Change History (20)

comment:1 Changed 6 years ago by cscott

  • Cc dgilmore added; cscott removed
  • Owner changed from dgilmore to cscott

comment:2 follow-up: Changed 6 years ago by cscott

Getting there; it looks like I just need to update olpc-logos to allow grub to be installed now.

comment:3 Changed 6 years ago by cscott

  • Milestone changed from Not Triaged to 8.2.0 (was Update.2)

comment:4 Changed 6 years ago by mstone

  • Action Needed changed from never set to code
  • Keywords blocks:8.2.0 added; blocks?:8.2.0 removed

Our ext3 image must boot in QEMU.

comment:5 in reply to: ↑ 2 Changed 6 years ago by tvoverbeek

Replying to cscott:

Getting there; it looks like I just need to update olpc-logos to allow grub to be installed now.

Yes, now I see in the build logs (e.g. joyride 2410 and 2411):
Error: Missing Dependency: system-logos is needed by package grub

  • Unmounting special file systems from install root
  • Detaching disk and partition 1 (/dev/loop5 and /dev/loop6)
    • Cleaning up connections to loop devices
  • Deleting incomplete OS image

Anxiously waiting ....

comment:6 Changed 6 years ago by tvoverbeek

Seems to be fixed in joyride 2413.
Tried with joyride 2414 and it boots fine in qemu.
Some observations on running in qemu compared with joyride 2346:

  • Boot screen shows the original blue/light blue XO again instead of the fedora screen.
  • During the boot it now says 'Welcome to OLPC' instead of 'Welcome to 8.2'.
  • The .bz2 file is considerably smaller (182309033 for 2414 vs 245127625 for 2346).

Have not tried USB/SD boot yet.

Scott, thanks for the quick fix.

comment:7 Changed 6 years ago by cscott

  • Resolution set to fixed
  • Status changed from new to closed

comment:8 Changed 6 years ago by cscott

  • Action Needed changed from code to approve for release
  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:9 Changed 6 years ago by cscott

  • Action Needed changed from approve for release to add to release

Whoops, have to ensure this gets into the stable build.

Packages: grub-0.97-33.fc9 and olpc-logos-0.1-7.fc9

Approving on my own authority.

comment:11 Changed 6 years ago by mchua

The Olin crew has just gotten qemu running on a whole batch of Windows machines; I've asked them to check this out.

comment:12 Changed 6 years ago by mavrothal

The problem with a mac G5 ppc is different: All the newer joyride, 8.2 builds up to 763 fail in boot with the message
"This kernel requires the following features not present on the CPU:
3dnow"
So is emulation on PPC out of question ?

Changed 6 years ago by mchua

comment:13 Changed 6 years ago by mchua

Matt Jadud and Yifan Sun report the same issue on Mac OS X and Windows qemu respectively.

Matt:

"I tried the image under VMWare Fusion on my Mac (Intel OS X 10.5.4). I used Q to convert it from an img to a vmdk, and let VMWare "update" the image to the most recent format. At boot, it fails because I don't have 3dnow. If I try the image (unconverted) in Q-emu, it fails with the same problem. In both cases, I get past the splash, and then it hits the failure. Attached is the VMWare screenshot at boot/fail time."

Yifan:

"I just ran it [on Windows] and it says:

This kernel requires the following features not present on the CPU: 3dnow
Unable to boot - please use a kernel appropriate for your CPU

...is there something I should install?"

comment:14 Changed 6 years ago by mchua

I should note that they both used 8.2 760 for testing, so if we should re-try with 763, let us know - it doesn't look like there have been changes on this between 760 and 763 yet, though.

comment:15 Changed 6 years ago by tvoverbeek

All 2.6.25 kernel builds (i.e. all recent joyrides and 8.2 builds) will not boot on the released qemu versions (Linux/MacOs/Windows). You need a version of qemu compiled from a recent subversion snapshot. Sayamindu has rpms for Linux. I personally have a recompiled Windows version which works.
You have to give the extra argument '-cpu athlon' to qemu to get the 3dnow emulation.
See also the wiki, http://wiki.laptop.org/go/Emulating_the_XO and http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Linux and previous emails from me on devel@

comment:16 Changed 6 years ago by mchua

  • Milestone changed from 8.2.0 (was Update.2) to 8.2.1

Tom's posted a good interim fix, but we may want to take a better look at this for 8.2.1 as well. Bumping to 8.2.1 as per QA meeting today (triagers please comment).

comment:17 Changed 6 years ago by mchua

Ton's fix (apologies for the typo earlier!) is posted here http://wiki.laptop.org/go/Talk:Emulating_the_XO/Quick_Start/Windows#8.2.0%20images as a workaround.

comment:18 Changed 6 years ago by mstone-xmlrpc

  • Keywords cjbfor9.1.0 added
  • Milestone changed from 8.2.1 to 9.1.0

Pushing out to 9.1.0, per edmcnierney's request.

comment:19 Changed 3 years ago by dsd

  • Action Needed changed from test in release to never set
  • Milestone changed from 9.1.0-cancelled to Opportunity
  • Priority changed from blocker to normal
  • Summary changed from All 8.2 and joyride ext3 builds unusable for emulation to Produce emulation builds again
  • Type changed from defect to enhancement

We don't currently produce emulation builds, because their upkeep was quite hard to manage, alternatives such as SoaS now exist, and XO availability is now high so they aren't as sorely needed. Yet there is still occasional interest, so leaving this ticket open as an enhancement request.

Note: See TracTickets for help on using tickets.