public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* vcd, .dat files and isofs problem
@ 2002-04-04 20:04 David Chow
  2002-04-04 20:32 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: David Chow @ 2002-04-04 20:04 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel

I have problems reading the .dat files from VCD, here is the kernel 
logs. I think it is an fs issue, since I am not the only one having the 
same problem. In user space, read returns I/O error but I think it is an 
fs issue or a cd-rom
driver issue, I have tested with xine vcd player, the vcd can be played 
by directly accessing the block device but not through the fs. I tested 
the VCD under MS Windows using the same machine and disc and .dat files 
can be correctly read, even  I use vcdgear win32 to convert the .dat 
file to .mpg it is still fine. So it is sure it is not the CD or 
hardware problem.

Many VCD's are tested and result is the same. It is likely to be an fs 
specific problem. I am running 2.4.17 and lsmod shows isofs is in use. 
Here is my log messages.

kernel: hdd: command error: error=0x55
kernel: end_request: I/O error, dev 16:40 (hdd), sector 32300
kernel: hdd: command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hdd: command error: error=0x55
kernel: end_request: I/O error, dev 16:40 (hdd), sector 32304
kernel: hdd: command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hdd: command error: error=0x55
kernel: end_request: I/O error, dev 16:40 (hdd), sector 32308
kernel: hdd: command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hdd: command error: error=0x55
kernel: end_request: I/O error, dev 16:40 (hdd), sector 32312
kernel: hdd: command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hdd: command error: error=0x55
kernel: end_request: I/O error, dev 16:40 (hdd), sector 32316
kernel: hdd: command error: status=0x51 { DriveReady SeekComplete Error }

regards,

David


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vcd, .dat files and isofs problem
  2002-04-04 20:04 vcd, .dat files and isofs problem David Chow
@ 2002-04-04 20:32 ` Alan Cox
  2002-04-05  3:10   ` Will Dyson
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2002-04-04 20:32 UTC (permalink / raw)
  To: David Chow; +Cc: linux-kernel, linux-fsdevel

> I have problems reading the .dat files from VCD, here is the kernel 
> logs. I think it is an fs issue, since I am not the only one having the 
> same problem. In user space, read returns I/O error but I think it is an 
> fs issue or a cd-rom

VCD .dat files are not normal "files". They are encoded in a different mode
to get more bytes/sector at the cost of lower error resistance (mpeg is
error resistant in itself...)

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vcd, .dat files and isofs problem
  2002-04-04 20:32 ` Alan Cox
@ 2002-04-05  3:10   ` Will Dyson
  0 siblings, 0 replies; 3+ messages in thread
From: Will Dyson @ 2002-04-05  3:10 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel

Alan Cox wrote:
>>I have problems reading the .dat files from VCD, here is the kernel 
>>logs. I think it is an fs issue, since I am not the only one having the 
>>same problem. In user space, read returns I/O error but I think it is an 
>>fs issue or a cd-rom

Have a look at cdfs: http://www.elis.rug.ac.be/~ronsse/cdfs/

It will allow you to read those files. Of course, there are also userland 
  utilities for that. Just search freshmeat for vcd.

> VCD .dat files are not normal "files". They are encoded in a different mode
> to get more bytes/sector at the cost of lower error resistance (mpeg is
> error resistant in itself...)

I knew they were different, but not why. Learn something new every day.

-- 
Will Dyson


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-05  3:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-04 20:04 vcd, .dat files and isofs problem David Chow
2002-04-04 20:32 ` Alan Cox
2002-04-05  3:10   ` Will Dyson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox