Skip to contentSkip to conversation

VCD/XA files not reading

DISCUSSION Grahame Jordan 2 participants 2 messages Dec 30, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I have a video cd that mounts OK and reads the smaller files, but when I try to read the mpeg file (avseq01.dat) it fails. There seems to be support for XA in include/linux/cdrom.h but it's not working for me. I downloaded the same file to my HDD and it works fine.

Kernel 2.4.16
CDROM: Pioneer DVD-116

When using:
cp avseq01.dat /var/tmp
cp: reading `avseq01.dat': Input/output error

dmesg gives:

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 1920
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 1924
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 1928
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 1932
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 1936
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 1940
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 1944
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 1948

Thanks

Signature · 2 lines
Grahame Jordan
TheForce
#1 lore raw
Quoted 3 lines

try to read the mpeg file (avseq01.dat) it fails. There seems to be support for XA in include/linux/cdrom.h but it's not working for me. I downloaded the same file to my HDD and it works fine.

XA sectors aren't supported by the base ISOfs code. The ioctl interface lets you read these sectors and play videocd but you'll have to do the hard work in user space.