Bug 118621 - After upgrading from ubuntu 15.10 to 16.04 CD-R's won't mount, others mount just fine
Summary: After upgrading from ubuntu 15.10 to 16.04 CD-R's won't mount, others mount j...
Status: NEW
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: SCSI (show other bugs)
Hardware: All Linux
: P1 high
Assignee: linux-scsi@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-21 11:26 UTC by Karl Lindheimer
Modified: 2016-06-06 14:35 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.4.0-22-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Karl Lindheimer 2016-05-21 11:26:30 UTC
After upgrading ubuntu 15.10 AMD64 to ubuntu ubuntu 16.04 I had to boot the last kernel 4.4.0-22 because the latest one fails to boot with my Radeon graphics card.  However this problem exists on the i686 ubuntu 16.04 with the latest kernel on my intel Macbook as well.  The problem is that CD-R disks are not recognized, nor mounted.  The disks are fine, and work on boot, but will not mount on the desktop.  DVD-R, audio, DVD movies all mount fine.  It is only specific to ubuntu 16.04 with CD-R disks, and seems to effect all of the kernels.

Here is the output of several commands:

Dmesg:

[11778.815534] scsi_io_completion: 44 callbacks suppressed
[11778.815548] sr 4:0:0:0: [sr0] tag#28 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[11778.815555] sr 4:0:0:0: [sr0] tag#28 Sense Key : Illegal Request [current] 
[11778.815564] sr 4:0:0:0: [sr0] tag#28 Add. Sense: Illegal mode for this track
[11778.815570] sr 4:0:0:0: [sr0] tag#28 CDB: Read(10) 28 00 00 01 62 b8 00 00 02 00
[11778.815574] blk_update_request: 44 callbacks suppressed
[11778.815577] blk_update_request: I/O error, dev sr0, sector 363232
[11778.875542] sr 4:0:0:0: [sr0] tag#29 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[11778.875553] sr 4:0:0:0: [sr0] tag#29 Sense Key : Illegal Request [current] 
[11778.875562] sr 4:0:0:0: [sr0] tag#29 Add. Sense: Illegal mode for this track
[11778.875568] sr 4:0:0:0: [sr0] tag#29 CDB: Read(10) 28 00 00 01 62 b8 00 00 02 00
[11778.875573] blk_update_request: I/O error, dev sr0, sector 363232
[11778.875579] buffer_io_error: 44 callbacks suppressed
[11778.875583] Buffer I/O error on dev sr0, logical block 45404, async page read
[11830.277824] sr 4:0:0:0: [sr0] tag#25 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[11830.277831] sr 4:0:0:0: [sr0] tag#25 Sense Key : Illegal Request [current] 
[11830.277837] sr 4:0:0:0: [sr0] tag#25 Add. Sense: Illegal mode for this track
[11830.277841] sr 4:0:0:0: [sr0] tag#25 CDB: Read(10) 28 00 00 04 b2 22 00 00 02 00
[11830.277844] blk_update_request: I/O error, dev sr0, sector 1230984
[11830.285408] sr 4:0:0:0: [sr0] tag#26 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[11830.285418] sr 4:0:0:0: [sr0] tag#26 Sense Key : Illegal Request [current] 
[11830.285428] sr 4:0:0:0: [sr0] tag#26 Add. Sense: Illegal mode for this track
[11830.285434] sr 4:0:0:0: [sr0] tag#26 CDB: Read(10) 28 00 00 04 b2 22 00 00 01 00
[11830.285439] blk_update_request: I/O error, dev sr0, sector 1230984
[11830.285447] Buffer I/O error on dev sr0, logical block 307746, async page read
[11830.293600] sr 4:0:0:0: [sr0] tag#28 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[11830.293610] sr 4:0:0:0: [sr0] tag#28 Sense Key : Illegal Request [current] 
[11830.293619] sr 4:0:0:0: [sr0] tag#28 Add. Sense: Illegal mode for this track
[11830.293626] sr 4:0:0:0: [sr0] tag#28 CDB: Read(10) 28 00 00 04 b2 23 00 00 01 00
[11830.293630] blk_update_request: I/O error, dev sr0, sector 1230988
[11830.293637] Buffer I/O error on dev sr0, logical block 307747, async page read
[11949.648596] ISO 9660 Extensions: Microsoft Joliet Level 3
[11949.710957] ISO 9660 Extensions: RRIP_1991A
[12017.588415] sr 4:0:0:0: [sr0] tag#21 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[12017.588426] sr 4:0:0:0: [sr0] tag#21 Sense Key : Illegal Request [current] 
[12017.588434] sr 4:0:0:0: [sr0] tag#21 Add. Sense: Illegal mode for this track
[12017.588442] sr 4:0:0:0: [sr0] tag#21 CDB: Read(10) 28 00 00 03 6b aa 00 00 02 00
[12017.588447] blk_update_request: I/O error, dev sr0, sector 896680
[12017.600417] sr 4:0:0:0: [sr0] tag#23 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[12017.600428] sr 4:0:0:0: [sr0] tag#23 Sense Key : Illegal Request [current] 
[12017.600437] sr 4:0:0:0: [sr0] tag#23 Add. Sense: Illegal mode for this track
[12017.600444] sr 4:0:0:0: [sr0] tag#23 CDB: Read(10) 28 00 00 03 6b ab 00 00 01 00
[12017.600448] blk_update_request: I/O error, dev sr0, sector 896684
[12017.600455] Buffer I/O error on dev sr0, logical block 224171, async page read
karl@DX4380G:~$ 

And lshw:

karl@DX4380G:~$ sudo lshw -C disk
[sudo] password for karl: 
  *-disk                  
       description: ATA Disk
       product: ST1000DM003-9YN1
       vendor: Seagate
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/sda
       version: CC4B
       serial: S1D44PJY
       size: 931GiB (1TB)
       capabilities: gpt-1.00 partitioned partitioned:gpt
       configuration: ansiversion=5 guid=7d587593-555e-4e7d-9040-7666ef407fde logicalsectorsize=512 sectorsize=4096
  *-cdrom
       description: DVD-RAM writer
       product: DVDRAM GH82N
       vendor: HL-DT-ST
       physical id: 0.0.0
       bus info: scsi@4:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/cdrw
       logical name: /dev/dvd
       logical name: /dev/dvdrw
       logical name: /dev/sr0
       version: 1.00
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 status=ready
     *-medium
          physical id: 0
          logical name: /dev/cdrom
karl@DX4380G:~$
Comment 1 albapompeo 2016-06-05 14:17:22 UTC
I can confirm this issue (with Alpine Linux - Kernel 4.4.11-0)

[    9.698776] sr 1:0:0:0: [sr0] tag#12 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[    9.698784] sr 1:0:0:0: [sr0] tag#12 Sense Key : 0x4 [current] 
[    9.698788] sr 1:0:0:0: [sr0] tag#12 ASC=0x3e ASCQ=0x2 
[    9.698795] sr 1:0:0:0: [sr0] tag#12 CDB: opcode=0x28 28 00 00 00 ae 96 00 00 02 00
[    9.698798] blk_update_request: I/O error, dev sr0, sector 178776
[   16.221746] sr 1:0:0:0: [sr0] tag#13 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   16.221753] sr 1:0:0:0: [sr0] tag#13 Sense Key : 0x4 [current] 
[   16.221758] sr 1:0:0:0: [sr0] tag#13 ASC=0x3e ASCQ=0x2 
[   16.221763] sr 1:0:0:0: [sr0] tag#13 CDB: opcode=0x28 28 00 00 00 ae 96 00 00 02 00
[   16.221766] blk_update_request: I/O error, dev sr0, sector 178776
[   16.221770] Buffer I/O error on dev sr0, logical block 22347, async page read
[   19.491207] random: nonblocking pool is initialized
[   26.327844] sr 1:0:0:0: [sr0] tag#12 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   26.327852] sr 1:0:0:0: [sr0] tag#12 Sense Key : 0x4 [current] 
[   26.327856] sr 1:0:0:0: [sr0] tag#12 ASC=0x3e ASCQ=0x2 
[   26.327863] sr 1:0:0:0: [sr0] tag#12 CDB: opcode=0x28 28 00 00 00 ae 96 00 00 02 00
[   26.327867] blk_update_request: I/O error, dev sr0, sector 178776
[   32.870851] sr 1:0:0:0: [sr0] tag#13 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   32.870858] sr 1:0:0:0: [sr0] tag#13 Sense Key : 0x4 [current] 
[   32.870863] sr 1:0:0:0: [sr0] tag#13 ASC=0x3e ASCQ=0x2 
[   32.870868] sr 1:0:0:0: [sr0] tag#13 CDB: opcode=0x28 28 00 00 00 ae 96 00 00 02 00
[   32.870871] blk_update_request: I/O error, dev sr0, sector 178776
[   32.870876] Buffer I/O error on dev sr0, logical block 22347, async page read
Comment 2 albapompeo 2016-06-06 14:35:49 UTC
After looking for more information, I found this comment on a forum.
====================
Hi,
this must be a new bug with Linux kernel or udev.
A significant difference between CD TAO and CD SAO at read time
is that a TAO track ends by two non-data sectors, which cannot
be read by normal SCSI READ commands.
This can happen only with CD media. Not with DVD or USB sticks.
In the times of kernel 2.X, the situation in the Linux kernel was
quite bad: I/O error somewhere beginning 128 blocks before the
track end.
With kernel 3.X it improved. The I/O error reliably hits 2 blocks
before track end on 3.16. I did not try 4.X with real iron yet.
My best guess would be that this confuses the entity among the
ISO payload, which is in charge for creating /dev/disk/by-label/ 
links while the system boots up.
(If somebody can explain the factor 8 between "sector 1226752"
and "logical block 153344", then please do.)
Obviously the problem is still in archlinux-2016.02.01-dual.iso
====================
https://bbs.archlinux.org/viewtopic.php?pid=1605434#p1605434

After testing his theory and burning the ISO to a DVD instead of a CD, it worked!

Does this shed any light to the problem?

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