2004-03-27 12:48:21

by Wakko Warner

[permalink] [raw]
Subject: Can't eject jaz disk on 2.6

I've used 2.6.0 to 2.6.4 on a computer with a jaz drive.
Using eject 2.0.13, I'm unable to eject the disk. I have tested on 2.4.24
and it does eject.

--
Lab tests show that use of micro$oft causes cancer in lab animals


2004-03-27 22:42:38

by Matthew Dharm

[permalink] [raw]
Subject: Re: Can't eject jaz disk on 2.6

On Sat, Mar 27, 2004 at 07:59:18AM -0500, Wakko Warner wrote:
> I've used 2.6.0 to 2.6.4 on a computer with a jaz drive.
> Using eject 2.0.13, I'm unable to eject the disk. I have tested on 2.4.24
> and it does eject.

Over on the usb-storage list, we've just become aware of a similar problem.

Are you using SCSI or IDE?

We've actually recorded the SCSI layer sending us a PREVENT_MEDIUM_REMOVAL,
then a START_STOP (to actually eject), and then an ALLOW_MEDIUM_REMOVAL.
So, nothing gets ejected. This is under 2.6.

Matt

--
Matthew Dharm Home: [email protected]
Maintainer, Linux USB Mass Storage Driver

S: Another stupid question?
G: There's no such thing as a stupid question, only stupid people.
-- Stef and Greg
User Friendly, 7/15/1998


Attachments:
(No filename) (798.00 B)
(No filename) (189.00 B)
Download all attachments

2004-03-27 22:49:26

by Wakko Warner

[permalink] [raw]
Subject: Re: Can't eject jaz disk on 2.6

> > I've used 2.6.0 to 2.6.4 on a computer with a jaz drive.
> > Using eject 2.0.13, I'm unable to eject the disk. I have tested on 2.4.24
> > and it does eject.
>
> Over on the usb-storage list, we've just become aware of a similar problem.

What was it with?

> Are you using SCSI or IDE?

SCSI. I thought all JAZ disks were scsi?

> We've actually recorded the SCSI layer sending us a PREVENT_MEDIUM_REMOVAL,
> then a START_STOP (to actually eject), and then an ALLOW_MEDIUM_REMOVAL.
> So, nothing gets ejected. This is under 2.6.

I have noticed that when I attempt to eject, it spins the disk backup,
spins down and that's it.

--
Lab tests show that use of micro$oft causes cancer in lab animals

2004-03-27 22:53:18

by Matthew Dharm

[permalink] [raw]
Subject: Re: Can't eject jaz disk on 2.6

On Sat, Mar 27, 2004 at 06:00:18PM -0500, Wakko Warner wrote:
> > > I've used 2.6.0 to 2.6.4 on a computer with a jaz drive.
> > > Using eject 2.0.13, I'm unable to eject the disk. I have tested on 2.4.24
> > > and it does eject.
> >
> > Over on the usb-storage list, we've just become aware of a similar problem.
>
> What was it with?

The device in question there was an Iomega USB Zip 100 drive.

> > Are you using SCSI or IDE?
>
> SCSI. I thought all JAZ disks were scsi?

I wasn't sure. USB is emulated through the SCSI layer, tho. I would
recommend we take this discussion to the linux-scsi mailing list.

> > We've actually recorded the SCSI layer sending us a PREVENT_MEDIUM_REMOVAL,
> > then a START_STOP (to actually eject), and then an ALLOW_MEDIUM_REMOVAL.
> > So, nothing gets ejected. This is under 2.6.
>
> I have noticed that when I attempt to eject, it spins the disk backup,
> spins down and that's it.

The user of the Zip 100 actually sent us logs showing this behavior. We
assume it's coming from the SCSI system, as usb-storage doesn't contain
anything remotely resembling this....

Repeated uses of the 'eject' command generated the same sequence in his
test scenario, but his Zip 100 actually ejected the media on the second
try. I think that's a device-dependent behavior, tho.

Matt

--
Matthew Dharm Home: [email protected]
Maintainer, Linux USB Mass Storage Driver

I say, what are all those naked people doing?
-- Big client to Stef
User Friendly, 12/14/1997


Attachments:
(No filename) (1.51 kB)
(No filename) (189.00 B)
Download all attachments