LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 04-01-2003, 08:39 PM   #1
Null
Member
 
Registered: Dec 2002
Distribution: Debian Woody SID
Posts: 52

Rep: Reputation: 15
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
 
Old 04-01-2003, 08:51 PM   #2
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
your dvd is now a scsi device. Remap your /dev/dvd symlink to the new device and it'll work.
 
Old 04-01-2003, 09:01 PM   #3
Null
Member
 
Registered: Dec 2002
Distribution: Debian Woody SID
Posts: 52

Original Poster
Rep: Reputation: 15
/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
 
Old 04-01-2003, 09:07 PM   #4
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
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.
 
Old 04-01-2003, 09:29 PM   #5
Null
Member
 
Registered: Dec 2002
Distribution: Debian Woody SID
Posts: 52

Original Poster
Rep: Reputation: 15
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,
 
Old 09-17-2003, 11:52 AM   #6
evannextel
Member
 
Registered: Sep 2003
Distribution: Red Hat 9
Posts: 54

Rep: Reputation: 15
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?
 
Old 07-10-2004, 12:34 AM   #7
cachinnare
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: Reputation: 15
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Laptop DVDrom reads CDs, won't read DVDs vette Linux - Hardware 1 11-14-2005 03:05 PM
Data DVD+RW only shows a few files (but reads OK on Windows) TerminalSpin Linux - General 0 08-09-2004 10:06 AM
Mouse Problem (searched in the forum) HOHCEHC Debian 6 04-11-2004 02:44 PM
MA401 New Problem (aleady searched forum) weazy Linux - Laptop and Netbook 6 08-07-2003 09:39 PM
My dvd drive reads cd's but not dvd's malcolm Linux - Newbie 8 01-23-2003 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration