From owner-freebsd-current@FreeBSD.ORG Fri Jul 13 21:01:00 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6FCA16A403 for ; Fri, 13 Jul 2007 21:01:00 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.freebsd.org (Postfix) with ESMTP id 9397913C4A3 for ; Fri, 13 Jul 2007 21:01:00 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: by wr-out-0506.google.com with SMTP id i23so429522wra for ; Fri, 13 Jul 2007 14:01:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qfVZ7/H3M8hzDXYmDYpmCj7WZTp9FyT0n8Jogw7abXEhqTkFiYOQ4y9RkjuFdqVCGN4dE/B9Ts8qGoyx//LLOcHW7qckY67ICEJykilJSEwjsxbwVxJyEVz0FP1TR5TOo6p4vVhriCAKWobA3aJt+nihcDvud5omMtTRAEccLzs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BgNyVJLb32VJY99hN0qhoQiGde81+4+IdlFId+DDrykYB4W1B2L6hBqK8o+zL9bbI0hAG78AUnywOpIbQ6wjDvZLIpvUGO2/rYZ64k3UB6UpKCxQUqt6Mxbgux1OrrrZsfXRRgwmNX3G9jajKQFaTCyN/La4eJ2D7EI5UyYvOJg= Received: by 10.90.104.14 with SMTP id b14mr2083052agc.1184358832668; Fri, 13 Jul 2007 13:33:52 -0700 (PDT) Received: by 10.90.96.3 with HTTP; Fri, 13 Jul 2007 13:33:52 -0700 (PDT) Message-ID: <7daacbbe0707131333q7a290e2bn6d0999151f6d5777@mail.gmail.com> Date: Fri, 13 Jul 2007 22:33:52 +0200 From: "Dominique Goncalves" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD uses the year 1936 in qemu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 21:01:01 -0000 Hi, I'm trying to run FreeBSD 7.0-CURRENT as a guest in qemu-0.9.0 (using freesbie), but FreeBSD thinks the current date is Sat 31 oct 1936. newsyslog and syslogd do not start correctly. Creating and/or trimming log files: newsyslog: malformed 'at' value: /var/log/all.log 600 7 * @T00 J . Starting syslogd. Oct 31 17:01:25 syslogd: /var/log/messages: No such file or directory Oct 31 17:01:25 syslogd: /var/log/security: No such file or directory Oct 31 17:01:25 syslogd: /var/log/auth.log: No such file or directory Oct 31 17:01:25 syslogd: /var/log/maillog: No such file or directory Oct 31 17:01:25 syslogd: /var/log/lpd-errs: No such file or directory Oct 31 17:01:25 syslogd: /var/log/xferlog: No such file or directory Oct 31 17:01:25 syslogd: /var/log/cron: No such file or directory Oct 31 17:01:25 syslogd: /var/log/debug.log: No such file or directory Oct 31 17:01:25 syslogd: /var/log/slip.log: No such file or directory Oct 31 17:01:25 syslogd: /var/log/ppp.log: No such file or directory Of course I can use ntpd or ntpdate but it's too late in the startup order. I found a similar problem [1] reported which proposes a fix [2]. I applied the patch in PR i386/111117 and the date is now set correclty inside qemu. Is this a bug in FreeBSD or qemu ? Thanks, Regards. [1] : http://lists.freebsd.org/pipermail/freebsd-current/2007-April/070394.html [2] : http://www.freebsd.org/cgi/query-pr.cgi?pr=111117 -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life."