lkml.org 
[lkml]   [2006]   [Oct]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    DateThu, 12 Oct 2006 18:51:11 +0200
    FromJens Axboe <>
    SubjectRe: 2.6.19-rc1 regression: unable to read dvd's
    On Thu, Oct 12 2006, Alex Romosan wrote:
    > Jens Axboe <jens.axboe@oracle.com> writes:
    > 
    > > Argh damn, it needs this on top of it as well. Your second problem
    > > likely stems from that missing bit, please retest with this one applied
    > > as well.
    > >
    > > diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
    > > index e7513e5..bddfebd 100644
    > > --- a/drivers/ide/ide-cd.c
    > > +++ b/drivers/ide/ide-cd.c
    > > @@ -716,7 +716,7 @@ static int cdrom_decode_status(ide_drive
    > >  		ide_error(drive, "request sense failure", stat);
    > >  		return 1;
    > > 
    > > -	} else if (blk_pc_request(rq)) {
    > > +	} else if (blk_pc_request(rq) || rq->cmd_type == REQ_TYPE_ATA_PC) {
    > >  		/* All other functions, except for READ. */
    > >  		unsigned long flags;
    > > 
    > 
    > please ignore my previous message, i am an idiot. if i actually put a
    > dvd in the drive then this patch works as expected. sorry for the
    > noise.
    
    Good, thanks for the update :-)
    
    -- 
    Jens Axboe
    
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    
    
    \
     
     \ /
      Last update: 2006-10-12 20:05    [from the cache]
    ©2003-2008