From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 15 Aug 2023 11:09:32 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qVq3R-004xMw-Ak for lore@lore.pengutronix.de; Tue, 15 Aug 2023 11:09:32 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qVq3P-0000kB-Ec; Tue, 15 Aug 2023 11:09:31 +0200 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qVq3L-0000iu-Qb; Tue, 15 Aug 2023 11:09:27 +0200 Received: from rsc by pty.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qVq3L-00E3PP-CV; Tue, 15 Aug 2023 11:09:27 +0200 Date: Tue, 15 Aug 2023 11:09:27 +0200 From: Robert Schwebel To: Oleksij Rempel Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] Y2038 support broken on MIPS X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: distrokit@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Oleksij, could you have a look? On Mon, Jul 10, 2023 at 10:52:34PM +0200, Robert Schwebel wrote: > I've today updated DistroKit to ptxdist-2023.07.1, and I tried the new > PTXCONF_GLIBC_Y2038 feature. It seems to work everywhere but on MIPS. > In qemu, it stops here: > > rsc@dude05:~/work/DistroKit$ configs/platform-mips/run > [ 0.000000] Linux version 6.4.0-malta (ptxdist@ptxdist) (mips-softfloat-linux-gnu-gcc (OSELAS.Toolchain-2022.10.1 12-20230519) 12.3.1 20230519, GNU ld (GNU Binutils) 2.39) #1 SMP PREEMPT 2023-07-01T00:00:00+00:00 > [ 0.000000] earlycon: uart8250 at I/O port 0x3f8 (options '38400n8') > [ 0.000000] printk: bootconsole [uart8250] enabled > [ 0.000000] CPU0 revision is: 00019300 (MIPS 24Kc) > [ 0.000000] FPU revision is: 00739300 > [ 0.000000] MIPS: machine is mti,malta > [ 0.000000] Software DMA cache coherency enabled > [ 0.000000] CPU frequency 333.33 MHz > [ 0.637209] This architecture does not have kernel memory protection. > [ 7.486114] systemd-rc-once[95]: remounting root rw...done > [ 7.492033] systemd-rc-once[95]: running rc.once.d services... > [ 7.538456] systemd-rc-once[100]: Creating dynamic linker cache... > [ 7.942716] systemd-rc-once[109]: Create ed25519 key; this may take some time ... > [ 8.104296] systemd-rc-once[109]: Created ed25519 key. > [ 8.264490] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=1 'systemd' > [ 9.463754] systemd-rc-once[95]: remounting root ro...done > > Changing the config option makes it boot again. > > If someone wants to debug it, go ahead :-) rsc -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |