USB CD/DVD drive works on Ubuntu but has read errors on Debian
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
USB CD/DVD drive works on Ubuntu but has read errors on Debian
Hi,
I am hitting a strange issue, and I need help.
As my new laptop does not have a CD drive, I bought an external one. Unfortunately, I get very often read errors, but only when using Debian. After many experiments, I can say that the drive:
works on Ubuntu (tested with Mint 18.3 installed with kernel 4.13.0-26-generic, and live USB on different computers)
works on Windows 8 (tested on one computer)
does not work on Debian (tested on 3 computers, with current stable and testing, kernels 4.9.0-4-amd64, 4.11.0-1-amd64, 4.13.4-1-pve, 4.14.0-2-amd64)
My questions are:
Do you have any idea what I could try (kernel or module parameter for example)?
What other information should I provide before submitting a bug report to Debian?
The same multisession CD is used for all tests (this one is convenient because read errors appear just after USB connection).
Errors shows up as follow:
Code:
[ 220.934673] usb 1-2: new high-speed USB device number 3 using xhci_hcd
[ 221.084438] usb 1-2: New USB device found, idVendor=13fd, idProduct=1140
[ 221.084442] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 221.084444] usb 1-2: Product: CTF M.6B
[ 221.084447] usb 1-2: Manufacturer: Initio
[ 221.084449] usb 1-2: SerialNumber: 0000000000000000
[ 221.614029] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 221.614275] scsi host4: usb-storage 1-2:1.0
[ 221.614390] usbcore: registered new interface driver usb-storage
[ 221.615795] usbcore: registered new interface driver uas
[ 222.639146] scsi 4:0:0:0: CD-ROM TEAC DV-W28SLCTF M.6B PQ: 0 ANSI: 0
[ 222.639464] scsi 4:0:0:0: Attached scsi generic sg1 type 5
[ 222.657358] sr 4:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda caddy
[ 222.657359] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 222.657538] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 233.602554] sr 4:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 233.602559] sr 4:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 233.602563] sr 4:0:0:0: [sr0] tag#0 Add. Sense: Illegal mode for this track
[ 233.602566] sr 4:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 01 44 bc 00 00 02 00
[ 233.602569] print_req_error: I/O error, dev sr0, sector 332528
[ 233.605946] sr 4:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 233.605950] sr 4:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 233.605953] sr 4:0:0:0: [sr0] tag#0 Add. Sense: Illegal mode for this track
[ 233.605956] sr 4:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 01 44 bc 00 00 01 00
[ 233.605958] print_req_error: I/O error, dev sr0, sector 332528
[ 233.607266] Buffer I/O error on dev sr0, logical block 83132, async page read
[ 233.610972] sr 4:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 233.610978] sr 4:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 233.610982] sr 4:0:0:0: [sr0] tag#0 Add. Sense: Illegal mode for this track
[ 233.610985] sr 4:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 01 44 bd 00 00 01 00
[ 233.610989] print_req_error: I/O error, dev sr0, sector 332532
[ 233.612554] Buffer I/O error on dev sr0, logical block 83133, async page read
Using Mint, no errors:
Code:
[ 101.284415] usb 2-3: new high-speed USB device number 3 using ehci-pci
[ 101.434530] usb 2-3: New USB device found, idVendor=13fd, idProduct=1140
[ 101.434538] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 101.434543] usb 2-3: Product: CTF M.6B
[ 101.434548] usb 2-3: Manufacturer: Initio
[ 101.434552] usb 2-3: SerialNumber: 0000000000000000
[ 101.514217] usb-storage 2-3:1.0: USB Mass Storage device detected
[ 101.514344] scsi host6: usb-storage 2-3:1.0
[ 101.514976] usbcore: registered new interface driver usb-storage
[ 101.527371] usbcore: registered new interface driver uas
[ 102.525859] scsi 6:0:0:0: CD-ROM TEAC DV-W28SLCTF M.6B PQ: 0 ANSI: 0
[ 102.543292] sr 6:0:0:0: [sr1] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda caddy
[ 102.543488] sr 6:0:0:0: Attached scsi CD-ROM sr1
[ 102.543585] sr 6:0:0:0: Attached scsi generic sg2 type 5
[ 123.261043] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 123.452076] ISOFS: changing to secondary root
lsusb -v
Code:
lsusb -v:
Bus 001 Device 006: ID 13fd:1140 Initio Corporation
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x13fd Initio Corporation
idProduct 0x1140
bcdDevice 8.30
iManufacturer 1 Initio
iProduct 2 CTF M.6B
iSerial 3 0000000000000000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
MaxPower 2mA
Self Powered
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
Does it function? Are you sure you're not also getting those errors on ubuntu? A powered usb hub fixes most of my usb-ish issues. You might check /proc/devices /proc/misc and stuff for differences between distros. About the only quirk with debian is that the user is NOT in the cdrom group by default.
$ ls -l /dev/sr0
Code:
brw-rw----+ 1 root cdrom 11, 0 Jan 11 07:27 /dev/sr0
Thanks for the answer. After testing other scenarios to give you an answer, I must say I was wrong about my first statement: it works the same way in Ubuntu and Debian. I have been mislead because:
- Debian must be checking things Ubuntu does not when inserting CD, so it reports errors Ubuntu does not.
- Ability to read a slightly damaged CD seems to be very random with this CD drive (and it might be the same with all CD drives).
Sorry for the noise, thanks again for the help,
Yvan
I bought the external SE-218CB CD/DVD drive from Samsung for myself, the characteristics here Compared with the built-in it much better helps avoid writing errors and makes process more stable. Maybe for Debian it does not work because it requires installing additional drivers or try to make a back up settings.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.