Red Hat Bugzilla – Bug 131959
eject/df hangs system
Last modified: 2007-11-30 17:10:48 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; en_US, en_US.UTF-8, en) (KHTML, like Gecko)
Description of problem:
Here are the steps that work every time:
1. Insert a CD
2. do a mount -t iso9660 /dev/cdrom /mnt/cdrom
The CD is mounted and shows up with "df" fine and all
3. do "eject /dev/cdrom"
The CD is ejected but you get an error message:
eject: unable to eject, last error: Invalid argument.
4. Do a "df" this just hangs and hangs eveything else.
5. Do Ctrl+Alt+F1 to switch to terminal mode
6. Try to login....it does not work and you get the messages:
fs/jbd/transaction.c:165: spin_is_locked on uninitialized spinlock 61f565b8
fs/jbd/transaction.c:177: spin_is_locked on uninitialized spinlock 61f565b8
These two lines keep coming....and you need to reboot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Follow steps described above
*** Bug 131960 has been marked as a duplicate of this bug. ***
Does this happen with current kernels?
Hi, I just tested it with 1.624 and the hang did not happen.
I still get the "eject: unable to eject, last error: Invalid argument."
message despite the fact that it is actually ejected.
OK, kernel bug appears fixed.
Deescalating, assigning back to eject.
it's strange. I did not see the above error message "eject: unable to
eject, last error: Invalid argument.", it just works for me with IDE
CDROM. Could you please give more details about your CDROM (IDE/SCSI,
name of CDROM)? thanks
Here are all the dmesg stuff for the CD:
hdc: HL-DT-ST GCE-8481B, ATAPI CD/DVD-ROM drive
Using cfq io scheduler
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
ide0: Wait for ready failed before probe !
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
the "...Invalid argument." error is fixed in eject-2.0.13-12 or newer.
thanks for your report.