Cdrom drive not recognized automatically

Bug #562092 reported by FrenchNux
214
This bug affects 39 people
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Lucid by marseille
Nominated for Maverick by marseille

Bug Description

Binary package hint: udev

RELEASE: Lucid Lynx
CD/DVD VARIANT: 64bit ubuntu Desktop cd
My disc drive : Samsung SH-D163B
Udev version : 151-10

SYMPTOMS:
- place a cd/dvd in the drive, nothing happens. Check /etc/fstab, no cd drive listed.
- disc tray close automatically after eject (same issue if i use right click on disc icon or if if i use disc button)
- if i remove cd/dvd when disc tray is closed, blank DVD appears on desktop

STEPS TO REPRODUCE:
   1. Install ubuntu Lucid
   2. After the desktop appears, place cd or dvd in disc drive and nothing happens (1st Symptom)
   3. Mounting can be forced by pressing "mounted" in the Disk Utility

   4. Eject cd/dvd and disc tray close automatically after eject (2nd Symptom)
   5. Disc drive is closed blank DVD appears on desktop (3rd Symptom)

---
Architecture: amd64
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
MachineType: System manufacturer P5Q DELUXE
NonfreeKernelModules: nvidia
Package: udev 151-10
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-20-generic root=UUID=3998f11e-df8c-4deb-8420-16cf2b0d14b2 ro quiet splash
ProcEnviron:
 LANGUAGE=fr_FR:fr:en_GB:en
 LANG=fr_FR.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-20-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 08/05/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1201
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5Q DELUXE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1201:bd08/05/2008:svnSystemmanufacturer:pnP5QDELUXE:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5QDELUXE:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5Q DELUXE
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

description: updated
Changed in udev (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
assignee: Martin Pitt (pitti) → nobody
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Please use ubuntu-bug when filing bugs. There is no debugging information at all here.

Which udev version are you running? Yesterday I did two udev uploads (now 151-10) which should fix a lot of these problems.

Please make sure you are running -10, check if it is still happening, and if so, please do "apport-collect 562092". Thanks!

Changed in udev (Ubuntu):
status: New → Incomplete
Revision history for this message
FrenchNux (christophe-pauc) wrote :

i am running udev version is 151-10.

Changed in udev (Ubuntu):
assignee: nobody → Ubuntu Bugs (ubuntu-bugs)
description: updated
Revision history for this message
Gary Cameron (gary-cameron) wrote :

This bug affects me also. I can collect the data, but it probably won't let me submit info to this bug - should I open a new one and run apport-collect against it?

The CD-ROM drive closes after a few seconds if I open it, and if I do manage to insert a 2nd CD it doesn't mount - I can't even mount it using sudo commands. There is no /dev/cdrom to mount.

Revision history for this message
Gary Cameron (gary-cameron) wrote :

Ignore my last comment - it seems to be working now.

Revision history for this message
FrenchNux (christophe-pauc) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
FrenchNux (christophe-pauc) wrote : CurrentDmesg.txt

apport information

Revision history for this message
FrenchNux (christophe-pauc) wrote : Dependencies.txt

apport information

Revision history for this message
FrenchNux (christophe-pauc) wrote : Lspci.txt

apport information

Revision history for this message
FrenchNux (christophe-pauc) wrote : Lsusb.txt

apport information

Revision history for this message
FrenchNux (christophe-pauc) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
FrenchNux (christophe-pauc) wrote : ProcInterrupts.txt

apport information

Revision history for this message
FrenchNux (christophe-pauc) wrote : ProcModules.txt

apport information

Revision history for this message
FrenchNux (christophe-pauc) wrote : UdevDb.txt

apport information

Revision history for this message
FrenchNux (christophe-pauc) wrote : UdevLog.txt

apport information

Revision history for this message
FrenchNux (christophe-pauc) wrote : Re: [Lucid] cdrom drive not recognized automatically

i am on lucid 64bit and i m running udev 151-10

Revision history for this message
Martin Pitt (pitti) wrote :

Can you please install udev 151-10pitti2 from my PPA and see how it goes? Thanks!

  sudo add-apt-repository ppa:pitti/ppa
  sudo apt-get update
  sudo apt-get install udev

Revision history for this message
FrenchNux (christophe-pauc) wrote :

I installed 3 packages udev and 2 libraries packages for udev.

In first time, DVD recognized automatically an mounted on desktop and in shortcuts list after cd appear only in shortcuts list

 if i use eject button on disc drive :
- dvd icon stay on desktop and in shortcuts list
- cd tray opened but closed automatically.

 if i use eject command
- cd tray opened but closed automatically.

Sorry i tried to explain more clearly

Revision history for this message
FrenchNux (christophe-pauc) wrote :

DVD recognized automatically and mounted on desktop and appear in shortcuts list.
If i eject DVD, cd tray close automatically and DVD not mounted but appear in shortcuts list.

Revision history for this message
FrenchNux (christophe-pauc) wrote :

same bug with udev 151-11

Revision history for this message
Vik (bclarky12) wrote :

  sudo add-apt-repository ppa:pitti/ppa
  sudo apt-get update
  sudo apt-get install udev

worked for me, thank you so much Mr. Pitt!

Revision history for this message
Vik (bclarky12) wrote :

sorry spoke to soon, drive doesn't automatically close anymore, but still doesn't mount blank dvd

Revision history for this message
Vik (bclarky12) wrote :

forgot to mention burner is HL-DT-ST' 'DVDRAM GH41N running lucid beta 2 udev 151-11

Changed in udev (Ubuntu):
status: Incomplete → New
Revision history for this message
scribu (scribu) wrote : apport information

Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
MachineType: eMachines eMachines E510
Package: udev 151-12
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=1303c4ed-abd1-4cff-bfcf-042985699776 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-21-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 06/11/2008
dmi.bios.vendor: EMACHINES
dmi.bios.version: V1.42
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Rhine
dmi.board.vendor: EMACHINES
dmi.board.version: V1.42
dmi.chassis.type: 1
dmi.chassis.vendor: EMACHINES
dmi.chassis.version: V1.42
dmi.modalias: dmi:bvnEMACHINES:bvrV1.42:bd06/11/2008:svneMachines:pneMachinesE510:pvrV1.42:rvnEMACHINES:rnRhine:rvrV1.42:cvnEMACHINES:ct1:cvrV1.42:
dmi.product.name: eMachines E510
dmi.product.version: V1.42
dmi.sys.vendor: eMachines

Revision history for this message
scribu (scribu) wrote : BootDmesg.txt

apport information

Revision history for this message
scribu (scribu) wrote : CurrentDmesg.txt

apport information

Revision history for this message
scribu (scribu) wrote : Dependencies.txt

apport information

Revision history for this message
scribu (scribu) wrote : Lspci.txt

apport information

Revision history for this message
scribu (scribu) wrote : Lsusb.txt

apport information

Revision history for this message
scribu (scribu) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
scribu (scribu) wrote : ProcInterrupts.txt

apport information

Revision history for this message
scribu (scribu) wrote : ProcModules.txt

apport information

Revision history for this message
scribu (scribu) wrote : UdevDb.txt

apport information

Revision history for this message
scribu (scribu) wrote : UdevLog.txt

apport information

Revision history for this message
scribu (scribu) wrote : Re: [Lucid] cdrom drive not recognized automatically

I have the same problem using udev 151-12.

Revision history for this message
Dibya Sanyal (sanyaldibya) wrote :

I am facing same problem with CD/DVD.
If I place an working DVD movie) in DVD tray and close, system is not being able to identify and mount it.
# sudo ls -l /dvd/{cdrom,dvd}*
This returns nothing

If I place a blank DVD at the time of booting, udev somehow mounts the DVD after throwing lot of error. I can see /dev/sr0. Disk Utility reports the DVD drive correctly as:
HL-DT-ST DVDRAM GSA-T20N

But if I place a DVD with content then system does not detect the drive. /dev/sr0 does not show up under Disk Utility.

I am using udev ver 151.12.

dmesg and fstab is attached. Let me know what else do you need and how to get those diagnostic files.

I have AMD64 Alternate ISO installed. I have tested the beta 2 of the same and the DVD drive was working fine. It was working fine under Karmic AMD64 as well.

Revision history for this message
Hernan Lopez (hernan-lopez+ubuntu) wrote :

I have the same problem using udev 151-12 and Lucid 64 bits

Revision history for this message
Cathy Preece (wyrd-howling) wrote :

I am using a fresh install of kubuntu 10.04 alternate installer downloaded 4th May, 32bit with 2 LG Multi DVD drives. If I put a DVD in, the device notifier pops up identifying the disk. If I open a file manager there is no sign of it. However, if I click on available actions in the device notifier and select open with a file manager then I can access it.

I have created fstab mount points and fiddled about with the automount settings in the device notifier but to no avail.
 I suspect this is why apt cannot fetch any packages from DVDs.

Revision history for this message
Dibya Sanyal (sanyaldibya) wrote :

Can someonce help us? It feels crap to fall back to Vista (!!) just to play movies or listen to songs or anything to do with CD or DVD.

Revision history for this message
Marcus K (3-launchpad-4-mvk001-spamgourmet-com) wrote :

Sometimes I see the DVD drive, sometimes I don't. When I see the drive, everything works fine until the next boot, including playing movies. I don't know exactly what is making it disappear.
The udev version I have installed is 151-12, Ubuntu 10.04, and here is my dvdrw information, which I only see when my drive is detected: product: DVD+-RW GH50N; vendor: HL-DT-ST.

My workaround is to boot in recovery mode, and then "Proceed with normal boot". It looks like the drive is always detected when I do that. I end up at the terminal prompt. To open gnome, I login and type "startx".

Revision history for this message
Adam Wallen (wallena95) wrote : apport information

Architecture: amd64
CustomUdevRuleFiles: 45-libnjb.rules 45-libmtp7.rules
DistroRelease: Ubuntu 10.04
MachineType: System manufacturer System Product Name
Package: udev 151-12
PackageArchitecture: amd64
ProcCmdLine: root=UUID=e26b529d-2477-4440-91be-255f5078d865 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-22-generic x86_64
UserGroups:

dmi.bios.date: 01/13/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS A8V-E SE ACPI BIOS Revision 1010
dmi.board.name: A8V-E SE
dmi.board.vendor: ASUSTek Computer INC.
dmi.board.version: 1.XX
dmi.chassis.asset.tag: 123456789000
dmi.chassis.type: 3
dmi.chassis.vendor: ASUS
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSA8V-ESEACPIBIOSRevision1010:bd01/13/2006:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTekComputerINC.:rnA8V-ESE:rvr1.XX:cvnASUS:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Gary M (garym)
Changed in udev (Ubuntu):
status: New → Confirmed
33 comments hidden view all 113 comments
Revision history for this message
Tony Maro (tonymaro) wrote : Re: [Lucid] cdrom drive not recognized automatically

More info. Running dmesg shows the following lines repeated 20 times or so when a disc is inserted:

[164525.734222] VFS: busy inodes on changed media or resized disk sr0
[164525.936364] VFS: busy inodes on changed media or resized disk sr0
[164526.021540] VFS: busy inodes on changed media or resized disk sr0
[164526.447405] VFS: busy inodes on changed media or resized disk sr0
[164526.660328] VFS: busy inodes on changed media or resized disk sr0
[164526.745497] VFS: busy inodes on changed media or resized disk sr0
[164527.171410] VFS: busy inodes on changed media or resized disk sr0

Revision history for this message
Paul le Roux (penmagic) wrote :

Had similar problem with my cdrom drive. Found the reason and solution to my problem here:
http://ubuntuforums.org/showthread.php?t=1025786

Solved my problem by removing the the udf from my /etc/fstab where my cdrom was mounted from:
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 to
/dev/scd0 /media/cdrom0 iso9660 user,noauto,exec,utf8 0 0

then remount your cdrom (e.g. mount /media/cdrom0)

Lucid is mounting with udf option in fstab.

Mounting the filesystem as iso9660 doesn't observe file permissions. Mounting as UDF does. Unfortunately, many disk burning applications leave -1 in the uid and gid permissions of their udf filesystems. This causes a permission problem in Linux.

The only way to read CD's as a user is by mounting UDF filesystems on cdrom as iso9660. Makes sense....

Revision history for this message
Adam (adam-deosdad) wrote :

I've solveg updating to last kernel.

Revision history for this message
Adam (adam-deosdad) wrote :

I've solved updating to last kernel.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

There is a similar bug report for the PowerPC Ubuntu port located here:
https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/590448

In my case, forcing udev to poll for media immediately after it is loaded or ejected properly mounts the media and has the DVD or CD show up on the desktop. I currently do this by opening my CD/DVD/RW drive (which lshw shows as being at /dev/hde) using the following code:

eject -T && udisks --poll-for-media /dev/hde

I stuck it in a simple shell script that I can call from a panel applet when I need to load or eject a CD or DVD.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

The latest kernel update did not help me, but since the PowerPC port is community supported, it lags behind the "official" kernel releases.

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

Updated to kernel 2.6.32-24, but the problem is still there: no cdrom/dvd drive mounted when inserting disk.

Revision history for this message
Lord_Shadow (sheld0n) wrote :

I also upgraded to 2.6.32-24-generic and still have the problem. I refuse to change hardware for this issue because both of my drives are identical and they both work perfectly using windowsXP. fstab tinkering has shown no promise.

Revision history for this message
barrydocks (adrian-daviesandjones) wrote :

I also have this problem with 2 different machines:
1. Newish Dell Vostro 1310. This will not mount any audio CDs with the internal drive or external USB drive. I have tried fiddling around with fstab and grub without success. I have also tried changing the bios setting from ACP to ATA. I I do have a copy of Mint 9 (32bit) running on VMPlayer on this machine which will successfully mount the CD. Here is what happens when I try to mount from the CLI:
~$ sudo mount /dev/sr0 /media/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: you must specify the filesystem type

Here is some other info
~$ sudo lshw -C disk
  *-cdrom
       description: DVD-RAM writer
       product: DVD+-RW DVW28SLC
       vendor: TEAC
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/cdrw
       logical name: /dev/dvd
       logical name: /dev/dvdrw
       logical name: /dev/scd0
       logical name: /dev/sr0
       version: A.06
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 status=open

2. Old AMD 1600 system with ATA 33 interface this is running Mint 9 32bit. This will not mount the internal drive but will mount an external USB drive. I will post additional info from that machine.

This REALLY is irritating!

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

Could the proble be related to the IDE interface? I can't use both of my IDE CD/DVD drives, but I can use an external USB CD/DVD unit.

Revision history for this message
Kevin K (stafio) wrote : apport information

Architecture: amd64
CustomUdevRuleFiles: 10-vboxdrv.rules
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: nvidia
Package: udev 151-12
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=0128d8b5-091e-484a-8285-759d2956cd81 ro quiet splash pci=nomsi
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
Tags: lucid
Uname: Linux 2.6.32-24-generic x86_64
UserGroups: adm admin audio cdrom dialout lp lpadmin plugdev sambashare vboxusers
dmi.bios.date: 05/30/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080015
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MD-A72P-7509
dmi.board.vendor: XFX
dmi.board.version: Ver1.1
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd05/30/2008:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnXFX:rnMD-A72P-7509:rvrVer1.1:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Kevin K (stafio) wrote : BootDmesg.txt

apport information

Revision history for this message
Kevin K (stafio) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kevin K (stafio) wrote : Dependencies.txt

apport information

Revision history for this message
Kevin K (stafio) wrote : Lspci.txt

apport information

Revision history for this message
Kevin K (stafio) wrote : Lsusb.txt

apport information

Revision history for this message
Kevin K (stafio) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Kevin K (stafio) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kevin K (stafio) wrote : ProcModules.txt

apport information

Revision history for this message
Kevin K (stafio) wrote : UdevDb.txt

apport information

Revision history for this message
Kevin K (stafio) wrote : UdevLog.txt

apport information

papukaija (papukaija)
tags: added: lucid
summary: - [Lucid] cdrom drive not recognized automatically
+ Cdrom drive not recognized automatically
tags: added: amd64
Revision history for this message
Lord_Shadow (sheld0n) wrote :

OK! I have found a fix for this problem!!! (actually found the fix in one of the fedora forums)

Let me first clearly define the problem that I am fixing:

Conditions:

1. CD/DVD/CDR/CDRW disks "unmount" themselves shortly after mounting.

2. dmesg reports the following - VFS: busy inodes on changed media or resized disk sr0

3. I currently have no entries for either drive in /etc/fstab... The problem was exactly the same when I had the "/dev/sr0 /media/cdrom0 udf,iso9660 noauto,users 0 0" or similar lines in /etc/fstab.

4. Once one of the drives "unmounted", only a reboot would allow me to mount again.

5. All other devices and drives mount normally (and stay mounted with no issues)..

6. My relevant hardware is: Asus P5N-e motherboard,
cdrom:0 :: description: DVD-RAM writer :: product: CD/DVDW SH-S182D
cdrom:1 :: description: DVD-RAM writer :: product: CD/DVDW SH-S182D

Both drives are run off the secondary ide channel.

7. The hardware (motherboard and drives) is guranteed to be functional. I could not get either drive to fail in WindowsXP during overnight testing.

FIX::

Add "acpi=off" to the kernel load line in /boot/grub/grub.cfg then reboot... For example:
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c82dfc28-0bcf-48a6-995f-b61464bcf056 ro quiet splash acpi=off

I have gone through 2 days of stress testing the drives and neither has unmounted AND there are no more errors in dmesg...

TO DO:
1. Get more users to confirm this fix.
2. Submit the data to the ACPI team if it looks like the fix is repeatable.

Take care,
Sheldon

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

@Lord_Shadow. I have your same motherboard (P5NE-SLI) and I regret to say that I can't test your workaround, as the "acpi=off" setting disables my Logitech wireless Mouse/Keyboard, so I can't login! I reach the gdm login screen but there is nothing I can do than switch off the PC...

Sorry.

Revision history for this message
Lord_Shadow (sheld0n) wrote :

Hi Fabio,

Do you have a wired keyboard/mouse that you can use to test it out. If we can get you and a couple of other people to verify, then we can resubmit to the ACPI team..

Thanks,
Sheldon

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

Lord_Shadow,

I will look if I can find one in some of my drawers, but I don't want to fix a problem and create a new one! I need the cordless Logitech.

Revision history for this message
jplandry (jplandry) wrote :

Same problem here but with an ASUS P5K-E motherboard. Turning off ACPI as Lord_Shadow suggested did NOT fix the problem, or at least only partially fixed it. With ACPI off I can mount CDROMs but I cannot mount/burn blank DVD-Rs.

As others have said, everything worked fine in Ubuntu 9.04, Ubuntu 9.10, and Windows XP.

Revision history for this message
Martin Smat (msmat) wrote :

@jplandry: there is already another bug about recognizing blank DVD and CD (bug 581925) and you can use Jonie's PPA to install patched udev. His PPA is https://launchpad.net/~jonie/+archive/ppa. Using this version worked for me.

Revision history for this message
Lord_Shadow (sheld0n) wrote :

Hello again all,

The 'acpi=off' fix that I listed above as a fix is no good... I had several days of flawless operation, but now the problem is back... I am not sure why I was able to work properly for a couple of days, but clearly this particular fix was not it. It may have been a coincidence or just dumb luck...

Anyway, I am rolling back to 9.10 right now. I will repost with the results later.

Sorry for the confusion,
Sheldon

Revision history for this message
Lord_Shadow (sheld0n) wrote :

Hello,

I have finished the roll back to 9.10 and the problem is completely gone (again). I played a DVD for 12 hours without any issues. I am not ready to call it fixed for another couple of days. I will check back after a few days.

Sheldon

Revision history for this message
Michael Lipkin (mlipkin) wrote :

Hello,

Like Lord Shadow I have an Asus P5NE SLI based system (PATA optical drive) (kernel 2.6.32-24 - 64bit)
Same problem:

Optical media not auto-mounted.
One time mount possible by leaving CD in drive when booting but disk only accessible for a while and then stops.

Rolled back to 9.10 and all is working (kernel 2.6.31-22 - 64bit)

Mike

Revision history for this message
Lord_Shadow (sheld0n) wrote :

Hi again,

Reporting back after a couple of weeks since switching back to 9.10 and I have not had a single instance of my optical drives failing to stay mounted. If there is anyone out there who needs any further information from me, or needs me to do any special testing, please let me know.

Sheldon

Revision history for this message
Martin Pitt (pitti) wrote :

If you still have that problem on current 10.04 or 10.10, can you please add my sru-test PPA at

then upgrade your system (which will upgrade udev), and report back how it goes? If it still does not work, please describe the kind of medium which you inserted, open a terminal, and do

   sudo /lib/udev/cdrom_id --debug /dev/sr0

(with the medium inserted) and copy&paste the output. Thanks!

Changed in udev (Ubuntu):
assignee: Ubuntu Bugs (ubuntu-bugs) → nobody
status: Confirmed → Incomplete
Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
FrenchNux (christophe-pauc) wrote :

I still have thats problem won 10.10.
I install your sru-test PPA udev.

STEPS TO REPRODUCE:
   1. Place cd or dvd in disc drive, disc is recognized an mounted
   2. Eject disc
   3. (re)place same cd ord dvd in same disc drive and disc is recognized but not mounted

output :
main: probing: '/dev/sr0'
cd_inquiry: INQUIRY: [TSSTcorp][DVD-ROM SH-D163B][SB01]
cd_profiles: GET CONFIGURATION: size of features buffer 0x00a0
cd_profiles: GET CONFIGURATION: feature 'profiles', with 2 entries
feature_profiles: profile 0x10 dvd_rom
feature_profiles: profile 0x08 cd_rom
cd_profiles: GET CONFIGURATION: feature 0x0001 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0002 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0003 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0010 <ignored>, with 0x08 bytes
cd_profiles: GET CONFIGURATION: feature 0x001d <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x001e <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x001f <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0024 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002a <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002b <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x003b <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0100 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0103 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0104 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0105 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0106 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0107 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x010b <ignored>, with 0x04 bytes
cd_profiles: current profile 0x10
cd_profiles: profile 0x10 media_dvd_ro
cd_media_toc: READ TOC: len: 20, start track: 1, end track: 1
cd_media_toc: track=1 info=0x4(data) start_block=0
cd_media_toc: last track 1 starts at block 0
cd_media_info: disk type ff
cd_media_info: hardware reported media status: complete
ID_CDROM=1
ID_CDROM_CD=1
ID_CDROM_DVD=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_DVD=1
ID_CDROM_MEDIA_STATE=complete
ID_CDROM_MEDIA_SESSION_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1

Revision history for this message
Martin Pitt (pitti) wrote :

FrenchNux,

this cdrom_id output looks fine. Was that at the time when you had the second DVD inserted, and with the udev from my PPA? Did that change anything? Can you please revert to the previous udev with

  sudo apt-get install udev/maverick

and doing the cdrom_id output again, in the same situation?

Revision history for this message
FrenchNux (christophe-pauc) wrote :

Hello,

i tested with udev sru-test ppa and output after second inserted.
I compared output after 1st inserted and 2nd inserted it seems the same

output with maverick udev package :
main: probing: '/dev/sr0'
cd_inquiry: INQUIRY: [TSSTcorp][DVD-ROM SH-D163B][SB01]
cd_profiles: GET CONFIGURATION: size of features buffer 0x00a0
cd_profiles: GET CONFIGURATION: feature 'profiles', with 2 entries
feature_profiles: profile 0x10 dvd_rom
feature_profiles: profile 0x08 cd_rom
cd_profiles: GET CONFIGURATION: feature 0x0001 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0002 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0003 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0010 <ignored>, with 0x08 bytes
cd_profiles: GET CONFIGURATION: feature 0x001d <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x001e <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x001f <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0024 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002a <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002b <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x003b <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0100 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0103 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0104 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0105 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0106 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0107 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x010b <ignored>, with 0x04 bytes
cd_profiles: current profile 0x10
cd_profiles: profile 0x10 media_dvd_ro
cd_media_toc: READ TOC: len: 20
cd_media_toc: track=1 info=0x4(data) start_block=0
cd_media_toc: last track 1 starts at block 0
cd_media_info: disk type ff
cd_media_info: hardware reported media status: complete
ID_CDROM=1
ID_CDROM_CD=1
ID_CDROM_DVD=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_DVD=1
ID_CDROM_MEDIA_STATE=complete
ID_CDROM_MEDIA_SESSION_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks, so it's not due to cdrom_id, that seems to work just fine; I need more logs for this, I'm afraid. Can you please run "ubuntu-bug storage" and follow the interactive dialogs? This will collect all the useful logs which I need to track this problem.

Since this will create a new bug report, I am closing this one (but please feel free to post the but number here, so that I can see the other one quickly). Thank you!

Changed in udev (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
FrenchNux (christophe-pauc) wrote : Re: [Bug 562092] Re: Cdrom drive not recognized automatically

i create Bug #658283
i hope you have al what you want

2010/10/11 Martin Pitt <email address hidden>

> Thanks, so it's not due to cdrom_id, that seems to work just fine; I
> need more logs for this, I'm afraid. Can you please run "ubuntu-bug
> storage" and follow the interactive dialogs? This will collect all the
> useful logs which I need to track this problem.
>
> Since this will create a new bug report, I am closing this one (but
> please feel free to post the but number here, so that I can see the
> other one quickly). Thank you!
>
> ** Changed in: udev (Ubuntu)
> Status: Incomplete => Invalid
>
> --
> Cdrom drive not recognized automatically
> https://bugs.launchpad.net/bugs/562092
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
FrenchNux (christophe-pauc) wrote :

ok Bug #658377 is created

2010/10/11 Christophe PAUC <email address hidden>

> i create Bug #658283
> i hope you have al what you want
>
> 2010/10/11 Martin Pitt <email address hidden>
>
> Thanks, so it's not due to cdrom_id, that seems to work just fine; I
>> need more logs for this, I'm afraid. Can you please run "ubuntu-bug
>> storage" and follow the interactive dialogs? This will collect all the
>> useful logs which I need to track this problem.
>>
>> Since this will create a new bug report, I am closing this one (but
>> please feel free to post the but number here, so that I can see the
>> other one quickly). Thank you!
>>
>> ** Changed in: udev (Ubuntu)
>> Status: Incomplete => Invalid
>>
>> --
>> Cdrom drive not recognized automatically
>> https://bugs.launchpad.net/bugs/562092
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>
>

Revision history for this message
Amatriain (geralt) wrote :

For me this bug has been solved after upgrading to Meerkat. Thanks for looking into this.

Displaying first 40 and last 40 comments. View all 113 comments or add a comment.