head -r358132 on Orange Pi+ 2ed: sysctl process stuck at Regulator node lock [ stuck at hw.regulator.vdd-cpux.uvolt ]

Mark Millard marklmi at yahoo.com
Wed Feb 26 01:35:34 UTC 2020



On 2020-Feb-20, at 18:33, Mark Millard <marklmi at yahoo.com> wrote:

> I made the mistake of trying "sysctl -a" (piped into grep)
> on the serial console. Unfortunately, "sysctl -a" hung up:
> 
> # sysctl -a | grep freq
> kern.timecounter.tc.ARM MPCore Timecounter.frequency: 24000000
> kern.eventtimer.et.ARM MPCore Eventtimer.frequency: 24000000
> kern.acct_chkfreq: 15
> net.inet.sctp.sack_freq: 2
> debug.cpufreq.verbose: 0
> debug.cpufreq.lowest: 0
> debug.uart_poll_freq: 50
> hw.zynq.ddr_pll_frequency: 0
> hw.zynq.arm_pll_frequency: 0
> hw.zynq.io_pll_frequency: 0
> hw.zynq.ps_clk_frequency: 0
> load: 2.98  cmd: grep 95554 [piperd] 31.01r 0.03u 0.11s 0% 1896k
> ^C^C^C
> load: 2.81  cmd: sysctl 95553 [Regulator node lock] 69.74r 0.14u 0.47s 0% 2028k
> load: 2.26  cmd: sysctl 95553 [Regulator node lock] 157.16r 0.14u 0.47s 0% 2028k
> 
> Unfortunately, poudriere is about 20 builds into
> building 237 packages.
> 
> 
> For reference, from a variant of top:
> 
> 95553 root         20    0   4760Ki    1888Ki Regula   1   0:01   0.00% sysctl -a
> 
> 
> 
> I can still create new ssh sessions and the poudriere
> activity seems to have kept going.
> 

This seems fully repeatable and does not require powerd
to have been in use at any point. Without powerd involved,
the first sysctl -a stops with top showing:

  948 root         20    0   4744Ki    2340Ki twsi     2   0:00   0.01% sysctl -a

Later runs from the same boot end up at Regulator node lock.

Letting sysctl -a run reporting everything until it hangs up
in twsi (first run after booting) shows the last lines being:

. . .
hw.regulator.gmac-3v3.uvolt: 3300000
hw.regulator.gmac-3v3.always_on: 0
hw.regulator.gmac-3v3.boot_on: 0
hw.regulator.gmac-3v3.enable_cnt: 1
hw.regulator.gmac-3v3.enable_delay: 100000
hw.regulator.gmac-3v3.ramp_delay: 0
hw.regulator.gmac-3v3.max_uamp: 0
hw.regulator.gmac-3v3.min_uamp: 0
hw.regulator.gmac-3v3.max_uvolt: 3300000
hw.regulator.gmac-3v3.min_uvolt: 3300000
hw.regulator.usb0-vbus.uvolt: 5000000
hw.regulator.usb0-vbus.always_on: 0
hw.regulator.usb0-vbus.boot_on: 0
hw.regulator.usb0-vbus.enable_cnt: 0
hw.regulator.usb0-vbus.enable_delay: 0
hw.regulator.usb0-vbus.ramp_delay: 0
hw.regulator.usb0-vbus.max_uamp: 0
hw.regulator.usb0-vbus.min_uamp: 0
hw.regulator.usb0-vbus.max_uvolt: 5000000
hw.regulator.usb0-vbus.min_uvolt: 5000000

(and that is it).

Presuming that sysctl -ad will go in the same order
it looks like the above got stuck at
hw.regulator.vdd-cpux.uvolt :

. . .
hw.regulator.gmac-3v3.uvolt: Current voltage (in uV)
hw.regulator.gmac-3v3.always_on: Is always enabled
hw.regulator.gmac-3v3.boot_on: Is enabled on boot
hw.regulator.gmac-3v3.enable_cnt: The regulator enable counter
hw.regulator.gmac-3v3.enable_delay: Enable delay (in us)
hw.regulator.gmac-3v3.ramp_delay: Ramp delay (in uV/us)
hw.regulator.gmac-3v3.max_uamp: Maximal amperage (in uA)
hw.regulator.gmac-3v3.min_uamp: Minimal amperage (in uA)
hw.regulator.gmac-3v3.max_uvolt: Maximal voltage (in uV)
hw.regulator.gmac-3v3.min_uvolt: Minimal voltage (in uV)
hw.regulator.usb0-vbus.uvolt: Current voltage (in uV)
hw.regulator.usb0-vbus.always_on: Is always enabled
hw.regulator.usb0-vbus.boot_on: Is enabled on boot
hw.regulator.usb0-vbus.enable_cnt: The regulator enable counter
hw.regulator.usb0-vbus.enable_delay: Enable delay (in us)
hw.regulator.usb0-vbus.ramp_delay: Ramp delay (in uV/us)
hw.regulator.usb0-vbus.max_uamp: Maximal amperage (in uA)
hw.regulator.usb0-vbus.min_uamp: Minimal amperage (in uA)
hw.regulator.usb0-vbus.max_uvolt: Maximal voltage (in uV)
hw.regulator.usb0-vbus.min_uvolt: Minimal voltage (in uV)
hw.regulator.vdd-cpux.uvolt: Current voltage (in uV)
hw.regulator.vdd-cpux.always_on: Is always enabled
hw.regulator.vdd-cpux.boot_on: Is enabled on boot
hw.regulator.vdd-cpux.enable_cnt: The regulator enable counter
hw.regulator.vdd-cpux.enable_delay: Enable delay (in us)
hw.regulator.vdd-cpux.ramp_delay: Ramp delay (in uV/us)
hw.regulator.vdd-cpux.max_uamp: Maximal amperage (in uA)
hw.regulator.vdd-cpux.min_uamp: Minimal amperage (in uA)
hw.regulator.vdd-cpux.max_uvolt: Maximal voltage (in uV)
hw.regulator.vdd-cpux.min_uvolt: Minimal voltage (in uV)
. . .




===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-arm mailing list