From owner-freebsd-stable@FreeBSD.ORG Fri Dec 2 10:14:14 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 029E5106564A for ; Fri, 2 Dec 2011 10:14:14 +0000 (UTC) (envelope-from rumrunner@rumrunner.mine.nu) Received: from mail48.e.nsc.no (mail48.e.nsc.no [193.213.115.48]) by mx1.freebsd.org (Postfix) with ESMTP id 595DE8FC19 for ; Fri, 2 Dec 2011 10:14:12 +0000 (UTC) Received: from rumrunner.mine.nu (ti0027a380-0216.bb.online.no [88.89.180.216]) by mail48.nsc.no (8.14.4/8.14.4) with ESMTP id pB29j3LN020425 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 2 Dec 2011 10:45:04 +0100 (MET) Received: from rumrunner.mine.nu (localhost [127.0.0.1]) by rumrunner.mine.nu (8.14.5/8.14.2) with ESMTP id pB29j30t024975 for ; Fri, 2 Dec 2011 10:45:03 +0100 (CET) (envelope-from rumrunner@rumrunner.mine.nu) Received: (from rumrunner@localhost) by rumrunner.mine.nu (8.14.5/8.13.8/Submit) id pB29j213024974 for freebsd-stable@freebsd.org; Fri, 2 Dec 2011 10:45:03 +0100 (CET) (envelope-from rumrunner) Date: Fri, 2 Dec 2011 10:45:02 +0100 From: Eivind Evensen To: freebsd-stable@freebsd.org Message-ID: <20111202094502.GA20626@klump.hjerdalen.lokalnett> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Something missing in truss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 10:14:14 -0000 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 \/