From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?gb2312?B?sLK66r/8?= Subject: =?gb2312?b?tPC4tDogIGtlcm5lbCBwYW5pYyB3aGVuIHN0b3Ag?= =?gb2312?b?bXkgdGVzdCBkZW1v?= Date: Wed, 14 Aug 2013 14:41:14 +0800 Message-ID: <006a01ce98b9$4631bec0$d2953c40$@126.com> References: <005701ce98a1$87c081e0$974185a0$@126.com> <20130813225821.3e23ad90@nehalam.linuxnetplumber.net> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: "'Stephen Hemminger'" Return-path: In-Reply-To: <20130813225821.3e23ad90-We1ePj4FEcvRI77zikRAJc56i+j3xesD0e7PPNI6Mm0@public.gmane.org> Content-Language: zh-cn List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" I see, thanks. -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: Stephen Hemminger = [mailto:stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.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-VfR2kkLFssw@public.gmane.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.