Date: Tue, 25 Feb 2020 17:35:23 -0800 From: Mark Millard <marklmi@yahoo.com> To: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: head -r358132 on Orange Pi+ 2ed: sysctl process stuck at Regulator node lock [ stuck at hw.regulator.vdd-cpux.uvolt ] Message-ID: <AB4A5071-1043-4705-9A68-DF75CBAC1D5E@yahoo.com> In-Reply-To: <CD6E1059-5CA9-45F9-91E7-100015C74990@yahoo.com> References: <CD6E1059-5CA9-45F9-91E7-100015C74990@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: >=20 > # 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 >=20 > Unfortunately, poudriere is about 20 builds into > building 237 packages. >=20 >=20 > For reference, from a variant of top: >=20 > 95553 root 20 0 4760Ki 1888Ki Regula 1 0:01 = 0.00% sysctl -a >=20 >=20 >=20 > I can still create new ssh sessions and the poudriere > activity seems to have kept going. >=20 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) . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AB4A5071-1043-4705-9A68-DF75CBAC1D5E>