Alan Wylie's Web Site

Mon, 2024-05-06


Unable to sign up to UPS using IPv6 permalink
I've got an IPv6 tunnel from he.net Trying to sign up to UPS "My Choice" failed repeatedly with the message

Sorry, we're unable to process this request. Please check your information and try again

Disabling IPv6 in the browser config made it work.


Mozilla mercurial (.hg) certificate rotation permalink
Ignore this Mozilla documentation. It doesn't help and most (all?) of the mailing lists are dead.

To fix this error message when doing hg pull -u: pulling from https://hg.mozilla.org/releases/mozilla-beta/ abort: certificate for hg.mozilla.org has unexpected fingerprint sha256:.....

Visit https://hg.mozilla.org/, check the certificate there, get its fingerprint and paste that into .hg/hgrc under the root of the mercurial checkout directory.


BIND and datasize permalink
After seeing Greg K-H's comments about old Long Term Support kernels, I updated a couple of servers from 4.4 to 4.14. I ran into a problem with named (BIND) failing to start.
kernel: mmap: named (6332): VmData 35500032 exceed data ulimit 2097152. Update limits or use boot option ignore_rlimit_data.
It seems that having the line
datasize 2M;
in named.conf is the cause. Just remove that line. It seems that it's commonly been copied for donkeys' years: I can first find it in a config from September 2003.


OBD USB interface permalink


How to check that you are running the latest version of microcode (processor firmware) for AMD. permalink

Have a look at your CPU info

$ grep -E "^(model|microcode|cpu family)" /proc/cpuinfo  | sort -u
cpu family	: 21
microcode	: 0x6000852
model		: 2
model name	: AMD FX(tm)-8350 Eight-Core Processor

The "cpu family" is shown in decimal, convert to hex, i.e. 21 becomes 15h

Clone these repos

git clone https://github.com/AMDESE/amd_ucode_info
git clone --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git

Get the info about the latest version of the microcode for the appropriate family.

$ cd linux-firmware
$ ../amd_ucode_info/amd_ucode_info.py amd-ucode/microcode_amd_fam15h.bin
Microcode patches in amd-ucode/microcode_amd_fam15h.bin:
  Family=0x15 Model=0x01 Stepping=0x02: Patch=0x0600063e Length=2592 bytes
  Family=0x15 Model=0x02 Stepping=0x00: Patch=0x06000852 Length=2592 bytes
  Family=0x15 Model=0x10 Stepping=0x01: Patch=0x06001119 Length=2592 bytes

Check the version from "cpuinfo" matches the line for your Family/Model