Date: Fri, 13 Jul 2007 22:33:52 +0200 From: "Dominique Goncalves" <dominique.goncalves@gmail.com> To: freebsd-current@freebsd.org Subject: FreeBSD uses the year 1936 in qemu Message-ID: <7daacbbe0707131333q7a290e2bn6d0999151f6d5777@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7daacbbe0707131333q7a290e2bn6d0999151f6d5777>