From owner-freebsd-emulation@FreeBSD.ORG Tue Oct 21 18:19:31 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2568F1065685 for ; Tue, 21 Oct 2008 18:19:31 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 94E558FC1A for ; Tue, 21 Oct 2008 18:19:30 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by gxk9 with SMTP id 9so5698018gxk.19 for ; Tue, 21 Oct 2008 11:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=5/9NeuWFltI0N7mLOyfmETOUF+qrA/5FpZ5Z6/nmChI=; b=pMeOqLssP22R48pGXAjDsRI9R41kH9KYLmtcddF199qnIPLc3KwUzkgSUwe4R2b603 w9ChrfTkxaLwRQ+oDInDcdvHte3RG+0k5iztPX5O0i8eG4/vvO21xsFfwKoOynsk8MNW /wAdJLOpmaC18V1hMrfHWNaP4Sy21cAwF1mrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=R52pdLhiBm/vB5BNsa9dl+cuexhE2RbZuXMgMal9OQY0O4Wh5FJ1o/JmFHK15gTaCX zUQUtT96dF9ozgNY/fUqZYZIFC0ofl17jxVx2HMvME+VH5DVy3g2M2wPEBL5YdrCPXav Q74xRbfB+rbnBsL5JIbw0ijjq5iTu//3AmZfE= Received: by 10.64.76.15 with SMTP id y15mr6947925qba.92.1224611578198; Tue, 21 Oct 2008 10:52:58 -0700 (PDT) Received: from 190-177-219-242.speedy.com.ar ([190.177.219.242]) by mx.google.com with ESMTPS id 33sm10724434yxr.3.2008.10.21.10.52.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Oct 2008 10:52:57 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-emulation@freebsd.org Date: Tue, 21 Oct 2008 15:52:50 -0200 User-Agent: KMail/1.9.10 References: <48FD5EB8.9030405@delphij.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810211552.50986.gnemmi@gmail.com> Subject: Re: Linux compat 2.6.16 reports time incorrect? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 18:19:31 -0000 On Tuesday 21 October 2008 4:10:56 am Jeremy Messenger wrote: > On Mon, 20 Oct 2008 23:46:48 -0500, Xin LI wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Jeremy Messenger wrote: > >> Hello folks, > >> > >> I have updated RELENG_7 recently, and switched to 2.6.26 and f8 at the > >> same time. I am not sure which I am supposed to blame on. :-) Anyway, > >> now my linux-opera M2 (mail) client reports time incorrect. So I have > >> checked with date(1) and it does indeed report different. > >> > >> ---------------------------------- > >> # /bin/date > >> Mon Oct 20 22:28:35 CDT 2008 > >> # /compat/linux/bin/date > >> Tue Oct 21 03:28:38 UTC 2008 > >> ---------------------------------- > >> > >> I do not remember for have to configure the date correct for Linux 2.4 > >> stuff before I update RELENG_7 and switched to newer 2.6.16 stuff. I am > >> wondering if I have to do that now for configure time or it's not > >> normal? > > > > Looks like you don't have a proper /etc/localtime setting? I think > > tzsetup would help... > > I don't think so. FreeBSD's orignal /bin/date reports correct, but > /compat/linux/bin/date reported different. I have downgraded Linux compat > back to 2.4 and linux_base-fc4 stuff, now I have this: > > ---------------------------------- > # /bin/date > Tue Oct 21 01:03:20 CDT 2008 > # /compat/linux/bin/date > Tue Oct 21 01:03:23 CDT 2008 > ---------------------------------- > > Which is correct. So.. Must be either a bug in Linux compat 2.6.16 or > linux_base-f8 or it's new that I have to configure in /compat/linux/* for > time stuff? > > Cheers, > Mezz > > > Cheers, > > - -- > > Xin LI http://www.delphij.net/ > > FreeBSD - The Power to Serve! > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v2.0.9 (FreeBSD) > > > > iEYEARECAAYFAkj9XrcACgkQi+vbBBjt66A8PQCfUCbiPi4HXHDDUBHqq8311cDm > > uwYAn2RypKDA7B654Kj5Db4zsCpibw79 > > =dyre > > -----END PGP SIGNATURE----- [gonzalo@inferna ~]% uname -a FreeBSD inferna.inferna.com.ar 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Jul 20 03:44:42 ART 2008 root@inferna.inferna.com.ar:/usr/obj/usr/src/sys/INFERNA i386 [gonzalo@inferna ~]% /bin/date Tue Oct 21 15:42:29 ARST 2008 [gonzalo@inferna ~]% /compat/linux/bin/date Tue Oct 21 15:42:30 ARST 2008 [gonzalo@inferna ~]% sysctl -a | grep linux hw.snd.compat_linux_mmap: 0 compat.linux.oss_version: 198144 compat.linux.osrelease: 2.6.16 compat.linux.osname: Linux [gonzalo@inferna ~]% pkg_info -cx linux_base Information for linux_base-fc-4_13: Comment: Base set of packages needed in Linux mode (for i386/amd64) [gonzalo@inferna ~]% I'd go for linux_base-f8 given that it seems to work ok under linux_base-fc-4_13 with 2.6.16. Regards -- Blessings Gonzalo Nemmi