Bug ID 1130294
Summary Problem reading past end of CD-ROMs?
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.0
Hardware x86-64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-maintainers@forge.provo.novell.com
Reporter Ulrich.Windl@rz.uni-regensburg.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Sine a few months I'm having the new problem that my BlueRay drive goes crazy
once dracut or GUB2 updates the bootloader: The BlueRay drive (with a boot CD
in it) spins up, makes noises as if continually relacibrating, and everything
seems to hang, and pressing the ejct button does not work for a long time
(>30s). Eventually when the tray opens, dracut continues, and the the update
finshes.
My suspect is that the kernel (or dracut or some related code) tried to access
the medium past it end, and the drive does not like that.

For a recent occurrence the kernel messages look like this:
M�r 18 21:30:12 host.site [RPM][4520]: erase dracut-044.1-lp150.14.18.1.x86_64:
success
M�r 18 21:30:12 host.site [RPM][4520]: Transaction ID 5c8fffd2 finished: 0
M�r 18 21:30:12 host.site [RPM][4567]: Transaction ID 5c8fffd4 started
M�r 18 21:30:12 host.site [RPM][4567]: erase
java-1_8_0-openjdk-devel-1.8.0.191-lp150.2.9.2.x86_64: success
M�r 18 21:30:14 host.site [RPM][4567]: install
java-1_8_0-openjdk-devel-1.8.0.201-lp150.2.12.1.x86_64: success
M�r 18 21:30:14 host.site [RPM][4567]: erase
java-1_8_0-openjdk-devel-1.8.0.191-lp150.2.9.2.x86_64: success
M�r 18 21:30:14 host.site [RPM][4567]: install
java-1_8_0-openjdk-devel-1.8.0.201-lp150.2.12.1.x86_64: success
M�r 18 21:30:14 host.site [RPM][4567]: Transaction ID 5c8fffd4 finished: 0
M�r 18 21:31:26 host.site kernel: sr 2:0:0:0: [sr0] tag#30 FAILED Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
M�r 18 21:31:26 host.site kernel: sr 2:0:0:0: [sr0] tag#30 Sense Key : Medium
Error [current] 
M�r 18 21:31:26 host.site kernel: sr 2:0:0:0: [sr0] tag#30 Add. Sense: No seek
complete
M�r 18 21:31:26 host.site kernel: sr 2:0:0:0: [sr0] tag#30 CDB: Read(10) 28 00
00 00 1a 10 00 00 02 00
M�r 18 21:31:26 host.site kernel: print_req_error: I/O error, dev sr0, sector
26688
M�r 18 21:31:26 host.site kernel: attempt to access beyond end of device
M�r 18 21:31:26 host.site kernel: sr0: rw=0, want=26692, limit=26688
M�r 18 21:31:26 host.site kernel: Buffer I/O error on dev sr0, logical block
6672, async page read
M�r 18 21:31:26 host.site kernel: attempt to access beyond end of device
M�r 18 21:31:26 host.site kernel: sr0: rw=0, want=26696, limit=26688
M�r 18 21:31:26 host.site kernel: Buffer I/O error on dev sr0, logical block
6673, async page read
M�r 18 21:31:34 host.site kernel: sr 2:0:0:0: [sr0] tag#2 FAILED Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
M�r 18 21:31:34 host.site kernel: sr 2:0:0:0: [sr0] tag#2 Sense Key : Medium
Error [current] 
M�r 18 21:31:34 host.site kernel: sr 2:0:0:0: [sr0] tag#2 Add. Sense: No seek
complete
M�r 18 21:31:34 host.site kernel: sr 2:0:0:0: [sr0] tag#2 CDB: Read(10) 28 00
00 00 00 00 00 00 02 00
M�r 18 21:31:34 host.site kernel: print_req_error: I/O error, dev sr0, sector 0
M�r 18 21:31:41 host.site kernel: sr 2:0:0:0: [sr0] tag#5 FAILED Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
M�r 18 21:31:41 host.site kernel: sr 2:0:0:0: [sr0] tag#5 Sense Key : Medium
Error [current] 
M�r 18 21:31:41 host.site kernel: sr 2:0:0:0: [sr0] tag#5 Add. Sense: No seek
complete
M�r 18 21:31:41 host.site kernel: sr 2:0:0:0: [sr0] tag#5 CDB: Read(10) 28 00
00 00 00 00 00 00 01 00
M�r 18 21:31:41 host.site kernel: print_req_error: I/O error, dev sr0, sector 0
M�r 18 21:31:41 host.site kernel: Buffer I/O error on dev sr0, logical block 0,
async page read
M�r 18 21:31:48 host.site kernel: sr 2:0:0:0: [sr0] tag#8 FAILED Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
M�r 18 21:31:48 host.site kernel: sr 2:0:0:0: [sr0] tag#8 Sense Key : Medium
Error [current] 
M�r 18 21:31:48 host.site kernel: sr 2:0:0:0: [sr0] tag#8 Add. Sense: No seek
complete
M�r 18 21:31:48 host.site kernel: sr 2:0:0:0: [sr0] tag#8 CDB: Read(10) 28 00
00 00 00 01 00 00 01 00
M�r 18 21:31:48 host.site kernel: print_req_error: I/O error, dev sr0, sector 4
M�r 18 21:31:48 host.site kernel: Buffer I/O error on dev sr0, logical block 1,
async page read

Information of the boot cd in the drive is:
# isoinfo -d -i /dev/sr0
Setting input-charset to 'UTF-8' from locale.
CD-ROM is in ISO 9660 format
System id: 
Volume id: ISOIMAGE
Volume set id: 
Publisher id: 
Data preparer id: XORRISO-1.4.6 2016.09.16.133001, LIBISOBURN-1.4.6,
LIBISOFS-1.4.6, LIBBURN-1.4.6
Application id: 
Copyright File id: 
Abstract File id: 
Bibliographic File id: 
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 6660
El Torito VD version 1 found, boot catalog is in sector 1610
NO Joliet present

SUSP signatures version 1 found
Rock Ridge signatures version 1 found
Rock Ridge id 'RRIP_1991A'
Eltorito validation header:
    Hid 1
    Arch 0 (x86)
    ID ''
    Cksum AA 55 OK
    Key 55 AA
    Eltorito defaultboot header:
        Bootid 88 (bootable)
        Boot media 0 (No Emulation Boot)
        Load segment 0
        Sys type 0
        Nsect 4
        Bootoff 9CE 2510


A similar effect happens when I plug in an old Sandisk Cruzer U3 stick that
features CD-ROM emulation:

M�r 24 19:28:11 i7g4x4a.site kernel: scsi_io_completion: 85 callbacks
suppressed
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 FAILED Result:
hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 Sense Key :
Hardware Error [current] 
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 Add. Sense: No
additional sense information
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 CDB: Read(10) 28
00 00 00 be 81 00 00 01 00
M�r 24 19:28:11 i7g4x4a.site kernel: print_req_error: 85 callbacks suppressed
M�r 24 19:28:11 i7g4x4a.site kernel: print_req_error: I/O error, dev sr1,
sector 195076
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 FAILED Result:
hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 Sense Key :
Hardware Error [current] 
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 Add. Sense: No
additional sense information
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 CDB: Read(10) 28
00 00 00 bf fa 00 00 02 00
M�r 24 19:28:11 i7g4x4a.site kernel: print_req_error: I/O error, dev sr1,
sector 196584
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 FAILED Result:
hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 Sense Key :
Hardware Error [current] 
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 Add. Sense: No
additional sense information
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 CDB: Read(10) 28
00 00 00 bf fa 00 00 01 00
M�r 24 19:28:11 i7g4x4a.site kernel: print_req_error: I/O error, dev sr1,
sector 196584
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 FAILED Result:
hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 Sense Key :
Hardware Error [current] 
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 Add. Sense: No
additional sense information
M�r 24 19:28:11 i7g4x4a.site kernel: sr 6:0:0:1: [sr1] tag#0 CDB: Read(10) 28
00 00 00 bf fb 00 00 01 00
M�r 24 19:28:11 i7g4x4a.site kernel: print_req_error: I/O error, dev sr1,
sector 196588

ISO-Information for this device is:
# isoinfo -d -i /dev/sr1
Setting input-charset to 'UTF-8' from locale.
CD-ROM is in ISO 9660 format
System id: 
Volume id: U3 System
Volume set id: 20090910_1508                                                    
Publisher id: MagicISO v5.2 COPYRIGHT (C) 2001-2006 MagicISO, Inc.
Data preparer id: MagicISO v5.2 COPYRIGHT (C) 2001-2006 MagicISO, Inc.
Application id: 
Copyright File id:                                     
Abstract File id:                                     
Bibliographic File id:                                     
Volume set size is: 0
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 3518

Joliet with UCS level 3 found.
No SUSP/Rock Ridge present


You are receiving this mail because: