mafredri / asustor-platform-driver

Linux kernel platform driver for ASUSTOR NAS hardware (leds, buttons)
GNU General Public License v3.0
58 stars 9 forks source link

Thank you. #1

Closed Nullvoid3771 closed 2 years ago

Nullvoid3771 commented 2 years ago

No issue just wanted to say thank you for this driver package it works!. Can confirm pwm and lcd control work as intended on the AS5202T after pwm fix. Unfortunately speed fan inverses the fan control high is low and such meaning I’m stuck using fixed rpm otherwise as the NAS gets hot the fan turns off. You should really try and promote your driver package again now that Asustor customers have been hit with deadbolt on adm one of the big hold backs for people moving to another OS is fan control and led.

Had to create a startup script in /etc/init.d to launch the pwm fix at boot. Didn’t really understand the patch script you had looking at the git.

!/bin/sh

#

rmmod it87 && modprobe it87 fix_pwm_polarity=1

#

And a startup service script under /run/systemd/generator.late/

[Unit] Documentation=man:systemd-sysv-generator(8) SourcePath=/etc/init.d/pwmfix.sh Before=multi-user.target Before=multi-user.target Before=graphical.target After=apport.service After=preload.service After=hddtemp.service After=slapd.service After=nut-client.service After=lightdm.service

[Service] Type=forking Restart=no TimeoutSec=5min IgnoreSIGPIPE=no KillMode=process GuessMainPID=no RemainAfterExit=yes ExecStart=/etc/init.d/pwmfix.sh start ExecStop=/etc/init.d/pwmfix.sh stop

also modified the fancontrol.service under /lib/systemd/system/ changed it so my script runs after the lm-sensors.service so it doesn’t conflict with the fancontrol gui by https://github.com/Maldela/fancontrol-gui

[Unit] Description=fan speed regulator

Run pwmconfig to create this file.

ConditionFileNotEmpty=/etc/fancontrol After=lm-sensors.service After=pwmfix.service Documentation=man:fancontrol(8) man:pwmconfig(8)

[Service] ExecStartPre=/usr/sbin/fancontrol --check ExecStart=/usr/sbin/fancontrol PIDFile=/run/fancontrol.pid

[Install] WantedBy=multi-user.target

mafredri commented 2 years ago

Hi, I'm glad you like it!

Had to create a startup script in /etc/init.d to launch the pwm fix at boot. Didn’t really understand the patch script you had looking at the git.

I understand, I can try to make it easier to use, perhaps include it in this driver. The patch should fix the reverse polarity so I recommend using it.

Nullvoid3771 commented 2 years ago

Ah okay. What I guess I didn’t understand is how to install or launch the patch you made.

mafredri commented 2 years ago

If you want, you can try out the https://github.com/mafredri/asustor-platform-driver/tree/it87 branch. It will build and install a new module called asustor-it87, this essentially replaces (and conflicts with) the in-tree it87 module so you should remove your start-up script for this to work.

Nullvoid3771 commented 2 years ago

for the branch install instructions I would include this otherwise you'll only copy the main.

git clone --branch it87 https://github.com/mafredri/asustor-platform-driver/tree/it87 make sudo make install

Nullvoid3771 commented 2 years ago

ran sudo sensors-detect

sudo sensors

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

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

Fan not found unlike before.

Dmesg however does not indicate a error or any mention of pwm, but pwm fan is also not being detected at all on my AS5202T which uses ITE 8625E similar to it87; I'm running kernal 5.17 on Ubuntu and use sudo modprobe it87 force_id=0x8728 as it similar. I've tried https://github.com/a1wong/it87 however it's too outdated to build without errors.

Fan does still spin on low from boot.

On it8728 I get this:

it8728-isa-0290 Adapter: ISA adapter in0: 1.45 V (min = +0.56 V, max = +1.42 V) ALARM in1: 1.46 V (min = +2.62 V, max = +2.93 V) ALARM in2: 2.24 V (min = +1.36 V, max = +2.72 V) +3.3V: 4.42 V (min = +5.14 V, max = +1.68 V) ALARM in4: 2.11 V (min = +2.59 V, max = +2.78 V) ALARM in5: 2.03 V (min = +1.82 V, max = +0.31 V) ALARM in6: 1.96 V (min = +1.61 V, max = +1.30 V) ALARM 3VSB: 3.62 V (min = +0.67 V, max = +0.22 V) ALARM Vbat: 3.38 V
fan1: 1211 RPM (min = 285 RPM) fan2: 0 RPM (min = 11 RPM) ALARM fan3: 0 RPM (min = 24 RPM) ALARM temp1: -128.0°C (low = -42.0°C, high = +3.0°C) sensor = disabled temp2: -128.0°C (low = +57.0°C, high = +44.0°C) sensor = thermal diode temp3: -128.0°C (low = -43.0°C, high = -74.0°C) sensor = disabled intrusion0: ALARM

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

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

======================

Reviewing the it87.c looks like 8625e isn't included

Supports:

but their is the option of "static unsigned short force_id; module_param(force_id, ushort, 0); MODULE_PARM_DESC(force_id, "Override the detected device ID");"

so maybe I can force the 8625 as 8728 without using modprobe. I create a script usually that's called it87.conf in modprobe.d

options it87 force_id=0x8728

mafredri commented 2 years ago

Indeed IT8625E is not in the kernel which I find a bit peculiar. Perhaps we should use the original driver by groeck (mirrored here https://github.com/a1wong/it87) instead of the one in the linux mainline kernel.

Nullvoid3771 commented 2 years ago

Worth a shot I can provide you with any errors logs if any. I attempted to build his driver myself before but ran into some unusual make install errors.

Nullvoid3771 commented 2 years ago

Another developer seems to have sorted out the issue on the 8625e chip. Haven’t tested it yet. But maybe you might like to have a look.

https://gist.github.com/johndavisnz/bae122274fc6f0e006fdf0bc92fe6237

mafredri commented 2 years ago

It looks like they're using https://github.com/a1wong/it87 with fix_pwm_polarity=1 which requires some modifications to fancontrol (due to inverted polarity). I've found a few other forks that have continued development on the it87 driver and support IT8625E so I'll switch to one of those (in the it87 branch of this project) today or tomorrow. I'll let you know when it's done so you can try it out if you wish.

Nullvoid3771 commented 2 years ago

Sure whenever you get around to I’d appreciate it. No rush

mafredri commented 2 years ago

Just pushed the update to the it87 branch, you can see the updated code and commit message here: https://github.com/mafredri/asustor-platform-driver/commit/295fd3248726b102979eaefe183d011de5198c84.

This is working for me with an IT8728F chip on a 5.15 kernel, let me know how it works with your setup.

Didn't get around to it this weekend like I thought but better late than never 😄.

Nullvoid3771 commented 2 years ago

Afraid it didn't work. maybe I have to remove the old install files? not sure how to clean up the last driver after using sudo make install? I removed the asustor-platform-driver folder to clone the it87 branch then used sudo make and sudo make install and rebooted.

Before doing any of this I removed my scripts.

dmesg doesn't detect pwm fans and voltages so no errors.

~$ sudo sensors [sudo] password for dave: acpitz-acpi-0 Adapter: ACPI interface temp1: +50.0°C (crit = +95.0°C)

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

Nullvoid3771 commented 2 years ago

IT8625E Super I/O chip w/LPC interface says it's in the support list.

Nullvoid3771 commented 2 years ago

I had to use sudo modprobe asustor_it87 force_id=0x8625 then it worked after I did sensors-detect

Nullvoid3771 commented 2 years ago

~$ sensors it8625-isa-0290 Adapter: ISA adapter in0: 1.33 V (min = +0.52 V, max = +1.30 V) ALARM in1: 1.33 V (min = +2.40 V, max = +2.68 V) ALARM in2: 2.07 V (min = +1.24 V, max = +2.50 V) in3: 2.02 V (min = +2.35 V, max = +0.77 V) ALARM in4: 1.95 V (min = +2.38 V, max = +2.55 V) ALARM in5: 1.86 V (min = +1.67 V, max = +0.29 V) ALARM in6: 1.78 V (min = +1.47 V, max = +1.19 V) ALARM 3VSB: 3.32 V (min = +0.62 V, max = +0.20 V) ALARM Vbat: 3.10 V
+3.3V: 3.34 V
fan1: 1207 RPM (min = 285 RPM) fan2: 0 RPM (min = 11 RPM) ALARM fan3: 0 RPM (min = 24 RPM) ALARM temp1: -128.0°C (low = -42.0°C, high = +3.0°C) temp2: -128.0°C (low = +57.0°C, high = +44.0°C) sensor = thermal diode temp3: -128.0°C (low = -43.0°C, high = -74.0°C) intrusion0: ALARM

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

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

Nullvoid3771 commented 2 years ago

Fans work correctly including the speed hot vs cold so it's a matter of the driver triggering over the basic it87 driver the kernel prefers.

Nullvoid3771 commented 2 years ago

Final fix had to load the module by creating a file called asustor_it87.conf in /etc/modules-load.d inside the file just contains asustor_it87

Now on boot it loads the module correctly.

Well looks like you solved the issue on my AS5202T so it seem like everything is functioning correctly including the led brightness. Thank you for spending the time to try and figure this out and expanding supported devices in your asustor platform driver.

mafredri commented 2 years ago

Nice, glad that you managed to sort it out! Can I take it the force_id was no longer required after that last fix?

I'll improve the documentation and then merge it into the main branch.

By the way, is the individual led controls working on your system? One of the modules responsible for that would be gpio-it87. I'm wondering if it has support for your chipset or if we should try to patch it like we did with the hwmon driver.

Speaking of, it would be great to mark your system as officially supported, to do that it would be great if you could provide the info from running the commands in the Support-section of the readme.

Nullvoid3771 commented 2 years ago

Correct the force_id was no longer necessary once I called the correct driver module, leaving it without force tells me it detected the correct chipset.

Led is working correctly on PWM3 however the pwm is inverted I think so on led 100 is off and 0 is on full.

sudo dmesg

[ 0.007461] ACPI: Reserving SSDT table memory at [mem 0x68365000-0x6836774b] [ 0.007463] ACPI: Reserving FPDT table memory at [mem 0x68369000-0x68369043] [ 0.007465] ACPI: Reserving DBGP table memory at [mem 0x68387000-0x68387033] [ 0.007467] ACPI: Reserving DBG2 table memory at [mem 0x68388000-0x68388071] [ 0.007470] ACPI: Reserving DMAR table memory at [mem 0x68386000-0x683860a7] [ 0.007472] ACPI: Reserving WDAT table memory at [mem 0x68371000-0x68371103] [ 0.007474] ACPI: Reserving BGRT table memory at [mem 0x68372000-0x68372037] [ 0.007476] ACPI: Reserving NHLT table memory at [mem 0x68363000-0x68364a4f] [ 0.007704] No NUMA configuration found [ 0.007707] Faking a node at [mem 0x0000000000000000-0x000000027fffffff] [ 0.007725] NODE_DATA(0) allocated [mem 0x27ffd5000-0x27fffffff] [ 0.008290] Zone ranges: [ 0.008292] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.008295] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.008298] Normal [mem 0x0000000100000000-0x000000027fffffff] [ 0.008301] Device empty [ 0.008303] Movable zone start for each node [ 0.008308] Early memory node ranges [ 0.008309] node 0: [mem 0x0000000000001000-0x0000000000057fff] [ 0.008311] node 0: [mem 0x0000000000059000-0x0000000000085fff] [ 0.008313] node 0: [mem 0x0000000000100000-0x000000000fffffff] [ 0.008315] node 0: [mem 0x0000000012151000-0x000000006184ffff] [ 0.008317] node 0: [mem 0x0000000068390000-0x0000000069bfffff] [ 0.008318] node 0: [mem 0x0000000100000000-0x000000027fffffff] [ 0.008322] Initmem setup node 0 [mem 0x0000000000001000-0x000000027fffffff] [ 0.008329] On node 0, zone DMA: 1 pages in unavailable ranges [ 0.008332] On node 0, zone DMA: 1 pages in unavailable ranges [ 0.008386] On node 0, zone DMA: 122 pages in unavailable ranges [ 0.013670] On node 0, zone DMA32: 8529 pages in unavailable ranges [ 0.014287] On node 0, zone DMA32: 27456 pages in unavailable ranges [ 0.035588] On node 0, zone Normal: 25600 pages in unavailable ranges [ 0.035613] Reserving Intel graphics memory at [mem 0x7c000000-0x7fffffff] [ 0.035966] ACPI: PM-Timer IO Port: 0x408 [ 0.035984] ACPI: LAPIC_NMI (acpi_id[0x01] high level lint[0x1]) [ 0.035988] ACPI: LAPIC_NMI (acpi_id[0x02] high level lint[0x1]) [ 0.035990] ACPI: LAPIC_NMI (acpi_id[0x03] high level lint[0x1]) [ 0.035992] ACPI: LAPIC_NMI (acpi_id[0x04] high level lint[0x1]) [ 0.036028] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-119 [ 0.036033] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.036037] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level) [ 0.036043] ACPI: Using ACPI (MADT) for SMP configuration information [ 0.036046] ACPI: HPET id: 0x8086a701 base: 0xfed00000 [ 0.036062] e820: update [mem 0x5f166000-0x5f1a7fff] usable ==> reserved [ 0.036080] TSC deadline timer available [ 0.036082] smpboot: Allowing 4 CPUs, 2 hotplug CPUs [ 0.036123] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.036127] PM: hibernation: Registered nosave memory: [mem 0x00058000-0x00058fff] [ 0.036131] PM: hibernation: Registered nosave memory: [mem 0x00086000-0x000fffff] [ 0.036134] PM: hibernation: Registered nosave memory: [mem 0x10000000-0x12150fff] [ 0.036138] PM: hibernation: Registered nosave memory: [mem 0x58fdf000-0x58fdffff] [ 0.036141] PM: hibernation: Registered nosave memory: [mem 0x58fef000-0x58feffff] [ 0.036145] PM: hibernation: Registered nosave memory: [mem 0x5f166000-0x5f1a7fff] [ 0.036148] PM: hibernation: Registered nosave memory: [mem 0x5f213000-0x5f213fff] [ 0.036152] PM: hibernation: Registered nosave memory: [mem 0x61850000-0x6814ffff] [ 0.036153] PM: hibernation: Registered nosave memory: [mem 0x68150000-0x6834ffff] [ 0.036155] PM: hibernation: Registered nosave memory: [mem 0x68350000-0x6838ffff] [ 0.036158] PM: hibernation: Registered nosave memory: [mem 0x69c00000-0x7fffffff] [ 0.036160] PM: hibernation: Registered nosave memory: [mem 0x80000000-0xd3708fff] [ 0.036161] PM: hibernation: Registered nosave memory: [mem 0xd3709000-0xd3709fff] [ 0.036163] PM: hibernation: Registered nosave memory: [mem 0xd370a000-0xdfffffff] [ 0.036164] PM: hibernation: Registered nosave memory: [mem 0xe0000000-0xe3ffffff] [ 0.036166] PM: hibernation: Registered nosave memory: [mem 0xe4000000-0xfed00fff] [ 0.036167] PM: hibernation: Registered nosave memory: [mem 0xfed01000-0xfed01fff] [ 0.036169] PM: hibernation: Registered nosave memory: [mem 0xfed02000-0xff7fffff] [ 0.036170] PM: hibernation: Registered nosave memory: [mem 0xff800000-0xffffffff] [ 0.036173] [mem 0x80000000-0xd3708fff] available for PCI devices [ 0.036175] Booting paravirtualized kernel on bare hardware [ 0.036180] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns [ 0.036196] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1 [ 0.036637] percpu: Embedded 61 pages/cpu s212992 r8192 d28672 u524288 [ 0.036651] pcpu-alloc: s212992 r8192 d28672 u524288 alloc=1*2097152 [ 0.036655] pcpu-alloc: [0] 0 1 2 3 [ 0.036714] Fallback order for Node 0: 0 [ 0.036721] Built 1 zonelists, mobility grouping on. Total pages: 1938993 [ 0.036723] Policy zone: Normal [ 0.036726] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-5.17.0-051700rc8-generic root=UUID=d209b2de-149d-41c5-a517-cfc82c32ddd8 ro rootflags=subvol=@ acpi_enforce_resources=lax quiet splash zswap.enable=1 zswap.compressor=lz4 zswap.max_pool_percent=20 zswap.zpool=z3fold vt.handoff=7 [ 0.036901] Unknown kernel command line parameters "splash BOOT_IMAGE=/@/boot/vmlinuz-5.17.0-051700rc8-generic", will be passed to user space. [ 0.038162] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.038804] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.038880] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.091625] Memory: 7455720K/7879628K available (16392K kernel code, 4478K rwdata, 10908K rodata, 2760K init, 4892K bss, 423648K reserved, 0K cma-reserved) [ 0.091639] random: get_random_u64 called from kmem_cache_open+0x2b/0x360 with crng_init=1 [ 0.091863] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.091884] ftrace: allocating 51183 entries in 200 pages [ 0.102998] ftrace: allocated 200 pages with 3 groups [ 0.104162] Dynamic Preempt: voluntary [ 0.104208] rcu: Preemptible hierarchical RCU implementation. [ 0.104210] rcu: RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4. [ 0.104213] Trampoline variant of Tasks RCU enabled. [ 0.104214] Rude variant of Tasks RCU enabled. [ 0.104215] Tracing variant of Tasks RCU enabled. [ 0.104216] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.104218] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.110811] NR_IRQS: 524544, nr_irqs: 1024, preallocated irqs: 16 [ 0.111315] random: crng init done (trusting CPU's manufacturer) [ 0.111360] Console: colour dummy device 80x25 [ 0.111393] printk: console [tty0] enabled [ 0.111426] ACPI: Core revision 20211217 [ 0.111766] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 99544814920 ns [ 0.111858] APIC: Switch to symmetric I/O mode setup [ 0.111862] DMAR: Host address width 39 [ 0.111864] DMAR: DRHD base: 0x000000fed64000 flags: 0x0 [ 0.111873] DMAR: dmar0: reg_base_addr fed64000 ver 1:0 cap 1c0000c40660462 ecap 9e2ff0505e [ 0.111877] DMAR: DRHD base: 0x000000fed65000 flags: 0x1 [ 0.111885] DMAR: dmar1: reg_base_addr fed65000 ver 1:0 cap d2008c40660462 ecap f050da [ 0.111889] DMAR: RMRR base: 0x0000006811a000 end: 0x00000068139fff [ 0.111893] DMAR: RMRR base: 0x0000007b800000 end: 0x0000007fffffff [ 0.111896] DMAR-IR: IOAPIC id 1 under DRHD base 0xfed65000 IOMMU 1 [ 0.111899] DMAR-IR: HPET id 0 under DRHD base 0xfed65000 [ 0.111901] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping. [ 0.113908] DMAR-IR: Enabled IRQ remapping in x2apic mode [ 0.113912] x2apic enabled [ 0.113935] Switched APIC routing to cluster x2apic. [ 0.118501] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.135822] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x3990bec8342, max_idle_ns: 881590769617 ns [ 0.135837] Calibrating delay loop (skipped), value calculated using timer frequency.. 3993.60 BogoMIPS (lpj=7987200) [ 0.135842] pid_max: default: 32768 minimum: 301 [ 0.139886] LSM: Security Framework initializing [ 0.139912] landlock: Up and running. [ 0.139913] Yama: becoming mindful. [ 0.139961] AppArmor: AppArmor initialized [ 0.140019] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.140044] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.140428] x86/cpu: User Mode Instruction Prevention (UMIP) activated [ 0.140541] process: using mwait in idle threads [ 0.140545] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.140547] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.140557] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 0.140561] Spectre V2 : Mitigation: Enhanced IBRS [ 0.140563] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.140567] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 0.140569] Speculative Store Bypass: Vulnerable [ 0.150589] Freeing SMP alternatives memory: 40K [ 0.151973] smpboot: Estimated ratio of average max frequency by base frequency (times 1024): 1484 [ 0.151994] smpboot: CPU0: Intel(R) Celeron(R) J4025 CPU @ 2.00GHz (family: 0x6, model: 0x7a, stepping: 0x8) [ 0.152238] cblist_init_generic: Setting adjustable number of callback queues. [ 0.152242] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.152271] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.152305] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.152335] Performance Events: PEBS fmt3+, Goldmont plus events, 32-deep LBR, full-width counters, Intel PMU driver. [ 0.152381] ... version: 4 [ 0.152382] ... bit width: 48 [ 0.152383] ... generic registers: 4 [ 0.152384] ... value mask: 0000ffffffffffff [ 0.152386] ... max period: 00007fffffffffff [ 0.152387] ... fixed-purpose events: 3 [ 0.152388] ... event mask: 000000070000000f [ 0.152525] rcu: Hierarchical SRCU implementation. [ 0.153484] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter. [ 0.153597] smp: Bringing up secondary CPUs ... [ 0.153803] x86: Booting SMP configuration: [ 0.153805] .... node #0, CPUs: #1 [ 0.154881] smp: Brought up 1 node, 2 CPUs [ 0.154881] smpboot: Max logical packages: 2 [ 0.154881] smpboot: Total of 2 processors activated (7987.20 BogoMIPS) [ 0.155881] devtmpfs: initialized [ 0.155929] x86/mm: Memory block size: 128MB [ 0.157017] ACPI: PM: Registering ACPI NVS region [mem 0x68150000-0x6834ffff] (2097152 bytes) [ 0.157017] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.157017] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.157017] pinctrl core: initialized pinctrl subsystem [ 0.157017] PM: RTC time: 09:08:12, date: 2022-03-22 [ 0.157017] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.157017] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations [ 0.157120] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.157280] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.157296] audit: initializing netlink subsys (disabled) [ 0.157296] audit: type=2000 audit(1647940092.044:1): state=initialized audit_enabled=0 res=1 [ 0.157296] thermal_sys: Registered thermal governor 'fair_share' [ 0.157296] thermal_sys: Registered thermal governor 'bang_bang' [ 0.157296] thermal_sys: Registered thermal governor 'step_wise' [ 0.157296] thermal_sys: Registered thermal governor 'user_space' [ 0.157296] thermal_sys: Registered thermal governor 'power_allocator' [ 0.157296] EISA bus registered [ 0.157296] cpuidle: using governor ladder [ 0.157296] cpuidle: using governor menu [ 0.157296] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.157296] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000) [ 0.157296] PCI: MMCONFIG at [mem 0xe0000000-0xe3ffffff] reserved in E820 [ 0.157296] PCI: Using configuration type 1 for base access [ 0.161769] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.161780] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.161780] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.161780] ACPI: Added _OSI(Module Device) [ 0.161780] ACPI: Added _OSI(Processor Device) [ 0.161780] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.161780] ACPI: Added _OSI(Processor Aggregator Device) [ 0.161780] ACPI: Added _OSI(Linux-Dell-Video) [ 0.161780] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.161780] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.175941] ACPI: 10 ACPI AML tables successfully acquired and loaded [ 0.180755] ACPI: Dynamic OEM Table Load: [ 0.180770] ACPI: SSDT 0xFFFF91818026D000 000102 (v02 PmRef Cpu0Cst 00003001 INTL 20130117) [ 0.184277] ACPI: Dynamic OEM Table Load: [ 0.184289] ACPI: SSDT 0xFFFF91818026C200 00015F (v02 PmRef ApIst 00003000 INTL 20130117) [ 0.185329] ACPI: Dynamic OEM Table Load: [ 0.185340] ACPI: SSDT 0xFFFF918180DB2900 00008D (v02 PmRef ApCst 00003000 INTL 20130117) [ 0.186991] ACPI: Interpreter enabled [ 0.187036] ACPI: PM: (supports S0 S3 S4 S5) [ 0.187039] ACPI: Using IOAPIC for interrupt routing [ 0.187097] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.187618] ACPI: Enabled 12 GPEs in block 00 to 7F [ 0.189121] ACPI: PM: Power Resource [DRST] [ 0.189537] ACPI: PM: Power Resource [DRST] [ 0.189977] ACPI: PM: Power Resource [DRST] [ 0.190400] ACPI: PM: Power Resource [DRST] [ 0.190833] ACPI: PM: Power Resource [DRST] [ 0.191246] ACPI: PM: Power Resource [DRST] [ 0.199889] ACPI: PM: Power Resource [WRST] [ 0.205924] ACPI: PM: Power Resource [FN00] [ 0.206632] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.206645] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] [ 0.208204] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR] [ 0.208229] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge [ 0.209430] PCI host bridge to bus 0000:00 [ 0.209434] pci_bus 0000:00: root bus resource [io 0x0070-0x0077] [ 0.209437] pci_bus 0000:00: root bus resource [io 0x0000-0x006f window] [ 0.209440] pci_bus 0000:00: root bus resource [io 0x0078-0x0cf7 window] [ 0.209442] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.209445] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000fffff window] [ 0.209447] pci_bus 0000:00: root bus resource [mem 0x7c000001-0xbfffffff window] [ 0.209450] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff window] [ 0.209452] pci_bus 0000:00: root bus resource [mem 0xfea00000-0xfeafffff window] [ 0.209454] pci_bus 0000:00: root bus resource [mem 0xfed00000-0xfed003ff window] [ 0.209456] pci_bus 0000:00: root bus resource [mem 0xfed01000-0xfed01fff window] [ 0.209459] pci_bus 0000:00: root bus resource [mem 0xfed03000-0xfed03fff window] [ 0.209461] pci_bus 0000:00: root bus resource [mem 0xfed06000-0xfed06fff window] [ 0.209464] pci_bus 0000:00: root bus resource [mem 0xfed08000-0xfed09fff window] [ 0.209466] pci_bus 0000:00: root bus resource [mem 0xfed80000-0xfedbffff window] [ 0.209468] pci_bus 0000:00: root bus resource [mem 0xfed1c000-0xfed1cfff window] [ 0.209471] pci_bus 0000:00: root bus resource [mem 0xfee00000-0xfeefffff window] [ 0.209474] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.209501] pci 0000:00:00.0: [8086:31f0] type 00 class 0x060000 [ 0.209668] pci 0000:00:00.3: [8086:3190] type 00 class 0x088000 [ 0.209684] pci 0000:00:00.3: reg 0x10: [mem 0xa1318000-0xa1318fff 64bit] [ 0.209810] pci 0000:00:02.0: [8086:3185] type 00 class 0x030000 [ 0.209821] pci 0000:00:02.0: reg 0x10: [mem 0xa0000000-0xa0ffffff 64bit] [ 0.209829] pci 0000:00:02.0: reg 0x18: [mem 0x90000000-0x9fffffff 64bit pref] [ 0.209835] pci 0000:00:02.0: reg 0x20: [io 0x3000-0x303f] [ 0.209857] pci 0000:00:02.0: BAR 2: assigned to efifb [ 0.209863] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 0.210197] pci 0000:00:0e.0: [8086:3198] type 00 class 0x040380 [ 0.210220] pci 0000:00:0e.0: reg 0x10: [mem 0xa1310000-0xa1313fff 64bit] [ 0.210245] pci 0000:00:0e.0: reg 0x20: [mem 0xa1000000-0xa10fffff 64bit] [ 0.210304] pci 0000:00:0e.0: PME# supported from D0 D3hot D3cold [ 0.210771] pci 0000:00:0f.0: [8086:319a] type 00 class 0x078000 [ 0.210799] pci 0000:00:0f.0: reg 0x10: [mem 0xa1319000-0xa1319fff 64bit] [ 0.210901] pci 0000:00:0f.0: PME# supported from D3hot [ 0.211010] pci 0000:00:11.0: [8086:31a2] type 00 class 0x005007 [ 0.211040] pci 0000:00:11.0: reg 0x10: [mem 0xa1314000-0xa1315fff 64bit] [ 0.211060] pci 0000:00:11.0: reg 0x18: [mem 0xa131a000-0xa131afff 64bit] [ 0.211395] pci 0000:00:12.0: [8086:31e3] type 00 class 0x010601 [ 0.211409] pci 0000:00:12.0: reg 0x10: [mem 0xa1316000-0xa1317fff] [ 0.211418] pci 0000:00:12.0: reg 0x14: [mem 0xa133f000-0xa133f0ff] [ 0.211427] pci 0000:00:12.0: reg 0x18: [io 0x3080-0x3087] [ 0.211436] pci 0000:00:12.0: reg 0x1c: [io 0x3088-0x308b] [ 0.211444] pci 0000:00:12.0: reg 0x20: [io 0x3060-0x307f] [ 0.211452] pci 0000:00:12.0: reg 0x24: [mem 0xa133d000-0xa133d7ff] [ 0.211493] pci 0000:00:12.0: PME# supported from D3hot [ 0.211601] pci 0000:00:13.0: [8086:31d8] type 01 class 0x060400 [ 0.211693] pci 0000:00:13.0: PME# supported from D0 D3hot D3cold [ 0.211825] pci 0000:00:13.1: [8086:31d9] type 01 class 0x060400 [ 0.211895] pci 0000:00:13.1: PME# supported from D0 D3hot D3cold [ 0.212026] pci 0000:00:13.2: [8086:31da] type 01 class 0x060400 [ 0.212099] pci 0000:00:13.2: PME# supported from D0 D3hot D3cold [ 0.212230] pci 0000:00:13.3: [8086:31db] type 01 class 0x060400 [ 0.212301] pci 0000:00:13.3: PME# supported from D0 D3hot D3cold [ 0.212453] pci 0000:00:14.0: [8086:31d6] type 01 class 0x060400 [ 0.212552] pci 0000:00:14.0: PME# supported from D0 D3hot D3cold [ 0.212716] pci 0000:00:14.1: [8086:31d7] type 01 class 0x060400 [ 0.212817] pci 0000:00:14.1: PME# supported from D0 D3hot D3cold [ 0.212986] pci 0000:00:15.0: [8086:31a8] type 00 class 0x0c0330 [ 0.213004] pci 0000:00:15.0: reg 0x10: [mem 0xa1300000-0xa130ffff 64bit] [ 0.213072] pci 0000:00:15.0: PME# supported from D3hot D3cold [ 0.213230] pci 0000:00:16.0: [8086:31ac] type 00 class 0x118000 [ 0.213250] pci 0000:00:16.0: reg 0x10: [mem 0xa131b000-0xa131bfff 64bit] [ 0.213265] pci 0000:00:16.0: reg 0x18: [mem 0xa131c000-0xa131cfff 64bit] [ 0.213419] pci 0000:00:16.1: [8086:31ae] type 00 class 0x118000 [ 0.213439] pci 0000:00:16.1: reg 0x10: [mem 0xa131d000-0xa131dfff 64bit] [ 0.213454] pci 0000:00:16.1: reg 0x18: [mem 0xa131e000-0xa131efff 64bit] [ 0.213603] pci 0000:00:16.2: [8086:31b0] type 00 class 0x118000 [ 0.213624] pci 0000:00:16.2: reg 0x10: [mem 0xa131f000-0xa131ffff 64bit] [ 0.213639] pci 0000:00:16.2: reg 0x18: [mem 0xa1320000-0xa1320fff 64bit] [ 0.213790] pci 0000:00:16.3: [8086:31b2] type 00 class 0x118000 [ 0.213812] pci 0000:00:16.3: reg 0x10: [mem 0xa1321000-0xa1321fff 64bit] [ 0.213827] pci 0000:00:16.3: reg 0x18: [mem 0xa1322000-0xa1322fff 64bit] [ 0.213991] pci 0000:00:17.0: [8086:31b4] type 00 class 0x118000 [ 0.214012] pci 0000:00:17.0: reg 0x10: [mem 0xa1323000-0xa1323fff 64bit] [ 0.214027] pci 0000:00:17.0: reg 0x18: [mem 0xa1324000-0xa1324fff 64bit] [ 0.214178] pci 0000:00:17.1: [8086:31b6] type 00 class 0x118000 [ 0.214198] pci 0000:00:17.1: reg 0x10: [mem 0xa1325000-0xa1325fff 64bit] [ 0.214213] pci 0000:00:17.1: reg 0x18: [mem 0xa1326000-0xa1326fff 64bit] [ 0.214390] pci 0000:00:17.2: [8086:31b8] type 00 class 0x118000 [ 0.214411] pci 0000:00:17.2: reg 0x10: [mem 0xa1327000-0xa1327fff 64bit] [ 0.214425] pci 0000:00:17.2: reg 0x18: [mem 0xa1328000-0xa1328fff 64bit] [ 0.214575] pci 0000:00:17.3: [8086:31ba] type 00 class 0x118000 [ 0.214597] pci 0000:00:17.3: reg 0x10: [mem 0xa1329000-0xa1329fff 64bit] [ 0.214610] pci 0000:00:17.3: reg 0x18: [mem 0xa132a000-0xa132afff 64bit] [ 0.214777] pci 0000:00:18.0: [8086:31bc] type 00 class 0x118000 [ 0.214797] pci 0000:00:18.0: reg 0x10: [mem 0xa132b000-0xa132bfff 64bit] [ 0.214810] pci 0000:00:18.0: reg 0x18: [mem 0xa132c000-0xa132cfff 64bit] [ 0.214977] pci 0000:00:18.1: [8086:31be] type 00 class 0x118000 [ 0.214998] pci 0000:00:18.1: reg 0x10: [mem 0xa132d000-0xa132dfff 64bit] [ 0.215012] pci 0000:00:18.1: reg 0x18: [mem 0xa132e000-0xa132efff 64bit] [ 0.215167] pci 0000:00:18.2: [8086:31c0] type 00 class 0x118000 [ 0.215187] pci 0000:00:18.2: reg 0x10: [mem 0xa132f000-0xa132ffff 64bit] [ 0.215202] pci 0000:00:18.2: reg 0x18: [mem 0xa1330000-0xa1330fff 64bit] [ 0.215355] pci 0000:00:18.3: [8086:31ee] type 00 class 0x118000 [ 0.215375] pci 0000:00:18.3: reg 0x10: [mem 0xa1331000-0xa1331fff 64bit] [ 0.215389] pci 0000:00:18.3: reg 0x18: [mem 0xa1332000-0xa1332fff 64bit] [ 0.215555] pci 0000:00:19.0: [8086:31c2] type 00 class 0x118000 [ 0.215575] pci 0000:00:19.0: reg 0x10: [mem 0xa1333000-0xa1333fff 64bit] [ 0.215589] pci 0000:00:19.0: reg 0x18: [mem 0xa1334000-0xa1334fff 64bit] [ 0.215741] pci 0000:00:19.1: [8086:31c4] type 00 class 0x118000 [ 0.215761] pci 0000:00:19.1: reg 0x10: [mem 0xa1335000-0xa1335fff 64bit] [ 0.215775] pci 0000:00:19.1: reg 0x18: [mem 0xa1336000-0xa1336fff 64bit] [ 0.215931] pci 0000:00:19.2: [8086:31c6] type 00 class 0x118000 [ 0.215951] pci 0000:00:19.2: reg 0x10: [mem 0xa1337000-0xa1337fff 64bit] [ 0.215987] pci 0000:00:19.2: reg 0x18: [mem 0xa1338000-0xa1338fff 64bit] [ 0.216164] pci 0000:00:1c.0: [8086:31cc] type 00 class 0x080501 [ 0.216185] pci 0000:00:1c.0: reg 0x10: [mem 0xa1339000-0xa1339fff 64bit] [ 0.216198] pci 0000:00:1c.0: reg 0x18: [mem 0xa133a000-0xa133afff 64bit] [ 0.216520] pci 0000:00:1e.0: [8086:31d0] type 00 class 0x080501 [ 0.216541] pci 0000:00:1e.0: reg 0x10: [mem 0xa133b000-0xa133bfff 64bit] [ 0.216556] pci 0000:00:1e.0: reg 0x18: [mem 0xa133c000-0xa133cfff 64bit] [ 0.216714] pci 0000:00:1f.0: [8086:31e8] type 00 class 0x060100 [ 0.216949] pci 0000:00:1f.1: [8086:31d4] type 00 class 0x0c0500 [ 0.217035] pci 0000:00:1f.1: reg 0x10: [mem 0xa133e000-0xa133e0ff 64bit] [ 0.217113] pci 0000:00:1f.1: reg 0x20: [io 0x3040-0x305f] [ 0.217328] pci 0000:00:13.0: PCI bridge to [bus 01] [ 0.217412] pci 0000:02:00.0: [10ec:8125] type 00 class 0x020000 [ 0.217431] pci 0000:02:00.0: reg 0x10: [io 0x2000-0x20ff] [ 0.217455] pci 0000:02:00.0: reg 0x18: [mem 0xa1200000-0xa120ffff 64bit] [ 0.217472] pci 0000:02:00.0: reg 0x20: [mem 0xa1210000-0xa1213fff 64bit] [ 0.217599] pci 0000:02:00.0: supports D1 D2 [ 0.217601] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.217658] pci 0000:02:00.0: reg 0x1b4: [mem 0x00000000-0x0000ffff 64bit] [ 0.217661] pci 0000:02:00.0: VF(n) BAR2 space: [mem 0x00000000-0x0006ffff 64bit] (contains BAR2 for 7 VFs) [ 0.217677] pci 0000:02:00.0: reg 0x1bc: [mem 0x00000000-0x00003fff 64bit] [ 0.217679] pci 0000:02:00.0: VF(n) BAR4 space: [mem 0x00000000-0x0001bfff 64bit] (contains BAR4 for 7 VFs) [ 0.217874] pci 0000:00:13.1: PCI bridge to [bus 02] [ 0.217880] pci 0000:00:13.1: bridge window [io 0x2000-0x2fff] [ 0.217884] pci 0000:00:13.1: bridge window [mem 0xa1200000-0xa12fffff] [ 0.217962] pci 0000:03:00.0: [10ec:8125] type 00 class 0x020000 [ 0.217982] pci 0000:03:00.0: reg 0x10: [io 0x1000-0x10ff] [ 0.218006] pci 0000:03:00.0: reg 0x18: [mem 0xa1100000-0xa110ffff 64bit] [ 0.218021] pci 0000:03:00.0: reg 0x20: [mem 0xa1110000-0xa1113fff 64bit] [ 0.218154] pci 0000:03:00.0: supports D1 D2 [ 0.218156] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.218216] pci 0000:03:00.0: reg 0x1b4: [mem 0x00000000-0x0000ffff 64bit] [ 0.218219] pci 0000:03:00.0: VF(n) BAR2 space: [mem 0x00000000-0x0006ffff 64bit] (contains BAR2 for 7 VFs) [ 0.218234] pci 0000:03:00.0: reg 0x1bc: [mem 0x00000000-0x00003fff 64bit] [ 0.218236] pci 0000:03:00.0: VF(n) BAR4 space: [mem 0x00000000-0x0001bfff 64bit] (contains BAR4 for 7 VFs) [ 0.218432] pci 0000:00:13.2: PCI bridge to [bus 03] [ 0.218437] pci 0000:00:13.2: bridge window [io 0x1000-0x1fff] [ 0.218441] pci 0000:00:13.2: bridge window [mem 0xa1100000-0xa11fffff] [ 0.218499] pci 0000:00:13.3: PCI bridge to [bus 04] [ 0.218571] pci 0000:00:14.0: PCI bridge to [bus 05] [ 0.218642] pci 0000:00:14.1: PCI bridge to [bus 06] [ 0.219882] ACPI: PCI: Interrupt link LNKA configured for IRQ 0 [ 0.219886] ACPI: PCI: Interrupt link LNKA disabled [ 0.220031] ACPI: PCI: Interrupt link LNKB configured for IRQ 0 [ 0.220034] ACPI: PCI: Interrupt link LNKB disabled [ 0.220177] ACPI: PCI: Interrupt link LNKC configured for IRQ 0 [ 0.220179] ACPI: PCI: Interrupt link LNKC disabled [ 0.220328] ACPI: PCI: Interrupt link LNKD configured for IRQ 0 [ 0.220330] ACPI: PCI: Interrupt link LNKD disabled [ 0.220473] ACPI: PCI: Interrupt link LNKE configured for IRQ 0 [ 0.220476] ACPI: PCI: Interrupt link LNKE disabled [ 0.220617] ACPI: PCI: Interrupt link LNKF configured for IRQ 0 [ 0.220620] ACPI: PCI: Interrupt link LNKF disabled [ 0.220761] ACPI: PCI: Interrupt link LNKG configured for IRQ 0 [ 0.220764] ACPI: PCI: Interrupt link LNKG disabled [ 0.220906] ACPI: PCI: Interrupt link LNKH configured for IRQ 0 [ 0.220910] ACPI: PCI: Interrupt link LNKH disabled [ 0.224336] iommu: Default domain type: Translated [ 0.224336] iommu: DMA domain TLB invalidation policy: lazy mode [ 0.224336] pci 0000:00:02.0: vgaarb: setting as boot VGA device [ 0.224336] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 0.224336] pci 0000:00:02.0: vgaarb: bridge control possible [ 0.224336] vgaarb: loaded [ 0.224336] SCSI subsystem initialized [ 0.224336] libata version 3.00 loaded. [ 0.224336] ACPI: bus type USB registered [ 0.224336] usbcore: registered new interface driver usbfs [ 0.224336] usbcore: registered new interface driver hub [ 0.224336] usbcore: registered new device driver usb [ 0.224336] pps_core: LinuxPPS API ver. 1 registered [ 0.224336] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.224336] PTP clock support registered [ 0.224336] EDAC MC: Ver: 3.0.0 [ 0.224336] Registered efivars operations [ 0.224336] NetLabel: Initializing [ 0.224336] NetLabel: domain hash size = 128 [ 0.224336] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.224336] NetLabel: unlabeled traffic allowed by default [ 0.224336] mctp: management component transport protocol core [ 0.224336] NET: Registered PF_MCTP protocol family [ 0.224336] PCI: Using ACPI for IRQ routing [ 0.231833] PCI: pci_cache_line_size set to 64 bytes [ 0.231833] Expanded resource Reserved due to conflict with PCI Bus 0000:00 [ 0.231833] e820: reserve RAM buffer [mem 0x00058000-0x0005ffff] [ 0.231833] e820: reserve RAM buffer [mem 0x00086000-0x0008ffff] [ 0.231833] e820: reserve RAM buffer [mem 0x58fdf018-0x5bffffff] [ 0.231833] e820: reserve RAM buffer [mem 0x5f166000-0x5fffffff] [ 0.231833] e820: reserve RAM buffer [mem 0x5f213000-0x5fffffff] [ 0.231833] e820: reserve RAM buffer [mem 0x61850000-0x63ffffff] [ 0.231833] e820: reserve RAM buffer [mem 0x69c00000-0x6bffffff] [ 0.231966] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0 [ 0.231979] hpet0: 8 comparators, 64-bit 19.200000 MHz counter [ 0.234068] clocksource: Switched to clocksource tsc-early [ 0.249392] VFS: Disk quotas dquot_6.6.0 [ 0.249413] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.249610] AppArmor: AppArmor Filesystem Enabled [ 0.249687] pnp: PnP ACPI init [ 0.249850] system 00:00: [io 0x0680-0x069f] has been reserved [ 0.249856] system 00:00: [io 0x0400-0x047f] could not be reserved [ 0.249859] system 00:00: [io 0x0500-0x05fe] has been reserved [ 0.250840] system 00:02: [mem 0xe0000000-0xefffffff] could not be reserved [ 0.250845] system 00:02: [mem 0xfea00000-0xfeafffff] has been reserved [ 0.250848] system 00:02: [mem 0xfed01000-0xfed01fff] has been reserved [ 0.250851] system 00:02: [mem 0xfed03000-0xfed03fff] has been reserved [ 0.250853] system 00:02: [mem 0xfed06000-0xfed06fff] has been reserved [ 0.250856] system 00:02: [mem 0xfed08000-0xfed09fff] has been reserved [ 0.250859] system 00:02: [mem 0xfed80000-0xfedbffff] has been reserved [ 0.250861] system 00:02: [mem 0xfed1c000-0xfed1cfff] has been reserved [ 0.250864] system 00:02: [mem 0xfee00000-0xfeefffff] has been reserved [ 0.251551] pnp: PnP ACPI: found 4 devices [ 0.258159] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.258242] NET: Registered PF_INET protocol family [ 0.258426] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.260469] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.260582] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.260892] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear) [ 0.261044] TCP: Hash tables configured (established 65536 bind 65536) [ 0.261153] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear) [ 0.261210] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.261254] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.261323] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.261332] NET: Registered PF_XDP protocol family [ 0.261348] pci_bus 0000:00: max bus depth: 1 pci_try_num: 2 [ 0.261374] pci 0000:00:13.0: PCI bridge to [bus 01] [ 0.261392] pci 0000:02:00.0: BAR 9: assigned [mem 0xa1220000-0xa128ffff 64bit] [ 0.261403] pci 0000:02:00.0: BAR 11: assigned [mem 0xa1290000-0xa12abfff 64bit] [ 0.261410] pci 0000:00:13.1: PCI bridge to [bus 02] [ 0.261414] pci 0000:00:13.1: bridge window [io 0x2000-0x2fff] [ 0.261419] pci 0000:00:13.1: bridge window [mem 0xa1200000-0xa12fffff] [ 0.261428] pci 0000:03:00.0: BAR 9: assigned [mem 0xa1120000-0xa118ffff 64bit] [ 0.261436] pci 0000:03:00.0: BAR 11: assigned [mem 0xa1190000-0xa11abfff 64bit] [ 0.261442] pci 0000:00:13.2: PCI bridge to [bus 03] [ 0.261446] pci 0000:00:13.2: bridge window [io 0x1000-0x1fff] [ 0.261450] pci 0000:00:13.2: bridge window [mem 0xa1100000-0xa11fffff] [ 0.261457] pci 0000:00:13.3: PCI bridge to [bus 04] [ 0.261467] pci 0000:00:14.0: PCI bridge to [bus 05] [ 0.261482] pci 0000:00:14.1: PCI bridge to [bus 06] [ 0.261492] pci_bus 0000:00: resource 4 [io 0x0070-0x0077] [ 0.261495] pci_bus 0000:00: resource 5 [io 0x0000-0x006f window] [ 0.261497] pci_bus 0000:00: resource 6 [io 0x0078-0x0cf7 window] [ 0.261499] pci_bus 0000:00: resource 7 [io 0x0d00-0xffff window] [ 0.261502] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000fffff window] [ 0.261504] pci_bus 0000:00: resource 9 [mem 0x7c000001-0xbfffffff window] [ 0.261506] pci_bus 0000:00: resource 10 [mem 0xe0000000-0xefffffff window] [ 0.261509] pci_bus 0000:00: resource 11 [mem 0xfea00000-0xfeafffff window] [ 0.261511] pci_bus 0000:00: resource 12 [mem 0xfed00000-0xfed003ff window] [ 0.261514] pci_bus 0000:00: resource 13 [mem 0xfed01000-0xfed01fff window] [ 0.261516] pci_bus 0000:00: resource 14 [mem 0xfed03000-0xfed03fff window] [ 0.261518] pci_bus 0000:00: resource 15 [mem 0xfed06000-0xfed06fff window] [ 0.261520] pci_bus 0000:00: resource 16 [mem 0xfed08000-0xfed09fff window] [ 0.261523] pci_bus 0000:00: resource 17 [mem 0xfed80000-0xfedbffff window] [ 0.261525] pci_bus 0000:00: resource 18 [mem 0xfed1c000-0xfed1cfff window] [ 0.261527] pci_bus 0000:00: resource 19 [mem 0xfee00000-0xfeefffff window] [ 0.261530] pci_bus 0000:02: resource 0 [io 0x2000-0x2fff] [ 0.261532] pci_bus 0000:02: resource 1 [mem 0xa1200000-0xa12fffff] [ 0.261535] pci_bus 0000:03: resource 0 [io 0x1000-0x1fff] [ 0.261537] pci_bus 0000:03: resource 1 [mem 0xa1100000-0xa11fffff] [ 0.263550] PCI: CLS 64 bytes, default 64 [ 0.263594] DMAR: No ATSR found [ 0.263596] DMAR: No SATC found [ 0.263599] DMAR: IOMMU feature fl1gp_support inconsistent [ 0.263601] DMAR: IOMMU feature pgsel_inv inconsistent [ 0.263602] DMAR: IOMMU feature nwfs inconsistent [ 0.263603] DMAR: IOMMU feature eafs inconsistent [ 0.263605] DMAR: IOMMU feature prs inconsistent [ 0.263606] DMAR: IOMMU feature nest inconsistent [ 0.263607] DMAR: IOMMU feature mts inconsistent [ 0.263608] DMAR: IOMMU feature sc_support inconsistent [ 0.263609] DMAR: IOMMU feature dev_iotlb_support inconsistent [ 0.263611] DMAR: dmar0: Using Queued invalidation [ 0.263616] DMAR: dmar1: Using Queued invalidation [ 0.263683] Trying to unpack rootfs image as initramfs... [ 0.263824] pci 0000:00:00.0: Adding to iommu group 0 [ 0.263887] pci 0000:00:00.3: Adding to iommu group 0 [ 0.263907] pci 0000:00:02.0: Adding to iommu group 1 [ 0.263951] pci 0000:00:0e.0: Adding to iommu group 2 [ 0.263971] pci 0000:00:0f.0: Adding to iommu group 3 [ 0.263987] pci 0000:00:11.0: Adding to iommu group 4 [ 0.264002] pci 0000:00:12.0: Adding to iommu group 5 [ 0.264019] pci 0000:00:13.0: Adding to iommu group 6 [ 0.264036] pci 0000:00:13.1: Adding to iommu group 7 [ 0.264057] pci 0000:00:13.2: Adding to iommu group 8 [ 0.264074] pci 0000:00:13.3: Adding to iommu group 9 [ 0.264101] pci 0000:00:14.0: Adding to iommu group 10 [ 0.264122] pci 0000:00:14.1: Adding to iommu group 11 [ 0.264143] pci 0000:00:15.0: Adding to iommu group 12 [ 0.264180] pci 0000:00:16.0: Adding to iommu group 13 [ 0.264195] pci 0000:00:16.1: Adding to iommu group 13 [ 0.264210] pci 0000:00:16.2: Adding to iommu group 13 [ 0.264225] pci 0000:00:16.3: Adding to iommu group 13 [ 0.264260] pci 0000:00:17.0: Adding to iommu group 14 [ 0.264277] pci 0000:00:17.1: Adding to iommu group 14 [ 0.264292] pci 0000:00:17.2: Adding to iommu group 14 [ 0.264307] pci 0000:00:17.3: Adding to iommu group 14 [ 0.264345] pci 0000:00:18.0: Adding to iommu group 15 [ 0.264362] pci 0000:00:18.1: Adding to iommu group 15 [ 0.264377] pci 0000:00:18.2: Adding to iommu group 15 [ 0.264392] pci 0000:00:18.3: Adding to iommu group 15 [ 0.264425] pci 0000:00:19.0: Adding to iommu group 16 [ 0.264442] pci 0000:00:19.1: Adding to iommu group 16 [ 0.264458] pci 0000:00:19.2: Adding to iommu group 16 [ 0.264473] pci 0000:00:1c.0: Adding to iommu group 17 [ 0.264487] pci 0000:00:1e.0: Adding to iommu group 18 [ 0.264514] pci 0000:00:1f.0: Adding to iommu group 19 [ 0.264531] pci 0000:00:1f.1: Adding to iommu group 19 [ 0.264549] pci 0000:02:00.0: Adding to iommu group 20 [ 0.264565] pci 0000:03:00.0: Adding to iommu group 21 [ 0.267265] DMAR: Intel(R) Virtualization Technology for Directed I/O [ 0.267270] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 0.267271] software IO TLB: mapped [mem 0x000000005a8e4000-0x000000005e8e4000] (64MB) [ 0.267428] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x3990bec8342, max_idle_ns: 881590769617 ns [ 0.267849] clocksource: Switched to clocksource tsc [ 0.267860] sgx: There are zero EPC sections. [ 0.267868] fbcon: Taking over console [ 0.268449] Initialise system trusted keyrings [ 0.268462] Key type blacklist registered [ 0.268563] workingset: timestamp_bits=36 max_order=21 bucket_order=0 [ 0.270466] zbud: loaded [ 0.270919] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.271146] fuse: init (API version 7.36) [ 0.271340] integrity: Platform Keyring initialized [ 0.282863] Key type asymmetric registered [ 0.282870] Asymmetric key parser 'x509' registered [ 1.532179] Freeing initrd memory: 114680K [ 1.538108] alg: self-tests for CTR-KDF (hmac(sha256)) passed [ 1.538155] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 1.538224] io scheduler mq-deadline registered [ 1.538920] pcieport 0000:00:13.0: PME: Signaling with IRQ 122 [ 1.539227] pcieport 0000:00:13.1: PME: Signaling with IRQ 123 [ 1.539505] pcieport 0000:00:13.2: PME: Signaling with IRQ 124 [ 1.539768] pcieport 0000:00:13.3: PME: Signaling with IRQ 125 [ 1.540061] pcieport 0000:00:14.0: PME: Signaling with IRQ 126 [ 1.540355] pcieport 0000:00:14.1: PME: Signaling with IRQ 127 [ 1.540503] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 1.540920] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 1.540981] ACPI: button: Power Button [PWRF] [ 1.543534] thermal LNXTHERM:00: registered as thermal_zone0 [ 1.543538] ACPI: thermal: Thermal Zone [TZ01] (39 C) [ 1.543820] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 1.564771] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 1.586635] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 1.589427] Linux agpgart interface v0.103 [ 1.600125] loop: module loaded [ 1.600579] tun: Universal TUN/TAP device driver, 1.6 [ 1.600653] PPP generic driver version 2.4.2 [ 1.600794] VFIO - User Level meta-driver version: 0.3 [ 1.600952] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.600959] ehci-pci: EHCI PCI platform driver [ 1.600973] ehci-platform: EHCI generic platform driver [ 1.600983] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.600987] ohci-pci: OHCI PCI platform driver [ 1.601001] ohci-platform: OHCI generic platform driver [ 1.601010] uhci_hcd: USB Universal Host Controller Interface driver [ 1.601070] i8042: PNP: No PS/2 controller found. [ 1.601072] i8042: Probing ports directly. [ 1.602128] i8042: No controller found [ 1.602215] mousedev: PS/2 mouse device common for all mice [ 1.602355] rtc_cmos 00:03: RTC can wake from S4 [ 1.603183] rtc_cmos 00:03: registered as rtc0 [ 1.603316] rtc_cmos 00:03: setting system clock to 2022-03-22T09:08:14 UTC (1647940094) [ 1.603342] rtc_cmos 00:03: alarms up to one month, y3k, 242 bytes nvram, hpet irqs [ 1.603356] i2c_dev: i2c /dev entries driver [ 1.603384] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log. [ 1.603415] device-mapper: uevent: version 1.0.3 [ 1.603488] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com [ 1.603515] platform eisa.0: Probing EISA bus 0 [ 1.603519] platform eisa.0: EISA: Cannot allocate resource for mainboard [ 1.603522] platform eisa.0: Cannot allocate resource for EISA slot 1 [ 1.603524] platform eisa.0: Cannot allocate resource for EISA slot 2 [ 1.603526] platform eisa.0: Cannot allocate resource for EISA slot 3 [ 1.603528] platform eisa.0: Cannot allocate resource for EISA slot 4 [ 1.603529] platform eisa.0: Cannot allocate resource for EISA slot 5 [ 1.603531] platform eisa.0: Cannot allocate resource for EISA slot 6 [ 1.603533] platform eisa.0: Cannot allocate resource for EISA slot 7 [ 1.603535] platform eisa.0: Cannot allocate resource for EISA slot 8 [ 1.603537] platform eisa.0: EISA: Detected 0 cards [ 1.603548] intel_pstate: Intel P-state driver initializing [ 1.603854] ledtrig-cpu: registered to indicate activity on CPUs [ 1.603890] EFI Variables Facility v0.08 2004-May-17 [ 1.652619] drop_monitor: Initializing network drop monitor service [ 1.652809] NET: Registered PF_INET6 protocol family [ 1.657812] Segment Routing with IPv6 [ 1.657833] In-situ OAM (IOAM) with IPv6 [ 1.657868] NET: Registered PF_PACKET protocol family [ 1.657931] Key type dns_resolver registered [ 1.658258] microcode: sig=0x706a8, pf=0x1, revision=0x0 [ 1.658303] microcode: Microcode Update Driver: v2.2. [ 1.658344] resctrl: L2 allocation detected [ 1.658351] IPI shorthand broadcast: enabled [ 1.658362] sched_clock: Marking stable (1657676521, 648467)->(1661520990, -3196002) [ 1.658503] registered taskstats version 1 [ 1.658546] Loading compiled-in X.509 certificates [ 1.659613] Loaded X.509 cert 'Build time autogenerated kernel key: 873fc027e3e5df5485ae8b3bc232b0521c2ac59f' [ 1.660478] Loaded X.509 cert 'Canonical Ltd. Live Patch Signing: 14df34d1a87cf37625abec039ef2bf521249b969' [ 1.661331] Loaded X.509 cert 'Canonical Ltd. Kernel Module Signing: 88f752e560a1e0737e31163a466ad7b70a850c19' [ 1.661333] blacklist: Loading compiled-in revocation X.509 certificates [ 1.661355] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing: 61482aa2830d0ab2ad5af10b7250da9033ddcef0' [ 1.690973] zswap: loaded using pool lz4/z3fold [ 1.691176] Key type ._fscrypt registered [ 1.691178] Key type .fscrypt registered [ 1.691179] Key type fscrypt-provisioning registered [ 1.691277] Key type trusted registered [ 1.695465] Key type encrypted registered [ 1.695474] AppArmor: AppArmor sha1 policy hashing enabled [ 1.699033] Loading compiled-in module X.509 certificates [ 1.699955] Loaded X.509 cert 'Build time autogenerated kernel key: 873fc027e3e5df5485ae8b3bc232b0521c2ac59f' [ 1.699959] ima: Allocated hash algorithm: sha1 [ 1.733080] ima: No architecture policies found [ 1.733122] evm: Initialising EVM extended attributes: [ 1.733123] evm: security.selinux [ 1.733125] evm: security.SMACK64 [ 1.733126] evm: security.SMACK64EXEC [ 1.733127] evm: security.SMACK64TRANSMUTE [ 1.733128] evm: security.SMACK64MMAP [ 1.733128] evm: security.apparmor [ 1.733129] evm: security.ima [ 1.733130] evm: security.capability [ 1.733131] evm: HMAC attrs: 0x1 [ 1.736095] PM: Magic number: 14:651:121 [ 1.736383] RAS: Correctable Errors collector initialized. [ 1.737847] Freeing unused decrypted memory: 2036K [ 1.738432] Freeing unused kernel image (initmem) memory: 2760K [ 1.756112] Write protecting the kernel read-only data: 30720k [ 1.756942] Freeing unused kernel image (text/rodata gap) memory: 2036K [ 1.757261] Freeing unused kernel image (rodata/data gap) memory: 1380K [ 1.779240] x86/mm: Checked W+X mappings: passed, no W+X pages found. [ 1.779251] Run /init as init process [ 1.779253] with arguments: [ 1.779255] /init [ 1.779256] splash [ 1.779258] with environment: [ 1.779259] HOME=/ [ 1.779260] TERM=linux [ 1.779261] BOOT_IMAGE=/@/boot/vmlinuz-5.17.0-051700rc8-generic [ 1.995563] idma64 idma64.0: Found Intel integrated DMA 64-bit [ 2.005061] xhci_hcd 0000:00:15.0: xHCI Host Controller [ 2.005072] xhci_hcd 0000:00:15.0: new USB bus registered, assigned bus number 1 [ 2.006176] xhci_hcd 0000:00:15.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000000009810 [ 2.009467] idma64 idma64.1: Found Intel integrated DMA 64-bit [ 2.021664] r8169 0000:02:00.0 eth0: RTL8125A, 24:4b:fe:83:9f:5b, XID 609, IRQ 129 [ 2.021673] r8169 0000:02:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko] [ 2.023035] idma64 idma64.2: Found Intel integrated DMA 64-bit [ 2.027468] ahci 0000:00:12.0: version 3.0 [ 2.028587] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.17 [ 2.028592] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.028594] usb usb1: Product: xHCI Host Controller [ 2.028596] usb usb1: Manufacturer: Linux 5.17.0-051700rc8-generic xhci-hcd [ 2.028598] usb usb1: SerialNumber: 0000:00:15.0 [ 2.030146] ACPI: bus type drm_connector registered [ 2.030303] hub 1-0:1.0: USB hub found [ 2.030319] hub 1-0:1.0: 9 ports detected [ 2.034578] xhci_hcd 0000:00:15.0: xHCI Host Controller [ 2.034584] xhci_hcd 0000:00:15.0: new USB bus registered, assigned bus number 2 [ 2.034589] xhci_hcd 0000:00:15.0: Host supports USB 3.0 SuperSpeed [ 2.034662] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.17 [ 2.034665] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.034667] usb usb2: Product: xHCI Host Controller [ 2.034668] usb usb2: Manufacturer: Linux 5.17.0-051700rc8-generic xhci-hcd [ 2.034670] usb usb2: SerialNumber: 0000:00:15.0 [ 2.034764] hub 2-0:1.0: USB hub found [ 2.034779] hub 2-0:1.0: 7 ports detected [ 2.035078] idma64 idma64.3: Found Intel integrated DMA 64-bit [ 2.038635] ahci 0000:00:12.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode [ 2.038639] ahci 0000:00:12.0: flags: 64bit ncq sntf pm clo only pmp pio slum part deso sadm sds apst [ 2.040654] idma64 idma64.4: Found Intel integrated DMA 64-bit [ 2.045377] r8169 0000:03:00.0 eth1: RTL8125A, 24:4b:fe:83:9f:5c, XID 609, IRQ 131 [ 2.045385] r8169 0000:03:00.0 eth1: jumbo features [frames: 9194 bytes, tx checksumming: ko] [ 2.052339] idma64 idma64.5: Found Intel integrated DMA 64-bit [ 2.054003] scsi host0: ahci [ 2.055996] scsi host1: ahci [ 2.056053] ata1: SATA max UDMA/133 abar m2048@0xa133d000 port 0xa133d100 irq 130 [ 2.056057] ata2: SATA max UDMA/133 abar m2048@0xa133d000 port 0xa133d180 irq 130 [ 2.058179] idma64 idma64.6: Found Intel integrated DMA 64-bit [ 2.063049] idma64 idma64.7: Found Intel integrated DMA 64-bit [ 2.064654] sdhci: Secure Digital Host Controller Interface driver [ 2.064656] sdhci: Copyright(c) Pierre Ossman [ 2.066244] idma64 idma64.8: Found Intel integrated DMA 64-bit [ 2.066668] idma64 idma64.9: Found Intel integrated DMA 64-bit [ 2.067586] idma64 idma64.12: Found Intel integrated DMA 64-bit [ 2.068149] idma64 idma64.13: Found Intel integrated DMA 64-bit [ 2.068481] idma64 idma64.14: Found Intel integrated DMA 64-bit [ 2.287877] usb 1-1: new full-speed USB device number 2 using xhci_hcd [ 2.440774] usb 1-1: New USB device found, idVendor=045e, idProduct=0800, bcdDevice= 9.34 [ 2.440778] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.440780] usb 1-1: Product: Microsoft® Nano Transceiver v2.0 [ 2.440782] usb 1-1: Manufacturer: Microsoft [ 2.531884] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2.531906] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2.532660] ata1.00: supports DRM functions and may not be fully accessible [ 2.532663] ata1.00: ATA-10: CT1000MX500SSD1, M3CR043, max UDMA/133 [ 2.532746] ata2.00: supports DRM functions and may not be fully accessible [ 2.532749] ata2.00: ATA-10: CT1000MX500SSD1, M3CR023, max UDMA/133 [ 2.532754] ata1.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA [ 2.532775] ata2.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA [ 2.533658] ata2.00: Features: Trust Dev-Sleep [ 2.533667] ata1.00: Features: Trust Dev-Sleep [ 2.533847] ata2.00: supports DRM functions and may not be fully accessible [ 2.533858] ata1.00: supports DRM functions and may not be fully accessible [ 2.534631] ata2.00: configured for UDMA/133 [ 2.534646] ata1.00: configured for UDMA/133 [ 2.534779] scsi 0:0:0:0: Direct-Access ATA CT1000MX500SSD1 043 PQ: 0 ANSI: 5 [ 2.535061] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) [ 2.535064] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 2.535076] sd 0:0:0:0: [sda] Write Protect is off [ 2.535079] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 2.535097] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.535350] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 2.535463] scsi 1:0:0:0: Direct-Access ATA CT1000MX500SSD1 023 PQ: 0 ANSI: 5 [ 2.535675] scsi 1:0:0:0: Attached scsi generic sg1 type 0 [ 2.535807] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) [ 2.535818] sd 1:0:0:0: [sdb] Write Protect is off [ 2.535820] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 2.535848] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.553237] sdb: sdb1 sdb2 sdb3 sdb4 [ 2.564100] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd [ 2.568080] sd 1:0:0:0: [sdb] supports TCG Opal [ 2.568083] sd 1:0:0:0: [sdb] Attached SCSI disk [ 2.589348] usb 2-2: New USB device found, idVendor=1c04, idProduct=0015, bcdDevice= 1.01 [ 2.589352] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.589354] usb 2-2: Product: Pacific\xef\xbf\xbf [ 2.589355] usb 2-2: Manufacturer: QNAP\xef\xbf\xbf [ 2.589357] usb 2-2: SerialNumber: 16I00471 [ 2.711872] usb 1-3: new low-speed USB device number 3 using xhci_hcd [ 2.815304] sda: sda1 [ 2.846834] sd 0:0:0:0: [sda] supports TCG Opal [ 2.846837] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.849324] sdhci-pci 0000:00:1c.0: SDHCI controller found [8086:31cc] (rev 6) [ 2.849814] mmc0: CQHCI version 5.10 [ 2.849991] mmc0: SDHCI controller on PCI [0000:00:1c.0] using ADMA 64-bit [ 2.850025] sdhci-pci 0000:00:1e.0: SDHCI controller found [8086:31d0] (rev 6) [ 2.850368] mmc1: SDHCI controller on PCI [0000:00:1e.0] using ADMA 64-bit [ 2.855633] i801_smbus 0000:00:1f.1: SPD Write Disable is set [ 2.855708] i801_smbus 0000:00:1f.1: SMBus using PCI interrupt [ 2.855881] i2c i2c-8: 2/2 memory slots populated (from DMI) [ 2.856371] i2c i2c-8: Successfully instantiated SPD at 0x50 [ 2.895024] usb 1-3: New USB device found, idVendor=051d, idProduct=0002, bcdDevice= 1.06 [ 2.895032] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 2.895034] usb 1-3: Product: Back-UPS ES 550G FW:904.W1 .D USB FW:W1 [ 2.895036] usb 1-3: Manufacturer: APC [ 2.895038] usb 1-3: SerialNumber: 4B1312P28125
[ 2.919504] mmc0: Command Queue Engine enabled [ 2.919522] mmc0: new HS400 MMC card at address 0001 [ 2.925080] i915 0000:00:02.0: [drm] Unknown revid 0x06 [ 2.925521] i915 0000:00:02.0: [drm] VT-d active for gfx access [ 2.925526] i915 0000:00:02.0: vgaarb: deactivate vga console [ 2.925606] i915 0000:00:02.0: [drm] Transparent Hugepage mode 'huge=within_size' [ 2.925687] i915 0000:00:02.0: [drm] couldn't get memory information [ 2.925850] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 2.926840] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4) [ 3.054407] r8169 0000:02:00.0 enp2s0: renamed from eth0 [ 3.079224] r8169 0000:03:00.0 enp3s0: renamed from eth1 [ 3.113001] hid: raw HID events driver (C) Jiri Kosina [ 3.119984] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB [ 3.125172] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0 [ 3.144474] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no) [ 3.146030] acpi device:4d: registered as cooling_device3 [ 3.146111] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input1 [ 3.146966] usbcore: registered new interface driver cdc_ether [ 3.150384] usbcore: registered new interface driver aqc111 [ 3.162916] aqc111 2-2:1.0 eth0: register 'aqc111' at usb-0000:00:15.0-2, QNAP QNA-UC5G1T USB to 5GbE Adapter, 24:5e:be:65:52:41 [ 3.178174] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 3.178181] GPT:1007615 != 15269887 [ 3.178183] GPT:Alternate GPT header not at the end of the disk. [ 3.178184] GPT:1007615 != 15269887 [ 3.178185] GPT: Use GNU Parted to correct GPT errors. [ 3.178194] mmcblk0: p1 p2 p3 [ 3.178515] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB [ 3.178829] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB [ 3.179128] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (235:0) [ 3.266737] usbcore: registered new interface driver usbhid [ 3.266744] usbhid: USB HID core driver [ 3.369918] fbcon: i915drmfb (fb0) is primary device [ 3.397755] Console: switching to colour frame buffer device 240x67 [ 3.419370] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device [ 3.433061] md0: detected capacity change from 0 to 2977947648 [ 3.440804] input: Microsoft Microsoft® Nano Transceiver v2.0 as /devices/pci0000:00/0000:00:15.0/usb1/1-1/1-1:1.0/0003:045E:0800.0001/input/input2 [ 3.443262] md0: AHDI p1 p3 p4 [ 3.443278] md0: p1 size 3076180188 extends beyond EOD, truncated [ 3.446047] md0: p3 start 3383028990 is beyond EOD, truncated [ 3.446052] md0: p4 size 3202014317 extends beyond EOD, truncated [ 3.448699] aqc111 2-2:1.0 enx245ebe655241: renamed from eth0 [ 3.500230] hid-generic 0003:045E:0800.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:00:15.0-1/input0 [ 3.502563] input: Microsoft Microsoft® Nano Transceiver v2.0 Mouse as /devices/pci0000:00/0000:00:15.0/usb1/1-1/1-1:1.1/0003:045E:0800.0002/input/input3 [ 3.502830] input: Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control as /devices/pci0000:00/0000:00:15.0/usb1/1-1/1-1:1.1/0003:045E:0800.0002/input/input4 [ 3.503134] hid-generic 0003:045E:0800.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:00:15.0-1/input1 [ 3.504122] input: Microsoft Microsoft® Nano Transceiver v2.0 Consumer Control as /devices/pci0000:00/0000:00:15.0/usb1/1-1/1-1:1.2/0003:045E:0800.0003/input/input5 [ 3.564462] input: Microsoft Microsoft® Nano Transceiver v2.0 System Control as /devices/pci0000:00/0000:00:15.0/usb1/1-1/1-1:1.2/0003:045E:0800.0003/input/input7 [ 3.565445] hid-generic 0003:045E:0800.0003: input,hiddev0,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:00:15.0-1/input2 [ 3.566443] hid-generic 0003:051D:0002.0004: hiddev1,hidraw3: USB HID v1.10 Device [APC Back-UPS ES 550G FW:904.W1 .D USB FW:W1 ] on usb-0000:00:15.0-3/input0 [ 12.112108] intel_ish_ipc 0000:00:11.0: [ishtp-ish]: Timed out waiting for FW-initiated reset [ 12.112238] intel_ish_ipc 0000:00:11.0: ISH: hw start failed. [ 12.315862] raid6: sse2x4 gen() 10746 MB/s [ 12.383862] raid6: sse2x2 gen() 10878 MB/s [ 12.451863] raid6: sse2x1 gen() 8777 MB/s [ 12.451865] raid6: using algorithm sse2x2 gen() 10878 MB/s [ 12.519864] raid6: .... xor() 6880 MB/s, rmw enabled [ 12.519865] raid6: using ssse3x2 recovery algorithm [ 12.521087] xor: measuring software checksum speed [ 12.521730] prefetch64-sse : 15359 MB/sec [ 12.522479] generic_sse : 13143 MB/sec [ 12.522483] xor: using function: prefetch64-sse (15359 MB/sec) [ 12.523578] async_tx: api initialized (async) [ 12.684179] Btrfs loaded, crc32c=crc32c-intel, zoned=yes, fsverity=yes [ 12.789207] BTRFS: device label NAS devid 1 transid 50244 /dev/md0p1 scanned by btrfs (354) [ 12.789388] BTRFS: device fsid d209b2de-149d-41c5-a517-cfc82c32ddd8 devid 1 transid 595800 /dev/sdb3 scanned by btrfs (354) [ 12.817800] BTRFS info (device sdb3): flagging fs with big metadata feature [ 12.817810] BTRFS info (device sdb3): disk space caching is enabled [ 12.817811] BTRFS info (device sdb3): has skinny extents [ 12.865714] BTRFS info (device sdb3): enabling ssd optimizations [ 13.086513] systemd[1]: RTC configured in localtime, applying delta of -240 minutes to system time. [ 13.112018] systemd[1]: Inserted module 'autofs4' [ 13.237395] systemd[1]: systemd 249.11-0ubuntu1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 13.256401] systemd[1]: Detected architecture x86-64. [ 13.518837] systemd[1]: /lib/systemd/system/clamav-freshclam.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 13.519101] systemd[1]: /lib/systemd/system/clamav-daemon.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 13.521582] systemd[1]: /etc/systemd/system/amptasks.service:10: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed. [ 13.563518] systemd[1]: Queued start job for default target Graphical Interface. [ 13.585479] systemd[1]: Created slice Slice /hostcritical. [ 13.586716] systemd[1]: Created slice Slice /system/modprobe. [ 13.587339] systemd[1]: Created slice Slice /system/systemd-fsck. [ 13.587774] systemd[1]: Created slice User and Session Slice. [ 13.587909] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 13.588221] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 13.588397] systemd[1]: Reached target User and Group Name Lookups. [ 13.588440] systemd[1]: Reached target Slice Units. [ 13.588484] systemd[1]: Reached target Local Verity Protected Volumes. [ 13.592800] systemd[1]: Listening on RPCbind Server Activation Socket. [ 13.593357] systemd[1]: Listening on Syslog Socket. [ 13.593518] systemd[1]: Listening on fsck to fsckd communication Socket. [ 13.593610] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 13.593876] systemd[1]: Listening on Journal Audit Socket. [ 13.594024] systemd[1]: Listening on Journal Socket (/dev/log). [ 13.594235] systemd[1]: Listening on Journal Socket. [ 13.594474] systemd[1]: Listening on udev Control Socket. [ 13.594629] systemd[1]: Listening on udev Kernel Socket. [ 13.595779] systemd[1]: Mounting Huge Pages File System... [ 13.596957] systemd[1]: Mounting POSIX Message Queue File System... [ 13.598184] systemd[1]: Mounting NFSD configuration filesystem... [ 13.601591] systemd[1]: Mounting Kernel Debug File System... [ 13.602838] systemd[1]: Mounting Kernel Trace File System... [ 13.605284] systemd[1]: Starting Journal Service... [ 13.605528] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped. [ 13.609656] systemd[1]: Starting Set the console keyboard layout... [ 13.611061] systemd[1]: Starting Create List of Static Device Nodes... [ 13.613090] systemd[1]: Starting Load Kernel Module configfs... [ 13.614958] systemd[1]: Starting Load Kernel Module drm... [ 13.620598] systemd[1]: Starting Load Kernel Module fuse... [ 13.621048] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 13.632315] systemd[1]: Starting Load Kernel Modules... [ 13.634235] systemd[1]: Starting Remount Root and Kernel File Systems... [ 13.639909] systemd[1]: Starting Coldplug All udev Devices... [ 13.643301] systemd[1]: Mounted Huge Pages File System. [ 13.643620] systemd[1]: Mounted POSIX Message Queue File System. [ 13.643886] systemd[1]: Mounted Kernel Debug File System. [ 13.644096] systemd[1]: Mounted Kernel Trace File System. [ 13.644671] systemd[1]: Finished Create List of Static Device Nodes. [ 13.645189] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 13.645472] systemd[1]: Finished Load Kernel Module configfs. [ 13.645866] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 13.646162] systemd[1]: Finished Load Kernel Module drm. [ 13.646554] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 13.646827] systemd[1]: Finished Load Kernel Module fuse. [ 13.658990] systemd[1]: Mounting FUSE Control File System... [ 13.661838] systemd[1]: Mounting Kernel Configuration File System... [ 13.662921] lp: driver loaded but no devices found [ 13.667153] systemd[1]: Mounted FUSE Control File System. [ 13.667352] systemd[1]: Mounted Kernel Configuration File System. [ 13.668952] RPC: Registered named UNIX socket transport module. [ 13.668957] RPC: Registered udp transport module. [ 13.668958] RPC: Registered tcp transport module. [ 13.668959] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 13.671911] ppdev: user-space parallel port driver [ 13.689581] BTRFS info (device sdb3): disk space caching is enabled [ 13.691679] systemd[1]: Finished Remount Root and Kernel File Systems. [ 13.692111] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped. [ 13.693610] systemd[1]: Starting Load/Save Random Seed... [ 13.695095] systemd[1]: Starting Create System Users... [ 13.719218] IPMI message handler: version 39.2 [ 13.746094] systemd[1]: Finished Load/Save Random Seed. [ 13.746454] systemd[1]: Condition check resulted in First Boot Complete being skipped. [ 13.752590] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 13.753559] ipmi device interface [ 13.755344] systemd[1]: Mounted NFSD configuration filesystem. [ 13.775875] asustor_it87: loading out-of-tree module taints kernel. [ 13.780641] asustor_it87: module verification failed: signature and/or required key missing - tainting kernel [ 13.796117] asustor_it87: Found IT8625E chip at 0x290, revision 8 [ 13.796202] asustor_it87: Beeping is supported [ 13.819801] systemd[1]: Finished Create System Users. [ 13.833226] systemd[1]: Starting Create Static Device Nodes in /dev... [ 13.861111] systemd[1]: Finished Load Kernel Modules. [ 13.862868] systemd[1]: Starting Apply Kernel Variables... [ 13.866872] systemd[1]: Finished Create Static Device Nodes in /dev. [ 13.870519] systemd[1]: Starting Rule-based Manager for Device Events and Files... [ 13.870757] systemd[1]: Started Journal Service. [ 13.896487] systemd-journald[449]: Received client request to flush runtime journal. [ 13.898764] systemd-journald[449]: File /var/log/journal/98abb93351124e37a0132b15be46e701/system.journal corrupted or uncleanly shut down, renaming and replacing. [ 15.381036] dw-apb-uart.8: ttyS4 at MMIO 0xa132b000 (irq = 54, base_baud = 115200) is a 16550A [ 15.404256] dw-apb-uart.9: ttyS5 at MMIO 0xa132d000 (irq = 55, base_baud = 115200) is a 16550A [ 15.424212] dw-apb-uart.10: ttyS6 at MMIO 0xa132f000 (irq = 6, base_baud = 115200) is a 16550A [ 15.445753] dw-apb-uart.11: ttyS7 at MMIO 0xa1331000 (irq = 57, base_baud = 115200) is a 16550A [ 15.448622] ee1004 8-0050: 512 byte EE1004-compliant SPD EEPROM, read-only [ 15.499226] pstore: Using crash dump compression: deflate [ 15.499250] pstore: Registered efi as persistent store backend [ 15.551681] RAPL PMU: API unit is 2^-32 Joules, 4 fixed counters, 655360 ms ovfl timer [ 15.551689] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules [ 15.551690] RAPL PMU: hw unit of domain package 2^-14 Joules [ 15.551691] RAPL PMU: hw unit of domain dram 2^-14 Joules [ 15.551692] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules [ 15.560953] cryptd: max_cpu_qlen set to 1000 [ 15.592512] SSE version of gcm_enc/dec engaged. [ 15.782930] intel_telemetry_core Init [ 15.804440] snd_hda_intel 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040380 [ 15.804762] snd_hda_intel 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 15.821600] Invalid pltconfig, ensure IPC1 device is enabled in BIOS [ 15.849909] Invalid pltconfig, ensure IPC1 device is enabled in BIOS [ 15.895888] mei_hdcp 0000:00:0f.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915]) [ 15.992556] intel_rapl_common: Found RAPL domain package [ 15.992575] intel_rapl_common: Found RAPL domain core [ 15.992577] intel_rapl_common: Found RAPL domain uncore [ 15.992580] intel_rapl_common: Found RAPL domain dram [ 16.012415] Adding 7834620k swap on /dev/sdb1. Priority:-2 extents:1 across:7834620k SSFS [ 16.186502] BTRFS info (device md0p1): flagging fs with big metadata feature [ 16.186514] BTRFS info (device md0p1): use lzo compression, level 0 [ 16.186516] BTRFS info (device md0p1): using free space tree [ 16.186518] BTRFS info (device md0p1): has skinny extents [ 16.241014] loop0: detected capacity change from 0 to 8 [ 16.242085] loop1: detected capacity change from 0 to 226912 [ 16.247425] loop2: detected capacity change from 0 to 226664 [ 16.255137] loop3: detected capacity change from 0 to 113696 [ 16.278938] loop4: detected capacity change from 0 to 169760 [ 16.281698] loop5: detected capacity change from 0 to 126760 [ 16.286554] loop6: detected capacity change from 0 to 169776 [ 16.287089] loop7: detected capacity change from 0 to 113680 [ 16.289865] loop8: detected capacity change from 0 to 126752 [ 16.305294] loop9: detected capacity change from 0 to 318152 [ 16.308411] loop10: detected capacity change from 0 to 318208 [ 16.312107] loop11: detected capacity change from 0 to 337424 [ 16.348980] loop12: detected capacity change from 0 to 448512 [ 16.370484] loop14: detected capacity change from 0 to 509456 [ 16.370995] loop16: detected capacity change from 0 to 93920 [ 16.371450] loop17: detected capacity change from 0 to 158624 [ 16.376248] loop13: detected capacity change from 0 to 448512 [ 16.388012] loop15: detected capacity change from 0 to 89352 [ 16.406558] loop18: detected capacity change from 0 to 93920 [ 16.407043] loop19: detected capacity change from 0 to 89264 [ 16.413515] loop20: detected capacity change from 0 to 507712 [ 16.436660] loop21: detected capacity change from 0 to 172448 [ 16.437090] loop23: detected capacity change from 0 to 172528 [ 16.456855] loop22: detected capacity change from 0 to 133552 [ 16.520468] BTRFS info (device md0p1): enabling ssd optimizations

Insyde Gemini Lake INSYDE Corp. V1.19 09/27/2018 1.25

gpioinfo: error creating line iterator: Invalid argument

$ inxi CPU: dual core Intel Celeron J4025 (-MCP-) speed/min/max: 1011/800/2900 MHz Kernel: 5.17.0-051700rc8-generic x86_64 Up: 4h 42m Mem: 4403.2/7458.1 MiB (59.0%) Storage: 1.83 TiB (44.0% used) Procs: 319 Shell: Bash inxi: 3.3.13

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

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

it8625-isa-0290 Adapter: ISA adapter in0: 1.32 V (min = +0.52 V, max = +1.30 V) ALARM in1: 1.32 V (min = +2.40 V, max = +2.68 V) ALARM in2: 2.06 V (min = +1.24 V, max = +2.50 V) in3: 2.02 V (min = +2.35 V, max = +0.77 V) ALARM in4: 1.94 V (min = +2.38 V, max = +2.55 V) ALARM in5: 1.86 V (min = +1.67 V, max = +0.29 V) ALARM in6: 1.78 V (min = +1.47 V, max = +1.19 V) ALARM 3VSB: 3.32 V (min = +0.62 V, max = +0.20 V) ALARM Vbat: 3.10 V
+3.3V: 3.34 V
fan1: 2647 RPM (min = 285 RPM) fan2: 0 RPM (min = 11 RPM) ALARM fan3: 0 RPM (min = 24 RPM) ALARM temp1: -128.0°C (low = -42.0°C, high = +3.0°C) temp2: -128.0°C (low = +57.0°C, high = +44.0°C) sensor = thermal diode temp3: -128.0°C (low = -43.0°C, high = -74.0°C) intrusion0: ALARM

mafredri commented 2 years ago

Thanks for providing the info! Hmm, I'm wondering why gpioinfo errored out, either it's because no GPIOs are available on the system, or it's because it's not run as root (sudo gpioinfo).

Btw, how are your LEDs behaving currently? Are hard drive LEDs blinking? And is the green status led constantly blinking?

If you're interested in getting full functionality from this platform driver (e.g. controlling the above), then we need to figure out the relevant GPIO drivers for your system.

Usually the CPU controls the red panic status light and harddrive leds, and the ITE chip controls the rest (power, usb, status, etc). On my AS6204T the CPU GPIOs are exported via ACPI, so no driver is needed, on my AS6204T, the gpio-ich driver is needed.

Also, is the gpio-it87.ko module present on your system?

Nullvoid3771 commented 2 years ago

gpio needs to be sudo otherwise it runs into a permissions issue. not sure why it has a issue.

Led's Status light blinks hard drives are solid. Network and power are solid.

Nullvoid3771 commented 2 years ago

B0371067-55CE-4C36-BD91-F06692D12E8F 71292A92-7CD6-4E6A-A371-B6C743E3018A

Nullvoid3771 commented 2 years ago

0748BA4D-77D1-4E1C-89E2-6D0DAFFAC611

Nullvoid3771 commented 2 years ago

Maybe gpio is disabled in the kernal

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1953613 "However, they cannot work because the interface is disabled in the default kernel (tested with 5.13.19). After rebuilding the kernel with the option CONFIG_GPIO_CDEV_V1=y, the gpiod tools work as expected."

Nullvoid3771 commented 2 years ago

https://zameermanji.com/blog/2022/1/18/ubuntu-21-10-makes-libgpiod-unusable/

Nullvoid3771 commented 2 years ago

~$ sudo grep GPIO_CDEV /boot/config-5.17.0-051700rc8-generic CONFIG_GPIO_CDEV=y /boot/config-5.17.0-051700rc8-generic:CONFIG_GPIO_CDEV=y /boot/config-5.17.0-051700rc8-generic:# CONFIG_GPIO_CDEV_V1 is not set

it's disabled

Nullvoid3771 commented 2 years ago

“Also, is the gpio-it87.ko module present on your system?“

Gpio is but couldn’t find gpio-it87.ko

Nullvoid3771 commented 2 years ago

this seems like a solution.

https://github.com/warthog618/gpiod

mafredri commented 2 years ago

it's disabled

Why Ubuntu, why?! 😅

Anyway, nice investigative work. According to your linked article, it seems https://github.com/warthog618/gpiod should work. If you have Go installed you can try it out via:

git clone https://github.com/warthog618/gpiod
cd gpiod/cmd/gpioinfo
go build
sudo ./gpioinfo

Or you can build with GOOS=linux go build if you're building it another machine. In case you don't have and don't want to install Go, I built it and attached it here: gpioinfo.gz

wget https://github.com/mafredri/asustor-platform-driver/files/8327807/gpioinfo.gz
gzip -d gpioinfo.gz
chmod +x gpioinfo
sudo ./gpioinfo
Nullvoid3771 commented 2 years ago

LED OFF

sudo ./gpioinfo gpiochip0 - 80 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused input active-high line 13: unnamed unused input active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused output active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high line 20: unnamed unused input active-high line 21: unnamed unused output active-high line 22: unnamed unused output active-high line 23: unnamed unused output active-high line 24: unnamed unused input active-high line 25: unnamed unused output active-high line 26: unnamed unused input active-high line 27: unnamed unused output active-high line 28: unnamed unused output active-high line 29: unnamed unused output active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high line 35: unnamed unused input active-high line 36: unnamed unused input active-high line 37: unnamed unused input active-high line 38: unnamed unused input active-high line 39: unnamed unused input active-high line 40: unnamed unused input active-high line 41: unnamed unused input active-high line 42: unnamed unused input active-high line 43: unnamed unused input active-high line 44: unnamed unused input active-high line 45: unnamed unused input active-high line 46: unnamed unused input active-high line 47: unnamed unused input active-high line 48: unnamed unused input active-high line 49: unnamed unused input active-high line 50: unnamed unused input active-high line 51: unnamed unused input active-high line 52: unnamed unused input active-high line 53: unnamed unused input active-high line 54: unnamed unused input active-high line 55: unnamed unused input active-high line 56: unnamed unused input active-high line 57: unnamed unused input active-high line 58: unnamed unused input active-high line 59: unnamed unused input active-high line 60: unnamed unused input active-high line 61: unnamed unused input active-high line 62: unnamed unused input active-high line 63: unnamed unused input active-high line 64: unnamed unused input active-high line 65: unnamed unused output active-high line 66: unnamed unused output active-high line 67: unnamed unused input active-high line 68: unnamed unused input active-high line 69: unnamed unused input active-high line 70: unnamed unused input active-high line 71: unnamed unused input active-high line 72: unnamed unused input active-high line 73: unnamed unused input active-high line 74: unnamed unused input active-high line 75: unnamed unused input active-high line 76: unnamed unused input active-high line 77: unnamed unused input active-high line 78: unnamed unused input active-high line 79: unnamed unused input active-high gpiochip1 - 80 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused input active-high line 13: unnamed unused input active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused input active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high line 20: unnamed unused input active-high line 21: unnamed unused input active-high line 22: unnamed unused input active-high line 23: unnamed unused input active-high line 24: unnamed unused input active-high line 25: unnamed unused input active-high line 26: unnamed unused input active-high line 27: unnamed unused input active-high line 28: unnamed unused input active-high line 29: unnamed unused output active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high line 35: unnamed unused input active-high line 36: unnamed unused input active-high line 37: unnamed unused input active-high line 38: unnamed unused input active-high line 39: unnamed unused input active-high line 40: unnamed unused input active-high line 41: unnamed unused input active-high line 42: unnamed unused input active-high line 43: unnamed unused input active-high line 44: unnamed unused input active-high line 45: unnamed unused input active-high line 46: unnamed unused input active-high line 47: unnamed unused input active-high line 48: unnamed unused input active-high line 49: unnamed unused input active-high line 50: unnamed unused input active-high line 51: unnamed unused input active-high line 52: unnamed unused input active-high line 53: unnamed unused input active-high line 54: unnamed unused input active-high line 55: unnamed unused input active-high line 56: unnamed unused input active-high line 57: unnamed unused input active-high line 58: unnamed unused output active-high line 59: unnamed unused output active-high line 60: unnamed unused output active-high line 61: unnamed unused output active-high line 62: unnamed unused output active-high line 63: unnamed unused input active-high line 64: unnamed unused input active-high line 65: unnamed unused input active-high line 66: unnamed unused input active-high line 67: unnamed unused input active-high line 68: unnamed unused output active-high line 69: unnamed unused output active-high line 70: unnamed unused input active-high line 71: unnamed unused input active-high line 72: unnamed unused input active-high line 73: unnamed unused input active-high line 74: unnamed unused input active-high line 75: unnamed unused input active-high line 76: unnamed unused input active-high line 77: unnamed unused input active-high line 78: unnamed unused input active-high line 79: unnamed unused input active-high gpiochip2 - 20 lines: line 0: unnamed unused output active-high line 1: unnamed unused output active-high line 2: unnamed unused output active-high line 3: unnamed unused output active-high line 4: unnamed unused output active-high line 5: unnamed unused output active-high line 6: unnamed unused output active-high line 7: unnamed unused output active-high line 8: unnamed unused output active-high line 9: unnamed unused output active-high line 10: unnamed unused output active-high line 11: unnamed unused output active-high line 12: unnamed unused input active-high line 13: unnamed unused output active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused input active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high gpiochip3 - 35 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused output active-high line 13: unnamed unused output active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused output active-high line 17: unnamed unused output active-high line 18: unnamed unused output active-high line 19: unnamed unused output active-high line 20: unnamed unused output active-high line 21: unnamed unused output active-high line 22: unnamed unused input active-high line 23: unnamed unused input active-high line 24: unnamed unused input active-high line 25: unnamed unused input active-high line 26: unnamed unused input active-high line 27: unnamed unused input active-high line 28: unnamed unused input active-high line 29: unnamed unused input active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high

Nullvoid3771 commented 2 years ago

LED ON

sudo ./gpioinfo gpiochip0 - 80 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused input active-high line 13: unnamed unused input active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused output active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high line 20: unnamed unused input active-high line 21: unnamed unused output active-high line 22: unnamed unused output active-high line 23: unnamed unused output active-high line 24: unnamed unused input active-high line 25: unnamed unused output active-high line 26: unnamed unused input active-high line 27: unnamed unused output active-high line 28: unnamed unused output active-high line 29: unnamed unused output active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high line 35: unnamed unused input active-high line 36: unnamed unused input active-high line 37: unnamed unused input active-high line 38: unnamed unused input active-high line 39: unnamed unused input active-high line 40: unnamed unused input active-high line 41: unnamed unused input active-high line 42: unnamed unused input active-high line 43: unnamed unused input active-high line 44: unnamed unused input active-high line 45: unnamed unused input active-high line 46: unnamed unused input active-high line 47: unnamed unused input active-high line 48: unnamed unused input active-high line 49: unnamed unused input active-high line 50: unnamed unused input active-high line 51: unnamed unused input active-high line 52: unnamed unused input active-high line 53: unnamed unused input active-high line 54: unnamed unused input active-high line 55: unnamed unused input active-high line 56: unnamed unused input active-high line 57: unnamed unused input active-high line 58: unnamed unused input active-high line 59: unnamed unused input active-high line 60: unnamed unused input active-high line 61: unnamed unused input active-high line 62: unnamed unused input active-high line 63: unnamed unused input active-high line 64: unnamed unused input active-high line 65: unnamed unused output active-high line 66: unnamed unused output active-high line 67: unnamed unused input active-high line 68: unnamed unused input active-high line 69: unnamed unused input active-high line 70: unnamed unused input active-high line 71: unnamed unused input active-high line 72: unnamed unused input active-high line 73: unnamed unused input active-high line 74: unnamed unused input active-high line 75: unnamed unused input active-high line 76: unnamed unused input active-high line 77: unnamed unused input active-high line 78: unnamed unused input active-high line 79: unnamed unused input active-high gpiochip1 - 80 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused input active-high line 13: unnamed unused input active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused input active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high line 20: unnamed unused input active-high line 21: unnamed unused input active-high line 22: unnamed unused input active-high line 23: unnamed unused input active-high line 24: unnamed unused input active-high line 25: unnamed unused input active-high line 26: unnamed unused input active-high line 27: unnamed unused input active-high line 28: unnamed unused input active-high line 29: unnamed unused output active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high line 35: unnamed unused input active-high line 36: unnamed unused input active-high line 37: unnamed unused input active-high line 38: unnamed unused input active-high line 39: unnamed unused input active-high line 40: unnamed unused input active-high line 41: unnamed unused input active-high line 42: unnamed unused input active-high line 43: unnamed unused input active-high line 44: unnamed unused input active-high line 45: unnamed unused input active-high line 46: unnamed unused input active-high line 47: unnamed unused input active-high line 48: unnamed unused input active-high line 49: unnamed unused input active-high line 50: unnamed unused input active-high line 51: unnamed unused input active-high line 52: unnamed unused input active-high line 53: unnamed unused input active-high line 54: unnamed unused input active-high line 55: unnamed unused input active-high line 56: unnamed unused input active-high line 57: unnamed unused input active-high line 58: unnamed unused output active-high line 59: unnamed unused output active-high line 60: unnamed unused output active-high line 61: unnamed unused output active-high line 62: unnamed unused output active-high line 63: unnamed unused input active-high line 64: unnamed unused input active-high line 65: unnamed unused input active-high line 66: unnamed unused input active-high line 67: unnamed unused input active-high line 68: unnamed unused output active-high line 69: unnamed unused output active-high line 70: unnamed unused input active-high line 71: unnamed unused input active-high line 72: unnamed unused input active-high line 73: unnamed unused input active-high line 74: unnamed unused input active-high line 75: unnamed unused input active-high line 76: unnamed unused input active-high line 77: unnamed unused input active-high line 78: unnamed unused input active-high line 79: unnamed unused input active-high gpiochip2 - 20 lines: line 0: unnamed unused output active-high line 1: unnamed unused output active-high line 2: unnamed unused output active-high line 3: unnamed unused output active-high line 4: unnamed unused output active-high line 5: unnamed unused output active-high line 6: unnamed unused output active-high line 7: unnamed unused output active-high line 8: unnamed unused output active-high line 9: unnamed unused output active-high line 10: unnamed unused output active-high line 11: unnamed unused output active-high line 12: unnamed unused input active-high line 13: unnamed unused output active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused input active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high gpiochip3 - 35 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused output active-high line 13: unnamed unused output active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused output active-high line 17: unnamed unused output active-high line 18: unnamed unused output active-high line 19: unnamed unused output active-high line 20: unnamed unused output active-high line 21: unnamed unused output active-high line 22: unnamed unused input active-high line 23: unnamed unused input active-high line 24: unnamed unused input active-high line 25: unnamed unused input active-high line 26: unnamed unused input active-high line 27: unnamed unused input active-high line 28: unnamed unused input active-high line 29: unnamed unused input active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high

Nullvoid3771 commented 2 years ago

idk if that will help but did the command with LED off vs on

mafredri commented 2 years ago

Thanks, that helped confirm that gpiochip0 should be responsible for HDD LEDs at least (I analyzed asleddrv.ko in Ghidra to get the configuration for your model).

This is what I deduced:

...
line 13: unnamed unused input active-high <- Green HDD 1
line 14: unnamed unused input active-high <- Green HDD 2
line 15: unnamed unused input active-high
line 16: unnamed unused input active-high <- Green HDD 3
line 17: unnamed unused output active-high <- Red status/panic? (guess)
line 18: unnamed unused input active-high <- Green HDD 4
line 19: unnamed unused input active-high
line 20: unnamed unused input active-high
line 21: unnamed unused output active-high <- Red HDD 1
line 22: unnamed unused output active-high <- Red HDD 2
line 23: unnamed unused output active-high <- Red HDD 3
line 24: unnamed unused input active-high
line 25: unnamed unused output active-high <- Red HDD 4
...

This configuration looks very similar to the configuration on my AS6204T. I bet the red lights are set to output to keep them off, green are probably still input since these would be configured by the asleddrv.ko and as long as they're input they would remain turned on.

I still need to know what the name of the gpio is though, it would be helpful if you could run sudo ./gpiodetect (gpiodetect.gz).

It would also be nice to confirm that the ordering of HDD LEDs are correct, what you could try is running some gpioset (gpioset.gz) commands to see if anything happens with your LEDs:

# Does HDD 1 LED change?
sudo ./gpioset gpiochip0 13=0
# on/off?
sudo ./gpioset gpiochip0 13=1

# Does HDD 2 LED change?
sudo ./gpioset gpiochip0 14=0
# on/off?
sudo ./gpioset gpiochip0 14=1

# ... etc (see below for more GPIO lines to test)

PS. It would be cool if you also tested the red status/panic GPIO, HOWEVER, BIG DISCLAIMER, I can't really verify it doesn't do something completely different. So it's not risk-free. I did look up the CPUs GPIOs though, and these are truly "general purpose GPIOs", so they shouldn't be hooked to anything critical. At worst I'd say the system might power off, reboot, or something similar, so keep this in mind if you do attempt it.

Here are the PIN configurations in asleddrv.ko (assuming 0x140 is the GPIO base address, we get calculations like 0x14D - 0x140 = 13 (green 1, etc):

image

Btw, I appreciate you sticking with this and providing info! Hopefully this will help make instructions for adding new device support much more straightforward in the future. ☺️

Nullvoid3771 commented 2 years ago

Gpiodetect

gpiochip0 [INT3453:00] (80 lines) gpiochip1 [INT3453:01] (80 lines) gpiochip2 [INT3453:02] (20 lines) gpiochip3 [INT3453:03] (35 lines)

sudo ./gpioset gpiochip0 13=0 panic: config: key 'open-drain' not found

goroutine 1 [running]: github.com/warthog618/config.(*Config).MustGet(...) /Users/maf/Code/go/pkg/mod/github.com/warthog618/config@v0.4.1/config.go:190 main.loadConfig() /Users/maf/Code/gpiod/cmd/gpioset/gpioset.go:169 +0x769 main.main() /Users/maf/Code/gpiod/cmd/gpioset/gpioset.go:31 +0x3c

sudo ./gpioset gpiochip0 13=1 panic: config: key 'open-drain' not found

goroutine 1 [running]: github.com/warthog618/config.(*Config).MustGet(...) /Users/maf/Code/go/pkg/mod/github.com/warthog618/config@v0.4.1/config.go:190 main.loadConfig() /Users/maf/Code/gpiod/cmd/gpioset/gpioset.go:169 +0x769 main.main() /Users/maf/Code/gpiod/cmd/gpioset/gpioset.go:31 +0x3c

sudo ./gpioset gpiochip0 14=0 panic: config: key 'open-drain' not found

goroutine 1 [running]: github.com/warthog618/config.(*Config).MustGet(...) /Users/maf/Code/go/pkg/mod/github.com/warthog618/config@v0.4.1/config.go:190 main.loadConfig() /Users/maf/Code/gpiod/cmd/gpioset/gpioset.go:169 +0x769 main.main() /Users/maf/Code/gpiod/cmd/gpioset/gpioset.go:31 +0x3c

sudo ./gpioset gpiochip0 14=1 panic: config: key 'open-drain' not found

goroutine 1 [running]: github.com/warthog618/config.(*Config).MustGet(...) /Users/maf/Code/go/pkg/mod/github.com/warthog618/config@v0.4.1/config.go:190 main.loadConfig() /Users/maf/Code/gpiod/cmd/gpioset/gpioset.go:169 +0x769 main.main() /Users/maf/Code/gpiod/cmd/gpioset/gpioset.go:31 +0x3c

Due to open drain not found wasn't able to see any changes. open drain isn't a apt package, maybe a issue with the replacement driver for gpio?

Oh also running gpioset from ubuntu's instead of the downloaded package I get instead likely due to the kernal disabling it. gpioset: error setting the GPIO line values: Invalid argument

mafredri commented 2 years ago

Ok, that's fine, thanks for checking. It looks like gpiochip0 was the wrong assumption (and it makes more sense now that I see the names from gpiodetect).

So I was hoping gpiochip0 would have been named geminilake, because this is the GPIO used by the ASUSTOR kernel module. The 66XX models use INT3453:02, you have it too but I'm fairly certain this is not the correct one for your system. So I checked the kernel configuration and it seems the pinctrl module for geminilake is built in on ASUSTOR ADM and I believe this is the correct module for controlling your drive LEDs.

CONFIG_PINCTRL_GEMINILAKE=y

Do you have the pinctrl-geminilake.ko kernel module on your system? If not we could look into adding that to this project as well.

Nullvoid3771 commented 2 years ago

Yes it's present on my system

mafredri commented 2 years ago

Cool! Would you mind redoing the GPIO info commands with the module loaded?

sudo modprobe pinctrl-geminilake
sudo ./gpiodetect
sudo ./gpioinfo
Nullvoid3771 commented 2 years ago

gpiochip0 [INT3453:00] (80 lines) gpiochip1 [INT3453:01] (80 lines) gpiochip2 [INT3453:02] (20 lines) gpiochip3 [INT3453:03] (35 lines)

gpiochip0 - 80 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused input active-high line 13: unnamed unused input active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused output active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high line 20: unnamed unused input active-high line 21: unnamed unused output active-high line 22: unnamed unused output active-high line 23: unnamed unused output active-high line 24: unnamed unused input active-high line 25: unnamed unused output active-high line 26: unnamed unused input active-high line 27: unnamed unused output active-high line 28: unnamed unused output active-high line 29: unnamed unused output active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high line 35: unnamed unused input active-high line 36: unnamed unused input active-high line 37: unnamed unused input active-high line 38: unnamed unused input active-high line 39: unnamed unused input active-high line 40: unnamed unused input active-high line 41: unnamed unused input active-high line 42: unnamed unused input active-high line 43: unnamed unused input active-high line 44: unnamed unused input active-high line 45: unnamed unused input active-high line 46: unnamed unused input active-high line 47: unnamed unused input active-high line 48: unnamed unused input active-high line 49: unnamed unused input active-high line 50: unnamed unused input active-high line 51: unnamed unused input active-high line 52: unnamed unused input active-high line 53: unnamed unused input active-high line 54: unnamed unused input active-high line 55: unnamed unused input active-high line 56: unnamed unused input active-high line 57: unnamed unused input active-high line 58: unnamed unused input active-high line 59: unnamed unused input active-high line 60: unnamed unused input active-high line 61: unnamed unused input active-high line 62: unnamed unused input active-high line 63: unnamed unused input active-high line 64: unnamed unused input active-high line 65: unnamed unused output active-high line 66: unnamed unused output active-high line 67: unnamed unused input active-high line 68: unnamed unused input active-high line 69: unnamed unused input active-high line 70: unnamed unused input active-high line 71: unnamed unused input active-high line 72: unnamed unused input active-high line 73: unnamed unused input active-high line 74: unnamed unused input active-high line 75: unnamed unused input active-high line 76: unnamed unused input active-high line 77: unnamed unused input active-high line 78: unnamed unused input active-high line 79: unnamed unused input active-high gpiochip1 - 80 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused input active-high line 13: unnamed unused input active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused input active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high line 20: unnamed unused input active-high line 21: unnamed unused input active-high line 22: unnamed unused input active-high line 23: unnamed unused input active-high line 24: unnamed unused input active-high line 25: unnamed unused input active-high line 26: unnamed unused input active-high line 27: unnamed unused input active-high line 28: unnamed unused input active-high line 29: unnamed unused output active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high line 35: unnamed unused input active-high line 36: unnamed unused input active-high line 37: unnamed unused input active-high line 38: unnamed unused input active-high line 39: unnamed unused input active-high line 40: unnamed unused input active-high line 41: unnamed unused input active-high line 42: unnamed unused input active-high line 43: unnamed unused input active-high line 44: unnamed unused input active-high line 45: unnamed unused input active-high line 46: unnamed unused input active-high line 47: unnamed unused input active-high line 48: unnamed unused input active-high line 49: unnamed unused input active-high line 50: unnamed unused input active-high line 51: unnamed unused input active-high line 52: unnamed unused input active-high line 53: unnamed unused input active-high line 54: unnamed unused input active-high line 55: unnamed unused input active-high line 56: unnamed unused input active-high line 57: unnamed unused input active-high line 58: unnamed unused output active-high line 59: unnamed unused output active-high line 60: unnamed unused output active-high line 61: unnamed unused output active-high line 62: unnamed unused output active-high line 63: unnamed unused input active-high line 64: unnamed unused input active-high line 65: unnamed unused input active-high line 66: unnamed unused input active-high line 67: unnamed unused input active-high line 68: unnamed unused output active-high line 69: unnamed unused output active-high line 70: unnamed unused input active-high line 71: unnamed unused input active-high line 72: unnamed unused input active-high line 73: unnamed unused input active-high line 74: unnamed unused input active-high line 75: unnamed unused input active-high line 76: unnamed unused input active-high line 77: unnamed unused input active-high line 78: unnamed unused input active-high line 79: unnamed unused input active-high gpiochip2 - 20 lines: line 0: unnamed unused output active-high line 1: unnamed unused output active-high line 2: unnamed unused output active-high line 3: unnamed unused output active-high line 4: unnamed unused output active-high line 5: unnamed unused output active-high line 6: unnamed unused output active-high line 7: unnamed unused output active-high line 8: unnamed unused output active-high line 9: unnamed unused output active-high line 10: unnamed unused output active-high line 11: unnamed unused output active-high line 12: unnamed unused input active-high line 13: unnamed unused output active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused input active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high gpiochip3 - 35 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused output active-high line 13: unnamed unused output active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused output active-high line 17: unnamed unused output active-high line 18: unnamed unused output active-high line 19: unnamed unused output active-high line 20: unnamed unused output active-high line 21: unnamed unused output active-high line 22: unnamed unused input active-high line 23: unnamed unused input active-high line 24: unnamed unused input active-high line 25: unnamed unused input active-high line 26: unnamed unused input active-high line 27: unnamed unused input active-high line 28: unnamed unused input active-high line 29: unnamed unused input active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high

mafredri commented 2 years ago

Hmm, I've never used pinctrl drivers before, thought it would show up as GPIOs but it's nowhere to be seen. Did the driver output anything in dmesg?

Nullvoid3771 commented 2 years ago

Just checked dmesg no nothing, only thing in dmesg since was firewall stuff. Reran the commands and nothing.

mafredri commented 2 years ago

Ok, so that doesn't help us :/. I have one last idea, perhaps it is one of the INT3453 GPIOs. If you run this command I'll be able to see all the base addresses, and see if any of the defined GPIOs match that:

for gpio in /sys/class/gpio/gpiochip*; do echo $(cat $gpio/{label,ngpio,base}); done
Nullvoid3771 commented 2 years ago

INT3453:03 35 809 INT3453:02 20 844 INT3453:01 80 864 INT3453:00 80 944

mafredri commented 2 years ago

Thanks @Nullvoid3771, unfortunately I wasn't able to figure out the GPIOs from this information alone. If I had the hardware I would probably experiment with turning some GPIOs on and off to see if something happens, but it's not something I want to ask anyone else to do (since the GPIOs behavior are unknown).

I'm also unfamiliar with the pinctrl interface, from the documentation I've read I got the idea that given a pinctrl-geminilake module, it'd be possible to perform gpio_request(gpio, "geminilake") and the pinctrl driver will mux out the GPIO function. So in principle we could try to write a little kernel module that requests the GPIO from pinctrl and tries to turn it on/off using the same gpio values as ASUSTOR uses.