Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27474 - Be able to test LiveCD using UML
Summary: Be able to test LiveCD using UML
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-28 05:58 UTC by Sven Vermeulen (RETIRED)
Modified: 2005-03-25 11:25 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2003-08-28 05:58:08 UTC
It would be great if we could just test a LiveCD using UML, so we don't have to
sacrifice a machine to test some report. I need to test resolutions for
documentation, but only have a couple of machines and don't have the time nor
bandwidth to download, burn, run and install every single LiveCD.

The problem however lays with cloop. Since the LiveCDs use cloop, the UML
kernels cannot use the LiveCDs. To do so, we must have UML-kernels that support
cloop.

I don't know anything of cloop, so I don't know why you talk of versions. The
error I receive is "Cannot mount blabla.cloop: Unknown filesystem" or something
like that. I haven't patched any kernels yet, the UML I use is 2.6-based
(although 2.4-implementations still exist).

Reproducible: Always
Steps to Reproduce:
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2003-08-28 06:49:17 UTC
I talk of versions because there are different (and non-compatible) versions of cloop 
available.  The live CDs for Gentoo 1.4 use cloop-0.68-2.  There is an ebuild for 
cloop-0.68-3 in Portage. 
 
cloop 0.68 does not work on a Linux 2.6-based kernel.  You'll need to use a 
Linux-2.4 based kernel with UML support.  I'll put together an ebuild for a 
2.4.21-vanilla w/ UML sources, so that we can both try cloop under that. 
 
If you can't run a 2.4.21-uml kernel on your box, then I'll have to close the bug as 
invalid. 
 
I'm know that drobbins and livewire are aware that cloop doesn't work under the 2.6 
kernels, and I'm sure they've added something to the roadmap to address this. 
 
Best regards, 
Stu 
-- 
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2003-08-28 07:31:02 UTC
Have you read the UML documentation?  I found this little gem on the page that 
documents building a Linux-UML kernel: 
 
For modules to run under a UML-kernel, they must have been compiled against a 
Linux-UML source tree.  Modules compiled against the regular Linux kernel source 
tree will not work under UML. 
 
That's why the cloop.o module on the LiveCD images won't work, even with a 
Linux-2.4.21-UML kernel. 
 
I wonder - have you tried mounting the livecd.cloop file on your box, and then 
trying to boot the contents with UML?  It's worth a try.  And if it works, it would make 
a great HOWTO for the website me thinks ;-) 
 
Best regards, 
Stu 
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2004-02-27 04:56:11 UTC
Closing old bug - no feedback received from the reporter.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-25 11:25:14 UTC
Moving these so we can remove the "Install CD" component from "Gentoo Linux".

I apologize to everyone for this spam, but according to the bugzilla developers,
this is the only reasonable way to do this.