Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485478 - install-amd64-minimal-20130816.iso appears broken
Summary: install-amd64-minimal-20130816.iso appears broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-20 11:29 UTC by Albert W. Hopkins
Modified: 2013-09-26 18:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
screenshot (amd64-minimal.png,16.34 KB, image/png)
2013-09-20 11:29 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2013-09-20 11:29:24 UTC
Created attachment 359124 [details]
screenshot

sha512sum install-amd64-minimal-20130816.iso
a43eb31e2b381aaac3ba0e564365197a22f717e29413d16701cfb1babbae7d3194b07585f6643ad44d437d691d360b47835811ca59fea321bf63ff4acbd4b5f9  install-amd64-minimal-20130816.iso


After booting this live cd (qemu-kvm, gentoo-nofb kernel) first it appears that tar is failing (see screenshot).  Then there is a long delay where nothing happens, then we get a "login:" prompt but appears not to accept any keyboard input.
Comment 1 Ben Kohler gentoo-dev 2013-09-24 15:37:48 UTC
I'm not able to reproduce this in virtualbox, but this feels like something is going wrong with the storage controller driver during boot.  Can you try emulating a different storage device type?
Comment 2 Albert W. Hopkins 2013-09-24 15:56:27 UTC
I've gotten it to boot now.  I'll leave this open for the original guy who reported this problem on #gentoo.

Apparently the default amount of memory (512M?) that qemu appropriates to an image is no longer enough to boot the ISO image and you get an error when it unpacks the firmware (to RAM).  Giving qemu 1024M succeeds.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-09-24 17:58:56 UTC
(In reply to Albert W. Hopkins from comment #2)
> I've gotten it to boot now.  I'll leave this open for the original guy who
> reported this problem on #gentoo.
> 
> Apparently the default amount of memory (512M?) that qemu appropriates to an
> image is no longer enough to boot the ISO image and you get an error when it
> unpacks the firmware (to RAM).  Giving qemu 1024M succeeds.

In that case, I consider this at most a documentation bug.

@docs-team:
shall we update /add minimum requirements to the handbook?
Comment 4 Ben Kohler gentoo-dev 2013-09-24 18:23:51 UTC
The current handbook says 256MB is the minimum requirement for amd64 minimal install cd.  I've done some testing in vbox and the unpack succeeds on 160MB but fails on 128MB.  qemu's default is 128MB, lower than our minimum requirement.  

I believe this minimum requirement will go even lower once the autobuild box gets updated to newest catalyst-9999, since Zero_Chaos removed the useless firmware-tarball setup about 2.5 weeks ago:
http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commitdiff;h=9f4116ea616f806d02f6abff60a42be222a672c1
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2013-09-25 07:05:08 UTC
Indeed; the docs currently state a minimum of 256 Mb of memory for the minimal installation CD, and this still seems to work (downloaded and booted latest amd64 one here). Considering the catalyst update, I don't think it is necessary to adjust the limits right now.
Comment 6 Albert W. Hopkins 2013-09-25 11:56:12 UTC
I wonder how SystemRescue CD is doing things differently.  The current release still runs with the default qemu 128MB RAM, that's including "docache" plus it can still run an X server.  It has 52499 bytes in /lib/firmware.  The latest minimal CD does not work in 128MB, doesn't run X and has slighly less in /lib/firmware (52076 bytes).
Comment 7 Ben Kohler gentoo-dev 2013-09-25 14:08:16 UTC
(In reply to Albert W. Hopkins from comment #6)
> I wonder how SystemRescue CD is doing things differently.  The current
> release still runs with the default qemu 128MB RAM, that's including
> "docache" plus it can still run an X server. 

I think you are mistaken, the docache feature will not work on such little RAM:

>> Copying sysrcd.dat file for caching (size: 318476 KB)...
Killed
!! Caching failed.  Likely due to lack of memory
!! Cannot unmount the original media

I've just done a quick test build with new catalyst, here's how things look on my test setup, amount of memory used immediately after boot:

install-amd64-minimal-20130816.iso: 81MB
sysrescuecd-3.7.1: 59MB
install-amd64-minimal-ben.iso: 39MB (this one being built w/ releng specs, new catalyst)

The new build boots fine on 128MB RAM, also.  Anything else to be fixed here?
Comment 8 Albert W. Hopkins 2013-09-26 17:26:12 UTC
(In reply to Ben Kohler from comment #7)
> (In reply to Albert W. Hopkins from comment #6)
> > I wonder how SystemRescue CD is doing things differently.  The current
> > release still runs with the default qemu 128MB RAM, that's including
> > "docache" plus it can still run an X server. 
> 
> I think you are mistaken, the docache feature will not work on such little
> RAM:
> 
> >> Copying sysrcd.dat file for caching (size: 318476 KB)...
> Killed
> !! Caching failed.  Likely due to lack of memory
> !! Cannot unmount the original media
> 

You are right.  I didn't catch that error the first time, and the OS continues to load anyway which gives the impression that docache succeeded.

> I've just done a quick test build with new catalyst, here's how things look
> on my test setup, amount of memory used immediately after boot:
> 
> install-amd64-minimal-20130816.iso: 81MB
> sysrescuecd-3.7.1: 59MB
> install-amd64-minimal-ben.iso: 39MB (this one being built w/ releng specs,
> new catalyst)
> 
> The new build boots fine on 128MB RAM, also.  Anything else to be fixed here?

I'm not sure if the guy on IRC is on this bug and I cannot remember his nick.  So I'm not even sure if he is on this bug.  But AFAIC you can close this one out.

thanks,
-a
Comment 9 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-09-26 18:11:02 UTC
Given all the comments in this bug, I'm closing this as fixed (per Zero's commit to catalyst to stop using firmware tarballs).