From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 10:15:23 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD5001065675 for ; Mon, 12 Sep 2011 10:15:23 +0000 (UTC) (envelope-from loerner@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 299E98FC0C for ; Mon, 12 Sep 2011 10:15:22 +0000 (UTC) Received: (qmail 27355 invoked by uid 0); 12 Sep 2011 09:48:42 -0000 Received: from 212.185.199.2 by www041.gmx.net with HTTP; Mon, 12 Sep 2011 11:48:41 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Mon, 12 Sep 2011 11:48:42 +0200 From: =?iso-8859-1?Q?=22Marc_L=F6rner=22?= Message-ID: <20110912094842.251380@gmx.net> MIME-Version: 1.0 To: filippo.sironi@gmail.com X-Authenticated: #60932973 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1+Fl0cGbPKFfxYKB14A4lVM/CKXbLd4iOzSmmkxYz zQIUx1GwxFuKvvRoTs12ZAp7cZSqKj190z/g== Content-Transfer-Encoding: 8bit X-GMX-UID: HrwID1wWfW47S1eZ1mZokHRudmllcoVv X-Mailman-Approved-At: Mon, 12 Sep 2011 11:17:14 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Re: Kernel timers infrastructure X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2011 10:15:23 -0000 Hello, what about changing order of callout_reset and uprintf? And your timeout isn't 1minute, it's one second! Regards, Marc >I already did that to ensure timer_event_handler would be called correctly. > >The result follows: > >freebsd# kldload ./timer.ko >timer_event_handler() with MOD_LOAD > >freebsd# kldunload ./timer.ko >timer_event_handler() with MOD_UNLOAD > >and I maintained the module load for about 1 minute so the timer printing >"Hello, World!" should have been run. > >Filippo > >On 12/set/2011, at 11:24, Adrian Chadd wrote: > >> How about adding some printfs() to the functions to ensure they're being called? >> >> Adrian > >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de