Bug 131959 - eject/df hangs system
eject/df hangs system
Product: Fedora
Classification: Fedora
Component: eject (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
: 131960 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2004-09-07 09:40 EDT by Sammy
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-02 10:45:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sammy 2004-09-07 09:40:03 EDT
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):

How reproducible:

Steps to Reproduce:
1. Follow steps described above

Additional info:
Comment 1 Bill Nottingham 2004-09-07 09:43:40 EDT
*** Bug 131960 has been marked as a duplicate of this bug. ***
Comment 2 Bill Nottingham 2004-10-15 11:45:35 EDT
Does this happen with current kernels?
Comment 3 Sammy 2004-10-15 12:40:25 EDT
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. 
Comment 4 Bill Nottingham 2004-10-20 00:55:29 EDT
OK, kernel bug appears fixed.

Deescalating, assigning back to eject.
Comment 5 Ngo Than 2004-10-20 09:53:15 EDT
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 
Comment 6 Sammy 2004-10-20 10:00:35 EDT
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 
Comment 7 Ngo Than 2004-11-02 10:45:33 EST
the "...Invalid argument." error is fixed in eject-2.0.13-12 or newer.
thanks for your report.

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