Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
01-13-2013, 06:06 PM
|
#1
|
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.0 (multilib)
Posts: 1,164
Rep:
|
Cannot play DVDs in Slackware 14
I find that I cannot play DVDs with Slackware 14.
I have found a solution of sorts here http://www.linuxquestions.org/questi...6/#post4400562
/dev/dvd/ is missing and
Solves the problem at least temporarily. What is going on here? Should I be deleting etc/udev/rules.d/70-persistent-cd.rules
as suggested there?
|
|
|
|
01-15-2013, 02:57 AM
|
#2
|
|
Member
Registered: Mar 2011
Location: California
Distribution: Slackware
Posts: 116
Rep:
|
Yes, I would try deleting /etc/udev/rules.d/70-persistent-cd.rules, rebooting, and seeing what happens. If it still doesn't work then we can dig deeper to find out what the problem may be. Does that file contain anything at the moment?
|
|
|
1 members found this post helpful.
|
01-15-2013, 03:54 AM
|
#3
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,176
|
Strange. I've got a /dev/dvd, not created by me, which is a link to /dev/sr0. I've no problems playing DVDs with Eric's VLC.
|
|
|
|
01-15-2013, 05:18 AM
|
#4
|
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.0 (multilib)
Posts: 1,164
Original Poster
Rep:
|
I will look at 70-persistent-cd.rules when I get to my PC tonight.
As far as I know I have a rather standard setup. Clean install of Slackware 64 with multilib. I do use the 3.4.11 kernel because this has the kernel-efi stub and I am booting off EFI ( most reliable way I found of allowing dual booting with Win7 on my machine). Slackware is on an SSD except for /var and /home which are on a standard hard drive and /tmp which is in RAM.
I did discover that smplayer allows one to play DVDs on /dev/sr0 which would be another way round.
|
|
|
|
01-15-2013, 08:09 AM
|
#5
|
|
Member
Registered: Feb 2007
Location: CT, USA
Distribution: Slackware
Posts: 61
Rep:
|
Funny, I deleted my /etc/udev/rules.d/70-persistent-cd.rules for giggles, rebooted, it did not generate a new one. I too have a symlink for /dev/cdrom>/dev/sr0 but no /dev/dvd>/dev/sr0 . Is udev not discovering the cdrom, I assume it did since there was a file there originally. Oh, and after deleting the rules, the symlink for cdrom is still there.
|
|
|
|
01-15-2013, 08:31 AM
|
#6
|
|
Senior Member
Registered: May 2008
Posts: 2,839
|
Interesting, I've lost all my /dev/dvd* symlinks too (not that I'd noticed as I tend to just use /dev/sr0 directly). Wonder if it is because I'm using a newer kernel.
|
|
|
|
01-15-2013, 08:52 AM
|
#7
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,176
|
Here's what I've got:
Code:
bash-4.2$ ls -l /dev | grep dvd*
lrwxrwxrwx 1 root root 3 Jan 15 09:34 dvd -> sr0
lrwxrwxrwx 1 root root 3 Jan 15 09:34 dvd0 -> sr0
lrwxrwxrwx 1 root root 3 Jan 15 09:34 dvdrw -> sr0
lrwxrwxrwx 1 root root 3 Jan 15 09:34 dvdrw0 -> sr0
lrwxrwxrwx 1 root root 3 Jan 15 09:34 dvdwriter -> sr0
lrwxrwxrwx 1 root root 3 Jan 15 09:34 dvdwriter0 -> sr0
That's on Slack64 14.0, default generic kernel.
|
|
|
|
01-15-2013, 09:03 AM
|
#8
|
|
Member
Registered: Feb 2007
Location: CT, USA
Distribution: Slackware
Posts: 61
Rep:
|
slack -current 32b for me
|
|
|
|
01-15-2013, 09:35 AM
|
#9
|
|
Senior Member
Registered: May 2008
Posts: 2,839
|
This is what udev tells me about /dev/sr0
Code:
root@ws1:~# udevadm info --query all --name=/dev/sr0
P: /devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sr0
N: sr0
L: -100
S: cdrom
S: disk/by-id/ata-HL-DT-ST_DVDRAM_GH22NS40_CBA5B11213C8
S: disk/by-id/wwn-0x5001480000000000
E: DEVLINKS=/dev/cdrom /dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH22NS40_CBA5B11213C8 /dev/disk/by-id/wwn-0x5001480000000000
E: DEVNAME=/dev/sr0
E: DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sr0
E: DEVTYPE=disk
E: ID_ATA=1
E: ID_ATA_FEATURE_SET_PM=1
E: ID_ATA_FEATURE_SET_PM_ENABLED=0
E: ID_ATA_SATA=1
E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1
E: ID_BUS=ata
E: ID_CDROM=1
E: ID_CDROM_CD=1
E: ID_CDROM_CD_R=1
E: ID_CDROM_CD_RW=1
E: ID_CDROM_DVD=1
E: ID_CDROM_DVD_PLUS_R=1
E: ID_CDROM_DVD_PLUS_RW=1
E: ID_CDROM_DVD_PLUS_R_DL=1
E: ID_CDROM_DVD_R=1
E: ID_CDROM_DVD_RAM=1
E: ID_CDROM_DVD_RW=1
E: ID_CDROM_MRW=1
E: ID_CDROM_MRW_W=1
E: ID_MODEL=HL-DT-ST_DVDRAM_GH22NS40
E: ID_MODEL_ENC=HL-DT-ST\x20DVDRAM\x20GH22NS40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_REVISION=NL01
E: ID_SERIAL=HL-DT-ST_DVDRAM_GH22NS40_CBA5B11213C8
E: ID_SERIAL_SHORT=CBA5B11213C8
E: ID_TYPE=cd
E: ID_WWN=0x5001480000000000
E: ID_WWN_WITH_EXTENSION=0x5001480000000000
E: MAJOR=11
E: MINOR=0
E: SUBSYSTEM=block
E: UDEV_LOG=3
E: UDISKS_PRESENTATION_NOPOLICY=0
E: USEC_INITIALIZED=6922645
P.S. Slack64-14.0 with custom 3.7.2 kernel.
Last edited by GazL; 01-15-2013 at 09:36 AM.
|
|
|
|
01-15-2013, 09:49 AM
|
#10
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,176
|
From mine:
Code:
root@slackdesk:~# udevadm info --query all --name=/dev/sr0
P: /devices/pci0000:00/0000:00:08.0/host1/target1:0:0/1:0:0:0/block/sr0
N: sr0
L: -100
S: cdr
S: cdr0
S: cdrom
S: cdrom0
S: cdrw
S: cdrw0
S: cdwriter
S: cdwriter0
S: disk/by-id/ata-Optiarc_DVD_RW_AD-5280S
S: disk/by-path/pci-0000:00:08.0-scsi-1:0:0:0
S: dvd
S: dvd0
S: dvdrw
S: dvdrw0
S: dvdwriter
S: dvdwriter0
S: writer
E: DEVLINKS=/dev/cdr /dev/cdr0 /dev/cdrom /dev/cdrom0 /dev/cdrw /dev/cdrw0 /dev/cdwriter /dev/cdwriter0 /dev/disk/by-id/ata-Optiarc_DVD_RW_AD-5280S /dev/disk/by-path/pci-0000:00:08.0-scsi-1:0:0:0 /dev/dvd /dev/dvd0 /dev/dvdrw /dev/dvdrw0 /dev/dvdwriter /dev/dvdwriter0 /dev/writer
E: DEVNAME=/dev/sr0
E: DEVPATH=/devices/pci0000:00/0000:00:08.0/host1/target1:0:0/1:0:0:0/block/sr0
E: DEVTYPE=disk
E: GENERATED=1
E: ID_ATA=1
E: ID_ATA_FEATURE_SET_PM=1
E: ID_ATA_FEATURE_SET_PM_ENABLED=1
E: ID_ATA_SATA=1
E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1
E: ID_BUS=ata
E: ID_CDROM=1
E: ID_CDROM_CD=1
E: ID_CDROM_CD_R=1
E: ID_CDROM_CD_RW=1
E: ID_CDROM_DVD=1
E: ID_CDROM_DVD_PLUS_R=1
E: ID_CDROM_DVD_PLUS_RW=1
E: ID_CDROM_DVD_PLUS_R_DL=1
E: ID_CDROM_DVD_R=1
E: ID_CDROM_DVD_RW=1
E: ID_CDROM_MRW=1
E: ID_CDROM_MRW_W=1
E: ID_MODEL=Optiarc_DVD_RW_AD-5280S
E: ID_MODEL_ENC=Optiarc\x20DVD\x20RW\x20AD-5280S\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_PATH=pci-0000:00:08.0-scsi-1:0:0:0
E: ID_PATH_TAG=pci-0000_00_08_0-scsi-1_0_0_0
E: ID_REVISION=1.01
E: ID_SERIAL=Optiarc_DVD_RW_AD-5280S
E: ID_TYPE=cd
E: MAJOR=11
E: MINOR=0
E: SUBSYSTEM=block
E: UDEV_LOG=3
E: UDISKS_PRESENTATION_NOPOLICY=0
E: USEC_INITIALIZED=5209991
A lot of difference in the DEVLINKS entry.
Last edited by brianL; 01-15-2013 at 09:52 AM.
|
|
|
1 members found this post helpful.
|
01-15-2013, 10:10 AM
|
#11
|
|
Member
Registered: Feb 2007
Location: CT, USA
Distribution: Slackware
Posts: 61
Rep:
|
Mine:
Code:
[root@dtd:dan]# udevadm info --query all --name=/dev/sr0
P: /devices/pci0000:00/0000:00:05.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0
N: sr0
L: -100
S: cdrom
S: disk/by-id/ata-ATAPI_iHAS424_B_3524253_248046501241
S: disk/by-label/NWN2MOTB
E: DEVLINKS=/dev/cdrom /dev/disk/by-id/ata-ATAPI_iHAS424_B_3524253_248046501241 /dev/disk/by-label/NWN2MOTB
E: DEVNAME=/dev/sr0
E: DEVPATH=/devices/pci0000:00/0000:00:05.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0
E: DEVTYPE=disk
E: ID_ATA=1
E: ID_ATA_SATA=1
E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1
E: ID_BUS=ata
E: ID_CDROM=1
E: ID_CDROM_CD=1
E: ID_CDROM_CD_R=1
E: ID_CDROM_CD_RW=1
E: ID_CDROM_DVD=1
E: ID_CDROM_DVD_PLUS_R=1
E: ID_CDROM_DVD_PLUS_RW=1
E: ID_CDROM_DVD_PLUS_R_DL=1
E: ID_CDROM_DVD_R=1
E: ID_CDROM_DVD_RAM=1
E: ID_CDROM_DVD_RW=1
E: ID_CDROM_MEDIA=1
E: ID_CDROM_MEDIA_DVD=1
E: ID_CDROM_MEDIA_SESSION_COUNT=1
E: ID_CDROM_MEDIA_STATE=complete
E: ID_CDROM_MEDIA_TRACK_COUNT=1
E: ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
E: ID_CDROM_MRW=1
E: ID_CDROM_MRW_W=1
E: ID_FS_LABEL=NWN2MOTB
E: ID_FS_LABEL_ENC=NWN2MOTB
E: ID_FS_TYPE=iso9660
E: ID_FS_USAGE=filesystem
E: ID_FS_VERSION=Joliet Extension
E: ID_MODEL=ATAPI_iHAS424_B
E: ID_MODEL_ENC=ATAPI\x20\x20\x20iHAS424\x20\x20\x20B\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_REVISION=GL15
E: ID_SERIAL=ATAPI_iHAS424_B_3524253_248046501241
E: ID_SERIAL_SHORT=3524253_248046501241
E: ID_TYPE=cd
E: MAJOR=11
E: MINOR=0
E: SUBSYSTEM=block
E: UDEV_LOG=3
E: UDISKS_PRESENTATION_NOPOLICY=0
E: USEC_INITIALIZED=8874922
|
|
|
|
01-15-2013, 10:18 AM
|
#12
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,176
|
Quote:
Originally Posted by dTd
Mine:
Code:
E: DEVLINKS=/dev/cdrom /dev/disk/by-id/ata-ATAPI_iHAS424_B_3524253_248046501241 /dev/disk/by-label/NWN2MOTB
|
Mmm, you haven't got any /dev/dvd entries. Which kernel are you running?
|
|
|
|
01-15-2013, 10:53 AM
|
#13
|
|
Senior Member
Registered: May 2008
Posts: 2,839
|
For some reason mine isn't being assigned a /dev/disk/by-path entry and that looks to be breaking the call to write_cd_rules in "75-cd-aliases-generator.rules"
Interestingly, neither is my primary sata harddisk sda so this issue might be wider than just dvd devices.
The missing symlink seems to be a result of ID_PATH not being set, which looks like it comes from 60-persistent-storage.rules
I can't be arsed to track this any further, I'll just ignore the symlinks and continue to use the real device name.
UDEV! What a bag-o-shite!
Last edited by GazL; 01-15-2013 at 11:19 AM.
Reason: updated.
|
|
|
1 members found this post helpful.
|
01-15-2013, 02:42 PM
|
#14
|
|
Member
Registered: Apr 2010
Distribution: Slackware
Posts: 309
Rep:
|
me had also lost all /dev/dvd and /dev/cdrom links on all machines in the household. rather than doing a PhD in Udev I decided to change the the device name to /dev/sr0 in all relevant applications...
|
|
|
|
01-15-2013, 03:29 PM
|
#15
|
|
Member
Registered: Dec 2009
Location: California
Distribution: Slackware,OpenBSD
Posts: 96
Rep:
|
Quote:
Originally Posted by Mike_M
Yes, I would try deleting /etc/udev/rules.d/70-persistent-cd.rules, rebooting, and seeing what happens. If it still doesn't work then we can dig deeper to find out what the problem may be. Does that file contain anything at the moment?
|
I am running current, linux 3.7.1-huge and have the same problem with the missing /dev/dvd symbolic link.
As a test I erased the /etc/udev/rules.d/70-persistent-cd.rules and tried several kernels.
3.2.29-huge and the 70-persistent-cd.rules is missing and the /dev/dvd still missing
3.2.35-huge and the 70-persistent-cd.rules is missing and the /dev/dvd still missing
3.7.1-huge and the 70-persistent-cd.rules is missing and the /dev/dvd still missing
I copied over a version of the 70-persistent-cd.rules from a
version of slackware 14.0 stable on the same box and got the following results:
3.2.29-huge and the /dev/dvd is there!
3.2.35-huge and the /dev/dvd is there!
3.7.1-huge and the /dev/dvd is missing...
So there are actually two problems.
1) If the 70-persistent-cd.rules file is gone it will not be re-created.
2) Even if there is a 70-persistent-cd.rules file, it will not create
a /dev/dvd link on a 3.7.1 kernel
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:28 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|