Port-alpha archive

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

Re: cgd aes rump tests failing



Martin Husemann wrote:
> On Tue, Nov 29, 2016 at 05:47:05PM +0900, Rin Okuyama wrote:
> > current). Then, all the cgd tests passed except for 2 expected-failure
> > cases. What's the difference between mine and yours??
> 
> I don't know and gdb on alpha is not working well enough to step through
> this test.

Martin, can you please ktrace the test:

$ ktrace ./t_cgd_aes cgd_aes_cbc_128_encblkno1

and send me the output of the main thread from this point:

 12932      1 t_cgd_aes CALL  open(0x7f7fffb4fca0,0x602,0x180)
 12932      1 t_cgd_aes NAMI  "aes-cbc-128-encblkno1.img"
 12932      1 t_cgd_aes RET   open 3
 12932      1 t_cgd_aes CALL  ftruncate(3,0,0x800)
 12932      1 t_cgd_aes RET   ftruncate 0
 12932      1 t_cgd_aes CALL  __stat50(0x7f7fffb4fca0,0x7f7fffb4f8f0)
 12932      1 t_cgd_aes NAMI  "aes-cbc-128-encblkno1.img"
 12932      1 t_cgd_aes RET   __stat50 0
 12932      1 t_cgd_aes CALL  __stat50(0x7f7fffb4fca0,0x7f7fffb4f880)
 12932      1 t_cgd_aes NAMI  "aes-cbc-128-encblkno1.img"
 12932      1 t_cgd_aes RET   __stat50 0
 12932      1 t_cgd_aes CALL  open(0x7f7fffb4fca0,2,0x1a4)
 12932      1 t_cgd_aes NAMI  "aes-cbc-128-encblkno1.img"
 12932      1 t_cgd_aes RET   open 4
 12932      1 t_cgd_aes CALL  unlink(0x7f7fffb4fca0)
 12932      1 t_cgd_aes NAMI  "aes-cbc-128-encblkno1.img"
 12932      1 t_cgd_aes RET   unlink 0
 12932      1 t_cgd_aes CALL  __sysctl(0x7f7fffb4fbf0,2,0x7f7fffb4fbec,0x7f7fffb4fbf8,0,0)
 12932      1 t_cgd_aes RET   __sysctl 0
 12932      1 t_cgd_aes CALL  mmap(0,0x401000,PROT_READ|PROT_WRITE,0x1002<PRIVATE,ANONYMOUS,ALIGN=NONE>,0xffffffff,0,0)
 12932      1 t_cgd_aes RET   mmap 138473453297664/0x7df0dcfea000
 12932      1 t_cgd_aes CALL  mprotect(0x7df0dcfea000,0x1000,0)
 12932      1 t_cgd_aes RET   mprotect 0
...
 12932     24 t_cgd_aes CALL  pwrite(4,0x7df0e47d1000,0x200,0,0)
   

up to the failing pwrite?

Thanks,
Alex


Home | Main Index | Thread Index | Old Index