Mailinglist Archive: opensuse-bugs (6470 mails)

< Previous Next >
[Bug 1130294] Problem reading past end of CD-ROMs?
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 09 Jul 2019 20:00:31 +0000
  • Message-id: <bug-1130294-21960-PcHYJv01HF@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1130294
http://bugzilla.suse.com/show_bug.cgi?id=1130294#c7

Ulrich Windl <Ulrich.Windl@xxxxxxxxxxxxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(Ulrich.Windl@rz.u |
|ni-regensburg.de) |

--- Comment #7 from Ulrich Windl <Ulrich.Windl@xxxxxxxxxxxxxxxxxxxx> ---
While preparing the data I found out that "hwinfo --cdrom" causes a similar
problem (but it stops rather soon, other than during os-prober):
Jul 09 21:53:55 i7g4x4a.site kernel: st: Version 20160209, fixed bufsize 32768,
s/g segs 256
Jul 09 21:54:02 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#9 FAILED Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 09 21:54:02 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#9 Sense Key : Medium
Error [current]
Jul 09 21:54:02 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#9 Add. Sense: No
seek complete
Jul 09 21:54:02 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#9 CDB: Read(10) 28
00 00 00 06 4a 00 00 02 00
Jul 09 21:54:02 i7g4x4a.site kernel: print_req_error: I/O error, dev sr0,
sector 6440
Jul 09 21:54:09 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#12 FAILED Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 09 21:54:09 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#12 Sense Key :
Medium Error [current]
Jul 09 21:54:09 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#12 Add. Sense: No
seek complete
Jul 09 21:54:09 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#12 CDB: Read(10) 28
00 00 00 06 4a 00 00 01 00
Jul 09 21:54:09 i7g4x4a.site kernel: print_req_error: I/O error, dev sr0,
sector 6440
Jul 09 21:54:09 i7g4x4a.site kernel: Buffer I/O error on dev sr0, logical block
1610, async page read
Jul 09 21:54:17 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#15 FAILED Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 09 21:54:17 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#15 Sense Key :
Medium Error [current]
Jul 09 21:54:17 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#15 Add. Sense: No
seek complete
Jul 09 21:54:17 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#15 CDB: Read(10) 28
00 00 00 06 4b 00 00 01 00
Jul 09 21:54:17 i7g4x4a.site kernel: print_req_error: I/O error, dev sr0,
sector 6444
Jul 09 21:54:17 i7g4x4a.site kernel: Buffer I/O error on dev sr0, logical block
1611, async page read

And yes, "blkid /dev/sr0" causes the same problem (it takes longer than hwinfo,
I pressed ^C after a while):
Jul 09 21:56:02 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#12 FAILED Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 09 21:56:02 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#12 Sense Key :
Medium Error [current]
Jul 09 21:56:02 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#12 Add. Sense: No
seek complete
Jul 09 21:56:02 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#12 CDB: Read(10) 28
00 00 00 1a 10 00 00 02 00
Jul 09 21:56:02 i7g4x4a.site kernel: print_req_error: I/O error, dev sr0,
sector 26688
Jul 09 21:56:02 i7g4x4a.site kernel: attempt to access beyond end of device
Jul 09 21:56:02 i7g4x4a.site kernel: sr0: rw=0, want=26692, limit=26688
Jul 09 21:56:02 i7g4x4a.site kernel: Buffer I/O error on dev sr0, logical block
6672, async page read
Jul 09 21:56:02 i7g4x4a.site kernel: attempt to access beyond end of device
Jul 09 21:56:02 i7g4x4a.site kernel: sr0: rw=0, want=26696, limit=26688
Jul 09 21:56:02 i7g4x4a.site kernel: Buffer I/O error on dev sr0, logical block
6673, async page read
Jul 09 21:56:09 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#15 FAILED Result:
hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 09 21:56:09 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#15 Sense Key :
Medium Error [current]
Jul 09 21:56:09 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#15 Add. Sense: No
seek complete
Jul 09 21:56:09 i7g4x4a.site kernel: sr 2:0:0:0: [sr0] tag#15 CDB: Read(10) 28
00 00 00 00 00 00 00 02 00
Jul 09 21:56:09 i7g4x4a.site kernel: print_req_error: I/O error, dev sr0,
sector 0


Looks like an access 4 sectors past end of the device. Considering that a
CD-ROM sector is 2kB (AFAIK), that would be 4*512 bytes, so maybe an
"off-by-one" error...

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >