Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2011 10:45:02 +0100
From:      Eivind Evensen <eivinde@terraplane.org>
To:        freebsd-stable@freebsd.org
Subject:   Something missing in truss
Message-ID:  <20111202094502.GA20626@klump.hjerdalen.lokalnett>

next in thread | raw e-mail | index | archive | help
Does anybody else see this or know why?

The machine here is running :

> uname -a
FreeBSD elg.hjerdalen.lokalnett 8.2-STABLE FreeBSD 8.2-STABLE #36: Wed Nov 30 22:03:07 CET 2011     rumrunner@elg.hjerdalen.lokalnett:/usr/obj/usr/src/sys/RUM  amd64

While trying to weed out some firefox problems, I've noticed
that truss doesn't recognise certain syscalls :

getpid()					 = 1519 (0x5ef)
clock_gettime(4,{48496.335142903 })		 = 0 (0x0)
kevent(20,{0x23,EVFILT_READ,EV_ADD,0,0x0,0x809ec9d80},1,{0x15,EVFILT_READ,0x0,0,0x1,0x809ec9e80},64,0x0) = 1 (0x1)
clock_gettime(4,{48496.335293202 })		 = 0 (0x0)
read(21,"\0",1)					 = 1 (0x1)
clock_gettime(4,{48496.335382599 })		 = 0 (0x0)
umask(0x80a52ee20,0x8,0x0,0x80a52ee00,0x7fffff1f9eb0,0x80a52ee00) = 116 (0x74)
-- UNKNOWN SYSCALL -14704864 --
syscall(0x7fffff1f9ec0,0x0,0x18745,0x7fffff1f9eb0,0x1,0x7fffff1f9e90) = 454 (0x1c6)
umask(0x80a52ee20,0x8,0x0,0x80a52ee00,0x7fffff1f9eb0,0x80a52ee00) = 116 (0x74)
-- UNKNOWN SYSCALL -14704864 --
syscall(0x7fffff1f9ec0,0x0,0x18745,0x7fffff1f9eb0,0x1,0x7fffff1f9e90) = 454 (0x1c6)
umask(0x80a52ee20,0x8,0x0,0x80a52ee00,0x7fffff1f9eb0,0x80a52ee00) = 116 (0x74)
-- UNKNOWN SYSCALL -14704864 --
syscall(0x7fffff1f9ec0,0x0,0x18745,0x7fffff1f9eb0,0x1,0x7fffff1f9e90) = 454 (0x1c6)
umask(0x80a52ee20,0x8,0x0,0x80a52ee00,0x7fffff1f9eb0,0x80a52ee00) = 116 (0x74)
-- UNKNOWN SYSCALL -14704864 --
syscall(0x7fffff1f9ec0,0x0,0x18745,0x7fffff1f9eb0,0x1,0x7fffff1f9e90) = 454 (0x1c6)
umask(0x80a52ee20,0x8,0x0,0x80a52ee00,0x7fffff1f9eb0,0x80a52ee00) = 116 (0x74)
-- UNKNOWN SYSCALL -14704864 --
syscall(0x7fffff1f9ec0,0x0,0x18745,0x7fffff1f9eb0,0x1,0x7fffff1f9e90) = 454 (0x1c6)

Using ktrace/kdump at the same time gives this (manually correlated) :

  1519 firefox-bin RET   getpid 1519/0x5ef
  1519 firefox-bin CALL  clock_gettime(0x4,0x7fffff9fdca0)
  1519 firefox-bin RET   clock_gettime 0
  1519 firefox-bin CALL  kevent(0x14,0x809ec0800,0x1,0x809ec0000,0x40,0)
  1519 firefox-bin GIO   fd 20 wrote 32 bytes
       0x0000 2300 0000 0000 0000 ffff 0100 0000 0000  |#...............|
       0x0010 0000 0000 0000 0000 809d ec09 0800 0000  |................|
  1519 firefox-bin GIO   fd 20 read 32 bytes
       0x0000 1500 0000 0000 0000 ffff 0000 0000 0000  |................|
       0x0010 0100 0000 0000 0000 809e ec09 0800 0000  |................|
  1519 firefox-bin RET   kevent 1
  1519 firefox-bin CALL  clock_gettime(0x4,0x7fffff9fdca0)
  1519 firefox-bin RET   clock_gettime 0
  1519 firefox-bin CALL  read(0x15,0x7fffff9fdc9f,0x1)
  1519 firefox-bin GIO   fd 21 read 1 byte
       "\0"
  1519 firefox-bin RET   read 1
  1519 firefox-bin CALL  clock_gettime(0x4,0x7fffff9fdca0)
  1519 firefox-bin RET   clock_gettime 0
  1519 firefox-bin CALL  kevent(0x14,0x809ec0800,0,0x809ec0000,0x40,0)
  1519 firefox-bin RET   _umtx_op -1 errno 60 Operation timed out
  1519 firefox-bin CALL  gettimeofday(0x7fffff1f9f20,0)
  1519 firefox-bin RET   gettimeofday 0
  1519 firefox-bin CALL  clock_gettime(0,0x7fffff1f9ec0)
  1519 firefox-bin RET   clock_gettime 0
  1519 firefox-bin CALL  _umtx_op(0x80a52ee20,0x8,0,0x80a52ee00,0x7fffff1f9eb0)
  1519 firefox-bin RET   _umtx_op -1 errno 60 Operation timed out
  1519 firefox-bin CALL  gettimeofday(0x7fffff1f9f20,0)
  1519 firefox-bin RET   gettimeofday 0
  1519 firefox-bin CALL  clock_gettime(0,0x7fffff1f9ec0)
  1519 firefox-bin RET   clock_gettime 0
  1519 firefox-bin CALL  _umtx_op(0x80a52ee20,0x8,0,0x80a52ee00,0x7fffff1f9eb0)
  1519 firefox-bin RET   _umtx_op -1 errno 60 Operation timed out


-- 
    _
_  //
\\//   Eivind Evensen
 \/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111202094502.GA20626>