piSerial returns getSerNum() failed -3

Topics about the Software of Revolution Pi
Post Reply
Daniel RFAG
Posts: 6
Joined: 08 Oct 2021, 12:18

piSerial returns getSerNum() failed -3

Post by Daniel RFAG »

As the tile states my RevPi Flat seems to have "forgotten" its serial number.
Things I already tried:
apt-get update
apt-get upgrade
apt-get update --fix-missing
tpm2-tools are installed
I2C is enabeled and if scanned returns the following:
i2c.png
i2c.png (6.79 KiB) Viewed 2899 times
I tried the same command several times in short succession as per this post: https://revolutionpi.de/forum/viewtopic ... t=piSerial
The web ui also fails to retrieve the serial number.

What consequences does this have and how do I fix it ? Thank you very much.
Attachments
login.png
login.png (204.66 KiB) Viewed 2899 times
User avatar
nicolaiB
KUNBUS
Posts: 916
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: piSerial returns getSerNum() failed -3

Post by nicolaiB »

Hi Daniel,

is the piSerial error permanent or does it only occur irregularly? The error is raised when the chip is in sleep mode but usually it should work in the subsequent call as described in the thread you already found.

Nicolai
Daniel RFAG
Posts: 6
Joined: 08 Oct 2021, 12:18

Re: piSerial returns getSerNum() failed -3

Post by Daniel RFAG »

Hi Nicolai

The error seems to be permanent. I have already tried restarting the Pi, shutting it down and letting it sit disconnected from the power supply for a while (~30min), updating it and fixing the installed packages. No luck so far. It worked fine when it arrived though. Normally I would just completely reinstall Raspian at this point but as far as I know, this is not possible on a Flat right? does the reset command

Code: Select all

revpi-factory-reset
you mentioned in this https://revolutionpi.de/forum/viewtopic.php?t=1724 thread work for a Flat as well ?

Thanks for the help
Daniel
User avatar
nicolaiB
KUNBUS
Posts: 916
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: piSerial returns getSerNum() failed -3

Post by nicolaiB »

Hi Daniel,

in order to test if the TPM chip is responding correctly you can use the following command: tpm2_getcap --capability="properties-fixed"
The factory-reset only affects things like serial, mac addresses and some device specific configuration.

Nicolai
Post Reply