can't seek to block 256 + kernel 2.6 (test4)

Jörn Dreyer j.dreyer at butonic.de
Thu Jan 8 21:47:01 CET 2004


just in case you can see something useful in an strace ;-)
btw, I installed the latest kernel 2.6.1-rc3, in case sth was messed up with
pre4
---
# DVDCSS_VERBOSE=2 strace mplayer dvd://1
<snip>
write(2, "libdvdread: Using libdvdcss vers"..., 57libdvdread: Using libdvdcss
version 1.2.8 for DVD access
) = 57
getuid32()                              = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 7
connect(7, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1
ENOENT (No such file or directory)
close(7)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4053b000
read(7, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465
read(7, "", 4096)                       = 0
close(7)                                = 0
munmap(0x4053b000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=28312, ...}) = 0
old_mmap(NULL, 28312, PROT_READ, MAP_PRIVATE, 7, 0) = 0x4053b000
close(7)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/tls/libnss_compat.so.2", O_RDONLY) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \20\0\000"..., 512)
= 512
fstat64(7, {st_mode=S_IFREG|0644, st_size=29660, ...}) = 0
old_mmap(NULL, 32756, PROT_READ|PROT_EXEC, MAP_PRIVATE, 7, 0) = 0x4054b000
old_mmap(0x40552000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7,
0x6000) = 0x40552000
close(7)                                = 0
munmap(0x4053b000, 28312)               = 0
open("/etc/ld.so.cache", O_RDONLY)      = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=28312, ...}) = 0
old_mmap(NULL, 28312, PROT_READ, MAP_PRIVATE, 7, 0) = 0x4053b000
close(7)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/tls/libnss_nis.so.2", O_RDONLY) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \32\0\000"..., 512)
= 512
fstat64(7, {st_mode=S_IFREG|0644, st_size=34772, ...}) = 0
old_mmap(NULL, 38032, PROT_READ|PROT_EXEC, MAP_PRIVATE, 7, 0) = 0x40553000
old_mmap(0x4055c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7,
0x8000) = 0x4055c000
close(7)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/tls/libnss_files.so.2", O_RDONLY) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\33\0"..., 512) =
512
fstat64(7, {st_mode=S_IFREG|0644, st_size=35108, ...}) = 0
old_mmap(NULL, 38488, PROT_READ|PROT_EXEC, MAP_PRIVATE, 7, 0) = 0x4055d000
old_mmap(0x40566000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7,
0x8000) = 0x40566000
close(7)                                = 0
munmap(0x4053b000, 28312)               = 0
open("/etc/passwd", O_RDONLY)           = 7
fcntl64(7, F_GETFD)                     = 0
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
_llseek(7, 0, [0], SEEK_CUR)            = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=967, ...}) = 0
mmap2(NULL, 967, PROT_READ, MAP_SHARED, 7, 0) = 0x4053b000
_llseek(7, 967, [967], SEEK_SET)        = 0
munmap(0x4053b000, 967)                 = 0
close(7)                                = 0
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "opening target `/dev/dvd\'", 25opening target `/dev/dvd') = 25
write(2, "\n", 1
)                       = 1
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "using libc for access", 21using libc for access)   = 21
write(2, "\n", 1
)                       = 1
open("/dev/dvd", O_RDONLY|O_LARGEFILE)  = 7
fstat64(7, {st_mode=S_IFBLK|0662, st_rdev=makedev(22, 64), ...}) = 0
ioctl(7, 0x5390, 0xbfffb3f0)            = 0
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "disc is scrambled", 17disc is scrambled)       = 17
write(2, "\n", 1
)                       = 1
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "requesting AGID", 15requesting AGID)         = 15
)                       = 1
ioctl(7, 0x5392, 0xbfffb310)            = 0
ioctl(7, 0x5392, 0xbfffb310)            = 0
ioctl(7, 0x5392, 0xbfffb310)            = 0
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "drive authenticated, using varia"..., 36drive authenticated, using
variant 0) = 36
write(2, "\n", 1
)                       = 1
ioctl(7, 0x5392, 0xbfffb310)            = 0
ioctl(7, 0x5392, 0xbfffb310)            = 0
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "authentication established", 26authentication established) = 26
write(2, "\n", 1
)                       = 1
ioctl(7, 0x5390, 0xbfffabb0)            = 0
ioctl(7, 0x5392, 0xbfffb390)            = 0
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "GetASF authenticated, ASF=1", 27GetASF authenticated, ASF=1) = 27
write(2, "\n", 1
)                       = 1
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "decrypting disc key with player "..., 36decrypting disc key with
player keys) = 36
write(2, "\n", 1
)                       = 1
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "trying player key 01:af:e3:12:80", 32trying player key
01:af:e3:12:80) = 32
write(2, "\n", 1
)                       = 1
write(2, "libdvdcss debug: ", 17libdvdcss debug: )       = 17
write(2, "decrypted disc key is 47:e5:8f:4"..., 36decrypted disc key is
47:e5:8f:42:86) = 36
write(2, "\n", 1
)                       = 1
read(7, "", 2048)                       = 0
_llseek(7, 0, [0], SEEK_SET)            = 0
write(1, "Reading disc structure, please w"..., 39Reading disc structure,
please wait...
) = 39
_llseek(7, 524288, 0xbfffba20, SEEK_SET) = -1 EINVAL (Invalid argument)
write(2, "libdvdcss error: seek error\n", 28libdvdcss error: seek error
) = 28
write(2, "libdvdread: Can\'t seek to block "..., 36libdvdread: Can't seek to
block 256
) = 36
_llseek(7, 524288, 0xbfffba20, SEEK_SET) = -1 EINVAL (Invalid argument)
write(2, "libdvdcss error: seek error\n", 28libdvdcss error: seek error
) = 28
write(2, "libdvdread: Can\'t seek to block "..., 36libdvdread: Can't seek to
block 256
) = 36
write(2, "libdvdread: Can\'t open file VIDE"..., 42libdvdread: Can't open
file VIDEO_TS.IFO.
) = 42
write(2, "Can\'t open VMG info!\n", 21Can't open VMG info!
) = 21
close(7)                                = 0
select(6, [0 5], NULL, NULL, {0, 0})    = 0 (Timeout)
write(1, "\n", 1
)                       = 1
ioctl(0, SNDCTL_TMR_START, {B38400 opost isig icanon echo ...}) = 0
write(1, "\nExiting... (End of file)\n", 26
Exiting... (End of file)
) = 26
munmap(0x4041c000, 4096)                = 0
exit_group(0)                           = ?

-- 
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the libdvdcss-devel mailing list