Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysctl on Pinebook never finishes



sysctl -a
...
hw.drm2.radeon_no_wb = 0
hw.pwmbacklight0.levels = 0 5 10 15 20 30 40 55 70 85 100
hw.pwmbacklight0.level = 10
...

Does it loop or something?

It just hangs.

Then, sysctl -a works. PR?

I might be able to verify if needed, I have one of those pinebooks.

If you could, please also see if this happens for you, too:

sysctl machdep.cpufreq.cpu0
machdep.cpufreq.cpu0.target = 1152
machdep.cpufreq.cpu0.current = 792
machdep.cpufreq.cpu0.available = 1152 1104 1056 1008 960 912 816 648

sysctl -w machdep.cpufreq.cpu0.target=1104
sysctl: machdep.cpufreq.cpu0.target: Device not configured

Even though it gives that message, target becomes 1104 and dmesg emits:

[ 56374.701711] sun8icrypto0: no free channels

If I run it again, I get:

sysctl -w machdep.cpufreq.cpu0.target=1104
machdep.cpufreq.cpu0.target: 1104 -> 1104

In both cases, target=1104, but current stays at 792. A quick benchmark shows the speed never actually changes.

The sysctl that is being read is there for testing, it returns a buffer
containing random numbers.

We probably need to change the API a bit.

Ah. Makes sense. Yes, hanging while waiting for entropy isn't a hot idea ;)

Thanks,
John


Home | Main Index | Thread Index | Old Index