I’m using ofono 1.19 with a UART-attached modem. I often find that when I try to shut down the process it won’t respond, even to
SIGKILL. It looks like it’s hanging in a driver function
# uname -r 4.4.14-v2.6b2+gefe965a # echo $(cat /proc/$(pgrep ofono)/wchan) lpuart_shutdown
I haven’t yet gotten a slimmed down test case, unfortunately. I’m assuming something else in the driver is holding the port lock.
Unfortunately the only mitigation I’ve found is a reboot; lsof doesn’t show the device open anymore, but another onofo instance can’t be started because the previous unkillable instance is still holding onto the dbus name.