F11 and CD Failure
Gregory P. Ennis
PoMec at PoMec.Net
Sun Oct 4 15:24:21 UTC 2009
On Sun, 2009-10-04 at 06:48 -0500, Gregory P. Ennis wrote:
> On Sun, 2009-10-04 at 15:09 +0400, Hiisi wrote:
> > 2009/10/4 Gregory P. Ennis <PoMec at pomec.net>:
> > > I've just installed F11 on a small dell machine that had been running
> > > FC8. Everything installed ok except it does not mount the CD when I
> > > place one in the drive. I used the CD drive during the install of F11
> > > so I know the drive works, and I can use the CD I am trying to mount in
> > > other machines so I know the problem is not the CD.
> > >
> > > I have checked the message logs and found the boot process recognizes
> > > the CD see below :
> > >
> > > -------------
> > >
> > > Oct 4 04:47:27 Co09 kernel: ata2.00: ATAPI: TEAC CD-ROM CD-224E, 3.7C,
> > > max UDMA/33
> > >
> > > Oct 4 04:47:27 Co09 kernel: ata2.00: configured for UDMA/33
> > >
> > > Oct 4 04:47:27 Co09 kernel: scsi 1:0:0:0: CD-ROM TEAC
> > > CD-224E 3.7C PQ: 0 ANSI: 5
> > >
> > > Oct 4 04:47:27 Co09 kernel: sr0: scsi3-mmc drive: 24x/24x cd/rw
> > > xa/form2 cdda tray
> > >
> > > Oct 4 04:47:27 Co09 kernel: Uniform CD-ROM driver Revision: 3.20
> > >
> > > -----------------
> > >
> > > When I try to manually mount /dev/cdrom I get an error message that
> > > there is no entry in fstab or mtab
> > >
> > >
> > > Have any of you had this problem, and can you give me some pointers.
> > >
> > >
> > > --
> > > Greg
> > >
> >
> > Check your /etc/fstab
> > Mine have appropriate line in it:
> > /dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
> >
> > Try 'man fstab' in case of any questions.
> ----
> fedora hasn't put entries for CD drives into fstab for quite a long time
> and I suspect that this entry above was either carried through many
> updates or as a solution found by some search.
>
> Are you trying this inside of a GUI - if so, it should just automount
> for the 'user' when the user inserts the CD. If it does not automount
> when inserted, typing 'dmesg' (as root) should give you some clues at
> the end of the output.
>
> If you are doing this without a GUI and perhaps in say runlevel 3, then
> try from command line...
>
> mkdir /media/cd
> mount /dev/sr0 /media/cd
>
> and see what happens
>
> Craig
>
>
> --
> Craig,
>
> Thanks for your asssitance.
>
> I do not see anything in dmesg that stands out to me, here are the line
> items referencing the cdrom
>
> ata2.00: ATAPI: TEAC CD-ROM CD-224E, 3.7C, max UDMA/33
> ata2.00: configured for UDMA/33
> scsi 1:0:0:0: CD-ROM TEAC CD-224E 3.7C PQ: 0 ANSI: 5
> sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
> Uniform CD-ROM driver Revision: 3.20
> sr 1:0:0:0: Attached scsi CD-ROM sr0
> sr 1:0:0:0: Attached scsi generic sg1 type 5
>
> My observation of fstab is the same as yours. I am setting this machine
> up for a user that would not be able to use mount so the standard gui is
> what I am shooting for.
>
> mount /dev/sr0 /media/cd
>
> works fine for root but not the users account, and of course this is not gui.
>
> Any ideas,
----
Try running (as root), the command...
lshal
find the section (probably near the top) that lists your CD drive and
post that here
Craig
----------
Craig,
Thank for your help.
Here are the 3 grouped entries I could find related to cdrom.
Greg
udi = '/org/freedesktop/Hal/devices/pci_8086_2411_scsi_host_0_scsi_device_lun0'
info.linux.driver = 'sr' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_8086_2411_scsi_host_0' (string)
info.product = 'SCSI Device' (string)
info.subsystem = 'scsi' (string)
info.udi = '/org/freedesktop/Hal/devices/pci_8086_2411_scsi_host_0_scsi_device_lun0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'scsi' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.1/host1/target1:0:0/1:0:0:0' (string)
scsi.bus = 0 (0x0) (int)
scsi.host = 1 (0x1) (int)
scsi.lun = 0 (0x0) (int)
scsi.model = 'CD-224E' (string)
scsi.target = 0 (0x0) (int)
scsi.type = 'cdrom' (string)
scsi.vendor = 'TEAC' (string)
udi = '/org/freedesktop/Hal/devices/storage_model_CD_224E'
access_control.file = '/dev/sr0' (string)
access_control.type = 'cdrom' (string)
block.device = '/dev/sr0' (string)
block.is_volume = false (bool)
block.major = 11 (0xb) (int)
block.minor = 0 (0x0) (int)
block.storage_device = '/org/freedesktop/Hal/devices/storage_model_CD_224E' (string)
info.addons = {'hald-addon-storage'} (string list)
info.callouts.add = {'hal-acl-tool --add-device'} (string list)
info.callouts.remove = {'hal-acl-tool --remove-device'} (string list)
info.capabilities = {'storage', 'block', 'storage.cdrom', 'access_control'} (string list)
info.category = 'storage' (string)
info.interfaces = {'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage.Removable'} (string list)
info.parent = '/org/freedesktop/Hal/devices/pci_8086_2411_scsi_host_0_scsi_device_lun0' (string)
info.product = 'CD-224E' (string)
info.udi = '/org/freedesktop/Hal/devices/storage_model_CD_224E' (string)
info.vendor = 'TEAC' (string)
linux.hotplug_type = 3 (0x3) (int)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.1/host1/target1:0:0/1:0:0:0/block/sr0' (string)
org.freedesktop.Hal.Device.Storage.method_argnames = {'extra_options', 'extra_options'} (string list)
org.freedesktop.Hal.Device.Storage.method_execpaths = {'hal-storage-eject', 'hal-storage-closetray'} (string list)
org.freedesktop.Hal.Device.Storage.method_names = {'Eject', 'CloseTray'} (string list)
org.freedesktop.Hal.Device.Storage.method_signatures = {'as', 'as'} (string list)
storage.automount_enabled_hint = true (bool)
storage.bus = 'pci' (string)
storage.cdrom.bd = false (bool)
storage.cdrom.bdr = false (bool)
storage.cdrom.bdre = false (bool)
storage.cdrom.cdr = false (bool)
storage.cdrom.cdrw = false (bool)
storage.cdrom.dvd = false (bool)
storage.cdrom.dvdplusr = false (bool)
storage.cdrom.dvdplusrdl = false (bool)
storage.cdrom.dvdplusrw = false (bool)
storage.cdrom.dvdplusrwdl = false (bool)
storage.cdrom.dvdr = false (bool)
storage.cdrom.dvdram = false (bool)
storage.cdrom.dvdrdl = false (bool)
storage.cdrom.dvdrw = false (bool)
storage.cdrom.hddvd = false (bool)
storage.cdrom.hddvdr = false (bool)
storage.cdrom.mo = false (bool)
storage.cdrom.mrw = true (bool)
storage.cdrom.mrw_w = true (bool)
storage.cdrom.read_speed = 4234 (0x108a) (int)
storage.cdrom.support_media_changed = true (bool)
storage.cdrom.support_multisession = true (bool)
storage.cdrom.write_speed = 0 (0x0) (int)
storage.cdrom.write_speeds = {} (string list)
storage.drive_type = 'cdrom' (string)
storage.firmware_version = '3.7C' (string)
storage.hotpluggable = false (bool)
storage.lun = 0 (0x0) (int)
storage.media_check_enabled = true (bool)
storage.model = 'CD-224E' (string)
storage.no_partitions_hint = true (bool)
storage.originating_device = '/org/freedesktop/Hal/devices/computer' (string)
storage.partitioning_scheme = '' (string)
storage.removable = true (bool)
storage.removable.media_available = true (bool)
storage.removable.media_size = 410624000 (0x1879a000) (uint64)
storage.removable.support_async_notification = false (bool)
storage.requires_eject = true (bool)
storage.size = 0 (0x0) (uint64)
storage.vendor = 'TEAC' (string)
udi = '/org/freedesktop/Hal/devices/pci_8086_2411_scsi_host_0_scsi_device_lun0_scsi_generic'
access_control.file = '/dev/sg1' (string)
access_control.type = 'cdrom' (string)
info.callouts.add = {'hal-acl-tool --add-device'} (string list)
info.callouts.remove = {'hal-acl-tool --remove-device'} (string list)
info.capabilities = {'scsi_generic', 'access_control'} (string list)
info.category = 'scsi_generic' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_8086_2411_scsi_host_0_scsi_device_lun0' (string)
info.product = 'SCSI Generic Interface' (string)
info.subsystem = 'scsi_generic' (string)
info.udi = '/org/freedesktop/Hal/devices/pci_8086_2411_scsi_host_0_scsi_device_lun0_scsi_generic' (string)
linux.device_file = '/dev/sg1' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'scsi_generic' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.1/host1/target1:0:0/1:0:0:0/scsi_generic/sg1' (string)
scsi_generic.device = '/dev/sg1' (string)
More information about the users
mailing list