From: Ian Campbell Subject: Re: BUG: unable to handle kernel NULL pointer dereference - xen_spin_lock_flags Date: Tue, 14 Feb 2012 15:37:57 +0000 Message-ID: <1329233877.31256.258.camel@zakaz.uk.xensource.com> References: <4F399181.5060801@theshore.net> <37EB35CA-3984-4C29-98F8-8258D68F9B13@theshore.net> <1329214171.31256.198.camel@zakaz.uk.xensource.com> <4F3A7D92.8020504@theshore.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F3A7D92.8020504@theshore.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Christopher S. Aker" , Jan Beulich Cc: xen devel List-Id: xen-devel@lists.xenproject.org On Tue, 2012-02-14 at 15:28 +0000, Christopher S. Aker wrote: > On 2/14/12 5:09 AM, Ian Campbell wrote: > > I suspect this must be&netbk->net_schedule_list_lock but I don't see > > how that can ever be NULL nor does the offset appear to be 0x474, at > > least in my tree -- although that may depend on debug options. > > > > Are you rebooting guests or plug/unplugging vifs while this is going on? > > Sorry - I'm relaying some of this on behalf of another team member. > > The dom0 insta-panics when running iperf and then bringing a vif down > (for a network rules rebuild). We've only been able to trigger it when > the dom0 is dealing with a boatload of packets. So, it smells like a > race between the vif being marked down, and something thinking it can > still deliver packets to it... > > root@dom0# ip link set vif2.0 down (return = BOOM) > br0: port 4(vif2.0) entering forwarding state > BUG: unable to handle kernel NULL pointer dereference at 00000474 > IP: [] xen_spin_lock_flags+0x27/0x70 > ... I wonder if this is related to the discussion in http://lists.xen.org/archives/html/xen-devel/2011-09/msg00981.html http://lists.xen.org/archives/html/xen-devel/2011-09/msg00985.html Jan, do you recall what you did about that issue? Is it as simple as moving the call to netif_stop_queue(dev) in xenvif_close before the carrier check? Ian.