Bug 16539 - end_request: I/O error, dev sr1, sector 0; quiet_error: 40 callbacks suppressed
Summary: end_request: I/O error, dev sr1, sector 0; quiet_error: 40 callbacks suppressed
Status: RESOLVED INVALID
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: SCSI (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: linux-scsi@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-07 19:04 UTC by Cristian Aravena Romero
Modified: 2011-02-28 22:28 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.34.2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg 2.6.34.2 (96.80 KB, text/plain)
2010-08-07 19:04 UTC, Cristian Aravena Romero
Details
lspci-vvnn_2.6.34-02063402-generic.log (14.21 KB, text/plain)
2010-08-07 19:07 UTC, Cristian Aravena Romero
Details

Description Cristian Aravena Romero 2010-08-07 19:04:46 UTC
Created attachment 27373 [details]
dmesg 2.6.34.2

message dmesg:

[  999.876189] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  999.876200] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
[  999.876210] sr 4:0:0:0: [sr1] Add. Sense: Illegal mode for this track
[  999.876221] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[  999.876242] end_request: I/O error, dev sr1, sector 0
[  999.876250] quiet_error: 40 callbacks suppressed
[  999.876256] Buffer I/O error on device sr1, logical block 0
[  999.882327] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  999.882337] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
[  999.882347] sr 4:0:0:0: [sr1] Add. Sense: Illegal mode for this track
[  999.882357] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[  999.882378] end_request: I/O error, dev sr1, sector 0
[  999.882385] Buffer I/O error on device sr1, logical block 0
Comment 1 Cristian Aravena Romero 2010-08-07 19:07:11 UTC
Created attachment 27374 [details]
lspci-vvnn_2.6.34-02063402-generic.log
Comment 2 Cristian Aravena Romero 2010-08-07 19:10:15 UTC
Problem with: HL-DT-ST DVDRAM GP08NU6B
Comment 3 Andrew Morton 2010-08-26 21:56:51 UTC
(recategorised as scsi)

[    3.468174] sr1: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    3.468305] sr 4:0:0:0: Attached scsi CD-ROM sr1
[    3.468381] sr 4:0:0:0: Attached scsi generic sg2 type 5
[    8.126108] EXT4-fs (sda5): mounted filesystem with ordered data mode
[   15.752273] udev: starting version 151
[   15.770035] Adding 3574424k swap on /dev/sda7.  Priority:-1 extents:1 across:3574424k 
[   16.055126] sony-laptop: Sony Notebook Control Driver v0.6.
[   16.090212] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[   16.090217] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
[   16.090222] sr 4:0:0:0: [sr1] Add. Sense: Illegal mode for this track
[   16.090229] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[   16.090239] end_request: I/O error, dev sr1, sector 0
[   16.090245] Buffer I/O error on device sr1, logical block 0

hm, who maintains drivers/scsi/sr.c?
Comment 4 Anonymous Emailer 2010-08-26 23:38:10 UTC
Reply-To: James.Bottomley@suse.de

On Thu, 2010-08-26 at 21:56 +0000, bugzilla-daemon@bugzilla.kernel.org
wrote:
> --- Comment #3 from Andrew Morton <akpm@linux-foundation.org>  2010-08-26
> 21:56:51 ---
> (recategorised as scsi)
> 
> [    3.468174] sr1: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2
> cdda
> tray
> [    3.468305] sr 4:0:0:0: Attached scsi CD-ROM sr1
> [    3.468381] sr 4:0:0:0: Attached scsi generic sg2 type 5
> [    8.126108] EXT4-fs (sda5): mounted filesystem with ordered data mode
> [   15.752273] udev: starting version 151
> [   15.770035] Adding 3574424k swap on /dev/sda7.  Priority:-1 extents:1
> across:3574424k 
> [   16.055126] sony-laptop: Sony Notebook Control Driver v0.6.
> [   16.090212] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [   16.090217] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
> [   16.090222] sr 4:0:0:0: [sr1] Add. Sense: Illegal mode for this track
> [   16.090229] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
> [   16.090239] end_request: I/O error, dev sr1, sector 0
> [   16.090245] Buffer I/O error on device sr1, logical block 0
> 
> hm, who maintains drivers/scsi/sr.c?

Well, technically, that's Jens.

However, what's the actual bug here ... as in what's going on?

The kernel trace implies that some user land process tried to read block
0 and got told it's not readable, giving an I/O error.

MMC says this usually happens when you try to read a sector with the
wrong mode ... what is the program doing the read?

James
Comment 5 Cristian Aravena Romero 2011-02-28 22:28:32 UTC
Hello, I close report.  Problem with ReadCDs.

Note You need to log in before you can comment on or make changes to this bug.