[linux-audio-user] A real problem (DVD)

Rick B zajelo3 at cfl.rr.com
Tue Nov 30 16:07:48 EST 2004


Jan Depner wrote:

>I don't know about FC 2 but on FC 1 I use /dev/dvd.  It is linked on my
>system to /dev/scd0.  My fstab entry looks like this:
>
>/dev/dvd                /mnt/dvd                udf,iso9660
>noauto,owner,kudzu 0 0
>
>Jan
>
>
>
>On Tue, 2004-11-30 at 13:55, Matt Barber wrote:
>  
>
>>Hi,
>>
>>Here's something that's been stumping me:
>>
>>
>>Our DVD drive (Plextor 708A) can read and mount CDroms and it can play
>>CD-Audio, but it can't read or write DVDs (anything that tries to use it
>>gives a "no medium found" error).  
>>
>>$ mount /dev/cdrom
>>mount: No medium found
>>
>>similar error message with k3b...
>>
>>The problem is not playing DVDs with xine or anything like that - I
>>can't get the drive to even acknowledge there's anything in it.
>>
>>
>>Some computer info:
>>
>>
>>Dual Opteron (tyan thunder mobo)
>>SATA hard drives (western digital)
>>
>>Fedora 2 planetccrma setup:
>>
>>$ uname -r
>>2.6.7-1.437.1.ll.rhfc2.ccrmasmp
>>
>>(using this kernel for now because cdburning in other newer kernels
>>hardlocks the system -- through 2.6.8.1... haven't tested past that)
>>
>>here's something from /var/log/messages I get when I put in a DVD:
>>
>>Nov 30 12:07:30 madking kernel: hda: packet command error: status=0x51 {
>>DriveReady SeekComplete Error }
>>Nov 30 12:07:30 madking kernel: hda: packet command error: error=0x44
>>Nov 30 12:07:30 madking kernel: ATAPI device hda:
>>Nov 30 12:07:30 madking kernel:   Error: Hardware error -- (Sense
>>key=0x04)
>>Nov 30 12:07:30 madking kernel:   Tracking servo failure -- (asc=0x09,
>>ascq=0x01)
>>Nov 30 12:07:30 madking kernel:   The failed "Read Cd/Dvd Capacity"
>>packet command was:
>>Nov 30 12:07:30 madking kernel:   "25 00 00 00 00 00 00 00 00 00 00 00
>>00 00 00 00 "
>>
>>
>>the corresponding dmesg lines:
>>
>>cdrom: open failed.
>>hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
>>hda: packet command error: error=0x44
>>ATAPI device hda:
>>  Error: Hardware error -- (Sense key=0x04)
>>  Tracking servo failure -- (asc=0x09, ascq=0x01)
>>  The failed "Read Cd/Dvd Capacity" packet command was:
>>  "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
>>
>>
>>
>>
>>
>>cd drive info:
>>
>>cdrecord -scanbus    
>>
>>when run as user:
>>
>>scsibus0:
>>        0,0,0     0) 'PLEXTOR ' 'DVDR   PX-708A  ' '1.04' 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) *
>>
>>when run as root:
>>
>>scsibus0:
>>        0,0,0     0) '' '' '' Disk
>>        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) *
>>scsibus1:
>>        1,0,0   100) '' '' '' Disk
>>        1,1,0   101) *
>>        1,2,0   102) *
>>        1,3,0   103) *
>>        1,4,0   104) *
>>        1,5,0   105) *
>>        1,6,0   106) *
>>        1,7,0   107) *
>>
>>
>>
>>$ cat /proc/sys/dev/cdrom/info
>>CD-ROM information, Id: cdrom.c 3.20 2003/12/17
>> 
>>drive name:             hda
>>drive speed:            40
>>drive # of slots:       1
>>Can close tray:         1
>>Can open tray:          1
>>Can lock tray:          1
>>Can change speed:       1
>>Can select disk:        0
>>Can read multisession:  1
>>Can read MCN:           1
>>Reports media changed:  1
>>Can play audio:         1
>>Can write CD-R:         1
>>Can write CD-RW:        1
>>Can read DVD:           1
>>Can write DVD-R:        1
>>Can write DVD-RAM:      0
>>Can read MRW:           1
>>Can write MRW:          1
>>Can write RAM:          1
>>
>>
>>
>>
>>
>>hdparm info:
>>
>>$ hdparm /dev/hda
>> 
>>/dev/hda:
>> HDIO_GET_MULTCOUNT failed: Invalid argument
>> IO_support   =  3 (32-bit w/sync)
>> unmaskirq    =  1 (on)
>> using_dma    =  1 (on)
>> keepsettings =  0 (off)
>> readonly     =  0 (off)
>> readahead    = 256 (on)
>> HDIO_GETGEO failed: Invalid argument
>>
>>
>>$ hdparm -tT /dev/hda
>> 
>>/dev/hda:
>>read() failed: Input/output error
>> Timing buffered disk reads:  read() failed: Input/output error
>>
>>
>>Not sure what other info to give.  I don't have much of a way to
>>troubleshoot the problem by process of elimination - I have a Pioneer
>>drive that I can try later today...  we have another box with the same
>>kernel, but it's a P4 and uses IDE drives.  My instinct is that it's
>>some kind of conflict between IDE and SCSI, but it could be a problem
>>with the 64-bit processors (using x86, though, not x86_64, which is not
>>available on planetccrma yet) or it could be an smp thing (if it's not
>>the drive) -- lame segfaults on the opteron box but not on the P4 box,
>>so I think that is probably a 64bit/smp issue, and so this DVD problem
>>could be similar.  I will try the other drive later today and see if it
>>makes a difference.
>>
>>Thanks,
>>
>>Matt
>>
>>    
>>
>
>
>  
>
Looking at your errors some questions come to mind: (1) Is your cd/dvd 
player really /dev/hda? Usually that's the first harddrive. (2) Do you 
have the udf module loaded or do you have udf support compiled into the 
kernel? On my FC2 box /dev/cdrom and /dev/dvd both link to /dev/hdc 
which is correct. Just some thoughts that might help.

                     Rick B



More information about the Linux-audio-user mailing list