Jump to content

always67

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by always67

  1. 4 minutes ago, ich777 said:

    You could also use my script in combination with a User Scripts that runs every 10 seconds or something like that, but keep in mind that CPU temps can jump quickly and then fall back quick again, just to keep that in mind.

    Perhaps I can set the CPU fan in the BIOS to adjust based on CPU temperature, and set the chassis fans to adjust based on hard drive temperature. After all, compared to CPU temperature, hard drive temperature changes more slowly.

    • Like 1
  2. 34 minutes ago, ich777 said:

    If my translation software is correct you are facing an issue where you have fans near the CPU and near the HDDs and want to control them independently correct?

     

    From my understanding that is not possible since you can only set one temperature for the fan speeds.

     

    However what should possible if you remove the FAN plugins completely is you can set a static speed for your fans like I do it on my test server.

    You first have to find the correct FAN in your system devices from the terminal, then you have to enable manual fan control (otherwise it will spin down or up again after a short while) and then set the fan speed with a value from 0-255 (where 0 is 0% and 255 is 100%).

     

    In my case I do that with that few lines in my go file:

    # Set CPU FAN speed
    sleep 5
    echo 1 > /sys/devices/platform/nct6775.656/hwmon/hwmon2/pwm2_enable
    sleep 1
    echo 180 > /sys/devices/platform/nct6775.656/hwmon/hwmon2/pwm2

    (please note that this specific configuration is for my system and you have to customize it so that it works with your system)

     

    So to speak, you could also couple that with a user script but I would rather set a static speed for the CPU or the Array and use the plugin for the other fans.

     

    Hope that helps.

    Unfortunately, since CPU scheduling is dynamic, I don't really want to set a static fan speed. Since there is no way to use plugins to control the speeds of individual fans, I guess I'll have to try using a script to control them. Thank you.

  3. 最近把机箱从乔思伯N1换成了射手座。主板从铭瑄H610 ITX换成了B760m,主板有CPU fanx1,system fanx3。使用四把4pin的pwm风扇,两两并联,插在主板system fan1和system fan2,使用system temp和autofan两个插件,加载nct 6775驱动控制风扇转速。射手座机箱主板和硬盘左右分离,左边有CPU风扇和两把机箱风扇,右边是两把机箱风扇。autofan control可以识别到pwm1,pwm2,pwm6和pwm7,并且判断出pwm1是主板侧风扇,pwm2是CPU风扇,pwm6转速为0,推测为system fan3接口(未接风扇),pwm7为硬盘侧风扇。

    现在遇到了问题,如果使用硬盘温度控制转速,会导致CPU温度到90多,风扇都还不转,如果按照教程插件改为CPU温度控制转速,又会导致风扇一直高速运转。而且现在一旦卸载这两个插件,机箱内五把风扇都会满速运转。

    请问各位,有什么办法可以让主板侧的机箱风扇和CPU风扇根据CPU温度调节,硬盘侧的风扇随硬盘温度调节?

  4. 14 hours ago, jinlife said:

    看起来网络配置比较高级,看不懂。Unraid貌似不能支持同时用两网卡互联互通,自带默认的网络配置没有交换机的功能。

    驱动应该没问题的。建议弄个干净的Unraid系统试试,每次只用一个网口。排除系统和硬件的问题。再去研究一下网络配置。

    9 hours ago, JackieWu said:

     

    看了你的 go 文件里面的脚本是为了让 USB 网卡能够实现 2.5G 协商速率吧?

     

    设备丢失估计是因为你使用脚本的原因,你可以参考这个帖子看看有没有用:

     

    其实USB网卡本身是可以正常使用的,问题发生在半虚拟化给虚拟机用的时候,就会出问题。估计是USB网卡不支持虚拟化吧。我现在直通给虚拟机用了,暂时没有问题。

     

  5. On 11/28/2022 at 4:42 PM, jinlife said:

    你可以到U盘看看有没有把i915弄成黑名单了。或者是不是直通了。直通之后Unraid自己就用不了核显了。除非用老的gvt-g或者正在开发中的SR-IOV虚拟技术才能共用。

    6.11.5有非常新的内核,支持12400应该没问题的。

     

    建议做个干净的Unraid启动盘看看情况。 

    大佬,我看到你编译了6.10的内核,能不能编译个6.11.5的呢?我来测试显卡的SR-IOV功能。我看到有人在PVE的5.19内核使用DKMS的方式加载了i915的驱动,直通给Windows 虚拟机成功了。

  6. 自已去官网下载window10(我是windows10成功)
    pve怎么安装windows10,请自行百度,或者看PVE官方教程
    https://pve.proxmox.com/wiki/Windows_10_guest_best_practices
    agent什么类的该装上就装上

    以下需要注意的点
    安装window时
    1、PCI的勾选,先不选主GPU,bios选OVMF,显示标准
    2、安装完之后查看驱动版本

    如果不是这个版本的驱动就去intel官网下载
    https://www.intel.cn/content/www ... ws-dch-drivers.html
    目前测试只有这个驱动版本没有问题

     
    3、开启远程桌面测试一下远程桌面能不能用,然后关机

    4、修改PCI,勾选上主gpu,开机,显示选无
     

    5、3389过去

  7. 1 hour ago, smurofdiarnu said:

    Strange, everywhere else people say they end up with Code 43 in the Windows guest...

     

    Did they mention anything about the driver used in Windows? As in, having to update it manually by downloading the drivers manually from Intel or anything like that?

    The poster said that should use the special driver. Full guide as below:

     

    一、安装5.19内核以及linux-header
    1、安装linux-header
    apt update && apt install pve-headers-5.19.7-2-pve  -y 
    2、安装5.19内核
    apt install pve-kernel-5.19.7-2-pve

    二、安装dkms
    apt install dkms -y

    三、下载i915-sriov-dkms.tar

    本帖隐藏的内容

    链接:https://pan.baidu.com/s/1f97tgQacFl85vP8aKCc1ew?pwd=gxmg 提取码:gxmg 复制这段内容后打开百度网盘手机App,操作更方便哦
    参考了
    https://github.com/strongtz/i915-sriov-dkms



    0、把下载好的包放到pve /root目录下,ssh到pve或者界面shelll 
    1、tar -xvf i915-sriov-dkms.tar 
    2、mv i915-sriov-dkms /usr/src

    四、dkms安装i915
    1、dkms install -m i915-sriov -v dkms
    2、检查一下有没有成功
    dkms status
    正常输出如下
    i915-sriov, dkms, 5.19.7-2-pve, x86_64: installed

    五、修改内核参数
    UEFI如下修改
    找到 /etc/kernel/cmdline 添加 intel_iommu=on i915.enable_guc=7 
    如果intel_iommu=on 已经配置了就不需要了
    更新内核initramfs
    update-initramfs -u -k all
    pve-efiboot-tool refresh
    grub启动的,自行百度

    六、安装sysfsutils
    这个工具方便配置sys的参数
    apt install sysfsutils -y
    添加开启vf的参数
    echo "devices/pci0000:00/0000:00:02.0/sriov_numvfs = 7" > /etc/sysfs.conf


    七、检查系统是否有12代的i915的firmware
    ls /lib/firmware/i915/tgl_guc_70.1.1.bin
    如果不存在就执行下载
    wget -P /lib/firmware/i915 https://git.kernel.org/pub/scm/l ... /tgl_guc_70.1.1.bin
    11代的自行去找
    https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/


    八、重启电脑检查
    dmesg | grep vf

    [    5.004817] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer
    [    5.238952] i915 0000:00:02.0: i915_sriov_probe: gen12_pci_capability_is_vf in
    [    5.238957] i915 0000:00:02.0: pf_verify_readiness: pf_reduce_totalvfs
    [    6.424895] i915 0000:00:02.1: i915_sriov_probe: gen12_pci_capability_is_vf in
    [    6.431447] i915 0000:00:02.2: i915_sriov_probe: gen12_pci_capability_is_vf in
    [    6.436964] i915 0000:00:02.3: i915_sriov_probe: gen12_pci_capability_is_vf in
    [    6.442156] i915 0000:00:02.4: i915_sriov_probe: gen12_pci_capability_is_vf in
    [    6.446980] i915 0000:00:02.5: i915_sriov_probe: gen12_pci_capability_is_vf in
    [    6.451589] i915 0000:00:02.6: i915_sriov_probe: gen12_pci_capability_is_vf in
    [    6.455795] i915 0000:00:02.7: i915_sriov_probe: gen12_pci_capability_is_vf in

    如上输出就正常了
    可以去界面配置直通
    若没有
    dmesg | grep -i guc
    [ 4.112232] i915 0000:00:02.0: Direct firmware load for i915/tgl_guc_70.1.1.bin failed with error -2
    [ 4.112236] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.1.1.bin: fetch failed with error -2
    [ 4.205493] i915 0000:00:02.0: GuC initialization failed -2
    输出类似上面的,说明firmware文件缺少对应的文件,直接按7去执行,再重启就OK

×
×
  • Create New...