Discussion:
DVD error, no media, Could not open /dev/hdc with libdvdcss
Thorsten Giese
2004-02-06 13:03:21 UTC
Permalink
Hello there.

Due boot everything wents fine ... kind of. It is a Benq DW800A DVD+RW wi=
th
newest firmware 'B2I7' and 8x4x12x capabilities.


Code:

hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 8192kB Cache, UDMA(33)


coruscant root # cdrecord -scanbus dev=3DATA
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J=F6rg=

Schilling
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0 100) 'ATAPI ' 'DVD+RW 8X4X12 ' 'B2I7' Removable CD-ROM=

1,1,0 101) 'CD-RW ' 'CDR-6S52 ' '6SG4' Removable CD-ROM=


coruscant root # cdrecord -atip dev=3DATA:1,0,0
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J=F6rg=

Schilling
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'ATAPI '
Identifikation : 'DVD+RW 8X4X12 '
Revision : 'B2I7'
Device seems to be: Generic mmc2 DVD-ROM.
cdrecord: Found DVD+ media but DVD+R/DVD+RW support code is missing.
cdrecord: If you need DVD+R/DVD+RW support, ask the Author for
cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found o=
n
this target.
Using generic SCSI-3/mmc CD-ROM driver (mmc_cd).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R


But here is a problem:

Code:

coruscant willow # dvdbackup -M -i /dev/hdc -o .
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Could not open /dev/hdc with libdvdcss.
libdvdread: Can't open /dev/hdc for reading


With an empyt DVD+R media it says:

Code:

coruscant willow # lsdvd
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Can't seek to block 256
libdvdread: Can't seek to block 256
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open main ifo!



mediainfo is the following, which lets me guess, the writer is working
fine ...

Code:



coruscant willow # dvd+rw-mediainfo /dev/dvd
INQUIRY: [ATAPI ][DVD+RW 8X4X12 ][B2I7]
GET [CURRENT] CONFIGURATION:
Mounted Media: 1Bh, DVD+R
Media ID: RICOHJPN/R01
Current Write Speed: 8.0x1385=3D11080KB/s
Write Speed #0: 8.0x1385=3D11080KB/s
Write Speed #1: 4.0x1385=3D5540KB/s
Write Speed #2: 2.4x1385=3D3324KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 8.0x1385=3D11080KB/s@[0 -> 2295103]
Speed Descriptor#0: 00/2295103 ***@3.5x1385=3D4787KB/s ***@8.0x1385=3D1108=
0KB/s
Speed Descriptor#1: 00/2295103 ***@3.5x1385=3D4787KB/s ***@4.0x1385=3D5540=
KB/s
Speed Descriptor#2: 00/2295103 ***@3.5x1385=3D4787KB/s ***@2.4x1385=3D3324=
KB/s
:-[ READ DVD STRUCTURE#0 failed with SK=3D5h/ASC=3D24h/ACQ=3D00h]: Input/o=
utput
error
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: blank
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 2295104*2KB
Track Size: 2295104*2KB




dmesg says the following:



Code:
cdrom: open failed.




On an empty media lsdvd says the following:



Code:

hdc: packet command error: status=3D0x51 { DriveReady SeekComplete Error }=

hdc: packet command error: error=3D0x54
ATAPI device hdc:
Error: Illegal request -- (Sense key=3D0x05)
Invalid field in command packet -- (asc=3D0x24, ascq=3D0x00)
The failed "Send DVD Structure" packet command was:
"ad 00 00 00 00 00 00 01 00 08 00 00 00 00 00 00 "


I had UDF as an module ... made a new kernel 2.6.2.-rc3 ... compiled UDF
static. no luck.



Code:

***@coruscant master $ dvdbackup -I -i /dev/hdc
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Could not open /dev/hdc with libdvdcss.
libdvdread: Can't open /dev/hdc for reading

***@coruscant master $ dmesg | tail -n 1
cdrom: open failed.


I also recompiled libdvdcss without any luck. I can only I hope I am makin=
g
some obvious dumb mistake.

btw: normal cds mount perfectly in that drive

=46YI:

Code:

coruscant libdvdcss # ls -la /dev/ide/host0/bus1/target0/lun0/cd
brw-rw-rw- 1 thorsten cdrom 22, 0 Jan 1
1970 /dev/ide/host0/bus1/target0/lun0/cd
coruscant libdvdcss # ls -la /dev/hdc
lr-xr-xr-x 1 root root 30 Feb 4 10:09 /dev/hdc ->
ide/host0/bus1/target0/lun0/cd
coruscant libdvdcss # ls -la /dev/dvd
lr-xr-xr-x 1 root root 3 Feb 4 10:09 /dev/dvd -> hdc


Even when i use the correct device, and not the link, it says:



Code:

libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Could not open /dev/ide/host0/bus1/target0/lun0/cd with
libdvdcss.
libdvdread: Can't open /dev/ide/host0/bus1/target0/lun0/cd for reading
(iodump.c) unable to open directory "/dev/ide/host0/bus1/target0/lun0/cd"=





When I try to mount it:

Code:

coruscant libdvdcss # mount /dev/hdc /mnt/dvd/
mount: you must specify the filesystem type
coruscant libdvdcss # mount -t udf /dev/hdc /mnt/dvd/
mount: block device /dev/hdc is write-protected, mounting read-only
mount: No medium found
coruscant libdvdcss # mount -t iso9660 /dev/hdc /mnt/dvd/
mount: block device /dev/hdc is write-protected, mounting read-only
mount: No medium found



* media-libs/libdvdread
Latest version installed: 0.9.4
* media-libs/libdvdcss
Latest version installed: 1.2.8
--
regards
Thorsten
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Sam Hocevar
2004-02-06 13:10:03 UTC
Permalink
[access problems]
I had UDF as an module ... made a new kernel 2.6.2.-rc3 ... compiled UDF
static. no luck.
We have had lots of such reports. Can you confirm it still works with
a 2.4 kernel?
--
Sam.
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Gildas Bazin
2004-02-06 18:29:09 UTC
Permalink
Post by Sam Hocevar
[access problems]
I had UDF as an module ... made a new kernel 2.6.2.-rc3 ... compiled UDF
static. no luck.
We have had lots of such reports. Can you confirm it still works with
a 2.4 kernel?
I know that ide-scsi emulation was completely broken in the 2.5.x
development series something like 6 months ago. I also think I read
somewhere that the kernel developers didn't recommend using it in 2.6.x so
I'm wondering if the problem is not just that ide-scsi is broken.

I guess I should try it on a brand new kernel when I have the time.

--
Gildas
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Thorsten Giese
2004-02-28 10:22:58 UTC
Permalink
Post by Sam Hocevar
[access problems]
I had UDF as an module ... made a new kernel 2.6.2.-rc3 ... compiled UDF
static. no luck.
We have had lots of such reports. Can you confirm it still works with
a 2.4 kernel?
Hello.

I am sorry, for needing such a long time to answer, I had some tests to
write. ;)

The story so far: I bought a new DVD-RW which did perfectly discover mediatype
and play CDs. I testet it, with a friend of wine, on a WinXP. Got the drive
home and recognized. nothing works. I tried everything! Then, testing the
drive under Windows, i recognized, it cannot discover DVD-media at all.

I sent the drive back, got a new one, and everything works fine now.

Apologies for bothering you; obviously it had nothing to, with your excellent
lib. I tried the drive under 2.6 AND 2.4 and it works fine on both kernels.

--
Viele Grüße
Thorsten

%registered linux user #204538
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Loading...