From: "Éric Brunet" <eric.brunet@ens.fr>
To: linux-usb@vger.kernel.org
Subject: Bug report: dvd player on USB3 port shows first GiB only
Date: Thu, 05 Dec 2019 01:40:16 +0100 [thread overview]
Message-ID: <9269932.zcQTiTrDoZ@dalek> (raw)
In-Reply-To: <7725295.NyiUUSuA9g@dalek>
Hi,
When I plug my external dvd player on my laptop, only the first GiB of the
dvd can be accessed. In practice, when I read the dvd, vlc or other
programs crash after about 20 minutes of movie.
In fact, the lseek(fd, 0, SEEK_END) system call returns 1073741312 ( which
is equal to 1 GiB - 512 B) whereas the DVD is about 7 GiB.
This occurs on any DVD. The DVD player works correctly on other computers.
What is different on my computer is that it is quite new (6 months old) and
only has USB3 ports. My DVD player has a USB2 plug and I am using a small
adapter between the two plugs. I have tried several adapters.
I have found a work-around (so that it is not a hardware fault). To see the
full DVD, I need to 1) suspend the laptop with the DVD player unplugged
2) plug the DVD player. I hear its motor running for a couple of seconds
3) wait for the motor to stop
4) resume the laptop with the DVD player still plugged in
Then, I can access the whole DVD and watch my movies. I imagine that when I
plug the dvd in the suspended computer, the device discovery is done by the
bios, and this is what makes the difference, but hey! I know nothing about
this stuff and I am probably wrong.
Note that plugging the DVD player with the computer awake and doing a
suspend/resume cycle is not enough.
The computer is a Dell XPS-13. I am currently running an up-to-date fedora
31, with kernel 5.3.13-300.fc31. However, I have had this problem since I
got the computer 6 months ago, and I was then with fedora 30 (or maybe 29 ?
I don't remember). I kept hoping that the problem would magically go away
after some update...
I am not sure what information to provide. Here is what happens in dmesg
when I plug in the DVD:
[ 1330.427205] usb 1-1: new high-speed USB device number 5 using xhci_hcd
[ 1330.561344] usb 1-1: New USB device found, idVendor=0e8d, idProduct=1887, bcdDevice= 0.00
[ 1330.561349] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1330.561352] usb 1-1: Product: HP External USB Optical Drive
[ 1330.561355] usb 1-1: Manufacturer: Hewlett-Packard Company
[ 1330.561357] usb 1-1: SerialNumber: KZ6E4D43127
[ 1330.565611] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 1330.565893] scsi host0: usb-storage 1-1:1.0
[ 1331.601229] scsi 0:0:0:0: CD-ROM hp CDDVDW GP60NB50 RP02 PQ: 0 ANSI: 0
[ 1331.607883] sr 0:0:0:0: Power-on or device reset occurred
[ 1331.622188] sr 0:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 1331.623078] sr 0:0:0:0: Attached scsi CD-ROM sr0
[ 1331.623618] sr 0:0:0:0: Attached scsi generic sg0 type 5
[ 1331.763885] pktcdvd: pktcdvd0: writer mapped to sr0
[ 1344.560361] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1344.560368] sr 0:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 1344.560374] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[ 1344.560380] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 02 00 00 00 02 00 00 00
[ 1344.560386] blk_update_request: I/O error, dev sr0, sector 2048 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 1344.679369] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1344.679376] sr 0:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 1344.679382] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[ 1344.679387] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 02 01 00 00 01 00 00 00
[ 1344.679393] blk_update_request: I/O error, dev sr0, sector 2052 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1344.679398] Buffer I/O error on dev sr0, logical block 513, async page read
[ 1345.517292] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1345.517300] sr 0:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 1345.517306] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[ 1345.517311] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 07 fe 80 00 00 3c 00 00 00
[ 1345.517317] blk_update_request: I/O error, dev sr0, sector 2095616 op 0x0:(READ) flags 0x80700 phys_seg 26 prio class 0
[ 1345.588259] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1345.588267] sr 0:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 1345.588273] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[ 1345.588278] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 07 fe 80 00 00 01 00 00 00
[ 1345.588284] blk_update_request: I/O error, dev sr0, sector 2095616 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1345.588290] Buffer I/O error on dev sr0, logical block 523904, async page read
[ 1345.659237] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1345.659245] sr 0:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 1345.659251] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[ 1345.659257] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 07 fe 81 00 00 01 00 00 00
[ 1345.659262] blk_update_request: I/O error, dev sr0, sector 2095620 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1345.659268] Buffer I/O error on dev sr0, logical block 523905, async page read
What else can I give you ?
I am not subscribed to the mailing-list; please CC me any answer.
Thanks,
Éric Brunet
next parent reply other threads:[~2019-12-05 0:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <7725295.NyiUUSuA9g@dalek>
2019-12-05 0:40 ` Éric Brunet [this message]
2019-12-05 10:35 ` Bug report: dvd player on USB3 port shows first GiB only Oliver Neukum
2019-12-05 12:00 ` Éric Brunet
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=9269932.zcQTiTrDoZ@dalek \
--to=eric.brunet@ens.fr \
--cc=linux-usb@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;
as well as URLs for NNTP newsgroup(s).