Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG 最新引导似乎没法从闪存拷贝部分内核模块,如it87.ko #4611

Open
bsdcpp opened this issue Dec 13, 2024 · 16 comments
Open

Comments

@bsdcpp
Copy link

bsdcpp commented Dec 13, 2024

请填写以下信息.
Please fill in the following information.

Install ENV: (You can find it in the boot interface.)

  • DMI: dxp 4800plus
  • CPU: 8505
  • NIC: (pid & vid)

RR version: (You can find it in the update menu.)

  • RR: 24.12.4
  • addons: acpid, trivial, mountloader, powersched, reboottoloader, beep, sensors, codecpatch, cpuinfo, smartctl
  • modules: 全选
  • lkms: prod

DSM:

  • model: SA6400
  • version: 7.2 72806

Issue: dd 整盘重做了引导,hdd全部拔掉。按照上述选项编译的引导,插上hdd后启动,发现it87的内核模块无法拷贝到/lib/modules下,/usr/bin/rr-sensors.sh无法加载it87驱动。之前还好的,能正确识别it8613传感器。

logs: dmesg里没看到相关报错

感谢!

(## 因为 log中存在 SN/MAC 等一些敏感信息, 当提供完整文件时请自行抹除他们, 当然你也可以发送到我的邮箱. ##)
(## Because the log contains some sensitive information such as SN/MAC, please delete them when providing the complete file. Of course, you can also send it to my email. ##)
...

(请先看一下#173#175#226 的内容)
(Plz review the content of #173, #175, #226 first)
...

(如果你只是说 XXX 不能用, 什么详细信息也不提供, 我也只能说感谢你的反馈.)
(If you just say XXX doesn't work without providing any details, I can only say thank you for your feedback.)
...

@bsdcpp bsdcpp changed the title BUG 引导不能从闪存拷贝内核模块 BUG 最新引导似乎没法从闪存拷贝部分内核模块,如it87.ko Dec 13, 2024
@naoki66
Copy link

naoki66 commented Dec 14, 2024

反馈,海康R1全新安装后,bug一样

@VictoriousRaptor
Copy link

反馈,同样的问题,SA6400 7.2.1 69057 选择了it87模块,但进入DSM后lsmod看不到it87

@bsdcpp
Copy link
Author

bsdcpp commented Dec 14, 2024

反馈,同样的问题,SA6400 7.2.1 69057 选择了it87模块,但进入DSM后lsmod看不到it87

默认不启用fancontrol脚本(/usr/bin/rr-sensors.sh)的话是不加载的,可以试试以下两条,看看it87可以加载否

modprobe  hwmon-vid
modprobe  it87

我现在是从引导分区里拷贝it87.ko出来,测试可以正确识别,但是不优雅,我记得前几天明明是正常识别的。

@naoki66
Copy link

naoki66 commented Dec 15, 2024

反馈,同样的问题,SA6400 7.2.1 69057 选择了it87模块,但进入DSM后lsmod看不到it87

默认不启用fancontrol脚本(/usr/bin/rr-sensors.sh)的话是不加载的,可以试试以下两条,看看it87可以加载否

modprobe  hwmon-vid
modprobe  it87

我现在是从引导分区里拷贝it87.ko出来,测试可以正确识别,但是不优雅,我记得前几天明明是正常识别的。

我modprobe hwmon-vid和modprobe it87后运行/usr/bin/rr-sensors.sh报错:

Error: file hwmon2/pwm doesn't exist
Error: file hwmon2/pwm doesn't exist
Error: file hwmon2/pwm doesn't exist
Error: file hwmon2/pwm doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist
Error: file hwmon2/fan_input doesn't exist

At least one referenced file is missing. Either some required kernel
modules haven't been loaded, or your configuration file is outdated.
In the latter case, you should run pwmconfig again.

单独运行root@DSM:~# sensors
it8613-isa-0290
Adapter: ISA adapter
in0: 1.21 V (min = +0.00 V, max = +2.81 V)
in1: 1.13 V (min = +0.00 V, max = +2.81 V)
in2: 2.04 V (min = +0.00 V, max = +2.81 V)
in4: 2.04 V (min = +0.00 V, max = +2.81 V)
in5: 2.09 V (min = +0.00 V, max = +2.81 V)
3VSB: 2.86 V (min = +0.00 V, max = +5.61 V)
Vbat: 3.06 V
+3.3V: 3.32 V
fan2: 964 RPM (min = 0 RPM)
fan3: 2385 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
temp1: +38.0°C (low = -128.0°C, high = +127.0°C) sensor = thermal diode
temp2: +37.0°C (low = -128.0°C, high = +127.0°C) sensor = thermal diode
temp3: +49.0°C (low = -128.0°C, high = +127.0°C) sensor = Intel PECI
intrusion0: ALARM

acpitz-acpi-0
Adapter: ACPI interface
temp1: +27.8°C (crit = +110.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +58.0°C (high = +105.0°C, crit = +105.0°C)
Core 0: +58.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +58.0°C (high = +105.0°C, crit = +105.0°C)
Core 2: +58.0°C (high = +105.0°C, crit = +105.0°C)

按提示运行root@DSM:~# pwmconfig
-ash: pwmconfig: command not found

@bsdcpp
Copy link
Author

bsdcpp commented Dec 15, 2024

@naoki66 你这说明没有标题的bug存在,因为你insmod it87.ko正常的,你可以执行find /lib/modules -name 'it87*'看下应该是存在的。你现在都能识别it8613了,只不过你的/etc/fancontrol需要自己修改,因为它没有提供pwmconfig,你可以执行

ls /sys/class/hwmon/hwmon*/fan*_input

去看下hwmon后面的数字是几,几号风扇,自己对应修改好,然后运行rr-sensors.sh就会自动调节了

@naoki66
Copy link

naoki66 commented Dec 15, 2024

@naoki66 你这说明没有标题的bug存在,因为你insmod it87.ko正常的,你可以执行find /lib/modules -name 'it87*'看下应该是存在的。你现在都能识别it8613了,只不过你的/etc/fancontrol需要自己修改,因为它没有提供pwmconfig,你可以执行

ls /sys/class/hwmon/hwmon*/fan*_input

去看下hwmon后面的数字是几,几号风扇,自己对应修改好,然后运行rr-sensors.sh就会自动调节了

但是需要modprobe 才能识别哦,特意去看了下 /lib/modules 下存在这两个驱动,但是似乎没能自动载入。
不执行modprobe 只能看到
acpitz-acpi-0
Adapter: ACPI interface
temp1: +27.8°C (crit = +110.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +58.0°C (high = +105.0°C, crit = +105.0°C)
Core 0: +58.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +58.0°C (high = +105.0°C, crit = +105.0°C)
Core 2: +58.0°C (high = +105.0°C, crit = +105.0°C)

@bsdcpp
Copy link
Author

bsdcpp commented Dec 15, 2024

@naoki66 正常,你可以去定时任务里启用那个fancontrol,默认RR都做好了,你用到了才会加载。

@VictoriousRaptor
Copy link

VictoriousRaptor commented Dec 16, 2024

反馈,同样的问题,SA6400 7.2.1 69057 选择了it87模块,但进入DSM后lsmod看不到it87

默认不启用fancontrol脚本(/usr/bin/rr-sensors.sh)的话是不加载的,可以试试以下两条,看看it87可以加载否

modprobe  hwmon-vid
modprobe  it87

我现在是从引导分区里拷贝it87.ko出来,测试可以正确识别,但是不优雅,我记得前几天明明是正常识别的。

认真看了之后,我的情况可能不太一样,sensors-detect提示找不到传感器。pe进了aida64和hwinfo也没有看到风扇。机型是HP 800 G3 SFF。

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               Yes
Found unknown chip with ID 0x1e11
Probing for Super-I/O at 0x4e/0x4f
root@NAS:~# modprobe it87
modprobe: ERROR: could not insert 'it87': No such device

@bsdcpp
Copy link
Author

bsdcpp commented Dec 16, 2024

@VictoriousRaptor cpu型号呢,是否对应的是it87系支持的列表内传感器。

@VictoriousRaptor
Copy link

VictoriousRaptor commented Dec 16, 2024

@VictoriousRaptor cpu型号呢,是否对应的是it87系支持的列表内传感器。

CPU G4560T,能获取到CPU温度,但没有看到pwm相关传感器。风扇和主板确实是4pin的

root@MyNAS:~# echo y | sensors-detect
# sensors-detect version 3.6.0
# System: HP Synoden
# Board: HP 8299
# Kernel: 5.10.55+ x86_64
# Processor: Intel(R) Pentium(R) CPU G4560T @ 2.90GHz (6/158/9)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): Silicon Integrated Systems SIS5595...
  No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 17h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Hygon Family 18h thermal sensors...                         No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               Yes
Found unknown chip with ID 0x1e11
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): Using driver `i2c-i801' for device 0000:00:1f.4: Kaby Lake (PCH)

Next adapter: SMBus I801 adapter at efa0 (i2c-0)
Do you want to scan it? (YES/no/selectively): Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                No

Next adapter: i915 gmbus dpc (i2c-1)
Do you want to scan it? (yes/NO/selectively):
Next adapter: i915 gmbus dpb (i2c-2)
Do you want to scan it? (yes/NO/selectively):
Next adapter: i915 gmbus dpd (i2c-3)
Do you want to scan it? (yes/NO/selectively):
Next adapter: AUX B/DDI B/PHY B (i2c-4)
Do you want to scan it? (yes/NO/selectively):
Next adapter: AUX C/DDI C/PHY C (i2c-5)
Do you want to scan it? (yes/NO/selectively):
Next adapter: AUX D/DDI D/PHY D (i2c-6)
Do you want to scan it? (yes/NO/selectively):

Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): Copy prog/init/lm_sensors.service to /usr/lib/systemd/system
and run 'systemctl enable lm_sensors.service'
for initialization at boot time.
***************************************************************
Warning: the preferred way to run this script non-interactively
is with option --auto. Other methods are discouraged and may
stop working at some point in the future.
***************************************************************
root@NAS:~# ls /sys/class/hwmon/hwmon0
device  subsystem         temp1_input  temp2_crit        temp2_label  temp3_crit_alarm  temp3_max
name    temp1_crit        temp1_label  temp2_crit_alarm  temp2_max    temp3_input       uevent
power   temp1_crit_alarm  temp1_max    temp2_input       temp3_crit   temp3_label
root@NAS:~# sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +30.0 C  (high = +76.0 C, crit = +92.0 C)
Core 0:        +30.0 C  (high = +76.0 C, crit = +92.0 C)
Core 1:        +28.0 C  (high = +76.0 C, crit = +92.0 C)

@bsdcpp
Copy link
Author

bsdcpp commented Dec 16, 2024

看起来没检测到传感器,你看看bios里是啥,我主板里就是it8613
WechatIMG2350
@VictoriousRaptor

@wjz304
Copy link
Contributor

wjz304 commented Dec 16, 2024

Found unknown chip with ID 0x1e11

@VictoriousRaptor
Copy link

VictoriousRaptor commented Dec 16, 2024

看起来没检测到传感器,你看看bios里是啥,我主板里就是it8613 WechatIMG2350 @VictoriousRaptor

HP品牌的主板,BIOS里面没有这些信息,估计是真没有传感器驱动了,windows pe 下面也看不到。

Google了一下发现这篇文章下面的评论,可能这个型号在linux下是搞不定了。
https://www.servethehome.com/hp-elitedesk-800-g3-mini-ce-review-project-tinyminimicro/4/

@wjz304
Copy link
Contributor

wjz304 commented Dec 18, 2024

modprobe -r it87
modprobe it87 force_id=0x1e11

试试吧

@VictoriousRaptor
Copy link

modprobe -r it87 modprobe it87 force_id=0x1e11

试试吧

modprobe: ERROR: could not insert 'it87': No such device

@wjz304
Copy link
Contributor

wjz304 commented Dec 19, 2024

反正我全网没搜到 0x1e11 是什么设备

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants