CD-ROM units doesn't mount automatically under a Live environment

Bug #658042 reported by David Balažic
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Triaged
Medium
Unassigned
livecd-rootfs (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I booted the ubuntu-10.10-desktop-i386.iso into Try mode.

I have 3 optical units:
 - DVD-RW : has the boot medium
 - two CD-ROM units - empty

I inserted an iso9660 CD into one empty unit.
It was not mounted.
Neither if inserted into other unit.

WORKAROUND: mount /dev/cdrom /mnt

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 i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'V8235'/'VIA 8235 with ALC650F at 0xd800, irq 22'
   Mixer name : 'Realtek ALC650F'
   Components : 'AC97a:414c4723'
   Controls : 57
   Simple ctrls : 36
Card1.Amixer.info:
 Card hw:1 'Bt878'/'Brooktree Bt878 at 0xe3005000, irq 17'
   Mixer name : 'Bt87x'
   Components : ''
   Controls : 3
   Simple ctrls : 5
Date: Mon Oct 11 01:42:17 2010
HotplugNewDevices:

HotplugNewMounts:

LiveMediaBuild: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcCmdLine: file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Symptom: storage
dmi.bios.date: 08/09/2004
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F7
dmi.board.name: GA-7VAXP Ultra
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF7:bd08/09/2004:svn:pn:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-7VAXPUltra:rvr:cvn:ct3:cvr:
---
ApportVersion: 2.12-0ubuntu3
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 4355 F.... pulseaudio
 /dev/snd/controlC1: ubuntu 4355 F.... pulseaudio
CasperVersion: 1.336
DistroRelease: Ubuntu 13.10
LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Alpha i386 (20130814)
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: file=/cdrom/preseed/username.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ProcVersionSignature: Ubuntu 3.11.0-1.4-generic 3.11.0-rc4
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: Daemon not responding.
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-1-generic N/A
 linux-backports-modules-3.11.0-1-generic N/A
 linux-firmware 1.113
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: saucy
Uname: Linux 3.11.0-1-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 08/09/2004
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F7
dmi.board.name: GA-7VAXP Ultra
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF7:bd08/09/2004:svn:pn:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-7VAXPUltra:rvr:cvn:ct3:cvr:

Revision history for this message
David Balažic (xerces8) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi David,

If you could also please 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: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
David Balažic (xerces8) wrote :

I removed the needs-upstream-testing tag as I don't think installing custom kernels is possible to Live environment.
Correct me if I'm wrong.

tags: removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → New
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

David Balažic, 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? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

tags: added: latest-bios-f7 needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
David Balažic (xerces8) wrote :

It is the same. Inserted CD not mounted.

I tried the latest daily from the URL above on the same hardware.

The files manager app does not show any trace of the CD. If I moust it with " sudo mount /dev/sr2 /mnt" it all starts working, a new file manager windows appears with CD content, and an item of the CD under "Devices" in the left panel, even in the other file manager window, opened before.

Revision history for this message
David Balažic (xerces8) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected saucy
description: updated
Revision history for this message
David Balažic (xerces8) wrote : BootDmesg.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : CRDA.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : CurrentDmesg.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : IwConfig.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : Lspci.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : Lsusb.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : ProcEnviron.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : ProcInterrupts.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : ProcModules.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : UdevDb.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : UdevLog.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : WifiSyslog.txt

apport information

Revision history for this message
David Balažic (xerces8) wrote : Re: (Live system) CD not mounted

After I try to eject the CD using the GUI, it is unmounted, but not ejected. (an error dialog pops-up)
After that it also can not be ejected bz the hardware eject button.

"eject /dev/sr2" also fails with:
eject: unable to eject, last error: Inappropriate ioctl for device

"Inappropriate ioctl for device" is also the error that appeared in the error dialog.

"sudo eject /dev/sr2" on the other hand works fine (ejects the CD without any error)

penalvch (penalvch)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Priority set to 'Medium' since this bug is a problem with a non-essential hardware component.

Changed in linux (Ubuntu):
importance: Undecided → Medium
summary: - (Live system) CD not mounted
+ CD-ROM units doesn't mount automatically under a Live environment
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Can anyone from the Kernel Team tell if this bug shall be fixed or left as it is, please?

Changed in linux (Ubuntu):
importance: Medium → Low
assignee: nobody → Ubuntu Kernel Team (ubuntu-kernel-team)
Revision history for this message
penalvch (penalvch) wrote :

David Balažic, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Alberto Salvia Novella, the Ubuntu Kernel Team workflow changed a few years back to where they were no longer Assigned to bug reports. Instead, a specialist within the Ubuntu Community (many times a member of the Ubuntu Kernel Team) tends to assign it to themselves and work on it after it's fully Triaged.

Changed in linux (Ubuntu):
assignee: Ubuntu Kernel Team (ubuntu-kernel-team) → nobody
status: Confirmed → Incomplete
Revision history for this message
David Balažic (xerces8) wrote :

Is it possible to install a new kernel into the Live environment?
That would require making a new ISO, right?
Are there an instructions for that?
Just replace the kernel image file in the ISO?

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

As far as I know, what Christopher is asking is to test the Kernel in an already installed Ubuntu environment.

Revision history for this message
David Balažic (xerces8) wrote :

What would that accomplish?
The problem is with the live environment.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Yes; you're right, David: a small mistake of me.

What you need is https://help.ubuntu.com/community/LiveCDCustomization?highlight=%28livecd%29#Live_CD_Kernel

And thanks for your help ♕

Revision history for this message
David Balažic (xerces8) wrote :

I just used the daily ISO build:
http://cdimage.ubuntu.com/daily-live/current/saucy-desktop-i386.iso
md5sum eb8ff86ce4fc10a305b918ce28e0908e
.disk/info:
Ubuntu 13.10 "Saucy Salamander" - Beta i386 (20131005)

It has kernel 3.11.0-11.17

Now the second CD unit (sr1) is mounted when a CD is inserted (great!),
but the third CD unit (sr2) is not (not great!).

Mounting from command line with mount /dev/sr2 works.

Also, after mounting and unmounting, both units eject button is "dead". I does not eject. Even after removing the media (by software eject) and closing the tray (empty).

Ironically, the eject button on the first unit, where the boot media is present (and mounted!) works. It ejects the tray. While it is mounted.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Sorry David Balažic but, as Christopher M. Penalver said:

"Please do not test the daily folder"

Testing the kernel mainline built, following the instructions given in comments #23 and #27, is what is needed. Only then I will be able, as explained in https://wiki.ubuntu.com/Bugs/Upstream/kernel, to report this bug to the kernel maintainers.

Thank you

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
penalvch (penalvch)
description: updated
Revision history for this message
David Balažic (xerces8) wrote :

1.) Which ISO should I customize? ubuntu-13.04-desktop-i386 ?

Are there any detailed instructions to replacing the kernel?
I followed https://help.ubuntu.com/community/LiveCDCustomization?highlight=%28livecd%29#Live_CD_Kernel
but got a non-booting image. (it bootsm but later on it reports : mounting aufs on /root failed: No such device

Can I just replace the two files vmlinuz and initrd.lz?
If yes, where do I get the initrd file?
If no, what are correct steps?

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

I can imagine where the mistake is but I'm unable to tell for sure. So rather than telling what to do based in suppositions, I've asked for help from the Ubuntu BugSquad; and if after this what can you do remains unclear, I will investigate it myself till I can confirm the bug is still there.

Thanks for testing this so deeply.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

OK, let me ask:

1) What makes people think it's a kernel bug? The kernel is detecting the CD drives in the bootdmesg, and if I read the bug correctly it mounts them if told to.
2) Does this issue happen in an installed system; i.e. if you install (I think you could probably install to a thumb drive if you wanted to be careful of your exisitng hard drive install) does it automount the CDs?
   2a) Because if it does happen on an installed system it's going to be a heck of a lot easier to debug
3) udevdb is showing all three sr0,sr1,sr2 and for the drives with media seems to have identified the filesystems.

Dave

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Thanks Dave for your help:

1) Yes, I though that it was very improbable this bug to be from the kernel. Perhaps Christopher M. Penalver can clarify why he though it was.

2) The usb-creator-gtk application wasn't working in Ubuntu 13.04 the last time I tried to make a live thumb drive, so better to try to install the system in a USB media by booting a live-CD.

3) I suspect this bug to be Ubuntu specific, related to how the live-CD is automatically built and configured. But I'm unable to tell which will be the affected project.

Revision history for this message
penalvch (penalvch) wrote :

Dave / Alberto, if you find the package is not assigned appropriately, please reassign to the correct one. :)

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

I do not know which would it be 🙉

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since this bug:

- Impacts the ease of use.
- Is easy to fix.
- Would be encountered by the average user.
- Affects the default installation of the latest Ubuntu or Kubuntu desktop release.

it's a paper cut.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since this bug is affecting multiple users, it's confirmed for the 'One Hundred Paper Cuts' project.

Changed in hundredpapercuts:
status: New → Confirmed
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

David Balažic :
  Can you just confirm the latest stuff you tried - does this bug happen on an installed system?

Alberto: IMHO this isn't a hundredpapercut job unless it can be nailed down more as to how to repeat it

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

David: Please run

sudo dbus-monitor --system
in a shell on the machine in the live environment and paste the output when you insert a cd.

Changed in hundredpapercuts:
status: Confirmed → Incomplete
Changed in hundredpapercuts:
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
assignee: nobody → Alberto Salvia Novella (es20490446e)
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

For my surprise I have just been named coordinator of the "One Hundred Papercuts"; the project aimed to improve the user experience in Ubuntu by fixing small bugs in it, like this one.

Because of this, I'm so sorry I won't be able to test this bug myself like I wanted.

Regards.

Changed in linux (Ubuntu):
assignee: Alberto Salvia Novella (es20490446e) → nobody
Changed in hundredpapercuts:
importance: Undecided → Medium
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

On the other hand, I have good news for you: I think I found the right package for this bug.

affects: linux (Ubuntu) → livecd-rootfs (Ubuntu)
Changed in livecd-rootfs (Ubuntu):
importance: Low → Medium
status: Confirmed → Triaged
Changed in hundredpapercuts:
status: Confirmed → Triaged
no longer affects: livecd-rootfs
Revision history for this message
David Balažic (xerces8) wrote :

> Is this bug reproducible in the live-CDs of the following distributions?:
> - Debian
I tried debian-live-7.4-i386-standard , but it does not start the GUI, some firmware related error.

> - Linux Mint (http://torrents.linuxmint.com/torrents/linuxmint-15-cinnamon-dvd-64bit.iso.torrent)
Will test later.

Dave Gilbert (ubuntu-treblig) wrote on 2013-10-13: #42
> David: Please run
>
> sudo dbus-monitor --system
> in a shell on the machine in the live environment and paste the output when you insert a cd.

It prints nothing.
Tested on /dev/sr2 , running 13.10 live

To post a comment you must log in.