View previous topic :: View next topic |
Author |
Message |
mrbassie l33t
Joined: 31 May 2013 Posts: 771 Location: over here
|
Posted: Tue Aug 05, 2014 3:32 pm Post subject: [SOVLED] can't play dvd's. |
|
|
audio cd's work fine.
when I put a disk in dmesg shows:
Code: | vlc[26746]: segfault at 8 ip 0000003abbe445db sp 00007fff94073fa8 error 4 in libQtDBus.so.4.8.5[3abbe00000+7b000]: |
ISO 9660 CDROM file system support is built into the kernel, dvd use flag is enabled globally.
If I try to manually mount /dev/sr0, mount returns "no medium found..."
Enabled flags for vlc: Code: | X a52 alsa avcodec avformat cdda dbus dvbpsi dvd ffmpeg flac fontconfig kde matroska mmx mp3 mpeg ogg opengl png postproc qt4 sdl sse swscale truetype udev vorbis x264 xcb xml xv |
Last edited by mrbassie on Thu Aug 07, 2014 5:20 pm; edited 2 times in total |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Tue Aug 05, 2014 3:43 pm Post subject: Re: VLC can't play dvd's |
|
|
mrbassie wrote: | If I try to manually mount /dev/sr0, mount returns "no medium found..." |
Sure vlc shouldn't segfault with an empty disk, but if you mount the disk and it show "no medium found", you don't need to dig vlc, as all players will have the problem that your dvd isn't detecting the medium.
Fix the dvd problem, you may as well avoid the vlc bug after solving it.
I was about to suggest looking at iso9660 support, but it's not need.
But at least ask help on fixing your dvd to read the disk instead of querying users for vlc help. |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 771 Location: over here
|
Posted: Tue Aug 05, 2014 3:49 pm Post subject: |
|
|
somebody got out the wrong side of bed this morning.
I wasn't sure where the problem lies, I found it by trying to play in vlc, hence the title which I've changed. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54098 Location: 56N 3W
|
Posted: Tue Aug 05, 2014 6:21 pm Post subject: |
|
|
mrbassie,
Video DVDs do not contain a useful filesystem. To be sure, its present and can be mounted but its deliberately corrupt to stop you using dd to copy the video.
Video players play the video using a block list to know what blocks and in what order to read the disk to play the video.
This requires raw device access, which you clearly have since you can play CDDA. That works he same way.
Taken together, this implies that your software stack is broken.
Does revdep-rebuild wand to do anything?
If so, let it finish. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 771 Location: over here
|
Posted: Tue Aug 05, 2014 7:04 pm Post subject: |
|
|
Hi Neddy,
Code: | Dynamic linking on your system is consistent... All done. |
I've tried a usb dvd drive this evening since I posted the thread, external drive is recognised but the discs are not (including blank discs). GUI apps also see the drive(s) but think they are empty. I wonder could it be a permissions problem? I am in the cdrom group.
Code: | lrwxrwxrwx 1 root root 3 Aug 5 17:49 /dev/cdrom -> sr0
brw-rw---- 1 root cdrom 11, 0 Aug 5 17:49 /dev/sr0 |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54098 Location: 56N 3W
|
Posted: Tue Aug 05, 2014 8:10 pm Post subject: |
|
|
mrbassie,
What does ls -l /dev/sr* tell?
Code: | $ ls -l /dev/sr*
brw-rw---- 1 root cdrom 11, 0 Sep 20 2013 /dev/sr0
brw-rw---- 1 root cdrom 11, 1 Sep 20 2013 /dev/sr1 | is a good start.
You may have more or less devices than me. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 771 Location: over here
|
Posted: Wed Aug 06, 2014 6:52 am Post subject: |
|
|
Just the one, it's a laprop
Code: | brw-rw---- 1 root cdrom 11, 0 Aug 6 07:43 /dev/sr0 |
|
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Wed Aug 06, 2014 7:42 am Post subject: |
|
|
Go with a
Code: | emerge -1 hwinfo && hwinfo --cdrom |
|
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 771 Location: over here
|
Posted: Wed Aug 06, 2014 4:24 pm Post subject: |
|
|
Code: | 23: SCSI 100.0: 10602 CD-ROM (DVD)
[Created at block.249]
Unique ID: KD9E.ZyY8TBTIFs2
Parent ID: w7Y8.9dnwHDTTEvF
SysFS ID: /class/block/sr0
SysFS BusID: 1:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0
Hardware Class: cdrom
Model: "TSSTcorp CDDVDW TS-L633C"
Vendor: "TSSTcorp"
Device: "CDDVDW TS-L633C"
Revision: "AC01"
Driver: "ahci", "sr"
Driver Modules: "ahci"
Device File: /dev/sr0 (/dev/sg1)
Device Files: /dev/sr0, /dev/cdrom, /dev/disk/by-id/ata-TSSTcorp_CDDVDW_TS-L633C_R3686GAZ201666
Device Number: block 11:0 (char 21:1)
Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM, MRW, MRW-W
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #18 (SATA controller)
Drive Speed: 24
|
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 771 Location: over here
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54098 Location: 56N 3W
|
Posted: Thu Aug 07, 2014 5:52 pm Post subject: |
|
|
mrbassie,
:) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
beandog Bodhisattva
Joined: 04 May 2003 Posts: 2072 Location: /usa/utah
|
Posted: Mon Aug 18, 2014 10:48 pm Post subject: |
|
|
mrbassie wrote: | If I try to manually mount /dev/sr0, mount returns "no medium found..." |
You don't need to mount the DVD to access it.
NeddySeagoon wrote: | mrbassie,
Video DVDs do not contain a useful filesystem. To be sure, its present and can be mounted but its deliberately corrupt to stop you using dd to copy the video.
Video players play the video using a block list to know what blocks and in what order to read the disk to play the video.
This requires raw device access, which you clearly have since you can play CDDA. That works he same way. |
Eh, sorry Neddy, but that's not right at all .... *ducks*
The DVD sits on an UDF filesystem -- make sure *that* is in your kernel support.
Also, It's the video that is encrypted, not the filesystem.
_________________ If it ain't broke, tweak it. dvds | blurays | blog | wiki |
|
Back to top |
|
|
sgarcia Apprentice
Joined: 21 May 2003 Posts: 254 Location: Bakersfield, CA
|
Posted: Tue Aug 19, 2014 12:38 am Post subject: |
|
|
mrbassie wrote: | I'm so sorry Gents but I've wasted your time. The drive is effed.
|
Have you replaced the drive and are you *sure* that the old one was bad?
The reason I ask is that I have identical symptoms and my drive is fine. It boots from a live-dvd with no problems, but it will not mount (or recognize) a DVD when I'm booted into my Gentoo system. It works fine with a music CD, but DVDs are "empty."
I'm suspecting udev issues since I allowed udev-215 to install and had to screw around with gudev (and that involved tricky things with gvfs.) But that also involved installing a new kernel, and maybe I broke something with that. And yes, beandog, I checked and CONFIG_UDF_FS=y is set.
In any case, I'm pretty sure the problem is something in the system that I've broken, and not a hardware problem. I'd love for someone to convince me otherwise, a replacement DVD is cheap.
I'm not sure where to even start looking for the problem. _________________ Ignorance killed the cat. Curiosity was framed. |
|
Back to top |
|
|
sgarcia Apprentice
Joined: 21 May 2003 Posts: 254 Location: Bakersfield, CA
|
Posted: Tue Aug 19, 2014 2:10 am Post subject: |
|
|
OK, I can now tell you where to start.
Do an empty-tree rebuild of the system. That seemed to fix my problem. _________________ Ignorance killed the cat. Curiosity was framed. |
|
Back to top |
|
|
|