DVD drive read error while disk is detected / mounted correctly

Asked by Julien Ropé

 I installed Ubuntu Feisty Fawn from its LiveCD, and had no problem with it.
 Then, booting from the hard drive, I discovered that I could not access my CDs (even the LiveCD I made the installation from).
 Every file I try to access seems corrupted. Anyway : I can mount CDs and browse them correctly.

 Details about the configuration :
 - booting from a SATA hard drive
 - DVD drive plugged as Primary master on IDE (also tried Secondary master)
 - DVD drive is a SONY DVD DW-Q120A, having burning capacity

 I tried multiple modifications of FSTAB related to charset, filesystem and mount point. No success in them.
 I finally discovered that the only difference between LiveCD and hard drive installation is that the live CD considers the DVD drive as an IDE device, while the hard drive installation mounts it as a SCSI device. I understand that this is the correct way to make the burner functionality usable, but if this makes the CDs unreadable, I'd rather remove SCSI emulation, and use my DVD as readonly...
 So : my question is : how can I remove SCSI emulation so that my hard drive installation behave like the LiveCD ?
 Of course, if you find a way to ALSO burn CDs, I'm willing to listen :-)

 I run the dmesg command and found the following lines, wich may be usefull to you (I admit that I do not understand that) :

[start dmesg extract]

[ 57.764302] sr 0:0:0:0: SCSI error: return code = 0x08000002
[ 57.764306] sr0: Current: sense key: Hardware Error
[ 57.764308] Additional sense: Logical unit communication CRC error (Ultra-DMA/32)
[ 57.764313] end_request: I/O error, dev sr0, sector 88
[ 57.764316] Buffer I/O error on device sr0, logical block 22
[ 57.764320] Buffer I/O error on device sr0, logical block 23
[ 57.764323] Buffer I/O error on device sr0, logical block 24
[ 57.764325] Buffer I/O error on device sr0, logical block 25
[ 57.764328] Buffer I/O error on device sr0, logical block 26
[ 57.764330] Buffer I/O error on device sr0, logical block 27
[ 57.764333] Buffer I/O error on device sr0, logical block 28
[ 57.764335] Buffer I/O error on device sr0, logical block 29
[ 57.764338] Buffer I/O error on device sr0, logical block 30
[ 57.764340] Buffer I/O error on device sr0, logical block 31
[ 57.781515] sr 0:0:0:0: SCSI error: return code = 0x08000002
[ 57.781519] sr0: Current: sense key: Hardware Error
[ 57.781521] Additional sense: Logical unit communication CRC error (Ultra-DMA/32)
[ 57.781526] end_request: I/O error, dev sr0, sector 136
[ 57.783123] sr 0:0:0:0: SCSI error: return code = 0x08000002
[ 57.783125] sr0: Current: sense key: Hardware Error
[ 57.783127] Additional sense: Logical unit communication CRC error (Ultra-DMA/32)
[ 57.783131] end_request: I/O error, dev sr0, sector 140
[ 38.104000] Time: acpi_pm clocksource has been installed.
[ 40.840000] NET: Registered protocol family 10
[ 40.840000] lo: Disabled Privacy Extensions
[ 44.672000] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 44.708000] ISO 9660 Extensions: RRIP_1991A
[ 44.932000] sr 0:0:0:0: SCSI error: return code = 0x08000002
[ 44.932000] sr0: Current: sense key: Hardware Error
[ 44.932000] Additional sense: Logical unit communication CRC error (Ultra-DMA/32)
[ 44.932000] end_request: I/O error, dev sr0, sector 156
[ 44.932000] ISOFS: unable to read i-node block

[end dmesg extract]

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Julien Ropé
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Julien Ropé (littlejawa) said :
#2

OK.
Anyway, I removed the faulty DVD drive/burner and put a simple DVD drive (not burner) instead, and it works.
It's just too bad that I can't burn anything with Ubuntu...
Thanks anyway.

Revision history for this message
Julien Ropé (littlejawa) said :
#3

Closing it since I'm stopping my searches - of course if anybody wants to help, you're welcome.

Revision history for this message
David Dent (thewinch-deactivatedaccount) said :
#4

It could be a cable problem. Recent drives using Ultra-DMA can push data through the cable at high enough rates to expose cable issues.

Use an 80 conductor IDE cable if currently using a 40 conductor IDE cable.
If only using one drive on the cable use the connectors at the ends of the cable not the middle connector.

See this url for more info.
http://www.pcguide.com/ref/hdd/if/ide/confCable80-c.html

Revision history for this message
Julien Ropé (littlejawa) said :
#5

Thank you. Anyway, as I told : I removed the DVD-burner and replaced it with a simple reader.
Moreover, this DVD burner has always worked correctly on Windows, on the same computer, using the same connector... I really doubt it is a hardware problem.

Revision history for this message
Andriy Tymchenko (silpol) said :
#6

it seems I have same problem

lshw detects it as
----
        *-ide:0
             description: IDE interface
             product: 82801G (ICH7 Family) IDE Controller
             vendor: Intel Corporation
             physical id: 1f.1
             bus info: pci@0000:00:1f.1
             logical name: scsi0
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master emulated
             configuration: driver=ata_piix latency=0 module=ata_piix
           *-cdrom
                description: DVD writer
                product: DVD+-RW GSA-H53N
                vendor: HL-DT-ST
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/dvd
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: B104
                serial: [HL-DT-STDVD+-RW GSA-H53NB10407/06/27 7U02
                capabilities: removable audio cd-r cd-rw dvd dvd-r
                configuration: ansiversion=5 status=ready
              *-disc
                   physical id: 0
                   logical name: /dev/cdrom

----

upon insertion of DVD (zone 0, if that matter) it kicks bunch of errors into syslog
----
Nov 26 12:00:34 ubuntu-pc NetworkManager: <debug> [1196071234.361568] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_label_DIRE_STRAITS').
Nov 26 12:00:34 ubuntu-pc kernel: [3599495.503161] UDF-fs: Partition marked readonly; forcing readonly mount
Nov 26 12:00:34 ubuntu-pc kernel: [3599495.545464] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'DIRE_STRAITS', timestamp 2004/08/21 01:37 (10b4)
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718214] end_request: I/O error, dev sr0, sector 1560
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718218] printk: 10 messages suppressed.
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718220] Buffer I/O error on device sr0, logical block 390
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718222] Buffer I/O error on device sr0, logical block 391
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718224] Buffer I/O error on device sr0, logical block 392
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718226] Buffer I/O error on device sr0, logical block 393
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718229] Buffer I/O error on device sr0, logical block 394
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718231] Buffer I/O error on device sr0, logical block 395
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718233] Buffer I/O error on device sr0, logical block 396
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718235] Buffer I/O error on device sr0, logical block 397
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718236] Buffer I/O error on device sr0, logical block 398
Nov 26 12:00:35 ubuntu-pc kernel: [3599496.718238] Buffer I/O error on device sr0, logical block 399
----

'uname -a' output is
Linux ubuntu-pc 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Revision history for this message
AlunJ (alunjames) said :
#7

I had this exact same issue in Gutsy, could not copy files from DVD to hard drive.

Solved by changing DMA mode for the DVDRW in the BIOS to UDMA2 (instead of auto)

Revision history for this message
Andriy Tymchenko (silpol) said :
#8

almost two years later, problems with this drive persist to exist, already on Jaunty
anyone takes care, or ... ?

Revision history for this message
David Horváth (chronos-hun) said :
#9

I agree that it must be a hw problem. I had serious problems with the cables, no matter what os i used. It reappeared now, i'll change the cable and get back.

Revision history for this message
David Horváth (chronos-hun) said :
#10

Nope, i still have problems with that disk..

Revision history for this message
Bheku (bheku7) said :
#11

Also have this problem in Jaunty.

Mine gets a bit weird in that on rare occasions it *does* decide to read DVDs, so I've managed to install some games. And CDs work without a problem.

Revision history for this message
Fabrizio Cavaniglia (fcavaniglia) said :
#12

Same problem on Lucid after ugrade from Karmic.

Strangely cdrom can read some files of the cd/dvd that i put in but, on others of the same cd causes troubles. The cd works fine on other machine with debian and read only drive.