Crash caused by invalid sensor data #85

Closed
opened 2019-01-04 18:02:02 -07:00 by 2Shirt · 3 comments
2Shirt commented 2019-01-04 18:02:02 -07:00 (Migrated from gitea.2shirt.work)

Errors from sensors -j:

ERROR: Can't get value of subfeature in0_input: Can't read
ERROR: Can't get value of subfeature fan1_input: Can't read
ERROR: Can't get value of subfeature temp1_input: Can't read
ERROR: Can't get value of subfeature power1_average: Can't read

JSON output:

{   
"amdgpu-pci-0100":{
    "Adapter": "PCI adapter",
    "vddgfx":{

    },
    "fan1":{

    },
    "temp1":{
,
        "temp1_crit": 104000.000,
        "temp1_crit_hyst": -273.150
    },
    "power1":{
,
        "power1_cap": 35.000
    }
},
"pch_skylake-virtual-0":{
    "Adapter": "Virtual device",
    "temp1":{
        "temp1_input": 51.000
    }
},
"ath10k_hwmon-pci-0300":{
    "Adapter": "PCI adapter",
    "temp1":{
        "temp1_input": 53.000
    }
},
"coretemp-isa-0000":{
    "Adapter": "ISA adapter",
    "Package id 0":{
        "temp1_input": 66.000,
        "temp1_max": 100.000,
        "temp1_crit": 100.000,
        "temp1_crit_alarm": 0.000
    },
    "Core 0":{
        "temp2_input": 63.000,
        "temp2_max": 100.000,
        "temp2_crit": 100.000,
        "temp2_crit_alarm": 0.000
    },
    "Core 1":{
        "temp3_input": 66.000,
        "temp3_max": 100.000,
        "temp3_crit": 100.000,
        "temp3_crit_alarm": 0.000
    }
}
}
Errors from `sensors -j`: ERROR: Can't get value of subfeature in0_input: Can't read ERROR: Can't get value of subfeature fan1_input: Can't read ERROR: Can't get value of subfeature temp1_input: Can't read ERROR: Can't get value of subfeature power1_average: Can't read JSON output: { "amdgpu-pci-0100":{ "Adapter": "PCI adapter", "vddgfx":{ }, "fan1":{ }, "temp1":{ , "temp1_crit": 104000.000, "temp1_crit_hyst": -273.150 }, "power1":{ , "power1_cap": 35.000 } }, "pch_skylake-virtual-0":{ "Adapter": "Virtual device", "temp1":{ "temp1_input": 51.000 } }, "ath10k_hwmon-pci-0300":{ "Adapter": "PCI adapter", "temp1":{ "temp1_input": 53.000 } }, "coretemp-isa-0000":{ "Adapter": "ISA adapter", "Package id 0":{ "temp1_input": 66.000, "temp1_max": 100.000, "temp1_crit": 100.000, "temp1_crit_alarm": 0.000 }, "Core 0":{ "temp2_input": 63.000, "temp2_max": 100.000, "temp2_crit": 100.000, "temp2_crit_alarm": 0.000 }, "Core 1":{ "temp3_input": 66.000, "temp3_max": 100.000, "temp3_crit": 100.000, "temp3_crit_alarm": 0.000 } } }
2Shirt commented 2019-01-04 18:02:24 -07:00 (Migrated from gitea.2shirt.work)

Need to figure out if I can keep the valid data while ignoring the invalid data

Need to figure out if I can keep the valid data while ignoring the invalid data
2Shirt commented 2019-01-04 18:08:24 -07:00 (Migrated from gitea.2shirt.work)

sensors plain output:

amdgpu-pci-0100
Adapter: PCI adapter
vddgfx:           N/A
fan1:             N/A
temp1:            N/A  (crit = +104000.0°C, hyst = -273.1°C)
power1:           N/A  (cap =  35.00 W)

pch_skylake-virtual-0
Adapter: Virtual device
temp1:        +39.0°C

ath10k_hwmon-pci-0300
Adapter: PCI adapter
temp1:        +50.0°C

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +42.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +41.0°C  (high = +100.0°C, crit = +100.0°C)
sensors plain output: amdgpu-pci-0100 Adapter: PCI adapter vddgfx: N/A fan1: N/A temp1: N/A (crit = +104000.0°C, hyst = -273.1°C) power1: N/A (cap = 35.00 W) pch_skylake-virtual-0 Adapter: Virtual device temp1: +39.0°C ath10k_hwmon-pci-0300 Adapter: PCI adapter temp1: +50.0°C coretemp-isa-0000 Adapter: ISA adapter Package id 0: +42.0°C (high = +100.0°C, crit = +100.0°C) Core 0: +40.0°C (high = +100.0°C, crit = +100.0°C) Core 1: +41.0°C (high = +100.0°C, crit = +100.0°C)
2Shirt commented 2019-01-06 22:22:06 -07:00 (Migrated from gitea.2shirt.work)

Bug is being tracked upstream here: https://github.com/lm-sensors/lm-sensors/issues/121
Pull request with fix here: https://github.com/lm-sensors/lm-sensors/pull/123

Bug is being tracked upstream here: https://github.com/lm-sensors/lm-sensors/issues/121 Pull request with fix here: https://github.com/lm-sensors/lm-sensors/pull/123
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 2Shirt/WizardKit#85
No description provided.