Hi all:

I am having trouble reading DVDs on my Dell Latitude D400 laptop. This
drive is external to the laptop, and connects to it via a "D-Bay", which
is in turn connected by a combination USB-power cable.

I don't know much about how to go about diagnosing this problem, but I
will be happy to provide any information that can help me solve it.

The drive recognizes that I have mounted a DVD; when I mount the Matrix
DVD, I get the following in /var/log/messages:

kernel: UDF-fs INFO UDF 0.9.6-rw (2002/03/11) Mounting volume
'THE_MATRIX_16X9LB_N_AMERICA', timestamp 1999/08/02 16:29 (1e20)

I believe (someone please correct me if I'm wrong) that UDF is the
format of the DVD file system.

So far, so good. However, I can't play the DVD. I tried with ogle,
mplayer, and xine, all with no success. I tried both with and without
mounting the DVD. When I try to play the DVD with ogle, I get several
I/O error messages in /var/log/messages:

kernel: I/O error: dev 0b:00, sector 2162124

This is repeated several times, with different sector numbers.

If I run ogle with the --debug switch, I get the following:
=====
Build: Linux 2.4.18-19.7.x #1 Thu Dec 12 09:00:42 EST 2002 i686 i686 Thu
Nov 6 08:14:20 EST 2003 mmx Xv oss alsa
Runtime: Linux 2.4.20-30.9 #1 Wed Feb 4 20:44:26 EST 2004 i686 i686
cpuinfo:
processor : 0, vendor_id : GenuineIntel, cpu family : 6, model : 9,
model name : Intel(R) Pentium(R) M processor 1700MHz, stepping : 5, cpu
MHz : 1698.602, cache size : 0 KB, fdiv_bug : no, hlt_bug : no, f00f_bug
: no, coma_bug : no, fpu : yes, fpu_exception : yes, cpuid level : 2, wp
: yes, flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat
clflush dts acpi mmx fxsr sse sse2 tm, bogomips : 3381.65, ,

/dev/dvd -> /dev/scd0
Valid DVD devices:
WARNING: No DVD devices found

hdparm v5.2
Note[ogle_ctrl]: ogle 0.9.2
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_cli with pid 6414
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_nav with pid 6415
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_mpeg_ps with pid 6416
Debug[ogle_vout]: CLK_TCK: 100
Debug[ogle_ctrl]: Started /usr/lib/ogle/ogle_vout with pid 6417
Debug[ogle_nav]: Opening DVD at "/dev/dvd"
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: css error: ioctl_ReadCopyright failed, make sure there
is a DVD in the drive, and that you have used the correct device node.
libdvdcss debug: could not check whether the disc was scrambled
libdvdcss debug: using CSS key cache dir:
/home/price/.dvdcss/THE_MATRIX_16X9LB_N_AMERICA#1999080217294000/
Debug[ogle_nav]: play_PGC: first_play_pgc
Debug[ogle_nav]: play_PGC: state.pgcN (2)
Debug[ogle_nav]: PGC pre commands didn't do a Jump, Link or Call
Debug[ogle_nav]: play_PG: state.pgN (1)
Debug[ogle_nav]: play_Cell: state.cellN (1)
Debug[ogle_nav]: sending subp demuxstream 31
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: css error: ioctl_ReadCopyright failed, make sure there
is a DVD in the drive, and that you have used the correct device node.
libdvdcss debug: could not check whether the disc was scrambled
libdvdcss debug: using CSS key cache dir:
/home/price/.dvdcss/THE_MATRIX_16X9LB_N_AMERICA#1999080217294000/

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00036f47
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00083f42
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00095b04
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00357b55
libdvdcss debug: key found in cache
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
Debug[ogle_ctrl]: _new stream bf, 0
WARNING[ogle_mpeg_ps]: dvdreadblocks only got 3, wanted 26
libdvdcss error: read error
FATAL[ogle_mpeg_ps]: dvdreadblocks failed
Debug[ogle_ctrl]: child: 6416 exited with 1 (/usr/lib/ogle/ogle_mpeg_ps)
Debug[ogle_ctrl]: pid: 6416 exited with status: 1
(/usr/lib/ogle/ogle_mpeg_ps)
Debug[ogle_ctrl]: child: 6414 killed (/usr/lib/ogle/ogle_cli)
Debug[ogle_ctrl]: pid: 6414 terminated on signal: 2 (/usr/lib/ogle/ogle_cli)
Debug[ogle_ctrl]: child: 6415 killed (/usr/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: pid: 6415 terminated on signal: 2 (/usr/lib/ogle/ogle_nav)
Debug[ogle_ctrl]: child: 6417 killed (/usr/lib/ogle/ogle_vout)
Debug[ogle_ctrl]: pid: 6417 terminated on signal: 2
(/usr/lib/ogle/ogle_vout)
Debug[ogle_ctrl]: removing shmid: 32145411
Debug[ogle_ctrl]: removing shmid: 32178180
Debug[ogle_ctrl]: removing shmid: 32210949
Note[ogle_ctrl]: exiting
=====

Line 14 of the above says that it's not finding the DVD device. This
is, however, definitely a DVD drive.

At this point, I don't know how to proceed. Any help I can get will be
greatly appreciated.

John

--
John Price *** ** ** *** price@physics.ucla.edu
Where there is no solution, there is no problem.
-- John G. Price (my father), ca. 1975.