LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-18-2018, 08:52 AM   #1
YvanM
LQ Newbie
 
Registered: Jan 2018
Posts: 2

Rep: Reputation: Disabled
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
Best regards,
Yvan
 
Old 01-18-2018, 10:51 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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
 
Old 01-18-2018, 12:06 PM   #3
YvanM
LQ Newbie
 
Registered: Jan 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
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
 
Old 02-06-2018, 04:54 AM   #4
Elton27
LQ Newbie
 
Registered: Feb 2018
Location: NY
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 02-07-2018, 01:22 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
so does it have its own power supply or not?
 
Old 02-13-2018, 12:19 AM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Debian might not have joliet extensions enabled in the stock kernel. Then, CD/DVDs made with Windows may cause problems.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to read from internal DVD drive after migrating to Ubuntu 14.10 Davidicus Linux - Laptop and Netbook 4 12-22-2014 01:51 PM
DVD drive wont read DVDs on Ubuntu 14.04 newplant Linux - Newbie 20 10-17-2014 11:30 AM
IDE DVD drive and SATA 3.0 hard drive not detected on Debian/Ubuntu install Byrnascus Linux - Hardware 7 01-21-2010 11:11 AM
read encrypted dvd - usb dvd drive wastingtime Linux - Hardware 8 12-26-2004 01:28 PM
External USB DVD Drive Read Problem hogliux Linux - Hardware 0 06-13-2004 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration