From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m50-112.126.com (m50-112.126.com [123.125.50.112]) by dpdk.org (Postfix) with ESMTP id 58BBD1F3 for ; Wed, 14 Aug 2013 08:41:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Received:From:To:Cc:References:In-Reply-To:Subject: Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:Thread-Index:Content-Language; bh=lHvS 2B+ktuTQYzIaI8L37Yl1r9c6nCBR4LEhWSBHT5I=; b=Ny56WZSiod+Tl4hDVm3L 5yv9RLyfqhYlEyJsf07C3rdadYRccf54ZOnSjGzDbgEJI7u46RxgjCtBRsvuAW+H DfrLQonpFFrw39hjnRASeljxx190vh3v2jFe4yxDhE67wH0h0OapQLydcIyCKlI9 qq+h6Tm0ECvqaxNBPYUQN/4= Received: from anhk (unknown [122.200.72.179]) by smtp6 (Coremail) with SMTP id j9KowEC5DGeWJgtSupszBQ--.1599S2; Wed, 14 Aug 2013 14:41:27 +0800 (CST) From: =?gb2312?B?sLK66r/8?= To: "'Stephen Hemminger'" References: <005701ce98a1$87c081e0$974185a0$@126.com> <20130813225821.3e23ad90@nehalam.linuxnetplumber.net> In-Reply-To: <20130813225821.3e23ad90@nehalam.linuxnetplumber.net> Date: Wed, 14 Aug 2013 14:41:14 +0800 Message-ID: <006a01ce98b9$4631bec0$d2953c40$@126.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGjA2DRXQBXYPakABNa2s7EczgggQHZ99ZUmdyb6QA= Content-Language: zh-cn X-CM-TRANSID: j9KowEC5DGeWJgtSupszBQ--.1599S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUfYhFUUUUU X-CM-SenderInfo: 5dqkysa6rslhhfrp/1tbi2wV5XUr1G8rHRQAAsW Cc: dev@dpdk.org Subject: [dpdk-dev] =?gb2312?b?tPC4tDogIGtlcm5lbCBwYW5pYyB3aGVuIHN0b3Ag?= =?gb2312?b?bXkgdGVzdCBkZW1v?= 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 06:41:06 -0000 I see, thanks. -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: Stephen Hemminger = [mailto:stephen@networkplumber.org]=20 =B7=A2=CB=CD=CA=B1=BC=E4: 2013=C4=EA8=D4=C214=C8=D5 13:58 =CA=D5=BC=FE=C8=CB: =B0=B2=BA=EA=BF=FC =B3=AD=CB=CD: dev@dpdk.org =D6=F7=CC=E2: Re: [dpdk-dev] kernel panic when stop my test demo 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.