{"action":"created","issue":{"url":"https://api.github.com/repos/freifunk-gluon/gluon/issues/1258","repository_url":"https://api.github.com/repos/freifunk-gluon/gluon","labels_url":"https://api.github.com/repos/freifunk-gluon/gluon/issues/1258/labels{/name}","comments_url":"https://api.github.com/repos/freifunk-gluon/gluon/issues/1258/comments","events_url":"https://api.github.com/repos/freifunk-gluon/gluon/issues/1258/events","html_url":"https://github.com/freifunk-gluon/gluon/issues/1258","id":273222206,"node_id":"MDU6SXNzdWUyNzMyMjIyMDY=","number":1258,"title":"Kernel error: unregister_netdevice: waiting for mesh-vpn to become free. Usage count = 1","user":{"login":"RalfJung","id":330628,"node_id":"MDQ6VXNlcjMzMDYyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/330628?v=4","gravatar_id":"","url":"https://api.github.com/users/RalfJung","html_url":"https://github.com/RalfJung","followers_url":"https://api.github.com/users/RalfJung/followers","following_url":"https://api.github.com/users/RalfJung/following{/other_user}","gists_url":"https://api.github.com/users/RalfJung/gists{/gist_id}","starred_url":"https://api.github.com/users/RalfJung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalfJung/subscriptions","organizations_url":"https://api.github.com/users/RalfJung/orgs","repos_url":"https://api.github.com/users/RalfJung/repos","events_url":"https://api.github.com/users/RalfJung/events{/privacy}","received_events_url":"https://api.github.com/users/RalfJung/received_events","type":"User","site_admin":false},"labels":[{"id":28061961,"node_id":"MDU6TGFiZWwyODA2MTk2MQ==","url":"https://api.github.com/repos/freifunk-gluon/gluon/labels/bug","name":"bug","color":"fc2929","default":true},{"id":113273483,"node_id":"MDU6TGFiZWwxMTMyNzM0ODM=","url":"https://api.github.com/repos/freifunk-gluon/gluon/labels/upstream","name":"upstream","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/freifunk-gluon/gluon/milestones/12","html_url":"https://github.com/freifunk-gluon/gluon/milestone/12","labels_url":"https://api.github.com/repos/freifunk-gluon/gluon/milestones/12/labels","id":2550035,"node_id":"MDk6TWlsZXN0b25lMjU1MDAzNQ==","number":12,"title":"2018.1","description":"","creator":{"login":"NeoRaider","id":419139,"node_id":"MDQ6VXNlcjQxOTEzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/419139?v=4","gravatar_id":"","url":"https://api.github.com/users/NeoRaider","html_url":"https://github.com/NeoRaider","followers_url":"https://api.github.com/users/NeoRaider/followers","following_url":"https://api.github.com/users/NeoRaider/following{/other_user}","gists_url":"https://api.github.com/users/NeoRaider/gists{/gist_id}","starred_url":"https://api.github.com/users/NeoRaider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeoRaider/subscriptions","organizations_url":"https://api.github.com/users/NeoRaider/orgs","repos_url":"https://api.github.com/users/NeoRaider/repos","events_url":"https://api.github.com/users/NeoRaider/events{/privacy}","received_events_url":"https://api.github.com/users/NeoRaider/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":39,"state":"open","created_at":"2017-05-30T09:40:57Z","updated_at":"2018-05-19T17:26:33Z","due_on":null,"closed_at":null},"comments":26,"created_at":"2017-11-12T11:33:33Z","updated_at":"2018-06-02T15:31:26Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I am seeing the following kernel error on some of my nodes:\r\n```\r\nunregister_netdevice: waiting for mesh-vpn to become free. Usage count = 1\r\n```\r\n\r\nIn the past, I used to see an error very much like this on gateways; usually in the context of doing a `reboot` and then finding the machine stuck (and recoverable only via the server console). Batman had some bugs where it did not properly detach some interfaces. However, I haven't seen this error on gateways ever since we updated them to Batman 2017.x.\r\n\r\nI am running two nodes, both with Gluon 2017.1.3. One, for testing, is an x86 node running in a VM via libvirt. There, I can pretty much reproduce the above error as follows:\r\n* Start the VM, make sure it is connected.\r\n* Put the *host* (i.e., my laptop) into stand-by.\r\n* Wait a little while (I usually get into the bus and drive home, or something like that).\r\n* Resume the host. Check the VM output, and I see the above error.\r\n\r\nI then have to do a `reboot` of the VM (i.e., the node) to get it into a working state again.\r\n\r\nJust now, I saw this error the first time on real hardware (TP-Link TL-WR841N/ND v10). I was trying to do `/etc/init.d/tunneldigger restart`, and it got stuck. `logread` shows that tunneldigger got the termination signal, but then failed to terminate. I sent `kill -KILL` to the result of `pidof tunneldigger`, to no avail. `dmesg` shows the above error, and it kept repeating. Ultimately I had to `reboot` the device.\r\n\r\nNow I am a little worried that other devices might run into a similar issue when stopping services for an auto-update, and will just not work until someone notices and manually power cycles them.\r\n"},"comment":{"url":"https://api.github.com/repos/freifunk-gluon/gluon/issues/comments/394095357","html_url":"https://github.com/freifunk-gluon/gluon/issues/1258#issuecomment-394095357","issue_url":"https://api.github.com/repos/freifunk-gluon/gluon/issues/1258","id":394095357,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDA5NTM1Nw==","user":{"login":"ecsv","id":1094579,"node_id":"MDQ6VXNlcjEwOTQ1Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1094579?v=4","gravatar_id":"","url":"https://api.github.com/users/ecsv","html_url":"https://github.com/ecsv","followers_url":"https://api.github.com/users/ecsv/followers","following_url":"https://api.github.com/users/ecsv/following{/other_user}","gists_url":"https://api.github.com/users/ecsv/gists{/gist_id}","starred_url":"https://api.github.com/users/ecsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecsv/subscriptions","organizations_url":"https://api.github.com/users/ecsv/orgs","repos_url":"https://api.github.com/users/ecsv/repos","events_url":"https://api.github.com/users/ecsv/events{/privacy}","received_events_url":"https://api.github.com/users/ecsv/received_events","type":"User","site_admin":false},"created_at":"2018-06-02T15:31:26Z","updated_at":"2018-06-02T15:31:26Z","author_association":"CONTRIBUTOR","body":"The patches were submitted to batman-adv:\r\n\r\n* https://patchwork.open-mesh.org/patch/17397/\r\n* https://patchwork.open-mesh.org/patch/17398/\r\n\r\nThe branches for gluon master and 2017.1.x (yes, they need slightly different patches) can be found at:\r\n\r\n* https://github.com/FreifunkVogtland/gluon/tree/batadv/gw_refcnt_fix\r\n* https://github.com/FreifunkVogtland/gluon/tree/batadv/gw_refcnt_fix-2017.1.x"}}
{"actor":{"display_login":"ecsv"}}