Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sidroOffline
Post subject: aptosid 2010-02 don`t mount cds and dvds  PostPosted: 15.09.2010, 08:54



Joined: 2010-09-12
Posts: 15
Location: Romania
Status: Offline
New release of aptosid don`t auto mount my CDs and DVDs.
My fstab
      Code:
/dev/disk/by-uuid/ACE2706FE2703F9E            /media/disk1part1    ntfs-3g    defaults,locale=en_US.UTF-8  0 0
UUID=7af592b1-7f7c-4324-946f-571479d0b0e8     /                    ext4       defaults,noatime,errors=remount-ro,barrier=0 0 1
UUID=5c2bb944-4d98-47f3-bc57-773f81980746     none                 swap       sw 0 0
/dev/disk/by-uuid/62C2D6B01771B5C2            /media/disk1part5    ntfs-3g    default,rw,umask=0000  0 0
UUID=87a0c371-e736-4640-85ff-5c0ee4eee09f     /media/disk1part6    ext4       auto,users,rw,exec,noatime 0 0
UUID=d56cd955-6ef6-4b8f-a686-ef93f761498a     /media/disk1part7    ext4       auto,users,rw,exec,noatime 0 0
/dev/disk/by-uuid/1E194B9216DFE5C0            /media/disk2part1    ntfs-3g    defaults,rw,umask=0000  0 0
/dev/disk/by-uuid/0CC045300C7E4263            /media/disk2part2    ntfs-3g    defaults,rw,umask=0000  0 0
/dev/sr0                                      /media/dvd           udf,iso9660     noauto,ro,users           0  0


I running
      Code:
Host/Kernel/OS  "aptosidbox" running Linux 2.6.35-4.slh.9-aptosid-686 i686 [ aptosid 2010-02 Κῆρες - kde-lite - (201009132215) ]
CPU Info        (1) Intel Pentium Dual E2160 @ 1024 KB cache flags( sse3 ht nx lm ) clocked at [ 1200.000 MHz ]
                (2) Intel Pentium Dual E2160 @ 1024 KB cache flags( sse3 ht nx lm ) clocked at [ 1200.000 MHz ]
Videocard       nVidia G98 [GeForce 8400 GS]  X.Org 1.7.7  [ 1280x1024@60.0hz ]
Network cards   Atheros L1 Gigabit
                3Com 3c905B 100BaseTX [Cyclone]
Processes 145 | Uptime 1:12 | Memory 302.0/2025.7MB | HDD SAMSUNG HD502HJ,WDC WD800JD-00LS Size 580GB (31%used) | GLX Renderer Software Rasterizer | GLX Version Yes | Client Shell | Infobash v3.34
 
 View user's profile Send private message  
Reply with quote Back to top
OppaErichOffline
Post subject:   PostPosted: 15.09.2010, 15:13



Joined: 2010-09-13
Posts: 28
Location: Essen, Germany
Status: Offline
/dev/sr0 /media/dvd udf,iso9660 noauto,ro,users 0 Wink
 
 View user's profile Send private message  
Reply with quote Back to top
slhAdministrator
Post subject:   PostPosted: 15.09.2010, 16:36



Joined: 2010-08-25
Posts: 747

Status: Online!
optical drives and removable media as a whole usually shouldn't have any fstab entry, neither live infrastructure nor installer are supposed to create them.
 
 View user's profile Send private message  
Reply with quote Back to top
sidroOffline
Post subject:   PostPosted: 15.09.2010, 17:37



Joined: 2010-09-12
Posts: 15
Location: Romania
Status: Offline
My device notifier mount only DVD+R now.
I suppose that notifier don`t do the job or something is wrong in new kernel.
In old kernel 2.6.34 notifier works great.
hal policy is wrong perhaps.
 
 View user's profile Send private message  
Reply with quote Back to top
gangstaOffline
Post subject:   PostPosted: 15.09.2010, 18:34



Joined: 2010-09-12
Posts: 37
Location: Poland
Status: Offline
My girlfriend had the same problem today morning. But after evening d-u all is ok.
 
 View user's profile Send private message  
Reply with quote Back to top
sidroOffline
Post subject:   PostPosted: 15.09.2010, 18:49



Joined: 2010-09-12
Posts: 15
Location: Romania
Status: Offline
D-U don`t solve my problem.
 
 View user's profile Send private message  
Reply with quote Back to top
devilOffline
Post subject:   PostPosted: 15.09.2010, 19:19



Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
did you remove the device from fstab and let hal/udev do the job?

greetz
devil
 
 View user's profile Send private message  
Reply with quote Back to top
sidroOffline
Post subject:   PostPosted: 16.09.2010, 05:43



Joined: 2010-09-12
Posts: 15
Location: Romania
Status: Offline
I don`t have sr0 device in fstab. fstab is default.
My fstab
      Code:

/dev/disk/by-uuid/ACE2706FE2703F9E            /media/disk1part1    ntfs       auto,users,rw,dmask=0022,fmask=0133,nls=utf8 0 0
UUID=57afa6eb-123b-4f0b-a5ac-cab5fd042e01     /                    ext4       defaults,noatime,errors=remount-ro,barrier=0 0 1
UUID=5c2bb944-4d98-47f3-bc57-773f81980746     none                 swap       sw 0 0
/dev/disk/by-uuid/62C2D6B01771B5C2            /media/disk1part5    ntfs       auto,users,rw,dmask=0022,fmask=0133,nls=utf8 0 0
UUID=87a0c371-e736-4640-85ff-5c0ee4eee09f     /media/disk1part6    ext4       auto,users,rw,exec,noatime 0 0
UUID=d56cd955-6ef6-4b8f-a686-ef93f761498a     /media/disk1part7    ext4       auto,users,rw,exec,noatime 0 0
/dev/disk/by-uuid/1E194B9216DFE5C0            /media/disk2part1    ntfs       auto,users,rw,dmask=0022,fmask=0133,nls=utf8 0 0
/dev/disk/by-uuid/0CC045300C7E4263            /media/disk2part2    ntfs       auto,users,rw,dmask=0022,fmask=0133,nls=utf8 0 0
 
 View user's profile Send private message  
Reply with quote Back to top
clubexOffline
Post subject:   PostPosted: 16.09.2010, 09:31



Joined: 2010-09-11
Posts: 98

Status: Offline
I can confirm sidro's claim. It occurred after yesterday's du (included upgrade to kernel 2.6.35-4.slh.9-aptosid-amd64).

USB is detected and is notified but not CD or DVD and the media folder is empty.

I don't have sr0 device in my fstab.

[edit]
my apologies. I omitted to mention that I have an upgraded from sidux system and not the new distro aptosid 2010-02.
 
 View user's profile Send private message  
Reply with quote Back to top
clubexOffline
Post subject:   PostPosted: 16.09.2010, 13:10



Joined: 2010-09-11
Posts: 98

Status: Offline
Perhaps I should also add that I can do

pmount /dev/sr0 cdrom

without any problems.

And my /etc/udev/rules.d/70-persistent-cd.rules looks OK apart from the first three blocks which relate to drive that went the way of all things.

      Quote:

# This file was automatically generated by the /lib/udev/write_cd_rules
# program, probably run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line
# and set the $GENERATED variable.

# (pci-0000:00:0f.1-scsi-1:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-1:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-1:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
# DVD_RW_AD-5170A (pci-0000:00:0f.1-scsi-0:0:1:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:1:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:1:0", SYMLINK+="cdrw1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:1:0", SYMLINK+="dvd1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:1:0", SYMLINK+="dvdrw1", ENV{GENERATED}="1"
# DVD_RW_AD-5170A (pci-0000:00:0f.0-scsi-0:0:1:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.0-scsi-0:0:1:0", SYMLINK+="cdrom2", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.0-scsi-0:0:1:0", SYMLINK+="cdrw2", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.0-scsi-0:0:1:0", SYMLINK+="dvd2", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.0-scsi-0:0:1:0", SYMLINK+="dvdrw2", ENV{GENERATED}="1"

# DVD_RW_AD-5170A (pci-0000:00:06.0-scsi-0:0:1:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:06.0-scsi-0:0:1:0", SYMLINK+="cdrom3", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:06.0-scsi-0:0:1:0", SYMLINK+="cdrw3", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:06.0-scsi-0:0:1:0", SYMLINK+="dvd3", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:06.0-scsi-0:0:1:0", SYMLINK+="dvdrw3", ENV{GENERATED}="1"
 
 View user's profile Send private message  
Reply with quote Back to top
sidroOffline
Post subject:   PostPosted: 17.09.2010, 13:47



Joined: 2010-09-12
Posts: 15
Location: Romania
Status: Offline
nobody solve this problem?
 
 View user's profile Send private message  
Reply with quote Back to top
clubexOffline
Post subject:   PostPosted: 17.09.2010, 22:36



Joined: 2010-09-11
Posts: 98

Status: Offline
Sorry no. I've had a look using:

lshal -m

and hal seems a bit shaky getting the read/write speed of my optical drive but apart from that it seems OK.

I don't think that is the whole story.

Removeable devices like usb sticks are notified on my system but not devices that have removable media eg. CD/DVD drives. Also, as I understand it, the kde device notifier actions should open an appropriate application when it recognises an inserted medium but it doesn't.

Yet Kaffeine will open a DVD and play it (Kaffeine expects video on /dev/dvd) although the device notifier doesn't indicate any medium.

Strangley the udev rules should mount the dvd media as /media/dvd but it doesn't although I can't see anything wrong with the rules.

It might be partly a kernel problem as you say I just don't have the knowledge to say yes or no. But I do think the kde notifier may share some of the blame.

For the moment I have to manually mount CD/DVD media (which ain't really hard work) and get on with what I want to do. Hopefully a short wait will bring a upgrade package which will solve the problem.

My apologies if this is all a bit cryptic (messy) but it's been a very long day and I'm half asleep.
 
 View user's profile Send private message  
Reply with quote Back to top
clubexOffline
Post subject:   PostPosted: 18.09.2010, 21:48



Joined: 2010-09-11
Posts: 98

Status: Offline
I had a little time this morning and constructed a table showing which media fails. Unfortunately I can't format it properly in this post.

But what struck me from the table is that the disks which aren't getting mounted/notified are those formatted ISO9660. In fstab you could define the format eg. udf,iso9660. Does anyone know how this is done now that fstab is no longer used for optical drives?
 
 View user's profile Send private message  
Reply with quote Back to top
clubexOffline
Post subject:   PostPosted: 20.09.2010, 20:41



Joined: 2010-09-11
Posts: 98

Status: Offline
There is a bug in kde device notifier

https://bugs.kde.org/show_bug.cgi?id=245822

Nice to know my system and my cd/dvd drive are OK.

By way of proving it's a KDE notifier/automounter problem I installed gnome-volume-management and gnome's filemanager nautilus. Inserting a data cd/dvd opened nautilus showing the contents of the cd, placed an icon/Label in nautilus's Places and created a folder in /media. all just as KDE should.

So we have to wait for a fix.
 
 View user's profile Send private message  
Reply with quote Back to top
sidroOffline
Post subject:   PostPosted: 21.09.2010, 10:05



Joined: 2010-09-12
Posts: 15
Location: Romania
Status: Offline
Ok. Thanks man.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio