From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Jens Axboe <axboe@suse.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: IDE problems with rmmod ide-cd
Date: Fri, 29 Apr 2005 00:20:48 +0200 [thread overview]
Message-ID: <58cb370e050428152073cb81a@mail.gmail.com> (raw)
In-Reply-To: <1114725062.18809.226.camel@localhost.localdomain>
On 4/28/05, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Iau, 2005-04-28 at 21:46, Bartlomiej Zolnierkiewicz wrote:
> > > The problem you are thinking of was also an ATAPI cache flush command,
> > > so I'm not so sure I would call it harmless... I haven't changed
> > > anything in there recently, Bart?
> >
> > I don't remember changing anything there recently.
> > Alan, please give more details of the issue.
>
> Torvalds tree - head
>
> Hardware is as follows
> Promise IDE controller on ide0/1 - no drives
> VIA IDE controller on ide2/3 - hdd is a DVD-ROM
> and hdg is a disk.
>
> hdd: TOSHIBA DVD-ROM SD-M1212
>
> I had some code logging the commands issued and I did rmmod ide-cd. At
> that point it sent a cache flush to the drive which then errorred it.
>
> The actual log entry is
>
> hdd: packet command error
> Gives status=0x51, error=0x50
>
> Dumping the error in detail its
>
> Error;Illegal Request (Sense 0x05)
> Invalid command operation code (0x20, 0x00)
> The failed "Flush cache" packet command was
> "35 00 00 00 00 00 ... 00"
I would suggest auditing MRW support in cdrom.c.
IDE layer itself never sends GPCMD_FLUSH_CACHE.
next prev parent reply other threads:[~2005-04-28 22:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 16:44 IDE problems with rmmod ide-cd Alan Cox
2005-04-28 17:25 ` Jens Axboe
2005-04-28 20:46 ` Bartlomiej Zolnierkiewicz
2005-04-28 21:51 ` Alan Cox
2005-04-28 22:20 ` Bartlomiej Zolnierkiewicz [this message]
2005-04-28 22:24 ` Alan Cox
2005-04-29 14:03 ` Alan Cox
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=58cb370e050428152073cb81a@mail.gmail.com \
--to=bzolnier@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=axboe@suse.de \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.