Re: 2.4 raw devices don't do 64bit offset?

From: k.lichtenwalder@computer.org
Date: Mon Apr 16 2001 - 07:53:12 EST


Alan Cox wrote:
>
> > sorry if this was already discussed, but I couldn't find it in the
> > archives. I'm trying to use xine (the linux dvd player) on
> > linux-2.4.3-ac3 and can't watch the whole dvd. The reason is that as
> > soon as the llseek sets a value in the offset_high field for sys_llseek,
> > I get a EINVAL back from the seek. Is this intentional? Or simply still
> > (only) a missing feature?
>
> Did you open the file with open64() ?

Sorry for being a bit clueless, but it's just the application I was
using. I didn't check that further, because if I don't use the raw
device, it's working fine... So let me check...
No it's using open(), but sets -D_FILE_OFFSET_BITS=64. Looks like this
is not enough for the raw devices?

Klaus

-- 
------------------------------------------------------------------------- 
 Klaus Lichtenwalder, Dipl. Inform.,       http://www.webforum.de/Klaus/
 Fax +49-(0)89-91072699                            Lichtenwalder@ACM.org
 NIC: KL2100, KL76-RIPE                     K.Lichtenwalder@Computer.org
 PGP Key fingerprint = 2658 EA97 E1A1 2680 5ECA  0036 80F5 F250 3CF8
C2C7


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:19 EST