Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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. |
|
 |
04-01-2003, 08:39 PM
|
#1
|
|
Member
Registered: Dec 2002
Distribution: Debian Woody SID
Posts: 52
Rep:
|
DVD no longer reads dvds (searched the forum, no luck)
Recently I was mucking with ide-scsi for my burner (setting it up) and I noticed that afterwards my dvd drive would no longer mount or play dvds (any dvd).
Relevant information:
Code:
chris@onizuka:~$ ls -lha /dev/dvd
lrwxrwxrwx 1 root root 8 Apr 1 21:09 /dev/dvd -> /dev/hdd
chris@onizuka:~$ ls -lha /dev/hdd
brw-rw---- 1 root disk 22, 64 Apr 1 21:14 /dev/hdd
chris@onizuka:~$
chris@onizuka:~$ mount /dev/dvd /cdrom
mount: block device /dev/dvd is write-protected, mounting read-only
mount: No medium found
chris@onizuka:~$ sudo cat /proc/ide/hdd/driver && cat /proc/ide/hdd/model
ide-cdrom version 4.59
BDV 108A DVDROM
chris@onizuka:~$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: CyberDrv Model: CW058D CD-R/RW Rev: 100D
Type: CD-ROM ANSI SCSI revision: 02
chris@onizuka:~$ sudo dpkg -l | grep -i dvd
ii libdvdcss2 1.2.5-0.1 Simple foundation for reading DVDs - runtime
ii libdvdnav1 0.1.3-1 The DVD navigation library
rc libdvdplay0 1.0.1-3 a portable abstraction library for DVD menus
ii libdvdread2 0.9.3-2 Simple foundation for reading DVDs.
rc libdvdread3 0.9.4-2 Simple foundation for reading DVDs
rc ogle-mmx 0.9.0-2 DVD player with support for DVD menus
ii subtitleripper 0.3.1-0.0 DVD Subtitle Ripper for Linux
chris@onizuka:~$ xine
This is xine (X11 gui) - a free video player v0.9.20
(c) 2000-2003 by G. Bartsch and the xine project team.
Built with xine library 1.0.0 (1-beta9)
Found xine library version: 1.0.0 (1-beta9).
XServer Vendor: The XFree86 Project, Inc. Release: 40201001,
Protocol Version: 11, Revision: 0,
Available Screen(s): 1, using 0
Depth: 24.
XShmQueryVersion: 1.1.
-[ xiTK version 0.10.2 ]-
-[ xiTK will use XShm ]-
-[ WM type: (GnomeCompliant) (EWMH) Sawfish {Sawfish} ]-
Display is not using Xinerama.
main: probing <aadxr3> video output plugin
load_plugins: failed to load video output plugin <aadxr3>
main: probing <dxr3> video output plugin
video_out_dxr3: Failed to open control device /dev/em8300-0 (No such file or directory)
load_plugins: failed to load video output plugin <dxr3>
main: probing <xv> video output plugin
main: probing <alsa> audio output plugin
load_plugins: failed to load audio output plugin <alsa>
main: probing <oss> audio output plugin
(a/52-pass-through not enabled in xine config)xine_interface: unknown param 10
xine_interface: unknown param 10
xine_interface: unknown param 10
xine_interface: unknown param 10
vo_scale: invalid ratio, using 4:3
vo_scale: unknown aspect ratio (0) in stream => using 4:3
libdvdnav: Using dvdnav version 1-beta9 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.5 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
libdvdnav: vm: faild to open/read the DVD
input_dvd: Error opening DVD device
Any help would be greatly appreciated
|
|
|
|
04-01-2003, 08:51 PM
|
#2
|
|
Member
Registered: Mar 2003
Distribution: Debian
Posts: 158
Rep:
|
your dvd is now a scsi device. Remap your /dev/dvd symlink to the new device and it'll work.
|
|
|
|
04-01-2003, 09:01 PM
|
#3
|
|
Member
Registered: Dec 2002
Distribution: Debian Woody SID
Posts: 52
Original Poster
Rep:
|
/dev/hdd (the dvd drive) is currently using the ide-cd driver and not ide-scsi (scsi emulation). Just to be sure:
Code:
chris@onizuka:~$ cat /proc/ide/hdc/driver && cat /proc/ide/hdc/model
ide-scsi version 0.9
CW058D ATAPI CD-R/RW
chris@onizuka:~$ sudo cat /proc/ide/hdd/driver && cat /proc/ide/hdd/model
ide-cdrom version 4.59
BDV 108A DVDROM
chris@onizuka:~$ sudo cdrecord -scanbus
Cdrecord 2.01a07 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'CyberDrv' 'CW058D CD-R/RW ' '100D' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
So /dev/hdc (my burner) is using the ide-scsi driver, while /dev/hdd (my dvd) is using ide-cd. So my dvd is still an ide device 
|
|
|
|
04-01-2003, 09:07 PM
|
#4
|
|
Member
Registered: Mar 2003
Distribution: Debian
Posts: 158
Rep:
|
You should keep them on the same driver. you'll have problems exactly like what you've got if they're different.
Last edited by bahamat; 04-01-2003 at 09:10 PM.
|
|
|
|
04-01-2003, 09:29 PM
|
#5
|
|
Member
Registered: Dec 2002
Distribution: Debian Woody SID
Posts: 52
Original Poster
Rep:
|
Anyways, the drivers can work independently without issue as shown (I placed a NWN cd into /dev/hdd, my dvd):
Code:
chris@onizuka:/dev$ sudo mount /dev/hdd /cdrom
mount: block device /dev/hdd is write-protected, mounting read-only
chris@onizuka:/dev$ ls /cdrom/
AUTORUN.INF Setup.exe data1.hdr nwn.ico
ArcadeInstallNWN109.exe Setup.ini data2.cab readme.txt
DirectX ar505enu.exe ereg setup.bmp
EULA.txt autorun.exe extras setup.inx
Online Install Guide.doc data ikernel.ex_ vssver.scc
Online Install Guide.txt data1.cab layout.bin
So the ide-cd driver is working perfectly for the drive, the exception being that it can't read dvds. This driver setup is also the same one I've had in the past, so I'm positive this isn't an issue of the two drivers conflicting.
ps: I saw your reply before you editted it, 
|
|
|
|
09-17-2003, 11:52 AM
|
#6
|
|
Member
Registered: Sep 2003
Distribution: Red Hat 9
Posts: 54
Rep:
|
Im having the same error No Medium Found, I didn't have it before I installed XINE or MPlayer. Anyone think it could beone of the packages fault ie libdvdread or libdvdcss?
|
|
|
|
07-10-2004, 12:34 AM
|
#7
|
|
Newbie
Registered: Jul 2004
Location: In front of the monitor.
Distribution: SuSE 9.2/MDK 10.1/No windows at all. 3 years now.
Posts: 23
Rep:
|
Same problem diff person.
This problem beats me.
/dev/hdc /mnt/cdrom iso9660 user,ro 0
/dev/dvd /mnt/cdrom iso9660 user,ro,exec 0 0
/dev/dvd /mnt/cdrom iso9660 user,ro 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,codepage=850,iocharset=iso8859-15,noauto,ro,exec 0 0
/dev/dvd /mnt/dvd auto umask=0,user,codepage=850,iocharset=iso8859-15,noauto,ro,exec 0 0
/dev/dvd /mnt/dvd auto umask=0,user,iocharset=iso8859-15,noauto,ro,exec 0 0
#mount: No medium found
mount -a
ok
/dev/dvd /mnt/dvd auto umask=0,iocharset=iso8859-15,noauto,ro,exec 0 0
/dev/dvd /mnt/hdc auto umask=0,iocharset=iso8859-15,noauto,ro,exec 0 0
[root@localhost maxie]# mount /mnt/hdc
mount: No medium found
/dev/dvd /mnt/hdc iso9660 umask=0,iocharset=iso8859-15,noauto,ro,exec 0 0
[maxie@localhost maxie]$ mount /mnt/hdc
mount: only root can mount /dev/dvd on /mnt/hdc
/dev/dvd /mnt/hdc iso9660 umask=0,user,iocharset=iso8859-15,noauto,ro 0 0
[maxie@localhost maxie]$ mount /mnt/hdc
mount: No medium found
/dev/dvd /mnt/dvd iso9660 umask=0,user,iocharset=iso8859-15,noauto,ro 0 0
[maxie@localhost maxie]$ mount /mnt/dvd
mount: No medium found
/dev/hdc /mnt/dvd iso9660 umask=0,user,iocharset=iso8859-15,noauto,ro 0 0
[maxie@localhost maxie]$ mount /mnt/dvd
mount: No medium found
/dev/hdc /mnt/dvd iso9660 umask=0,user,noauto,ro 0 0
[maxie@localhost maxie]$ mount /mnt/dvd
mount: No medium found
/dev/hdc /mnt/dvd udf,iso9660 umask=0,user,noauto,ro 0 0
[maxie@localhost maxie]$ mount /mnt/dvd
mount: No medium found
[root@localhost cdrom]# cat /proc/ide/hdc/driver && cat /proc/ide/hdc/model
ide-cdrom version 4.61
BDV 108A DVDROM
[root@localhost cdrom]# ls -lha /dev/dvd
lr-xr-xr-x 1 root root 18 Jul 10 2004 /dev/dvd -> /dev/cdroms/cdrom0
[root@localhost cdrom]# ls -lha /dev/hdd
lr-xr-xr-x 1 root root 30 Jul 10 13:39 /dev/hdd -> ide/host0/bus1/target1/lun0/ cd
[root@localhost cdrom]# xwc&
[1] 4965
[root@localhost cdrom]# ln -s ide/host0/bus1/target0/lun0/cd /dev/dvd
[root@localhost cdrom]# ls -lha /dev/dvd
lr-xr-xr-x 1 root root 30 Jul 10 15:26 /dev/dvd -> ide/host0/bus1/target0/lun0/cd
[root@localhost cdrom]# ls -lha /dev/hdd
lr-xr-xr-x 1 root root 30 Jul 10 13:39 /dev/hdd -> ide/host0/bus1/target1/lun0/cd
[root@localhost cdrom]# mount /dev/dvd /cdrom
mount: mount point /cdrom does not exist
[root@localhost cdrom]# mount /dev/dvd /dvd
mount: mount point /dvd does not exist
[root@localhost cdrom]# mount /dev/dvd
mount: can't find /dev/ide/host0/bus1/target0/lun0/cd in /etc/fstab or /etc/mtab
[root@localhost cdrom]# mount -a
[root@localhost cdrom]# mount /dev/dvd
mount: can't find /dev/ide/host0/bus1/target0/lun0/cd in /etc/fstab or /etc/mtab
[root@localhost cdrom]# mount -a
mount: wrong fs type, bad option, bad superblock on none,
or too many mounted file systems
[root@localhost cdrom]#
removing package libavc1394_0-0.4.1-4mdk.i586
removing package libpiave0-0.2.3-4mdk.i586
removing package libdv-apps-0.101-1mdk.i586
removing package kino-0.7.0-4mdk.i586
removing package piave-0.2.3-4mdk.i586
removing package kdenlive-0.2.3-4mdk.i586
created transaction for installing on / (remove=1, install=0, upgrade=0)
removing package totem-0.99.9-4mdk.i586
none /mnt/dvd supermount dev=/dev/hdc,fs=iso9660,ro,umask=0,user 0 0
Hav I not tried anything?
|
|
|
|
| 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 02: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
|
|