View previous topic :: View next topic |
Author |
Message |
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Mon Jun 07, 2021 12:59 am Post subject: |
|
|
Yes, I forgot the -a.
So I booted from CD and connected fine with network manager. So, hardware is ok.
Then I rebooted and checked dmseg. It shows eth0 changed to net1234 then again to net2
I created the appropriate symlinks and connected as net.eth2.
Now, why? The answer must be buried in eudev
Nearly twelve hours on the computer now. I'm beat. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Mon Jun 07, 2021 1:16 am Post subject: |
|
|
80-persistent-rules and 70-net-somthingor other were different. I scp'd them from origibal box.
Not sure if I'm going to reboot today or tomorrow |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Mon Jun 07, 2021 4:45 pm Post subject: |
|
|
Anon-E-moose wrote: |
I know, they've done something screwy with the selection so ....
Code: | $ grep ondemand /etc/local.d/baselayout1.start
echo "ondemand" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor |
|
Changes the displayed gpvernor but does not slow down the governor. I even tried to force it.
Code: | ASUS local.d # cpupower info
System does not support Intel's performance bias setting
analyzing CPU 0:
ASUS local.d # cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
ASUS local.d # cat /proc/cpuinfo |grep MHz
cpu MHz : 3991.456
cpu MHz : 3999.250
cpu MHz : 3981.080
cpu MHz : 3997.109
cpu MHz : 4006.379
cpu MHz : 4002.780
cpu MHz : 3967.440
cpu MHz : 3992.612
cpu MHz : 3999.025
cpu MHz : 4001.546
cpu MHz : 3995.912
cpu MHz : 3996.168
cpu MHz : 3999.210
cpu MHz : 3999.409
cpu MHz : 3992.575
cpu MHz : 4004.941
|
Did you choose Asus Optimized profile (or something like that) in the profile?
I wonder if this is a kernel bug. I don't want the machine idling at max power, nor do I want less than full power when emerging.
Half speed (the lowest ryzen's seem to go) is ok when web surfing, reading email, watching video, and the like. But I bought this rig to speed up building, not to ne a space jeater. right now it's in the basement, ambient temp 68F with the cpu at 95F |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Mon Jun 07, 2021 5:16 pm Post subject: |
|
|
Don't know what the powersave governor does (I know what it's supposed to do, but I've never used it) I prefer the ondemand, cpu stays low until I need it.
Code: | $ cat /proc/cpuinfo |grep MHz
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 3600.000
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 2373.065
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 2200.000
cpu MHz : 2200.000 |
cd /sys/devices/system/cpu/cpu0/cpufreq
cat scaling*
what does it return?
Code: | $ ls scal*
scaling_available_frequencies scaling_cur_freq scaling_governor scaling_min_freq
scaling_available_governors scaling_driver scaling_max_freq scaling_setspeed
/sys/devices/system/cpu/cpu0/cpufreq $ cat scal*
3600000 2800000 2200000
ondemand userspace performance schedutil
2056909
acpi-cpufreq
ondemand
3600000
2200000
<unsupported> |
_________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Mon Jun 07, 2021 5:55 pm Post subject: |
|
|
Code: | # cat scaling*
4000000 2800000 2200000
conservative ondemand userspace powersave performance schedutil
3994134
acpi-cpufreq
powersave
4000000
2200000
<unsupported>
|
I switched because ondemand had all cores at full power.
Which kernel are you running? I'm running 5.10.27 latest stable. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Mon Jun 07, 2021 6:06 pm Post subject: |
|
|
Tony0945 wrote: | Code: | # cat scaling*
4000000 2800000 2200000
conservative ondemand userspace powersave performance schedutil
3994134
acpi-cpufreq
powersave
4000000
2200000
<unsupported>
|
I switched because ondemand had all cores at full power.
Which kernel are you running? I'm running 5.10.27 latest stable. |
5.11 series, but I doubt that's the problem.
How does yours look
Code: | $ grep -v "^#" .config | grep ACPI
CONFIG_ARCH_SUPPORTS_ACPI=y
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_LPIT=y
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_CPPC_LIB=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=y
CONFIG_ACPI_THERMAL=m
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
CONFIG_ACPI_BGRT=y
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
CONFIG_ACPI_I2C_OPREGION=y
CONFIG_UCSI_ACPI=m
CONFIG_DMA_ACPI=y
CONFIG_ACPI_WMI=m |
Edit to add: been doing reading, nice explanations of things https://wiki.archlinux.org/title/CPU_frequency_scaling _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Mon Jun 07, 2021 6:40 pm Post subject: |
|
|
Code: | SUS ~ # grep -v "^#" .config | grep ACPI
grep: .config: Is a directory
ASUS ~ # zgrep -v "^#" /proc/config.gz | grep ACPI
CONFIG_ARCH_SUPPORTS_ACPI=y
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_LPIT=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_CPPC_LIB=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
CONFIG_ACPI_HED=y
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
CONFIG_ACPI_APEI=y
CONFIG_ACPI_APEI_GHES=y
CONFIG_ACPI_APEI_PCIEAER=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
CONFIG_PATA_ACPI=m
CONFIG_ACPI_I2C_OPREGION=y
CONFIG_SENSORS_ACPI_POWER=m
CONFIG_ACPI_WMI=m
|
Also have acpi_enforce_resources=lax because of my old Gigabyte K10 board. I'll try removing that |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Mon Jun 07, 2021 7:06 pm Post subject: |
|
|
Code: | $ sudo cpupower frequency-info
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 2.20 GHz - 5.22 GHz
available frequency steps: 3.60 GHz, 2.80 GHz, 2.20 GHz
available cpufreq governors: ondemand userspace performance schedutil
current policy: frequency should be within 2.20 GHz and 3.60 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency: 2.20 GHz (asserted by call to hardware)
boost state support:
Supported: no
Active: no
Boost States: 0
Total States: 3
Pstate-P0: 3600MHz
Pstate-P1: 2800MHz
Pstate-P2: 2200MHz |
I pass this acpi_enforce_resources=no _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Mon Jun 07, 2021 7:59 pm Post subject: |
|
|
Wow! One of those ACPI modules must have done the trick.
Passing none of the acpi stanzas to boot:
Code: | # cpupower frequency-info
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 2.20 GHz - 4.00 GHz
available frequency steps: 4.00 GHz, 2.80 GHz, 2.20 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 2.20 GHz and 4.00 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency: 2.20 GHz (asserted by call to hardware)
boost state support:
Supported: no
Active: no
Boost States: 0
Total States: 3
Pstate-P0: 4000MHz
Pstate-P1: 2800MHz
Pstate-P2: 2200MHz
| "current CPU frequency: 2.20 GHz (asserted by call to hardware)"
Thanks for the help and the script! |
|
Back to top |
|
|
|