User:Ajak/Raptor

From Gentoo Wiki
Jump to:navigation Jump to:search

The Raptor is a 2U server chassis built around a 32 core ARM64 processor, the APM883832-X3, which is the only processor in the X-Gene 3 line according to Wikichip.[1]

I received three different kinds of firmware that need to be updated on the system. Two (BMC, UEFI) can be updated via the web interface (or probably even the IPMI interface). I was never able to get the other firmware (which is only labeled "firmware") updated via the web interface or via ipmitool. Instead, I used a proprietary AMI tool called YafuFlash. Note that if you try to flash both firmwares and something goes wrong, you will brick your Raptor. You might be able to flash the firmware chips directly using a dedicated flashing tool. When I broke my Raptor in this way, I tried using an EZP2019 SPI Programmer to do this but I was never successful in flashing the chips. I only recovered it by sourcing flash chips with updated firmware.

Once all of the firmwares are updated, the system should be able to install Gentoo from any Linux live system that boots with UEFI on ARM64.

By default, all 8 of the case fans run at 100%, which is very loud for a residential setting. Due to not wanting to disturb those who I share housing with, I have not extensively tested the exact way to fix this, but I do have a "shotgun" approach to set the fans to ~30%:

root #ipmitool -I lanplus -H raptor.mgmt.home.arpa -U $USER -P $PASSWORD raw 0x3c 0xb 0x00
root #ipmitool -I lanplus -H raptor.mgmt.home.arpa -U $USER -P $PASSWORD raw 0x3c 0xb 0x01
root #ipmitool -I lanplus -H raptor.mgmt.home.arpa -U $USER -P $PASSWORD raw 0x3c 0xb 0x02
root #for x in {0..8}; do ipmitool -I lanplus -H raptor.mgmt.home.arpa -U $USER -P $PASSWORD raw 0x3c 0x8 "${x}" 30; done

I have not explored a way to automatically ramp up fan speed to deal with higher temperatures. It was suggested in #gentoo-arm on IRC that using both power supplies (which I generally don't do due to a lack of necessity and lack of available sockets) and disabling manual fan control (the "shotgun" above) would solve this problem, but i have not tested this enough to confirm.

With this configuration and with an ambient indoor temperature of around 73°F, my Raptor idles around 50°C:

raptor ~ #sensors
apm_xgene-isa-0000
Adapter: ISA adapter
SoC Temperature:  +49.0°C
CPU power:        17.22 W
IO power:          3.06 W

Unfortunately, when the case is shut the power supply fans will now be the biggest source of noise. I haven't found a way to get them to spin down any lower than ~10k RPM (seemingly ~50% of their max), despite the fact that their temperature is relatively low:

raptor ~ #ipmitool sensor | grep -E "PSU.*(TEMP|SPEED)"
PSU1_TEMP | 26.000 | degrees C | ok | 5.000 | 9.000 | 20.000 | 69.000 | 80.000 | 85.000

PSU2_TEMP | 26.000 | degrees C | ok | 5.000 | 9.000 | 20.000 | 69.000 | 80.000 | 85.000

PSU1_FAN_SPEED | 9800.000 | RPM | ok | 0.000 | 1500.000 | 2000.000 | 22500.000 | 24300.000 | 25000.000

PSU2_FAN_SPEED | 10400.000 | RPM | ok | 0.000 | 1500.000 | 2000.000 | 22500.000 | 24300.000 | 25000.000

See Also