Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <dCF*yOFPz@news.chiark.greenend.org.uk>
Deutsch   English   Français   Italiano  
<dCF*yOFPz@news.chiark.greenend.org.uk>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!news2.arglkargh.de!news.karotte.org!news.szaf.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: Theo <theom+news@chiark.greenend.org.uk>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Inconsistent results for checking whether the OS is 32 or 64 bit
Date: 17 Jul 2024 16:50:59 +0100 (BST)
Organization: University of Cambridge, England
Message-ID: <dCF*yOFPz@news.chiark.greenend.org.uk>
References: <khvkmkx35l.ln2@news.ducksburg.com>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:93.93.131.173";
	logging-data="15200"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-28-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([93.93.131.173])
Bytes: 1650
Lines: 28

Adam Funk <a24061@ducksburg.com> wrote:
> Hi
> 
> I have a Pi 4 B that I use headlessly over SSH. I can't remember
> whether I installed the 32-bit or 64-bit OS on it, but different
> commands found on the web give different results.
> 
> $ uname -m
> aarch64
> 
> $ getconf LONG_BIT
> 32
> 
> $ dpkg --print-architecture 
> armhf
> 
> Which one is right?

That sounds like a 32 bit OS on 64 bit hardware.  Not sure if uname -m is
the kernel or the hardware, but perhaps you're running a 32 bit userland on
a 64 bit kernel?

Seems that Pi OS switched to a 64 bit kernel on the Pi4 in March 2023:
https://github.com/raspberrypi/firmware/issues/1795

It looks like 'getconf' returns glibc parameters, which would be 32 bit on a
32 bit userland.

Theo