From patchwork Sat May 26 10:11:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Francois Romieu X-Patchwork-Id: 161476 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 57DDBB6F9F for ; Sat, 26 May 2012 20:19:43 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752538Ab2EZKTl (ORCPT ); Sat, 26 May 2012 06:19:41 -0400 Received: from violet.fr.zoreil.com ([92.243.8.30]:45538 "EHLO violet.fr.zoreil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752506Ab2EZKTj (ORCPT ); Sat, 26 May 2012 06:19:39 -0400 Received: from violet.fr.zoreil.com (localhost [127.0.0.1]) by violet.fr.zoreil.com (8.13.8/8.13.8) with ESMTP id q4QABX5Y006191; Sat, 26 May 2012 12:11:33 +0200 Received: (from romieu@localhost) by violet.fr.zoreil.com (8.13.8/8.13.8/Submit) id q4QABXos006190; Sat, 26 May 2012 12:11:33 +0200 Date: Sat, 26 May 2012 12:11:33 +0200 From: Francois Romieu To: Alex =?utf-8?B?VmlsbGFjw63CrXM=?= Lasso Cc: netdev@vger.kernel.org Subject: Re: Fwd: Re: WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x277/0x280() Message-ID: <20120526101133.GA6170@electric-eye.fr.zoreil.com> References: <20120503064726.GA17337@electric-eye.fr.zoreil.com> <4FA2A6A4.1030308@ceibo.fiec.espol.edu.ec> <4FA3EE49.7070805@palosanto.com> <4FA59F5B.5000800@palosanto.com> <20120505230155.GA3300@electric-eye.fr.zoreil.com> <4FBE533E.6030107@palosanto.com> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <4FBE533E.6030107@palosanto.com> User-Agent: Mutt/1.4.2.2i X-Organisation: Land of Sunshine Inc. Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Alex Villací­s Lasso : [...] > According to my bisection, the first bad commit is 036dafa28da1e2565a8529de2ae663c37b7a0060 . Here is my bisection log: There would be something wrong with bql support. Can you apply the attached patches on top of 3.4 or later then send the kernel log output whent the bug happens ? Thanks. diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 00b4f56..01f3367 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -5345,7 +5345,7 @@ static void rtl8169_unmap_tx_skb(struct device *d, struct ring_info *tx_skb, dma_unmap_single(d, le64_to_cpu(desc->addr), len, DMA_TO_DEVICE); - desc->opts1 = 0x00; + desc->opts1 &= cpu_to_le32(RingEnd); desc->opts2 = 0x00; desc->addr = 0x00; tx_skb->len = 0;