[Letux-kernel] Fwd: MIPS: bug: gettimeofday syscall broken on CI20 board?

H. Nikolaus Schaller hns at goldelico.com
Mon Nov 11 16:52:25 CET 2019


Hi Paul,
looks as if there is nobody active on linux-mips or the mipscreator list...

Do you see a similar effect on your CI20?

Or do you have an idea how to track it down?

BR and thanks,
Nikolaus


> Anfang der weitergeleiteten Nachricht:
> 
> Von: "H. Nikolaus Schaller" <hns at goldelico.com>
> Betreff: [Letux-kernel] MIPS: bug: gettimeofday syscall broken on CI20 board?
> Datum: 7. November 2019 um 17:21:13 MEZ
> An: Vincenzo Frascino <vincenzo.frascino at arm.com>
> Kopie: linux-mips at vger.kernel.org, Ralf Baechle <ralf at linux-mips.org>, Linux Kernel Mailing List <linux-kernel at vger.kernel.org>, Paul Burton <paul.burton at mips.com>, MIPS Creator CI20 Development <mips-creator-ci20-dev at googlegroups.com>, Discussions about the Letux Kernel <letux-kernel at openphoenux.org>
> Antwort an: Discussions about the Letux Kernel <letux-kernel at openphoenux.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 at letux:~# dhclient
> ../../../../lib/isc/unix/time.c:200: Operation not permitted
> root at 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
> 
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel



More information about the Letux-kernel mailing list