public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Linux Kernel List <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@digeo.com>
Subject: Re: 2.5.64-mm6: oops in elv_remove_request
Date: Fri, 14 Mar 2003 19:07:16 +0100	[thread overview]
Message-ID: <20030314180716.GZ791@suse.de> (raw)
In-Reply-To: <1047664774.25536.47.camel@ixodes.goop.org>

On Fri, Mar 14 2003, Jeremy Fitzhardinge wrote:
> On Fri, 2003-03-14 at 03:37, Jens Axboe wrote:
> > Can you send me the output of -prcap?
> 
> # cdrecord -prcap
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.7'
> Device type    : Removable CD-ROM
> Version        : 2
> Response Format: 2
> Capabilities   :
> Vendor_info    : 'PLEXTOR '
> Identifikation : 'CD-R   PX-W4824A'
> Revision       : '1.04'
> Device seems to be: Generic mmc CD-RW.
> 
> Drive capabilities, per MMC-3 page 2A:
> 
>   Does read CD-R media
>   Does write CD-R media
>   Does read CD-RW media
>   Does write CD-RW media
>   Does not read DVD-ROM media
>   Does not read DVD-R media
>   Does not write DVD-R media
>   Does not read DVD-RAM media
>   Does not write DVD-RAM media
>   Does support test writing
> 
>   Does read Mode 2 Form 1 blocks
>   Does read Mode 2 Form 2 blocks
>   Does read digital audio blocks
>   Does restart non-streamed digital audio reads accurately
>   Does support Buffer-Underrun-Free recording
>   Does read multi-session CDs
>   Does read fixed-packet CD media using Method 2
>   Does not read CD bar code
>   Does read R-W subcode information
>   Does return R-W subcode de-interleaved and error-corrected
>   Does read raw P-W subcode data from lead in
>   Does return CD media catalog number
>   Does return CD ISRC information
>   Does support C2 error pointers
>   Does deliver composite A/V data
> 
>   Does play audio CDs
>   Number of volume control levels: 256
>   Does support individual volume control setting for each channel
>   Does support independent mute setting for each channel
>   Does not support digital output on port 1
>   Does not support digital output on port 2
> 
>   Loading mechanism type: tray
>   Does support ejection of CD via START/STOP command
>   Does not lock media on power up via prevent jumper
>   Does allow media to be locked in the drive via PREVENT/ALLOW command
>   Is not currently in a media-locked state
>   Does not support changing side of disk
>   Does not have load-empty-slot-in-changer feature
>   Does not support Individual Disk Present feature
> 
>   Maximum read  speed:  7056 kB/s (CD  40x, DVD  5x)
>   Current read  speed:  7056 kB/s (CD  40x, DVD  5x)
>   Maximum write speed:  8467 kB/s (CD  48x, DVD  6x)
>   Current write speed:  8467 kB/s (CD  48x, DVD  6x)
>   Rotational control selected: CLV/PCAV
>   Buffer size in KB: 4096
>   Copy management revision supported: 0
>   Number of supported write speeds: 8
>   Write speed # 0:  8467 kB/s CLV/PCAV (CD  48x, DVD  6x)
>   Write speed # 1:  7056 kB/s CLV/PCAV (CD  40x, DVD  5x)
>   Write speed # 2:  5645 kB/s CLV/PCAV (CD  32x, DVD  4x)
>   Write speed # 3:  4234 kB/s CLV/PCAV (CD  24x, DVD  3x)
>   Write speed # 4:  3528 kB/s CLV/PCAV (CD  20x, DVD  2x)
>   Write speed # 5:  2822 kB/s CLV/PCAV (CD  16x, DVD  2x)
>   Write speed # 6:  1411 kB/s CLV/PCAV (CD   8x, DVD  1x)
>   Write speed # 7:   706 kB/s CLV/PCAV (CD   4x, DVD  0x)
> 
> 
> But... When I first ran -checkdrive this morning, it gave me good
> results:
> 
> # cdrecord -checkdrive
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.7'
> Device type    : Removable CD-ROM
> Version        : 2
> Response Format: 2
> Capabilities   :
> Vendor_info    : 'PLEXTOR '
> Identifikation : 'CD-R   PX-W4824A'
> Revision       : '1.04'
> Device seems to be: Generic mmc CD-RW.
> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
> 
> But immediately afterwards:
> 
> # cdrecord -checkdrive
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.7'
> Device type    : Removable CD-ROM
> Version        : 0
> Response Format: 1
> Vendor_info    : 'PLEXTOR '
> Identifikation : 'CD-R   PX-W4824A'
> Revision       : '1.04'
> Device seems to be: Generic mmc CD-RW.
> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
> Supported modes:
> 
> Ejecting and reinserting the disc seems to restore things:

Really weird, I can't reproduce here at all. My drive gives the correct
result no matter if it's empty or loaded. Results are repeatable, too.
DMA or PIO, didn't matter.

> Notice the "version" and "response format" fields have changed.

Yeah, something is really screwed. Hmmm, let spend a bit of time with
this problem...

-- 
Jens Axboe


  reply	other threads:[~2003-03-14 17:56 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 17:22 2.5.64-mm6: kernel BUG at kernel/timer.c:155! Jeremy Fitzhardinge
2003-03-13 17:45 ` Jeremy Fitzhardinge
2003-03-13 17:54 ` Jens Axboe
2003-03-13 18:04   ` Jeremy Fitzhardinge
2003-03-13 19:02     ` Jens Axboe
2003-03-14  9:24       ` 2.5.64-mm6: oops in elv_remove_request Jeremy Fitzhardinge
2003-03-14 10:42         ` Jens Axboe
2003-03-14 10:06           ` Jeremy Fitzhardinge
2003-03-14 10:31           ` Jeremy Fitzhardinge
2003-03-14 11:37             ` Jens Axboe
2003-03-14 17:59               ` Jeremy Fitzhardinge
2003-03-14 18:07                 ` Jens Axboe [this message]
2003-03-14 22:19                   ` Jeremy Fitzhardinge
2003-03-15  8:15                     ` Jens Axboe
2003-03-16  2:54                       ` Jeremy Fitzhardinge
2003-03-17  8:05                         ` Jens Axboe
2003-03-17 16:56                           ` Jeremy Fitzhardinge
2003-03-24 13:14                             ` Jens Axboe
2003-03-14 20:33         ` Jens Axboe
2003-03-14 22:15           ` Jeremy Fitzhardinge
2003-03-15  8:15             ` Jens Axboe
2003-03-13 20:52 ` 2.5.64-mm6: kernel BUG at kernel/timer.c:155! Aravind

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=20030314180716.GZ791@suse.de \
    --to=axboe@suse.de \
    --cc=akpm@digeo.com \
    --cc=jeremy@goop.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox