Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd March 2010, 02:46 PM
Espen Offline
Registered User
 
Join Date: Mar 2010
Posts: 4
linuxfedorafirefox
Automount fails for mo-drive

Hi all,

I have a system with an internal magneto-optical drive (scsi). I installed Fedora 12 (core 2.6.31-5 I think), and when I inserted a mo-disk in the drive, it automatically mounted and turned up as /media/disk. I then did an update (all) an now I am on core 2.6.31-12. The mo-disk will not automount any longer. Inserting a USB stick or a DVD still works fine, but I have to manually mount the mo. I have a feeling that it might be security related, but I am not sure.

lshal shows the following when I insert the disk:
10:08:38.309: storage_model_SMO_F551 property storage.removable.media_available = true
10:08:38.325: storage_model_SMO_F551 property storage.partitioning_scheme = 'mbr'
10:08:39.102: volume_part1_size_1024 added
10:08:39.410: volume_part5_size_1299349504 added


I get the following in /var/log/messages:
Mar 2 10:08:34 localhost kernel: sd 5:0:1:0: [sdf] Spinning up disk.....
Mar 2 10:08:38 localhost kernel: sd 5:0:1:0: [sdf] Spinning up disk.......ready
Mar 2 10:08:38 localhost kernel: sd 5:0:1:0: [sdf] 1273011 1024-byte logical blocks: (1.30 GB/1.21 GiB)
Mar 2 10:08:38 localhost kernel: sd 5:0:1:0: [sdf] 1273011 1024-byte logical blocks: (1.30 GB/1.21 GiB)
Mar 2 10:08:38 localhost kernel: sdf: sdf1 < sdf5 >


I would really appreciate some help on this one.
Espen

---------- Post added at 03:46 PM CST ---------- Previous post was at 10:11 AM CST ----------

Some more information. When I use dbus-monitor --system, I get the following when inserting the mo-disk. I would really like to see a mount event after this.

signal sender=:1.1 -> dest=(null destination) serial=1046 path=/org/freedesktop/Hal/devices/storage_model_SMO_F551; interface=org.freedesktop.Hal.Device; member=PropertyModified
int32 1
array [
struct {
string "storage.removable.media_available"
boolean false
boolean false
}
]
signal sender=:1.1 -> dest=(null destination) serial=1047 path=/org/freedesktop/Hal/devices/storage_model_SMO_F551; interface=org.freedesktop.Hal.Device; member=PropertyModified
int32 1
array [
struct {
string "storage.partitioning_scheme"
boolean false
boolean false
}
]
signal sender=:1.60 -> dest=(null destination) serial=670 path=/org/freedesktop/DeviceKit/Disks/devices/sdf; interface=org.freedesktop.DeviceKit.Disks.Device; member=Changed
signal sender=:1.60 -> dest=(null destination) serial=671 path=/org/freedesktop/DeviceKit/Disks; interface=org.freedesktop.DeviceKit.Disks; member=DeviceChanged
object path "/org/freedesktop/DeviceKit/Disks/devices/sdf"
signal sender=:1.60 -> dest=(null destination) serial=690 path=/org/freedesktop/DeviceKit/Disks; interface=org.freedesktop.DeviceKit.Disks; member=DeviceAdded
object path "/org/freedesktop/DeviceKit/Disks/devices/sdf1"
signal sender=:1.1 -> dest=(null destination) serial=1048 path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/volume_part1_size_1024"
signal sender=:1.60 -> dest=(null destination) serial=709 path=/org/freedesktop/DeviceKit/Disks; interface=org.freedesktop.DeviceKit.Disks; member=DeviceAdded
object path "/org/freedesktop/DeviceKit/Disks/devices/sdf5"
signal sender=:1.1 -> dest=(null destination) serial=1051 path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded
string "/org/freedesktop/Hal/devices/volume_part5_size_1299349504"
signal sender=:1.60 -> dest=(null destination) serial=728 path=/org/freedesktop/DeviceKit/Disks/devices/sdf; interface=org.freedesktop.DeviceKit.Disks.Device; member=Changed
signal sender=:1.60 -> dest=(null destination) serial=729 path=/org/freedesktop/DeviceKit/Disks; interface=org.freedesktop.DeviceKit.Disks; member=DeviceChanged
object path "/org/freedesktop/DeviceKit/Disks/devices/sdf"
  #2  
Old 2nd March 2010, 03:06 PM
madhavdiwan Offline
Registered User
 
Join Date: Jun 2009
Posts: 472
windows_xp_2003firefox
If you can manually mount teh MO drive then I would agree that you have an automount issue.

DeviceKit-disks is the name for the automount utility rpm package that should be handling this device.

rpm -qil DeviceKit-disks
and man DeviceKit-disks
should tell you more about this

try running
/usr/bin/devkit-disks --dump

and post what it says , lets see if it knows what to do with the drive.

By the way .. did you change media in the drive? have you tried different cassettes?
  #3  
Old 2nd March 2010, 03:13 PM
Espen Offline
Registered User
 
Join Date: Mar 2010
Posts: 4
linuxfedorafirefox
I did try with more than one disk, and the result is the same. As I said, this worked before the update. Here is the (rather long) result of the devkit-disks. The content I am looking for is on sdf5.

================================================== ======================
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sdf
native-path: /sys/devices/pci0000:00/0000:00:1e.0/0000:04:00.0/host5/target5:0:1/5:0:1:0/block/sdf
device: 8:80
device-file: /dev/sdf
by-path: /dev/disk/by-path/pci-0000:04:00.0-scsi-0:0:1:0
detected at: Tue 02 Mar 2010 02:35:23 PM CET
system internal: 0
removable: 1
has media: 1 (detected at Tue 02 Mar 2010 04:09:28 PM CET)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 1
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 1303563264
block size: 1024
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 2
drive:
vendor: SONY
model: SMO-F551
revision: 1.22
serial:
detachable: 0
can spindown: 0
rotational media: 1
ejectable: 0
media:
compat:
interface: scsi
if speed: (unknown)
ATA SMART: not available

================================================== ======================
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sdf1
native-path: /sys/devices/pci0000:00/0000:00:1e.0/0000:04:00.0/host5/target5:0:1/5:0:1:0/block/sdf/sdf1
device: 8:81
device-file: /dev/sdf1
by-path: /dev/disk/by-path/pci-0000:04:00.0-scsi-0:0:1:0-part1
detected at: Tue 02 Mar 2010 04:09:28 PM CET
system internal: 0
removable: 0
has media: 1 (detected at Tue 02 Mar 2010 04:09:28 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 1024
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition:
part of: /org/freedesktop/DeviceKit/Disks/devices/sdf
scheme: mbr
number: 1
type: 0x05
flags:
offset: 2048
size: 1299349504
label:
uuid:

================================================== ======================
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sdf5
native-path: /sys/devices/pci0000:00/0000:00:1e.0/0000:04:00.0/host5/target5:0:1/5:0:1:0/block/sdf/sdf5
device: 8:85
device-file: /dev/sdf5
by-path: /dev/disk/by-path/pci-0000:04:00.0-scsi-0:0:1:0-part5
detected at: Tue 02 Mar 2010 04:09:29 PM CET
system internal: 0
removable: 0
has media: 1 (detected at Tue 02 Mar 2010 04:09:29 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 1299349504
block size: 512
job underway: no
usage: filesystem
type: vfat
version: FAT16
uuid:
label:
partition:
part of: /org/freedesktop/DeviceKit/Disks/devices/sdf
scheme: mbr
number: 5
type: 0x06
flags:
offset: 3072
size: 1299349504
label:
uuid:
  #4  
Old 4th March 2010, 07:27 AM
Espen Offline
Registered User
 
Join Date: Mar 2010
Posts: 4
windows_xp_2003firefox
I am still stuck on this problem, and I am running out of time. Windows XP is my next solution I think, unless anyone has a good idea today.
  #5  
Old 4th March 2010, 10:36 PM
madhavdiwan Offline
Registered User
 
Join Date: Jun 2009
Posts: 472
windows_xp_2003firefox
1) check if you have a rules fiel in /etc/udev/rules.d and seeif the entries in teh permanent cdrom rules match the device ids you are seeing now for the modrive partitions.

2) check /var/log/audit/audit.log for any entries concerning a denial for a mount

3) have you checked if your rpms for DeviceKit are current?. list your DeviceKit* RPM versions and the versions of its dependencies.
  #6  
Old 5th March 2010, 08:42 AM
Espen Offline
Registered User
 
Join Date: Mar 2010
Posts: 4
windows_xp_2003firefox
Thanks, none of the things you listed were wrong, but it did point me in the right direction. I included the mount in my fstab file, created a new udev rule that calls my own mount script, and now it works!
Closed Thread

Tags
automount, hal, scsi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drive automount on Fedora 11 sandello Using Fedora 2 21st October 2009 06:51 AM
Only root can automount CD drive and USB thumb drive km4hr Linux Chat 7 17th May 2009 05:50 PM
Automount stopped working with USB pen drive and USB hard drive fedoraphile Using Fedora 20 14th December 2006 05:53 AM
pen drive automount mokojin Using Fedora 1 16th June 2005 01:39 PM


Current GMT-time: 03:16 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat