Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118589 - _cdrom_locate_file_on_cd() in eutils loops with read errors.
Summary: _cdrom_locate_file_on_cd() in eutils loops with read errors.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 15:29 UTC by Alec Warner (RETIRED)
Modified: 2006-01-10 17:00 UTC (History)
0 users

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 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-01-10 15:29:05 UTC
I tried to install rune, the ebuild calls this function in an attempt to locate my CD-ROM.

however I kept receiving:
/usr/portage/eclass/eutils.eclass: line 1416: read: read error: 0: Input/output error

 * Press return to scan for the cd again
 * or hit CTRL+C to abort the emerge.

 * If you are having trouble with the detection
 * of your CD, it is possible that you do not have
 * Joliet support enabled in your kernel. Please
 * check that CONFIG_JOLIET is enabled in your kernel.
/usr/portage/eclass/eutils.eclass: line 1416: read: read error: 0: Input/output error

 * Press return to scan for the cd again
 * or hit CTRL+C to abort the emerge.

 * If you are having trouble with the detection
 * of your CD, it is possible that you do not have
 * Joliet support enabled in your kernel. Please
 * check that CONFIG_JOLIET is enabled in your kernel.
/usr/portage/eclass/eutils.eclass: line 1416: read: read error: 0: Input/output error

 * Press return to scan for the cd again
 * or hit CTRL+C to abort the emerge.

 * If you are having trouble with the detection
 * of your CD, it is possible that you do not have
 * Joliet support enabled in your kernel. Please
 * check that CONFIG_JOLIET is enabled in your kernel.
/usr/portage/eclass/eutils.eclass: line 1416: read: read error: 0: Input/output error

ad infinium.  I ended up going into another term and SIGSTOPing ebuild.sh so that I could CTRL+C the whole deal, otherwise ctrl+c wasn't doing anything to stop the looping, I am unsure why.  Is there any way to check if the read succeeded, or somehow prevent this from happening?  I'm still not sure why the read failed ( no CD's were in my drives ).
Comment 1 SpanKY gentoo-dev 2006-01-10 17:00:55 UTC
that read is supposed to be reading from your terminal ... in other words, your system is screwed :P

added a sanity check anyways