Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.sys.raspberry-pi    |    Raspberry Pi computers & related hardwar    |    26,127 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 24,620 of 26,127    |
|    Theo to Adam Funk    |
|    Re: Inconsistent results for checking wh    |
|    17 Jul 24 16:50:59    |
   
   From: theom+news@chiark.greenend.org.uk   
      
   Adam Funk 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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca