Hi all,
In short: I have a CD that windows XP can read but that linux cannot.
I have a mini-CD (with a diameter of 8 cm) that I am trying to read. I
have tried two computers:
#1 an i386 desktop PC with an up to date FC4 (kernel 2.6.15-1.1833) and
an internal LG optical drive (CD and DVD reader/burner)
#2 an i386 laptop PC with a not so up to date FC4 (kernel 2.6.14-1.1637)
and an external (USB) ASUS optical drive (combo CD burner/DVD reader)
On both machines, under linux, I can mount the CD (iso9660 filesystem),
read the directory structure, and read all the files except two, the two
largest ones:
eric sur esquilin ~ % ls -l /media/cdrom/*/*
-r-xr-xr-x 1 root root 1315168 avr 6 2005 /media/cdrom/cdi/cdi_imag.rtf
-r-xr-xr-x 1 root root 13616 avr 6 2005 /media/cdrom/cdi/cdi_text.fnt
-r-xr-xr-x 1 root root 102400 avr 6 2005 /media/cdrom/cdi/cdi_vcd.app
-r-xr-xr-x 1 root root 193 avr 6 2005 /media/cdrom/cdi/cdi_vcd.cfg
-r-xr-xr-x 1 root root 65536 avr 6 2005 /media/cdrom/ext/lot_x.vcd
-r-xr-xr-x 1 root root 24 avr 6 2005 /media/cdrom/ext/psd_x.vcd
-r-xr-xr-x 1 root root 3606 avr 6 2005 /media/cdrom/ext/scandata.dat
-r-xr-xr-x 1 root root 192632832 avr 6 2005 /media/cdrom/mpegav/avseq01.dat
-r-xr-xr-x 1 root root 2048 avr 6 2005 /media/cdrom/vcd/entries.vcd
-r-xr-xr-x 1 root root 2048 avr 6 2005 /media/cdrom/vcd/info.vcd
-r-xr-xr-x 1 root root 65536 avr 6 2005 /media/cdrom/vcd/lot.vcd
-r-xr-xr-x 1 root root 24 avr 6 2005 /media/cdrom/vcd/psd.vcd
eric sur esquilin ~ % md5sum /media/cdrom/*/*
md5sum: /media/cdrom/cdi/cdi_imag.rtf: Erreur d'entr?e/sortie
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0ce73ce9f0954193b1e406f194ae7935 /media/cdrom/cdi/cdi_text.fnt
acd74f592e10c130b1e16fb6987062bc /media/cdrom/cdi/cdi_vcd.app
15b32fe29124c25c7218f350b9520e29 /media/cdrom/cdi/cdi_vcd.cfg
47ee5405eb0879a36aea7d5a420d9f3a /media/cdrom/ext/lot_x.vcd
b6219264a400936865906b925c33dcd6 /media/cdrom/ext/psd_x.vcd
c3278fbe658bf842e14ff2f33967b064 /media/cdrom/ext/scandata.dat
md5sum: /media/cdrom/mpegav/avseq01.dat: Erreur d'entr?e/sortie
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44f826b52e69fdd0398b05f06ef2ce62 /media/cdrom/vcd/entries.vcd
227a64758dcd545157873494b5cd7d8f /media/cdrom/vcd/info.vcd
47ee5405eb0879a36aea7d5a420d9f3a /media/cdrom/vcd/lot.vcd
b6219264a400936865906b925c33dcd6 /media/cdrom/vcd/psd.vcd
I have error messages in my logs:
on computer #1, they look like:
|hdc: command error: status=0x51 { DriveReady SeekComplete Error }
|hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
|ide: failed opcode was: unknown
|end_request: I/O error, dev hdc, sector 5008
|Buffer I/O error on device hdc, logical block 1252
on computer #2, they are simpler:
|end_request: I/O error, dev sr0, sector 5008
|Buffer I/O error on device sr0, logical block 1252
On both computers, I have the errors on the same sectors/blocks.
For the two offending files, the errors already occur on the beginings of
the files.
Of course, all of this point to a defective CD, except that on both
computers, I can read the files without any problem with windows XP
(well, actually, I have only read avseq01.dat, which is a video file. I
haven't tried the other troublesome file.)
What could be the problem ?
?ric
[email protected] wrote:
> I have error messages in my logs:
> on computer #1, they look like:
> |hdc: command error: status=0x51 { DriveReady SeekComplete Error }
> |hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
> |ide: failed opcode was: unknown
> |end_request: I/O error, dev hdc, sector 5008
> |Buffer I/O error on device hdc, logical block 1252
> on computer #2, they are simpler:
> |end_request: I/O error, dev sr0, sector 5008
> |Buffer I/O error on device sr0, logical block 1252
>
> On both computers, I have the errors on the same sectors/blocks.
>
> For the two offending files, the errors already occur on the beginings of
> the files.
>
> Of course, all of this point to a defective CD, except that on both
> computers, I can read the files without any problem with windows XP
> (well, actually, I have only read avseq01.dat, which is a video file. I
> haven't tried the other troublesome file.)
>
> What could be the problem ?
This is a VCD, right? Those use Mode 2 Form 2 which has weak error
correction (like an audio CD). It's possible the drive is returning read
errors and WinXP is ignoring the errors because it's a VCD, and Linux is
not..
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/
[email protected] writes:
> Hi all,
>
> In short: I have a CD that windows XP can read but that linux cannot.
>
> I have a mini-CD (with a diameter of 8 cm) that I am trying to read. I
> have tried two computers:
[...]
> I have error messages in my logs:
> on computer #1, they look like:
> |hdc: command error: status=0x51 { DriveReady SeekComplete Error }
> |hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
> |ide: failed opcode was: unknown
> |end_request: I/O error, dev hdc, sector 5008
> |Buffer I/O error on device hdc, logical block 1252
> on computer #2, they are simpler:
> |end_request: I/O error, dev sr0, sector 5008
> |Buffer I/O error on device sr0, logical block 1252
>
> On both computers, I have the errors on the same sectors/blocks.
>
> For the two offending files, the errors already occur on the beginings of
> the files.
>
> Of course, all of this point to a defective CD, except that on both
> computers, I can read the files without any problem with windows XP
> (well, actually, I have only read avseq01.dat, which is a video file. I
> haven't tried the other troublesome file.)
Do you have any way of checking whether windows reads the file
correctly, or just fails to detect the error?
--
M?ns Rullg?rd
[email protected]
On Sun, Mar 12, 2006 at 05:28:25PM +0100, [email protected] wrote:
> Hi all,
Hi Eric,
<snip>
> eric sur esquilin ~ % md5sum /media/cdrom/*/*
> md5sum: /media/cdrom/cdi/cdi_imag.rtf: Erreur d'entr?e/sortie
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 0ce73ce9f0954193b1e406f194ae7935 /media/cdrom/cdi/cdi_text.fnt
> acd74f592e10c130b1e16fb6987062bc /media/cdrom/cdi/cdi_vcd.app
> 15b32fe29124c25c7218f350b9520e29 /media/cdrom/cdi/cdi_vcd.cfg
> 47ee5405eb0879a36aea7d5a420d9f3a /media/cdrom/ext/lot_x.vcd
> b6219264a400936865906b925c33dcd6 /media/cdrom/ext/psd_x.vcd
> c3278fbe658bf842e14ff2f33967b064 /media/cdrom/ext/scandata.dat
> md5sum: /media/cdrom/mpegav/avseq01.dat: Erreur d'entr?e/sortie
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 44f826b52e69fdd0398b05f06ef2ce62 /media/cdrom/vcd/entries.vcd
> 227a64758dcd545157873494b5cd7d8f /media/cdrom/vcd/info.vcd
> 47ee5405eb0879a36aea7d5a420d9f3a /media/cdrom/vcd/lot.vcd
> b6219264a400936865906b925c33dcd6 /media/cdrom/vcd/psd.vcd
> What could be the problem ?
Since this is a video cd, the files associated with the stream cannot
be accessed by mounting the medium. The filesystem of VCD is not a
normal filesystem, so you have to rip the video stream by using a tool
like vcdxrip.
On Debian the package is called 'vcdimager'.
Best regards,
Patrick
>On Sun, Mar 12, 2006 at 05:28:25PM +0100, [email protected] wrote:
>>>In short: I have a CD that windows XP can read but that linux cannot.
>>>What could be the problem ?
>
>Since this is a video cd, the files associated with the stream cannot
>be accessed by mounting the medium.
It's because the video data is outside the iso9660 fs, is not it?
>The filesystem of VCD is not a
>normal filesystem, so you have to rip the video stream by using a tool
>like vcdxrip.
Jan Engelhardt
--
On Sun, Mar 12, 2006 at 09:53:30PM +0100, Jan Engelhardt wrote:
> >
> >Since this is a video cd, the files associated with the stream cannot
> >be accessed by mounting the medium.
>
> It's because the video data is outside the iso9660 fs, is not it?
>
> >The filesystem of VCD is not a
> >normal filesystem, so you have to rip the video stream by using a tool
> >like vcdxrip.
Ah, ok. Sorry for the noise. I had never seen a VCD before. I just tried
to do
xine vcd://
one one of the computers and it worked perfectly.
However, under windows, what I did was simply to open the disc in the
explorer, look at the files, right-click on the largest file to open it
with windows media player, or drag and drop it to copy it on the hard
drive, without any special tool.
I find it a bit deceptive that linux lets me mount the filesystem but not
access the files. It would be actually better, I feel, if mount
would refuse to work on a vcd and display some informative failure
message rather than mount an unreadable filesystem...
Thanks,
?ric