未经授权,禁止转载
授权转发如下:
Tank:https://www.mi-d.cn/4666
老高:https://www.bilibili.com/video/BV1eT411D7zb
网站评论使用 Disqus,需要评论请科学上网。
推荐我的黑群晖 i225&i226 驱动:https://github.com/jim3ma/synology-igc
群晖已经发布了 DSM 7.2 beta,目前发布的 SA6400 引导不支持直接升级,请务必不要手动升级。适配 DSM 7.2 的 SA6400 引导驱动完善中,后面择期开放测试。PS: 目前放出来的 SA6400 DSM 7.2 非常非常初期,很多内核参数都是为了 DEBUG 打开的,会导致很多意想不到的问题,请勿升级。
实测 NVMe SSD 支持添加为存储池,具体方法请自行研究
目前群友推测可能是 CPU BUG 所致,可以自行在 PVE 下安装微码补丁,参考英特尔官方文档:https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/tree/main#late-load-update,或者这里:https://blog.lucien.ink/archives/536/
某些网卡无法获取 IP,可能是驱动不全导致的,请自行
随便用客户端创建个 Docker 容器,查看 Token:
'http://192.168.3.125:9999/containers/create?name=hack&ugreen_nas_model=docker&api_token=xxxxGJkMTIyMzM0Y2YxYTBlZTJmZGI2MDhlODE0YjM4YzhiODhkYg%3D%3D'
Token 示例:
xxxxGJkMTIyMzM0Y2YxYTBlZTJmZGI2MDhlODE0YjM4YzhiODhkYg%3D%3D
container.json 文件内容如下:
{
"_query": {
"name": "hack"
},
"name": "hack",
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {},
"Tty": true,
"OpenStdin": true,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/bin/sh"
],
"Healthcheck": {},
"Image": "alpine:latest",
"Volumes": null,
"Entrypoint": null,
"OnBuild": null,
"Labels": null,
"HostConfig": {
"PidMode": "host",
"Privileged": true,
"Devices": [
{
"CgroupPermissions": "mrw",
"PathInContainer": "/dev/dri/renderD128",
"PathOnHost": "/dev/dri/renderD128"
},
{
"CgroupPermissions": "
unexport/i.go
package unexport
var i int
func init() {
i = 2
}
main.go
package main
import (
"fmt"
_ "unsafe"
_ "unexport"
)
//go:linkname I unexport.i
var I int
func main() {
fmt.Println(I)
}
package main
import (
"fmt"
"github.com/alangpierce/go-forceexport"
)
func main() {
var timeNow func() (int64, int32)
err := forceexport.GetFunc(&timeNow, "time.now")
if err != nil {
// Handle errors if you care about name possibly being invalid.
fmt.Println(err)
}
// Calls the actual time.now function.
sec, nsec := timeNow()
fmt.Printf("%v %v", sec, nsec)
}