dvd / cd drives not handled correctly in 10.04 LTS

Bug #577465 reported by hoenxmoenx on 2010-05-08
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

Hi,

I have two optical drives in my system, a Samsung DVD burner attached to the PATA adapter and a Plextor CD burner attached to a SCSI adapter card. Both drives give me problems under the Ubuntu 10.04 LTS release (installed first on my PC) and under the Xubuntu 10.04 LTS release (installed now). Both drives on the other hand function perfectly under SUSE 11.0, which I fortunately still have on another partition on my hard disk.

The problem is the following: When I insert a disk into the DVD burner, it is not automatically recognized and mounted by the system. It doesn't show up under the Places menu, and also not in the file system category of the thunar file browser.
The only way I can get to see and mount it, is with the disk utility (see attached screenshot).

The CD burner also behaves strange. After adding the lines:

/dev/sr0 /media/dvdrw iso9660,udf user,auto,exec,utf8 0 0
/dev/sr1 /media/cdrw iso9660,udf user,auto,exec,utf8 0 0

to /etc/fstab, it at least now automatically mounts written CDs and displays them on the desktop, but when I insert a blank
CD, it is displayed in the disk utility as a 2.2 TB volume, which brasero doesn't want to write to ... (also see screenshot)

When I check /var/log/kern.log, I see lots of error messages:

May 8 16:08:41 blackbox kernel: [ 3980.988029] sr 4:0:2:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 8 16:08:41 blackbox kernel: [ 3980.988036] sr 4:0:2:0: [sr1] Sense Key : Illegal Request [current]
May 8 16:08:41 blackbox kernel: [ 3980.988043] Info fld=0x400
May 8 16:08:41 blackbox kernel: [ 3980.988046] sr 4:0:2:0: [sr1] Add. Sense: Logical block address out of range
May 8 16:08:41 blackbox kernel: [ 3980.988055] sr 4:0:2:0: [sr1] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00
May 8 16:08:41 blackbox kernel: [ 3980.988072] end_request: I/O error, dev sr1, sector 4096
May 8 16:08:41 blackbox kernel: [ 3980.988078] Buffer I/O error on device sr1, logical block 512
May 8 16:08:41 blackbox kernel: [ 3980.993916] sr 4:0:2:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 8 16:08:41 blackbox kernel: [ 3980.993923] sr 4:0:2:0: [sr1] Sense Key : Illegal Request [current]
May 8 16:08:41 blackbox kernel: [ 3980.993930] Info fld=0x0
May 8 16:08:41 blackbox kernel: [ 3980.993933] sr 4:0:2:0: [sr1] Add. Sense: Logical block address out of range
May 8 16:08:41 blackbox kernel: [ 3980.993942] sr 4:0:2:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
May 8 16:08:41 blackbox kernel: [ 3980.993959] end_request: I/O error, dev sr1, sector 0
May 8 16:08:41 blackbox kernel: [ 3980.993964] Buffer I/O error on device sr1, logical block 0
May 8 16:08:41 blackbox kernel: [ 3980.995083] sr 4:0:2:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 8 16:08:41 blackbox kernel: [ 3980.995089] sr 4:0:2:0: [sr1] Sense Key : Illegal Request [current]
May 8 16:08:41 blackbox kernel: [ 3980.995096] Info fld=0x0
May 8 16:08:41 blackbox kernel: [ 3980.995099] sr 4:0:2:0: [sr1] Add. Sense: Logical block address out of range
May 8 16:08:41 blackbox kernel: [ 3980.995107] sr 4:0:2:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
May 8 16:08:41 blackbox kernel: [ 3980.995123] end_request: I/O error, dev sr1, sector 0
May 8 16:08:45 blackbox kernel: [ 3985.599107] sr 2:0:0:0: [sr0] Unhandled sense code
May 8 16:08:45 blackbox kernel: [ 3985.599113] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 8 16:08:45 blackbox kernel: [ 3985.599120] sr 2:0:0:0: [sr0] Sense Key : Medium Error [current]
May 8 16:08:45 blackbox kernel: [ 3985.599127] sr 2:0:0:0: [sr0] Add. Sense: L-EC uncorrectable error
May 8 16:08:45 blackbox kernel: [ 3985.599136] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 05 52 2c 00 00 01 00
May 8 16:08:45 blackbox kernel: [ 3985.599154] end_request: I/O error, dev sr0, sector 1394864
May 8 16:08:45 blackbox kernel: [ 3985.599161] __ratelimit: 1 callbacks suppressed
May 8 16:08:45 blackbox kernel: [ 3985.599165] Buffer I/O error on device sr0, logical block 348716
May 8 16:08:50 blackbox kernel: [ 3990.344557] sr 2:0:0:0: [sr0] Unhandled sense code
May 8 16:08:50 blackbox kernel: [ 3990.344562] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 8 16:08:50 blackbox kernel: [ 3990.344569] sr 2:0:0:0: [sr0] Sense Key : Medium Error [current]
May 8 16:08:50 blackbox kernel: [ 3990.344577] sr 2:0:0:0: [sr0] Add. Sense: L-EC uncorrectable error
May 8 16:08:50 blackbox kernel: [ 3990.344585] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 05 52 2c 00 00 01 00
May 8 16:08:50 blackbox kernel: [ 3990.344603] end_request: I/O error, dev sr0, sector 1394864
May 8 16:08:50 blackbox kernel: [ 3990.344611] Buffer I/O error on device sr0, logical block 348716
May 8 16:08:55 blackbox kernel: [ 3995.164146] sr 2:0:0:0: [sr0] Unhandled sense code
May 8 16:08:55 blackbox kernel: [ 3995.164152] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 8 16:08:55 blackbox kernel: [ 3995.164159] sr 2:0:0:0: [sr0] Sense Key : Medium Error [current]
May 8 16:08:55 blackbox kernel: [ 3995.164167] sr 2:0:0:0: [sr0] Add. Sense: L-EC uncorrectable error
May 8 16:08:55 blackbox kernel: [ 3995.164175] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 05 52 2c 00 00 01 00
May 8 16:08:55 blackbox kernel: [ 3995.164193] end_request: I/O error, dev sr0, sector 1394864
May 8 16:08:55 blackbox kernel: [ 3995.164200] Buffer I/O error on device sr0, logical block 348716

I'm not expert enough to diagnose from these messages where the problem lies, so any suggestions would be welcome !

Greetings

      Volker

hoenxmoenx (vmhannen) wrote :
MoLE (moleonthehill) on 2010-05-08
affects: ubuntu → gvfs (Ubuntu)
affects: gvfs (Ubuntu) → linux (Ubuntu)
KeithG (grider-4) wrote :

Similar stuff here. Fresh instal of 10.04LTS. odd handling of DVDs . I get this message in dmesg on each burned DVD that works fine in other OSes and in a player: "end_request: I/O error, dev sr1, sector 9147640". I have anotehr DVD that plays fine, but when I try to rip it to disk, it hangs and drags the computer down horribly. Very frustrating. No problems in 9.10...

The culprit:
[30634.755937] sr 2:0:1:0: [sr1] Unhandled sense code
[30634.755944] sr 2:0:1:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[30634.755949] sr 2:0:1:0: [sr1] Sense Key : Medium Error [current]
[30634.755956] Info fld=0x222222
[30634.755958] sr 2:0:1:0: [sr1] Add. Sense: No seek complete
[30634.755963] sr 2:0:1:0: [sr1] CDB: Read(10): xx xx xx xx xx xx xx xx xx xx
[30634.755974] end_request: I/O error, dev sr1, sector 9147640
[30634.755986] Buffer I/O error on device sr1, logical block 1143455
[30707.892861] UDF-fs: Partition marked readonly; forcing readonly mount
[30707.930304] UDF-fs INFO UDF: Mounting volume 'Test', timestamp 2010/01/30 04:09 (1ed4)

tags: added: kj-triage
Thomas (linuxone) wrote :

Same problem here with both CD/DVD drives:

sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 94x/94x writer dvd-ram cd/rw xa/form2 cdda tray

[ 14.791318] end_request: I/O error, dev sr1, sector 0
[ 14.792422] sr 0:0:1:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 14.792426] sr 0:0:1:0: [sr1] Sense Key : Illegal Request [current]
[ 14.792429] sr 0:0:1:0: [sr1] Add. Sense: Logical block address out of range
[ 14.792433] sr 0:0:1:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 01 0

It happens on a fresh, new installation of Kubuntu 10.04 amd64. All currently available updates are installed.
The error messages appears 1 or 2 minutes after a fresh boot. After many of this error messages (dmesg) both drives dissappears from the system. K3b cannot find any optical device anymore.

If I start burning an CD ISO image immidiately after booting, this job might be finished correctly. If start burning to late ... burning fails because the DVD burner got lost during burning.

I installed 10.04 on a new, empty hard disc. The previous Ubuntu installation on another disc had no problems, everything was fine including CD read and DVD burning. Because the previous system was an rather old system with a few dist-upgrades over the years I deceided to do a frest installation to get all new features.

Hardware:
Asus mainboard P5N32 E with Nvidia chipset (C55+MCP55P; a.k.a. nForce®650i SLI & nForce®570 SLI)
Intel CPU Q6600
8 GB RAM

Installed kernel: 2.6.32-22-generic

BavarianPH (bavarianph) wrote :

I concur with the other users.

Ubuntu 10.04 LTS has serious compatibility problems using DVDs that are burned by Vista's internal burner.
I doubt that Windows 7 would accommodate Ubuntu by using compatible DVD standards.

It gets worse: a DVD burned by Roxio Creator DE 10.2 is also not readable by Ubuntu 10.04.

I have wasted 5 DVD+R disks to try to get even one format to be readable on Ubuntu 10.04.

However, fortunately Ubuntu does read and play DVD movies (I played Fantastic4, II). Ubuntu calls the format simply as UDF.

There are problems with with the lower UDF format (version 1.02) that was to be compatible with older OSs.
The newer UDF formats did not seem to work either. (UDF 2.00, 2.5, 2.6) I cannot completely substantiate this,
because Ubuntu will not tell me what version of UDF format is on any DVD. It calls the ones that work UDF.
It is Strange that Ubuntu can read the Windows Vista OS Setup disk (it calls it UDF), but cannot read the ones burned on Vista, format version does not seem to matter.

As long as Windows is used by billions of users, Ubuntu must be compatible with it!

Speaking of CD/DVD compatibility, the fact that Linux and Ubuntu do not use drive letter mounting, nor seem to have even attempted such, but Windows does, is already a big blow to Ubuntu.
You see, in Windows, I can create virtual CDs and DVDs, and the programs will run without an actual CD/DVD Drive.
Without drive letters in Ubuntu these Cds/DVDs will not work, nor do virtual disk drives work, not even with wine. - I had 15 CDs/DVDs mounted at all times, and they would mount automatically at bootup.
Now with Ubuntu 10.04, I cannot use my $1000s of Windows disk programs, - but now I cannot even read Windows created DVDs.
I am forced to re-installed Windows Vista to make this work, unless the Ubuntu masters can see the necessity
of being compatible in these very important OS issues, and have the will to quickly find a solution, especially since this version of Ubuntu is an LTS.

I really love Ubuntu, and many of us hope that it will usurp Windows 7 in the near future.

If I broke Launchpad protocol again, I apologize. (and I do not believe in karma, but I believe that humans can work together, to accomplish something good and useful, such as Ubuntu 10.04 LTS)

BavarianPH,
Ubuntu forever!

Jeremy Foshee (jeremyfoshee) wrote :

Hi hoenxmoenx,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 577465

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: New → Incomplete
Cymbaline (cymbalin) wrote :

I have the exact same problem as Thomas, above.

A few minutes after booting, the CD/DVD drive disappears, never to return, with the exact same type of errors:

ul 2 11:53:28 cymbaline-ubu kernel: [ 79.202004] sr 0:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202008] sr 0:0:0:0: [sr0] Sense Key : Illegal Request [current]
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202011] sr 0:0:0:0: [sr0] Add. Sense: Illegal mode for this track
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202015] sr 0:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202021] end_request: I/O error, dev sr0, sector 0
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202024] __ratelimit: 6 callbacks suppressed
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202026] Buffer I/O error on device sr0, logical block 0
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202028] Buffer I/O error on device sr0, logical block 1
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202923] sr 0:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202926] sr 0:0:0:0: [sr0] Sense Key : Illegal Request [current]
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202928] sr 0:0:0:0: [sr0] Add. Sense: Illegal mode for this track
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202931] sr 0:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202937] end_request: I/O error, dev sr0, sector 0
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202939] Buffer I/O error on device sr0, logical block 0
Jul 2 11:53:28 cymbaline-ubu kernel: [ 79.202941] Buffer I/O error on device sr0, logical block 1

and ad nausem, then the drive is gone. Aftwards, drive utility still shows it as being there, but refuses to acknowledge that there's media in the drive (see screenshot)

wodim --devices returns nothing
lshw -short doesn't show the CD/DVD burner.

Mine is also a TSSCorp drive.

This started happening after upgrading to 10.04 LTS, no problems on prior 9.0x versions.

I am still relatively new to Ubuntu/linux, and will gladly run any traces/reports if told what to run. Unfortunately I am not in a position to upgrade to the development release.

Thanks.

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: chris 1606 F.... pulseaudio
 /dev/snd/pcmC0D0p: chris 1606 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xce500000 irq 16'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:11c11040,11790001,00100200 HDA:10ec0268,1179ff60,00100003'
   Controls : 18
   Simple ctrls : 10
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=114da0c2-a041-45be-8724-2fd90d64cb99
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
MachineType: TOSHIBA Satellite A305D
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-23-generic root=/dev/mapper/usernamenet--laptop-root ro quiet splash acpi_osi=Linux
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Regression: Yes
RelatedPackageVersions: linux-firmware 1.34.1
Reproducible: Yes
Tags: lucid regression-release needs-upstream-testing
Uname: Linux 2.6.32-23-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 06/02/2009
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 1.90
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.vendor: TOSHIBA
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvr1.90:bd06/02/2009:svnTOSHIBA:pnSatelliteA305D:pvrPSAH0U-00Q009:rvnTOSHIBA:rn:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: Satellite A305D
dmi.product.version: PSAH0U-00Q009
dmi.sys.vendor: TOSHIBA

tags: added: apport-collected

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers