tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mmap (VOP_BMAP?) problem breaks copy from NTFS



Hi -
is that new?
the mmap(2) itself succeeds, but reading from that range
later fails. Here is some ktrace output:
   452      1 cp       CALL  open(0xbb902400,0,0)
   452      1 cp       NAMI  "/mnt/Programme/QuickTime/Sample.mov"
   452      1 cp       RET   open 3
   452      1 cp       CALL  __stat30(0x804b208,0xbfbfe944)
   452      1 cp       NAMI  "./Sample.mov"
   452      1 cp       RET   __stat30 0
   452      1 cp       CALL  open(0x804b208,0x401,0)
   452      1 cp       NAMI  "./Sample.mov"
   452      1 cp       RET   open 4
   452      1 cp       CALL  mmap(0,0xd946,1,1,3,0,0,0)
   452      1 cp       RET   mmap -1146159104/0xbbaf0000
   452      1 cp       CALL  madvise(0xbbaf0000,0xd946,2)
   452      1 cp       RET   madvise 0
   452      1 cp       CALL  write(4,0xbbaf0000,0xd946)
   452      1 cp       RET   write -1 errno 22 Invalid argument

best regards
Matthias




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index