lkml.org 
[lkml]   [2002]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [Bug] 2.5.44-ac2 cdrom eject panic
    On Fri, Oct 25 2002, Markus Plail wrote:
    > Hi Jens!
    >
    > * Jens Axboe writes:
    > >Please try:
    > >*.kernel.org/pub/linux/kernel/people/axboe/patches/v2.5/2.5.44/sgio-16.bz2
    > ^^16b
    > >That should fix the silly panic.
    >
    > Yes it does. I can't burn though. I attached the cdrecord output. Hava
    > a look at the Blocks numbers. Although the image is only 500MB, it says
    > it wouldn't fit on the disc which is 700MB. In another try it wanted to
    > start burning although I had a bought audio CD in the burner.

    As a hack, can you change:

    if ((rq->flags & REQ_BLOCK_PC) && !rq->errors)
    rq->errors = sense_key;

    in drivers/ide/ide-cd.c:cdrom_decode_status() to

    if ((rq->flags & REQ_BLOCK_PC) && !rq->errors)
    rq->errors = 2;

    --
    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: 2005-03-22 13:30    [W:0.021 / U:0.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site