Bug 7772 - Can't mount ISO-9660 CD-ROM after playing music CD
Can't mount ISO-9660 CD-ROM after playing music CD
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: mount (Show other bugs)
6.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-12-12 13:02 EST by Rob McMillin
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-12-21 13:15:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rob McMillin 1999-12-12 13:02:24 EST
On RedHat 6.1, using an Afreey 45x IDE CD-ROM drive, whenever I play a
music CD-ROM, I can never afterwards mount a data CDROM (RedHat 6.1
distribution CD, say).  Here's the error I see:

mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
       or too many mounted file systems

Of course, the problem goes away if I reboot.

If it makes any difference, I'm using the SMP kernel on a multi-CPU system.
Comment 1 Riley H Williams 1999-12-12 16:16:59 EST
Does your kernel have iso9660 compiled as a module by any chance?

If so, is the above also true if you run the following command between playing
the music CD and trying to mount a data CD:

    modprobe iso9660


------- Email From  Rob McMillin <robm@pricegrabber.com> 12/12/99 16:55 -------
Attached to Bug # 7772.


------- Email From  Rob McMillin <robm@pricegrabber.com> 12/12/99 16:57 -------
Attached to Bug # 7772.
Comment 2 Riley H Williams 1999-12-12 17:14:59 EST
Rob McMillin <robm@pricegrabber.com> asks:

 Q> How would I know this?

Three tests for you to do:

 1. Type `grep iso9660 /proc/filesystems | wc -l` and advise.

 2. If the above returned zero, type `modprobe iso9660` and
    then repeat test 1. Do not repeat this more than once.

 3. Type `lsmod | grep iso9660 | wc -l` and advise.

Analyse the results as follows:

    Test 1    Test 2    Test 3    Result
    ~~~~~~    ~~~~~~    ~~~~~~    ~~~~~~
       0         0         0      Not compiled or not available
       0         0         1      Impossible combination
       0         1         0      Impossible combination
       0         1         1      Compiled as a module
       1         0         0      Impossible combination
       1         0         1      Impossible combination
       1         1         0      Hard compiled into kernel (Monolithic)
       1         1         1      Compiled as a module

Basically, if you get either of the "Compiled as a module" lines (or even if you
don't), try playing a music CD, take the music CD out of the drive, issue the
stated command of `modprobe iso9660` and then insert a data CD in the drive and
try to mount that and report on the result.

------- Email From  Rob McMillin <robm@pricegrabber.com> 12/12/99 17:40 -------
Attached to Bug # 7772.
Comment 3 Bernhard Rosenkraenzer 1999-12-17 10:33:59 EST
Looks like your audio CD player doesn't correctly release the CD when it's done
playing... Which CD player are you using?
Does it still happen if you use a different one?
Comment 4 Riley H Williams 1999-12-21 13:15:59 EST
Q> Okay, so it looks like the answer is "Hard compiled into kernel
 Q> (Monolithic)".

That tends to imply that it's something the drive is doing, rather than anything
the kernel is doing.

One thing you might wish to try is to compile a kernel with the iso9660 file
system comiled as a module, then try the following:

 1. Use a data CD, then play a music CD, then unload the iso9660 fs
    driver, then load the iso9660 fs driver, then use a data CD.

 2. Use a data CD, then unload the iso9660 fs driver, then play a
    music CD, then load the iso9660 fs driver, then use a data CD.

If one of the above works and the other doesn't, that could easily give one of
the developers a clue as to precicely what the problem is.
Comment 5 Bernhard Rosenkraenzer 2000-08-08 11:18:39 EDT
Closing due to lack of user input

Note You need to log in before you can comment on or make changes to this bug.