Bug 57714 (suse42714) - eject does not eject SCSI ZIP medium
Summary: eject does not eject SCSI ZIP medium
Status: RESOLVED WORKSFORME
Alias: suse42714
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: ConsoleApps (show other bugs)
Version: Final
Hardware: All Linux
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Marian Jancar
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-02 17:58 UTC by Karl Eichwalder
Modified: 2006-07-20 12:19 UTC (History)
1 user (show)

See Also:
Found By: Documentation
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
e 1 (1.50 KB, application/x-gzip)
2005-10-24 19:04 UTC, Karl Eichwalder
Details
e 2 (1.37 KB, application/x-gzip)
2005-10-24 19:04 UTC, Karl Eichwalder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Eichwalder 2004-07-02 17:58:42 UTC
'eject /dev/sda1' unmounts the ZIP medium but does not eject it.
Comment 1 Karl Eichwalder 2004-07-02 17:58:42 UTC
<!-- SBZ_reproduce  -->
install SL 9.1 + the YOU update kernel (I didn't test it with the delivered
default kernel).
Comment 2 Tomas Crhak 2005-02-09 20:21:35 UTC
reassigning to the new maintainer
Comment 3 Marian Jancar 2005-07-13 15:47:52 UTC

*** This bug has been marked as a duplicate of 58248 ***
Comment 4 Marian Jancar 2005-07-14 16:33:10 UTC
Karl, can you reproduce the bug?
Comment 5 Karl Eichwalder 2005-07-15 09:33:33 UTC
Still the same with STABLE from end of June.  I'll test it again on pre1 next week.
Comment 6 Marian Jancar 2005-08-29 18:16:26 UTC
I have just fixed eject to use SG_IO (bug #113861), could you please test if the
eject now works?
Comment 7 Karl Eichwalder 2005-08-30 08:16:28 UTC
Thanks for notification--I'll test it on Thursday.
Comment 8 Marian Jancar 2005-09-08 13:45:41 UTC
any results?
Comment 9 Karl Eichwalder 2005-09-08 14:18:01 UTC
Sorry for the delay.

'modprobe imm' (for loading the driver)
'mount /dev/sda1 /mnt

Then 'eject /dev/sda1' or 'eject /mnt' unmounts the disk.  If you call 'eject
/dev/sda1' a second time, it ejects the medium.

At the moment, the drive is connected to K21.suse.de (I can send you the
password on request).
Comment 10 Marian Jancar 2005-09-08 14:38:39 UTC
Thanks for the offer, but for effective remote debugging it would have to be
able to load the medium without manual intervention :) Just please try with -v,
strace output could be interesting too.

Lada, could we obtain a SCSI ZIP for the testing?
Comment 11 Karl Eichwalder 2005-09-08 15:06:44 UTC
;)

Oops, I forgot to mention that this time I run the test with a parport drive ;-(
 @home I have a SCSI drive...  I'm not sure how long it might take to update my
system at home from 9.3 to 10.0.  Sorry.
Comment 12 Marian Jancar 2005-09-12 12:07:38 UTC
ok, let me then know how it works
Comment 13 Karl Eichwalder 2005-10-24 19:00:25 UTC
tux:~ # strace -o e.log eject -v /dev/sda1
eject: device name is `/dev/sda1'
eject: expanded name is `/dev/sda1'
eject: `/dev/sda1' is mounted at `/mnt'
eject: unmounting `/dev/sda1'
eject: `/dev/sda1' is a multipartition device
eject: trying to eject `/dev/sda1' using CD-ROM eject command
eject: CD-ROM eject command succeeded

But it does not actually eject the medium.  The second time the following happens:

tux:~ # strace -o e2.log eject -v /dev/sda1
eject: device name is `/dev/sda1'
eject: expanded name is `/dev/sda1'
eject: `/dev/sda1' is not mounted
eject: `/dev/sda1' is not a mount point
eject: `/dev/sda1' is a multipartition device
eject: trying to eject `/dev/sda1' using CD-ROM eject command
eject: CD-ROM eject command succeeded

I'll attache e.og and e2.log
Comment 14 Karl Eichwalder 2005-10-24 19:04:05 UTC
Created attachment 55260 [details]
e 1
Comment 15 Karl Eichwalder 2005-10-24 19:04:47 UTC
Created attachment 55261 [details]
e 2
Comment 16 Marian Jancar 2006-01-20 11:59:04 UTC
I have updated the eject in 10.1, does it still happen there?
Comment 17 Marian Jancar 2006-02-09 17:45:41 UTC
any success with the 10.1?
Comment 18 Marian Jancar 2006-07-20 12:19:33 UTC
assuming the bug is fixed in progress