[SOLVED] upgrade mga2 -> mga3 mounting DVDs is impossible

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] upgrade mga2 -> mga3 mounting DVDs is impossible

Postby magfan » Jul 23rd, '13, 10:56

After upgrading from mga2 -> mga3 I cannot mount CDs and DVDs anymore.
Last edited by magfan on Jul 25th, '13, 08:49, edited 1 time in total.
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33

Re: after upgrade mga2 -> mga3 mounting DVDs is impossible

Postby doktor5000 » Jul 23rd, '13, 21:20

How do you mount them? Is there an fstab entry for the optical drive?
Please show output of
Code: Select all
ls -al /dev/sr*
ls -al /dev/cd*
ls -al /dev/dvd*

and content of /etc/udev/rules.d/70-persistent-cd.rules
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: after upgrade mga2 -> mga3 mounting DVDs is impossible

Postby magfan » Jul 24th, '13, 08:52

Code: Select all
$ ls -al /dev/sr*
brw-rw----+ 1 root cdrom 11, 0 Jul 24 08:31 /dev/sr0
brw-rw----+ 1 root cdrom 11, 1 Jul 24 08:36 /dev/sr1
$ ls -al /dev/cd*
lrwxrwxrwx 1 root root 3 Jul 24 08:31 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 Jul 24 08:36 /dev/cdrom6 -> sr1
lrwxrwxrwx 1 root root 3 Jul 24 08:31 /dev/cdrw -> sr0
lrwxrwxrwx 1 root root 3 Jul 24 08:36 /dev/cdrw6 -> sr1
$ ls -al /dev/dvd*
lrwxrwxrwx 1 root root 3 Jul 24 08:31 /dev/dvd -> sr0
lrwxrwxrwx 1 root root 3 Jul 24 08:36 /dev/dvd6 -> sr1
lrwxrwxrwx 1 root root 3 Jul 24 08:31 /dev/dvdrw -> sr0
lrwxrwxrwx 1 root root 3 Jul 24 08:36 /dev/dvdrw6 -> sr1
$ cat fstab | grep sr
/dev/sr0 /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/sr1 /media/cdrom2 auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
$


Code: Select all
#  (pci-0000:08:00.0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:08:00.0", SYMLINK+="cdrom1", ENV{GENERATED}="1"

#  (pci-0000:02:00.0-usb-0:1)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:02:00.0-usb-0:1", SYMLINK+="cdrom2", ENV{GENERATED}="1"

# HL-DT-ST_BD-RE_BE12LU30 (pci-0000:05:00.0-sas-0x5003005701045db2-lun-0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:05:00.0-sas-0x5003005701045db2-lun-0", SYMLINK+="cdrom3", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:05:00.0-sas-0x5003005701045db2-lun-0", SYMLINK+="cdrw3", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:05:00.0-sas-0x5003005701045db2-lun-0", SYMLINK+="dvd3", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:05:00.0-sas-0x5003005701045db2-lun-0", SYMLINK+="dvdrw3", ENV{GENERATED}="1"

# AutoRun_Disk (pci-0000:06:00.0-usb-0:3.2:1.0-scsi-0:0:0:1)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="Generic_AutoRun_Disk_E1UBLBOX-0:1", SYMLINK+="cdrom4", ENV{GENERATED}="1"

# Mass_Storage_Device (pci-0000:06:00.0-usb-0:3.4:1.0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="JetFlash_Mass_Storage_Device_E1UBLBOX", SYMLINK+="cdrom5", ENV{GENERATED}="1"

# HL-DT-ST_BD-RE_BE12LU30 (pci-0000:05:00.0-sas-0x5003005701045db0-lun-0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:05:00.0-sas-0x5003005701045db0-lun-0", SYMLINK+="cdrom6", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:05:00.0-sas-0x5003005701045db0-lun-0", SYMLINK+="cdrw6", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:05:00.0-sas-0x5003005701045db0-lun-0", SYMLINK+="dvd6", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:05:00.0-sas-0x5003005701045db0-lun-0", SYMLINK+="dvdrw6", ENV{GENERATED}="1"

# TSSTcorp_CDDVDW_SH-216BB (pci-0000:00:1f.2-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="cdrom7", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="cdrw7", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="dvd7", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="dvdrw7", ENV{GENERATED}="1"
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33

Re: after upgrade mga2 -> mga3 mounting DVDs is impossible

Postby doktor5000 » Jul 24th, '13, 20:59

The udev rules look weird, how are those CD/DVD drives connected? I'd move that rules file away, it will be recreated on next boot.
Also please remove/uncomment both fstab entries, they are long deprecated/cumbersome.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: after upgrade mga2 -> mga3 mounting DVDs is impossible

Postby magfan » Jul 25th, '13, 08:48

doktor5000 wrote:The udev rules look weird, how are those CD/DVD drives connected? I'd move that rules file away, it will be recreated on next boot.
Also please remove/uncomment both fstab entries, they are long deprecated/cumbersome.

I removed the udev rules file and both entries in fstab. Now I can use the CD/DVD drives again. Although a new "70-persistent-cd.rules" file has not been created after reboot.
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33

Re: [SOLVED] upgrade mga2 -> mga3 mounting DVDs is impossibl

Postby doktor5000 » Jul 26th, '13, 01:04

Well, i'm not sure with all those changes. udev rules have moved to /usr/lib/udev/rules.d/ or maybe this is even handled by udisks/udisks2 now,
and the old udev rules were still being used and blocked access. Mysteries :)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] upgrade mga2 -> mga3 mounting DVDs is impossibl

Postby jiml8 » Jul 26th, '13, 02:48

Ultimately, supporting and maintaining a system becomes more difficult as the configuration stuff migrates out of /etc. This applies to systemd and now, apparently, to udev.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: [SOLVED] upgrade mga2 -> mga3 mounting DVDs is impossibl

Postby doktor5000 » Jul 26th, '13, 11:03

Well, not exactly. systemd has system-rules/-settings which are under /usr/lib, which are being overruled by those in /etc which is traditionally the admin realm.
Same applies for udev, as you can see from this thread - rule in /etc was actually cumbersome.

But yes, stuff definitely gets more complex - not necessarily more complicated.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest