Re: IDE problems with rmmod ide-cd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/28/05, Alan Cox <[email protected]> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux