http://qa.mandrakesoft.com/show_bug.cgi?id=3574
Product: kernel
Component: kernel
Summary: supermount prevents CD ejection in mdk-9.1 final
Version: 2.4.21-0.13mdk
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
I have all updates applied on stock mdk-9.1 install. I have supermount and
scsi-emulation
enabled.
I have two IDE CD drives:
hdc (scsi-emulated)
hdd (no scsi-emulation).
The CD ejection problem is reproducble for both drives.
Steps to reproduce the problem
---------------------------------------------
1. Put a CD in the drive and close the tray by pressing the CD eject button (the
hardware
button present on the drive). Press the eject button again and verify that the CD is
ejected as
expected. Close the CD tray again.
2. Lets say that the CD drive device is /dev/cdrom (mounted on /mnt/cdrom2). Run the
command:
ls /mnt/cdrom2
Now, press the CD eject button, the CD is ejected fine. Close the CD tray.
3. Run a command to read /dev/cdrom as:
cat /dev/cdrom
4. Wait for the cat command in previous step to end (or you may interrupt the cat
command if
it takes too long).
5. a) Now press the CD eject button. Nothing happens.
b) If I use "eject /dev/cdrom", the CD is ejected fine.
6. a) If I skip step 5b and run "ls /mnt/cdrom2", then the CD files are listed just
fine.
b) After step 6a, if I press the CD eject button, it ejects normally.
This strange behavior is 100% reproducible. It seems that every time the "cat" command
is
used after an "ls" command, it prevents a manual hardware ejection of the CD. After
cat, using
the "ls" command sets things right.
Further investigation revealed that if I manually umount /mnt/cdrom2 then this problem
disappears. If I manually re-mount /mnt/cdrom2, the problem reappears. Obviously,
supermount is not handling things correctly since the problem is related to mounting.
No error messages in dmesg or /var/log/* can be found that explains this odd behavior.
I reported the same bug in bug 2103 but that bug has been marked resolved as "fixed",
even
though the bug still exists in mandrake-9.1 final.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.