cd/dvd auto-mounting only on first inserted

Bug #658377 reported by FrenchNux
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

release : Maverick Meerkat 64bis

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.33
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: christophe 1658 F.... pulseaudio
 /dev/snd/controlC0: christophe 1658 F.... pulseaudio
 /dev/snd/pcmC0D0p: christophe 1658 F...m pulseaudio
 /dev/snd/controlC1: christophe 1658 F.... pulseaudio
CRDA: Error: [Errno 2] Aucun fichier ou dossier de ce type
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf9ff8000 irq 45'
   Mixer name : 'Analog Devices AD1989B'
   Components : 'HDA:11d4989b,10438311,00100300'
   Controls : 47
   Simple ctrls : 26
Card1.Amixer.info:
 Card hw:1 'Camera'/'Camera at usb-0000:00:1d.0-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08f0'
   Controls : 3
   Simple ctrls : 2
Card2.Amixer.info:
 Card hw:2 'SAA7134'/'saa7133[0] at 0xfebff800 irq 17'
   Mixer name : 'SAA7134 Mixer'
   Components : ''
   Controls : 6
   Simple ctrls : 3
Date: Mon Oct 11 15:52:06 2010
HibernationDevice: RESUME=UUID=f334dd60-860c-4aa9-8f64-6176c3204988
HotplugNewDevices:

HotplugNewMounts:

InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 eth1 no wireless extensions.
MachineType: System manufacturer P5Q DELUXE
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=985e0e31-b597-4c60-8f73-d4389641cdaa ro vga=792 quiet splash
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:

SourcePackage: linux
Symptom: storage
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

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

Thanks for the logs! Seems there is everythign alright with kernel, udev, and udisks. Please install the "gvfs-bin" package.

Please insert a DVD and eject it again, so that you are in the situation after which CDs aren't recognized any more. Now do

  gvfs-mount -li

and copy&paste the output. Now do

  gvfs-mount -oi

and insert the DVD again. Wait some 10 seconds, then press Control-C, and copy&paste the entire output.

After that, does the DVD get mounted if you do

  udisks --mount /dev/sr0

(please copy&paste the entire output).

Thanks!

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

some logs

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

Thanks

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

OK, so it seems the udisks --mount worked and mounted the drive, right?

gvfs sees the new medium as well, but says "should_automount=0" for some reason. Also, it seems that in the first gvfs-mount -li output the drive was called /dev/sr1, and then suddenly /dev/sr0, which is weird. So I'm afraid we need another debugging round.

Please reboot the computer to have a clean state, and the first CD will automount (but don't insert it yet). Now start

  gvfs-mount -oi

insert the first CD, confirm that it automounts; eject it again, wait a bit, insert it again, and confirm that it doesn't automount.

Now press Control-C again, and copy&paste the entire output. Now do

  dmesg > /tmp/dmesg.txt

and attach /tmp/dmesg.txt. Please attach your /etc/fstab as well, just in case.

Thanks,

Martin

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

udisks --mount worked and mounted the drive? yes

insert the first CD, confirm that it automounts --> yes cd automounts
eject it again, wait a bit, insert it again, --> cd doesn't automount.

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

Thanks for the logs. Seems we need to check the gvfs code now for setting the automount flag, with the logs.

Out of interest, does this also happen with your other DVD drive? You tried this on the "TSSTcorp DVD-ROM SH-D163B", but you also have an "ASUS DRW-2014L1T".

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

Issue happen only with my DVD drive "TSSTcorp DVD-ROM SH-D163B".
All is ok with my dvd drive "ASUS DRW-2014L1T"

Martin Pitt (pitti)
Changed in gvfs (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.