From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by dpdk.org (Postfix) with ESMTP id 85AAC1F3 for ; Wed, 14 Aug 2013 07:57:57 +0200 (CEST) Received: by mail-pd0-f169.google.com with SMTP id r10so5902374pdi.0 for ; Tue, 13 Aug 2013 22:58:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=1vBEiaKr6YcWjakaygkcloY2A3Bg3MNGk+hb0sIlTdA=; b=EiomNldCdfqbyoW90aUxD74VhFET3JKpwi3D05Yt6OxeTzZkVdrjqBw/hiai4EDUTd RX/3AYhPLStcKdIP/ILcqWwQEHRYN4SFdxtv7mohwo1A+Q2/uEJjvYeUCY7T5ynRonjY M364ap0Ylhw5HfV+O66VJsGaZJLspGzwcHbE2p4bsMyiHpevCfeG9EWV/jGZ2FTNTAze cy0XkDIuW92PhcAEZaVYIXOBWTlygXxhsR9IZAzm471v/c9X8ITLnTgdZg0qb9Zk9ezs 45b5PNBu+y7aU2XEqyUJhSy84XqjvsAxQBgxJF9sw7se6MW/W0blAPHcRxVTyPyeQCQ9 UYwQ== X-Gm-Message-State: ALoCoQkePRSRZ2e2DIKVI8ktuxzdqJiHOnDYeyPxi9SDOOCOvsn8TAIpYpSaWTrWlfoyAr8T1TVg X-Received: by 10.66.188.203 with SMTP id gc11mr8007073pac.63.1376459905212; Tue, 13 Aug 2013 22:58:25 -0700 (PDT) Received: from nehalam.linuxnetplumber.net (static-50-53-69-237.bvtn.or.frontiernet.net. [50.53.69.237]) by mx.google.com with ESMTPSA id xl3sm47999543pbb.17.2013.08.13.22.58.24 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 13 Aug 2013 22:58:24 -0700 (PDT) Date: Tue, 13 Aug 2013 22:58:21 -0700 From: Stephen Hemminger To: =?gb2312?B?sLK66r/8?= Message-ID: <20130813225821.3e23ad90@nehalam.linuxnetplumber.net> In-Reply-To: <005701ce98a1$87c081e0$974185a0$@126.com> References: <005701ce98a1$87c081e0$974185a0$@126.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] kernel panic when stop my test demo X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 05:57:58 -0000 Does your application have a signal handler and stop the device on shutdown? Since DPDK app's have raw access to the hardware it is critical to stop the hardware on exit. Other wise the Ethernet device can overwrite random memory. Perhaps the igb_uio driver should also have a fail safe and write to the status register to reset the device on close.