Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1181408ybx; Thu, 7 Nov 2019 08:22:51 -0800 (PST) X-Google-Smtp-Source: APXvYqzht5Rv2f15uraqNkM2Q70UBD1fe6iZYJY1naG+LEj1jIiyVI5nX9vG8lrGmaCWEcgJHV5c X-Received: by 2002:a50:e002:: with SMTP id e2mr4589913edl.278.1573143771781; Thu, 07 Nov 2019 08:22:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573143771; cv=none; d=google.com; s=arc-20160816; b=HKJ8drtCT6oqKCf13I0gF+KBRHDW45Hg+yXPM+GhljoMJLCcZeKbxyaFtpZ4l+lWNb RLORcQzN7F5NMG2tlDbALaBl0dj4BYtfLaX2nOe9h+TjRUFsDU8xgt7OKDmeW5aEoEMm bZe4AM8CnC13nzoj65mOIsQOTiXxbnckNC+e6Ew2GWvwNCCEd1HsGGR3K+dkpNOcSDC7 +d8jkez/i/tZCc4ITP79Jek38KCcLJz15FiVFGq/TLsGuAxWoCO10hLC26SyYDjzRovF eJrR5Bwzsi2mOBtBKLnM1h/8c7cho61/JikTQhsklagKnA3YJzWX9aPrcWncySOkNDvR bCFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:to:cc:message-id:date :subject:content-transfer-encoding:from:dkim-signature; bh=aqh69ZpwbknWjspEM6G9Ca5ewR6/JGDgYvtTvN080Q8=; b=QEh91wXN9BymrVWiIMN2nyza86ankPIj/gJb0I89O2smYm7rNFnEuHH4aKqE7M9QPE UE8Vn2XTEcaqGrXmBUvOUBG9CHFlqMyPJiundIYwupbA+7w+0uei+7eSD/PpW1uBuFiz 6Q+4JEdNwyfwik3z8UlGBW8O2ydbAJUagjL4b91FgNhjrvI26S3DYy/hJc9ROz6C+ZdL yGNcDNcrV7VabLflOsaCenbs1zp+rYm0oObNtr8rOzJYwoMNkkCIfPPlaufjGeJ/rBGq 1h40UrjVM3fBb1R9h1zImtIgm53dKZFRJNZdKM7uqu8gTGSI+HI1YUipUZ2MEIA6EhU3 p/iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b="n10pg8/S"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j26si1656178edq.389.2019.11.07.08.22.27; Thu, 07 Nov 2019 08:22:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b="n10pg8/S"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730149AbfKGQVQ (ORCPT + 99 others); Thu, 7 Nov 2019 11:21:16 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.163]:24313 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726810AbfKGQVQ (ORCPT ); Thu, 7 Nov 2019 11:21:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1573143674; s=strato-dkim-0002; d=goldelico.com; h=To:Cc:Message-Id:Date:Subject:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=aqh69ZpwbknWjspEM6G9Ca5ewR6/JGDgYvtTvN080Q8=; b=n10pg8/SoywzLtkqHR99QF8OmWLRAxyDLCFTbWSs0ExQ87LkKQpGeuGa0jQI6YlLCj RT6tDjvRDr8UZYvo31kRiN6IsP9Gq4sdY0AuB58jbi4/j9bvFwAcuqD/WPi3XWqCxTjN 2IZ3ZRdujxyjov4EfoXMH6HYpEdjmKGziXf8d5za04nDat8odLHMZ4E64aAQ+aaAxMNg 1yt9NnRhFCKdNDhgeakfcZlT6caOpgcjnwo3vwr3B7LftIun1MRJnp3YiitCKGkR3qs/ vbSICsOBpXK65HTlyM+1Y2fIFssQa5zJK3gWqLZZKoHsUc0wb7r7fR5x2J+RSlZA/6EQ Ir+A== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7wpz8NMGH/PrwDCq1eY=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 44.29.0 DYNA|AUTH) with ESMTPSA id L09db3vA7GLDfpN (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 7 Nov 2019 17:21:13 +0100 (CET) From: "H. Nikolaus Schaller" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: MIPS: bug: gettimeofday syscall broken on CI20 board? Date: Thu, 7 Nov 2019 17:21:13 +0100 Message-Id: <18788C50-F29B-4BD7-89F6-B056FF490214@goldelico.com> Cc: Ralf Baechle , Paul Burton , MIPS Creator CI20 Development , Discussions about the Letux Kernel , linux-mips@vger.kernel.org, Linux Kernel Mailing List To: Vincenzo Frascino Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I am trying to run v5.4-rc6 on the CI20 board (jz4780) and it is almost ok. Except one strange thing. If I install a v4.19.81 kernel I can initialize the ethernet interface and dhclient works. If I install a v5.4-rc6 kernel on exactly the same rootfs dhclient fails with root@letux:~# dhclient ../../../../lib/isc/unix/time.c:200: Operation not permitted root@letux:~# I have done some strace and the first significant difference is that with v5.4-rc6 there is no gettimeofday syscall. Another symptom pointing in the same direction is that after manually assigning an IP address I can run ping but get strange time values. So it may be that 24640f233b46 mips: Add support for generic vDSO did break gettimeofday when used with latest Debian Stretch libraries. I tried to git revert but there are conflicts. Just a side-note: both kernels work with Debian Jessie, which likely has an older gettimeofday wrapper that is not influenced by some subtle change. BR and thanks, Nikolaus Schaller