Bugzilla – Bug 230729
upgrade: the CD/DVD drives are not working
Last modified: 2007-05-09 16:53:00 UTC
10.0 -> 10.2. Installer changed my fstab removing the entries for the DVD drives. So right from the start the only thing which can access the drives is yast2, but I am unable to get to them. And right now all I can do is mount -t 9660 /dev/sr0 /media/dvd And for one -- internal -- drive it is working, but I have no idea how to mount the external -- USB -- drive. I knew it in 10.0. No matter how big change in automounting system is -- the change should be transparent for the user. If I just inserted disc in 10.0 and it worked it should _just_ work in 10.2.
This is now handled totally different there is a udev config file cdrom.rules created by YaST2 that determines what names the links have. Need y2log files.
I noticed the udev, but I think from user perspective the transition should be transparent. Currently I can mount all driver manually, however I would like to see automounting for at least internal DVD and pendrive (it worked in 10.0 that way). The logs are the same as for: https://bugzilla.novell.com/attachment.cgi?id=111074&action=view
Please attach the file /etc/udev/rules.d/65-cdrom.rules maybe it is broken. Automounting is now done via HAL, reassigning this to HAL maintainers.
JFI: if 65-cdrom.rules is broken you can recreate it by calling /usr/lib/YaST2/bin/create_udev_cdrom_rules.
Created attachment 112198 [details] /etc/udev/rules.d/65-cdrom.rules
This contains one dvd drive, you should have links /dev/dvd and /dev/cdrom available pointing to you SCSI-DVD. So it looks correct. Is the other drive you mentioned one attached only temporarily?
About what do we speak? Automount if the user is logged in to KDE or GNOME or if the user is not logged in to a desktop?
Thomas -- /dev/dvd is a symlink to /dev/sr0 /media/dvd is just a mounting point (directory), it is not symlinked to anything It is for internal drive, manually mounting works, automatic -- no. Other drive is external drive connected via USB, but for now let's solve this internal drive. Danny -- automount when the user (me) is logged in to KDE. But I would like to get it work also when I am in console (runlevel 3) -- X server is not started.
For the non desktop mode you have to use e.g. ivman. For the KDE case: please provide the output of lshal with a CD/DVD in the drive (as attachment to this bug). Also useful would be: start 'lshal --monitor', insert a CD/DVD and post the output here.
Ad coment #8: The directory for the automount will probably not be /media/dvd (as it was in 10.0) but some directory determined by HAL at runtime.
Danny, Start monitoring devicelist: ------------------------------------------------- storage_model_DVD_ROM_GDR8082N property storage.removable.media_available = true storage_model_DVD_ROM_GDR8082N property storage.removable.media_size = 4700372992 (0x1182a0000) (new) volume_label_SU1020_001 added Those lines appeared after I inserted the disc. Thomas, No problem as long it is predictable -- for example somewhere in /media directory.
I need the complete output of lshal as requested in comment #9
Danny, you mean this: " For the KDE case: please provide the output of lshal with a CD/DVD in the drive (as attachment to this bug). Also useful would be: start 'lshal --monitor', insert a CD/DVD and post the output here. " I posted the exact output (lshal --monitor). Those lines were written on disc eject. There is nothing more. Just in case I add just lshal. storage_model_DVD_ROM_GDR8082N property storage.removable.media_available = false storage_model_DVD_ROM_GDR8082N property storage.partitioning_scheme = '' (new) volume_label_SU1020_001 removed
Created attachment 112319 [details] lshal (disc in drive)
As you can see in the output of lshal the DVD (see udi /org/freedesktop/Hal/devices/volume_label_SU1020_001) get correct detected. This mean for me there is no HAL bug but maybe a problem in KDE
are you entering a cd before you logged in or while you're logged in?
In general? I boot computer, KDE starts, I work a bit, I insert disc. So, while I am logged in.
ok, I'm very confused what this bugreport is about. Please correct me if I'm wrong. What you're complaining about is: a) you start the computer, you log into KDE b) you work a bit, and then put in a CD into the CD drive c) nothing happens is this correct? as soon as you close the CD drive, a popup is supposed to be shown by KDE which asks you a sensible question about what to do with the new media (if its a data cd, browse it, if its mp3 files, play music, etc). if this is the issue, please provide output of "lshal --monitor". does it output any text while you put in the CD? if yes, what does it say? also, please provide output of "dcop kded mediamanager fullList" then. if the issue is something different please clarify. Thanks a lot.
Dirk, There is one problem which is like this: a) after upgrade I cannot access any removable media. Period. b) if I fix this situation in (a), which means fixing fstab, I can manually mount removable media, however those media are still not automounted (and they should) a-b-c is my workflow, yes. But I don't expect any popup. I expect the disc will be automounted. Anything more is irrelevant for me. Btw. lshal output is already provided -- see attachments.
you shouldn't fix fstab, removable media's are now mounted via hal. /etc/fstab is sort of legacy. subfs does not exist anymore. and yes, if you add them to /etc/fstab, they will be no longer automounted, and hence you don't get the popup anymore. This is the fallback for people who like to mount manually or want to use autofs. So I don't see a bug here. Please reopen if you have either a problem by mounting via hal.
Dirk, > you shouldn't fix fstab, Then what SHOULD I do? Sit for a month without drives? > removable media's are now mounted via hal. Which does not work for me in 10.2 after upgrade. > and yes, if you add them to /etc/fstab, they will be no longer automounted, > and > hence you don't get the popup anymore. For the second time -- I don't care about the popup. I can revert the changes in fstab but it should be a purpose -- since automounting does not work, I HAVE to fix the fstab. > So I don't see a bug here. Please reopen if you have either a problem by > mounting via hal. From the beginning I am telling I have the problem -- I know my English is a bit rusty, but gosh... is that as bad with me? Once again: I have no access to the drives after upgrade -- none, zero, null. Fixing fstab was necessary since I have no other idea about ANY way to get to the disc content.
Just to clarify: your problem is _not_ bug 236228?
Martin, as the reporter of the bug you mentioned, pointed out -- my concern is not textmode. I run KDE, and after insertion of the disc I would like to dir /media/dvd or something similar and I would get the listing of disc. But I can't.
please add output from lshal --monitor while you insert the media and output from "dcop kded mediamanager fullList" afterwards. and no, lshal output is not the same as lshal --monitor.
Dirk, with fstab with my changes, lshal tells this: Start monitoring devicelist: ------------------------------------------------- storage_model_DVD_ROM_GDR8082N property storage.removable.media_available = true volume_label_SU1020_001 added and I will attach the dcop output because it is a bit lengthy.
Created attachment 117063 [details] dcop output
ok, it looks like automounting was disabled for this device in the kde configuration. can you please open media:/ and see if the SUL1020 media is there and show properties/mounting of it?
Dirk, I inserted the disc, run Konqueror, typed media:/ and there was no SUL1020. Just a list of "hardware devices", for example dvd (unmounted).
As your DVD is in fstab, it won't show up with the HAL properties: /org/kde/mediamanager/fstab/devsr0mediadvd (DVD) So how does the properties/mounting tab of that medium look like?
Created attachment 117842 [details] properties 1
Created attachment 117843 [details] properties 2
Stephan, strange thing, when I click RMB on the drive, and choose "mount" there is an error dialog "this could only be done with HAL". But I can type just "mount dvd" and this one works.
I guess I need your fstab then
Created attachment 117875 [details] fstab
it works fine for me - but I'm using the build service provided KDE 3.5.6 packages. As having CD/DVD in /etc/fstab is no longer our standard behaviour I don't think I want to spend time looking at what change to backport. But I'd like to ask you to verify it's fixed for you too if you update to KDE:KDE3's kdebase3. Then I can clean up my fstab again ;)
Stephan, I am not questioning that after manual tuning the system, it works :-) I am saying, that after upgrade it didn't (automatically) work. > As having CD/DVD in /etc/fstab is no longer our standard behaviour Again, it was all I could do. > But I'd like to ask you to verify it's fixed for you too if you update to > KDE:KDE3's kdebase3 Ok, it is not a problem, but what I have to do then to check if automounting works? Just remove DVD drives from /etc/fstab? Or something else.
if you remove it from /etc/fstab it should work in any case (using only the normal updates). If you don't, it should work with KDE:KDE3. I'm afraid the bug went too many miles, so I can't tell what might be the problem. So if you update to KDE:KDE3 and clean up your fstab again and it still does not work (no window opens asking you what to do with your CD under KDE), then reopen and attach lshal output.
Stephan, thank you for your answer. Since I want to save my connection a bit -- would KDE 3.5.6 be sufficient to do the test (not the last revision available now though)? Or do you have any special patch to KDE in mind?
should work
Created attachment 138553 [details] lshal output (disc in drive)
Stephan, I commented out one of my drives in /etc/fstab, I restarted system, inserted disc in drive, and... nothing happened. No new entry in /media/, nothing in /media/dvd, no KDE popup window.
Looks all correct ;( volume.label = 'MIT OCW' OK, next try. Please provide the output of: dcop kded and dcop kded mediamanager fullList And the content of .kde/share/config/medianotifierrc might be interesting
Created attachment 138578 [details] dcop kded
Created attachment 138579 [details] dcop kded mediamanager fullList
Created attachment 138580 [details] .kde/share/config/medianotifierrc
yep, media/dvd_unmounted=#NothinAction That sounds very much like you disabled the popup. You can reenable it by "kcmshell media"
I changed it --> still nothing. Btw. I assume this could lead to popup windows, but what about mounting (and where?)?
Haem, how does your mediamanagerrc look like. I get the suspicion you disabled HAL (on 10.0). The mounting would happen if you use the actions provided by the popup.
I changed CdPollingEnabled HalBackendEnabled those entries to true and it works (it was false). Finally! Stephan, thanks, you are great :-).
cdpolling should not be enabled!
One bridge too far :-), thank you Dirk.