Author Archives: richliu

Lexus NX300H BMW X3 VOLVO XC60 賞車後記

本來以為之前買的車還可以再戰幾年,不過這幾年年紀虛長,愈來愈感覺到開車注意力下降的次數和時間都愈來愈長。最近看到最近的車子都有很多新的主動被動安全防護措施,就會有點心動,心動不如行動,然後就展開了一場快二年的看車之旅。

目標規格如下
1. SUV 車系,考量到現有的停車位,最大車寬要 190CM 以下
2. 全速域主動跟車跟車道維持系統(一般有這個就有自動剎停)
3. 360 度環景
4. 抬頭顯示器
5. 預算 150~200 左右

我一開始只喜歡打算看 VOLVO XC60 ,畢竟戰車的印像深入人心
但是陸續也看了一些其他車,就簡單寫寫心得吧

Read more »

DPDK PKTGEN

This is personal note for dpdk pktgen.
now (2019/08), if wants to run dpdk pktgen, it cannot use ubuntu default dpdk packages, it needs to compile pktgen from source code.

Read more »

Ubuntu 18.04 ARM64 DPDK in VM (QEMU)

DPDK is a very popular infrastructure in high speed packet process domain, some applications will used the same architecture to process packet, like EPC.

For Ubuntu 18.04, it used dpdk 17.11, it not good for some other application like dpdk pktgen, but enough for testpmd and l3fwd test. here is some personal note for setup whole environment.

DPDK in QEMU archeticture
Read more »

Ubuntu Change Default Mac Address

Ubuntu used netplan as new network manager, but it’s different with previous version.

First create a new file /etc/systemd/network/10-override-mac.link

[Match]
MacAddress=52:54:00:12:34:56

[Link]
MACAddress=52:54:00:12:34:58

52:54:00:12:34:56 is old mac, and 52:54:00:12:34:58 is new mac .

Second, modify /etc/netplan/01-netcfg.yaml, create match: and macaddress field , example

network:
version: 2
ethernets:
eth0:
dhcp4: true
match:
macaddress: ’52:54:00:12:34:58′
set-name: eth0

ref.

Netplan not spoofing MAC as expected

Gentoo ARM64 Docker Image

There is a long time no article about gentoo on my blog.

Today, I have a whim to do a gentoo ARM64 docker image, so, we have this article.

Please understand that ARM64 Gentoo is experimental, and might be different after a while.

Read more »

QEMU Run x86_64 on ARM64 Server command

This is a work note for run x86_64 on ARM64 server .
Because they are different archeticture, so, run x86_64 on ARM server would be very slow.

and some functions might be different when run on different platform

Read more »

Kdump in ubuntu 18.04 ARM64


kdump is very good tool to debug complex system like cloud data center, it can easy to save kernel status when crash.
Running kdump in ARM64 just like running in x86, but I met a strange problem on ARM64 platform.

The kernel version is HWE kernel, current version is 4.18.0-25, mihbt be encounter those problems

Read more »

ARM64 Kdump cannot allocate crashkernel

In ARM64 server and installed memory around 128G, ubuntu default /etc/default/grub.d/kdump-tools.cfg default configuration might cause kdump allocate memory failed. error message as below

[ 0.000000] cannot allocate crashkernel (size:0x80000000)
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-25-generic root=UUID=ee8be10d-d649-425d-a807-640751836186 ro console=tty0 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M

Read more »

PIME 大易三碼

對一個大易用戶來說,好的輸入法不好找。
Windows 7 時是 Yahoo 輸入法最好用,但是 Yahoo 輸入法已經停止開發,Windows 10 上比較好一點的輸入法只有 PIME

前一陣子回答了一個 PIME 的問題 大易3碼表缺字 #520

Read more »

Kubuntu執行GTK 程式的怪問題+gcin改dayi三碼表

這個故事有點長,先講結論好了, hime 似乎會影響某些 GTK 程式運作

Read more »