Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228751 - "docache" boot-time option does not work
Summary: "docache" boot-time option does not work
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: All Linux
: High normal with 2 votes (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-21 15:16 UTC by Denilson Sá Maia
Modified: 2010-12-02 03:43 UTC (History)
0 users

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


Attachments
Fix the unmount errors when using docache (halt.sh-diff.patch.txt,510 bytes, text/plain)
2008-11-27 13:01 UTC, Richard Scott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denilson Sá Maia 2008-06-21 15:16:54 UTC
There is a boot parameter called "docache" that supposedly would copy the CD contents to RAM, and then let the user umount and eject the CD. I've tried to use it, but it did not work.

Tried with 2008.0 beta 2 amd64 live-cd, in a notebook with 3GB or RAM.

Reproducible: Always

Steps to Reproduce:
1. Add "docache" as boot parameter.
2. Try to umount and eject the CD-ROM.
Actual Results:  
You can't umount nor eject the CD.

Expected Results:  
The CD contents should have been copied to RAM, so we would be able to umount and eject the CD.
Comment 1 Denilson Sá Maia 2008-06-21 15:17:56 UTC
Forgot to mention... I've reported it here:
http://forums.gentoo.org/viewtopic-p-5122604.html#5122604
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2008-06-24 17:12:35 UTC
Care to provide us with some information like how it did not work?  What errors did you get?
Comment 3 Denilson Sá Maia 2008-06-24 20:09:11 UTC
If you mean boot error messages, I probably have missed them. Care to tell me where they are logged?

If you mean umount error messages, then that was because /mnt/livecd (or something like that) was still mounted. And, of course, it was still being used by the live system.

Please tell me what you need, then later I gather this info for you.
Comment 4 Isaac 2008-07-05 10:40:57 UTC
I can confirm that for livedvd-i686-installer-2008.0_beta2.iso the "docache" option appears to work and do the actual caching during boot but does not allow umount /mnt/cdrom after booting which implies that the disc cannot be removed. People often use the docache option to allow them to swap discs after boot, previous releases allowed this and it works as normal on install-x86-minimal-2008.0_beta2.iso. Speculatively this appears to be an issue with graphical 2008.0 beta2 live cd/dvds keeping /mnt/cdrom busy after boot.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2008-07-28 20:15:29 UTC
Did you stop spind first?
Comment 6 Richard Scott 2008-11-24 12:03:01 UTC
I've also noticed that if you use the docache feature it errors on unmounting '/' as its busy when shutting down :-(

I see this error:

* Remounting remainint filesystems read only ...
umount: /: device is busy
umount: /: device is busy
umount: /: device is busy
Give root password for maintenance
(or type Control-D to continue):

If you wait for a bit it does automatically shut down without having to do Control-D and without using docache the system powers off without an error!
Comment 7 Richard Scott 2008-11-27 13:01:28 UTC
Created attachment 173582 [details]
Fix the unmount errors when using docache

This patch fixes the unmount errors that I've been getting when using the docache option and stops the password for maintenance prompt resulting in a clean poweroff.
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2008-11-27 14:16:19 UTC
Don't send that to us. That's a baselayout thing.
Comment 9 Richard Scott 2008-11-28 09:38:15 UTC
yep, I now realise that one as it took me a while to figure out where the error message was coming from ;-)

I will create a new bug for baselayout :-)
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2010-04-16 20:15:50 UTC
Did you do so?
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-12-02 03:43:13 UTC
No info in over 2 years and no reply to Raúl's request.