lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <C3F683EF-FB6E-43FD-A732-4096BCB9433C@goldelico.com>
Date:   Thu, 28 Nov 2019 16:10:00 +0100
From:   "H. Nikolaus Schaller" <hns@...delico.com>
To:     Vincenzo Frascino <vincenzo.frascino@....com>
Cc:     linux-mips@...r.kernel.org, Ralf Baechle <ralf@...ux-mips.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Paul Burton <paul.burton@...s.com>,
        MIPS Creator CI20 Development 
        <mips-creator-ci20-dev@...glegroups.com>,
        Discussions about the Letux Kernel 
        <letux-kernel@...nphoenux.org>
Subject: Re: MIPS: bug: gettimeofday syscall broken on CI20 board


> Am 28.11.2019 um 15:04 schrieb Vincenzo Frascino <vincenzo.frascino@....com>:
> 
> On 28/11/2019 12:16, H. Nikolaus Schaller wrote:
>> Ah, good question. How do I find out? Checking defconfig did not show any
>> config with R4K or GIC. So it is likely NONE. CONFIG_RTC_DRV_JZ4740=y if that
>> helps.
> 
> Try to check what do you have in /sys/devices/system/clocksource.

Ok, have finished another project and could check:

root@...ux:~# ls -l /sys/devices/system/clocksource/clocksource0/                    
total 0
-r--r--r-- 1 root root 4096 Nov  3 17:18 available_clocksource
-rw-r--r-- 1 root root 4096 Nov  3 17:18 current_clocksource
drwxr-xr-x 2 root root    0 Nov  3 17:18 power
lrwxrwxrwx 1 root root    0 Nov  3 17:16 subsystem -> ../../../../bus/clocksource
-rw-r--r-- 1 root root 4096 Nov  3 17:16 uevent
--w------- 1 root root 4096 Nov  3 17:18 unbind_clocksource
root@...ux:~# cat /sys/devices/system/clocksource/clocksource0/*
ingenic-timer 
ingenic-timer
cat: /sys/devices/system/clocksource/clocksource0/power: Is a directory
cat: /sys/devices/system/clocksource/clocksource0/subsystem: Is a directory
cat: /sys/devices/system/clocksource/clocksource0/unbind_clocksource: Permission denied
root@...ux:~#

Does that help?

BR,
Nikolaus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ