From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from jaguar.aricent.com (jaguar.aricent.com [180.151.2.24]) by dpdk.org (Postfix) with ESMTP id 62DAF1F3 for ; Mon, 14 Jul 2014 12:16:39 +0200 (CEST) Received: from jaguar.aricent.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F19D82185BF for ; Mon, 14 Jul 2014 15:47:16 +0530 (IST) Received: from GURCASV03.AD.ARICENT.COM (unknown [10.203.26.101]) by jaguar.aricent.com (Postfix) with ESMTPS id D779C218507 for ; Mon, 14 Jul 2014 15:47:16 +0530 (IST) Received: from GURMBXV02.AD.ARICENT.COM (10.203.26.97) by GURMBXV02.AD.ARICENT.COM (10.203.26.97) with Microsoft SMTP Server (TLS) id 15.0.847.32; Mon, 14 Jul 2014 15:47:10 +0530 Received: from GURMBXV02.AD.ARICENT.COM ([169.254.4.204]) by GURMBXV02.AD.ARICENT.COM ([169.254.4.204]) with mapi id 15.00.0847.030; Mon, 14 Jul 2014 15:47:10 +0530 From: Srinivas Reddi To: "dev@dpdk.org" Thread-Topic: MENNIC1.2 host-sim crashed for me Thread-Index: Ac+fTMUAzySYOBvfTyqMuy1ry+oBHA== Date: Mon, 14 Jul 2014 10:17:09 +0000 Message-ID: <97f38ab32ebb49759fb699b4bc23e623@GURMBXV02.AD.ARICENT.COM> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.203.2.27] MIME-Version: 1.0 X-TM-AS-MML: disable Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] MENNIC1.2 host-sim crashed for me 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: Mon, 14 Jul 2014 10:16:39 -0000 Hi, I want to run MEMNIC 1.2 application . 1. I compiled DPDK1.6 2. I compiled memnic.12 3. And while running memnic-hostsim app got strucked 4. 5. [root@localhost host-sim]# ./memnic-host-sim /dev/shm/ivshm Bus error (core dumped) Core was generated by `./memnic-host-sim /dev/shm/ivshm'. Program terminated with signal SIGBUS, Bus error. #0 0x0000003a82e894e4 in memset () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install glibc-2.18-11.fc20.x86_= 64 (gdb) bt #0 0x0000003a82e894e4 in memset () from /lib64/libc.so.6 #1 0x00000000004008a3 in init_memnic (nic=3D0x7ffff6fe2000) at host-sim.c:= 55 #2 0x0000000000400a8a in main (argc=3D2, argv=3D0x7fffffffe4a8) at host-si= m.c:106 (gdb) Got error at line 55 .. saying nic is read only.. 53 static void init_memnic(struct memnic_area *nic) 54 { 55 memset(nic, 0, sizeof(*nic)); 56 nic->hdr.magic =3D MEMNIC_MAGIC; 57 nic->hdr.version =3D MEMNIC_VERSION; 58 /* 00:09:c0:00:13:37 */ 59 nic->hdr.mac_addr[0] =3D 0x00; 60 nic->hdr.mac_addr[1] =3D 0x09; 61 nic->hdr.mac_addr[2] =3D 0xc0; 62 nic->hdr.mac_addr[3] =3D 0x00; 63 nic->hdr.mac_addr[4] =3D 0x13; 64 nic->hdr.mac_addr[5] =3D 0x37; 65 } Thanks, Srinivas. "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error, please notify the originator immediately. If you are not t= he intended recipient, you are notified that you are strictly prohibited fr= om using, copying, altering, or disclosing the contents of this message. Ar= icent accepts no responsibility for loss or damage arising from the use of = the information transmitted by this email including damage from virus."