Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599400 - sys-apps/netplug-1.2.9.2-r1 daemon dies on network card kernel module reload
Summary: sys-apps/netplug-1.2.9.2-r1 daemon dies on network card kernel module reload
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-11-10 14:29 UTC by njje jon
Modified: 2016-11-21 09:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description njje jon 2016-11-10 14:29:06 UTC
I start the netplugd daemon to monitor certain type of cards, in my case Intel's 10G ethernet card, which is using ixgbe kernel module. 
On reloading the kernel module the netplugd daemon dies, issuing a syslog message:
"unexpected state DOWNANDOUT for UP"

I saw that there was similar problem solved in Debian with their own patch (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652418), tested and it seems to do the job for me. 
I couldn't find any patch on this on the "official" netplug source repo.

My environment is Gentoo Linux with kernel 3.14.56 on amd64 hardware and sys-apps/netplug-1.2.9.2-r1, but from what I saw quite sure it can be reproduced on other platforms also.
Reproducible: Always
Comment 1 Jonas Stein gentoo-dev 2016-11-13 09:32:42 UTC
Thank you for the report. Is upstream aware of this already? Will they include the patch soon?
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-11-13 19:54:00 UTC
(In reply to Jonas Stein from comment #1)
> Thank you for the report. Is upstream aware of this already? Will they
> include the patch soon?

I doubt it. Upstram is long dead...

Will look into this. The patch looks easy enough to be carried on by us.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-11-13 19:54:29 UTC
Eh, I mean "upstream".
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-11-21 09:52:11 UTC
commit 1bec950fed100d95d1c2b8e9787c89ff667af598
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Mon Nov 21 10:51:16 2016

    sys-apps/netplug: Fixed DOWNANDOUT crash (bug #599400).

    Package-Manager: portage-2.3.2


Fixed in sys-apps/netplug-1.2.9.2-r2