From: Davidlohr Bueso <dave@stgolabs.net>
To: Ruediger Meier <sweet_f_a@gmx.de>
Cc: util-linux@vger.kernel.org, Douglas Gilbert <dgilbert@interlog.com>
Subject: Re: eject test fails with kernel 3.19
Date: Fri, 03 Apr 2015 09:38:18 -0700 [thread overview]
Message-ID: <1428079098.5647.11.camel@stgolabs.net> (raw)
In-Reply-To: <201504031619.38548.sweet_f_a@gmx.de>
On Fri, 2015-04-03 at 15:19 +0100, Ruediger Meier wrote:
> Hi,
>
> eject(1) fails for scsi_debug module version 1.85 (kernel 3.19).
>
> The Problem is that command ALLOW_MEDIUM_REMOVAL now returns
> driverstatus==DRIVER_SENSE with sensecode==0x20 (INVALID COMMAND
> OPERATION CODE).
>
> If I ignore that senscode then the other two START_STOP commands finish
> successfully.
>
> Should this be fixed in eject(1) or in scsi_debug or is it just a bad
> idea to eject scsi_debug devices? This documentations says
> ALLOW_MEDIUM_REMOVAL is supported.
> http://sg.danny.cz/sg/sdebug.html
>
> I guess the issue came with this kernel commit:
Then the kernel needs fixing. Breaking userspace is a no no, plain and
simple. Who knows what other program(s) might be affected.
Thanks,
Davidlohr
prev parent reply other threads:[~2015-04-03 16:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-03 14:19 eject test fails with kernel 3.19 Ruediger Meier
2015-04-03 16:38 ` Davidlohr Bueso [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1428079098.5647.11.camel@stgolabs.net \
--to=dave@stgolabs.net \
--cc=dgilbert@interlog.com \
--cc=sweet_f_a@gmx.de \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox