Re: libdvdread: Can't seek to block 256

H}kan Hjort <[email protected]>
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Tue Dec 09 2003, Felix Kurth wrote:
> >
> > > 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.
> > > (iodump.c) unable to open directory "/dev/dvd"
> > > 
> > > im not using ide-scsi, since its deprecaded on that kernel, also cd/dvd
> > > -burning ist broken with it. (Tried it with ide-scsi, dvd-reading does
> > > work, but not cd-burning)
> > > 
> >
> > dvd-reading with tcprobe or just mount ls/cp and such?
> > 
> 
> i debuged  a little bit:
> it bombs out on line 
>  788 of dvdread/dvd_reader.c
>    
> ret = dvdinput_seek( device->dev, (int) lb_number );
> 
> with ret == -1,
> device->dev seems valid, 
> lb_number == 256
> 
Yeah this was basicly what could be seen from the trace output.

> gdb refuses to step in dvdinput_seek() since this is a function pointer.
> Or i'am to stupid.
> 
Well it really shouldn't but who knows.

That was why I sugested you add something like
fprintf(stderr, "I am <..> offset is %d", [lb_number|offset|block|..]); 
to the functions that it will call (seee my previous email).
This should give you an idea of where (if anywhere) things go wrong.

-- 
Håkan Hjort
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.