Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2016 02:00:09 -0700
From:      "K. Macy" <kmacy@freebsd.org>
To:        "K. Macy" <kmacy@freebsd.org>, Johan Hendriks <joh.hendriks@gmail.com>,  "O. Hartmann" <ohartman@zedat.fu-berlin.de>, "current@freebsd.org" <current@freebsd.org>,  "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: em(4) broken in HEAD?
Message-ID:  <CAHM0Q_O2JOQop-7C4prfQWOaKoPV%2BxTbnnn3L%2BQYO7LLM=7xFA@mail.gmail.com>
In-Reply-To: <20160521062847.GA58736@ymer.vnode.se>
References:  <20160520115550.GA56197@ymer.vnode.se> <20160520135946.674eb7ac@hermann> <20160520140528.GA56478@ymer.vnode.se> <CAOaKuAWj9ON8ANpZK42xhw-1PnUuCm9dn7j%2BP9P-DAbDKJZ-Nw@mail.gmail.com> <CAHM0Q_NbPPPBUmuF988Ny_7QcCmU5-9WbtX7jHWhps=Chm96SQ@mail.gmail.com> <CAHM0Q_OOXsoA7=sh9oS9cOsmYShFxEGBKZFTK8K=ih5Vntyn7Q@mail.gmail.com> <20160521062847.GA58736@ymer.vnode.se>

next in thread | previous in thread | raw e-mail | index | archive | help
--089e0103ddf03d0ae50533566f8a
Content-Type: text/plain; charset=UTF-8

Much to my chagrin, this too is my fault. Please apply the attached
patch if it hasn't yet been committed to -CURRENT.

On Fri, May 20, 2016 at 11:28 PM, Joel Dahl <joel@vnode.se> wrote:
> On Fri, May 20, 2016 at 07:32:30PM -0700, K. Macy wrote:
>> I'm seeing watchdog resets on em(4) in my VMWare as of the last day or two.
>>
>> >
>> >
>> > I don't use ipfw, aliases or anything other than stock networking. I
>> > was unable to copy a large image off the VM without getting an
>> > unending stream of watchdog resets which could only be fixed by a
>> > reboot. Fortunately a subsequent IFC fixed it  as of ~15 hours ago.
>> >
>>
>> I take that back. It's still happening.
>
> OK - good to know. I'm going to be travelling for a few days so I won't have
> time to do a binary search to find the commit that broke it.
>
> --
> Joel

--089e0103ddf03d0ae50533566f8a
Content-Type: text/x-patch; charset=US-ASCII; name="tq_wakeup.patch"
Content-Disposition: attachment; filename="tq_wakeup.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_iogxcmxt0

ZGlmZiAtLWdpdCBhL3N5cy9rZXJuL3N1YnJfdGFza3F1ZXVlLmMgYi9zeXMva2Vybi9zdWJyX3Rh
c2txdWV1ZS5jCmluZGV4IDJlZjVhM2MuLjAwY2I0NmYgMTAwNjQ0Ci0tLSBhL3N5cy9rZXJuL3N1
YnJfdGFza3F1ZXVlLmMKKysrIGIvc3lzL2tlcm4vc3Vicl90YXNrcXVldWUuYwpAQCAtNjgsNyAr
NjgsNiBAQCBzdHJ1Y3QgdGFza3F1ZXVlIHsKIAlUQUlMUV9IRUFEKCwgdGFza3F1ZXVlX2J1c3kp
IHRxX2FjdGl2ZTsKIAlzdHJ1Y3QgbXR4CQl0cV9tdXRleDsKIAlzdHJ1Y3QgdGhyZWFkCQkqKnRx
X3RocmVhZHM7Ci0Jc3RydWN0IHRocmVhZAkJKnRxX2N1cnRocmVhZDsKIAlpbnQJCQl0cV90Y291
bnQ7CiAJaW50CQkJdHFfc3BpbjsKIAlpbnQJCQl0cV9mbGFnczsKQEAgLTIyMiw3ICsyMjEsNyBA
QCB0YXNrcXVldWVfZW5xdWV1ZV9sb2NrZWQoc3RydWN0IHRhc2txdWV1ZSAqcXVldWUsIHN0cnVj
dCB0YXNrICp0YXNrKQogCSAqIENvdW50IG11bHRpcGxlIGVucXVldWVzLgogCSAqLwogCWlmICh0
YXNrLT50YV9wZW5kaW5nKSB7Ci0JCWlmICh0YXNrLT50YV9wZW5kaW5nIDwgVUNIQVJfTUFYKQor
CQlpZiAodGFzay0+dGFfcGVuZGluZyA8IFVTSFJUX01BWCkKIAkJCXRhc2stPnRhX3BlbmRpbmcr
KzsKIAkJVFFfVU5MT0NLKHF1ZXVlKTsKIAkJcmV0dXJuICgwKTsKQEAgLTQ2NSw4ICs0Nj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HQpIGRvIHsJXAogCSh0YXNrKS0+dGFfcGVuZGluZyA9IDA7CQkJCVwKLQkodGFzaykt
PnRhX2ZsYWdzID0gMDsJCQkJXAogCSh0YXNrKS0+dGFfcHJpb3JpdHkgPSAocHJpb3JpdHkpOwkJ
XAogCSh0YXNrKS0+dGFfZnVuYyA9IChmdW5jKTsJCQlcCiAJKHRhc2spLT50YV9jb250ZXh0ID0g
KGNvbnRleHQpOwkJCVwKQEAgLTIyNCw3ICsyMjIsNiBAQCBpbnQJdGFza3Fncm91cF9hZGp1c3Qo
c3RydWN0IHRhc2txZ3JvdXAgKnFncm91cCwgaW50IGNudCwgaW50IHN0cmlkZSk7CiAKICNkZWZp
bmUgR1RBU0tfSU5JVCh0YXNrLCBwcmlvcml0eSwgZnVuYywgY29udGV4dCkgZG8gewlcCiAJKHRh
c2spLT50YV9wZW5kaW5nID0gMDsJCQkJXAotCSh0YXNrKS0+dGFfZmxhZ3MgPSBUQVNLX1NLSVBf
V0FLRVVQOwkJXAogCSh0YXNrKS0+dGFfcHJpb3JpdHkgPSAocHJpb3JpdHkpOwkJXAogCSh0YXNr
KS0+dGFfZnVuYyA9IChmdW5jKTsJCQlcCiAJKHRhc2spLT50YV9jb250ZXh0ID0gKGNvbnRleHQp
OwkJCVwK
--089e0103ddf03d0ae50533566f8a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHM0Q_O2JOQop-7C4prfQWOaKoPV%2BxTbnnn3L%2BQYO7LLM=7xFA>