From owner-freebsd-net@freebsd.org Tue Nov 29 00:55:00 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68A36C5A112 for ; Tue, 29 Nov 2016 00:55:00 +0000 (UTC) (envelope-from navada@usc.edu) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 465A21376 for ; Tue, 29 Nov 2016 00:55:00 +0000 (UTC) (envelope-from navada@usc.edu) Received: by mailman.ysv.freebsd.org (Postfix) id 42D04C5A111; Tue, 29 Nov 2016 00:55:00 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4271AC5A10F for ; Tue, 29 Nov 2016 00:55:00 +0000 (UTC) (envelope-from navada@usc.edu) Received: from mail-pf0-x234.google.com (mail-pf0-x234.google.com [IPv6:2607:f8b0:400e:c00::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C5221375 for ; Tue, 29 Nov 2016 00:54:59 +0000 (UTC) (envelope-from navada@usc.edu) Received: by mail-pf0-x234.google.com with SMTP id i88so27784979pfk.2 for ; Mon, 28 Nov 2016 16:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usc-edu.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:message-id:date:to; bh=xleQ4+CHmUFnaOsw37zYPEd9GwxDmvdse8Mp5bT9pBs=; b=vApmUXY/K7k6k0gAAWBOJysmR0ynKZ1D499JoJmXEFajlXkH/hp/ImFOrnbfcMBBuJ ElJ4o7Z1zRnwBdnTtYDYCZ7zFtaddcYk6wOfpamjuBAwdOk4j3pQ1MSy/GkPw/He8R96 QD2BXFUhkZM7asKaZUxTwbe0CvsqZtEk6sfi7DL8FbcFHs2T8/yz9q4v2pL04xDjoRU4 LoVe7Vf+KEWUPn5BXhK17uzbfMzg6bSA1bYDdvD9KDezBdwGMTZfv5I1k0ESDF22JF1x 1FPMucnK85gC3loA7F/tQXInsWtvlVtkq7Ln5lgET/HxHM2QgR8JZ+muyuPImu5iZU5v POJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=xleQ4+CHmUFnaOsw37zYPEd9GwxDmvdse8Mp5bT9pBs=; b=hIzqrNneXF/4yXq4Op5HsdfUeHNKKjo5F8rT01eJEzC5ruNvZeZwdO9paWjCAVJuq1 7SJoSXzVRB7mTTot1zVBa/TrLEjbngnJ5NlwaiyJf5DsO+rGuzI7X19jnj+HCsODc8yL 3x+3R5uy2mrSnIXR7e6xlac4AkQS29VTdJva+LGtLsTymPudS1kWGef8DRCDuTb2xXIQ YxVyXmw3G2BLDghj+1oxT+hpuslHvV4KYRtnKnL9P03F4Bsqb9eimexUWhja4Q3WsMnl t9M820iYOJv1UG9MQDqxXcd6Snu+omhP8VxWVJRN8lHVMqlzkVrbijyj1HrEUge+pLBK er+A== X-Gm-Message-State: AKaTC02RC7CSbJ0Ifx06DtP8CeXJq6qcjar5Nx8iltybAgWqEWrCTh+JZmFshlRTfDKXympo X-Received: by 10.84.175.234 with SMTP id t97mr55834912plb.145.1480380899273; Mon, 28 Nov 2016 16:54:59 -0800 (PST) Received: from guest-wireless-207-151-063-168.usc.edu (guest-wireless-207-151-063-168.usc.edu. [207.151.63.168]) by smtp.gmail.com with ESMTPSA id f132sm73616485pfa.72.2016.11.28.16.54.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 16:54:58 -0800 (PST) From: Harsha Navada Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: RE: Requesting help in Netmap build on Linux Ubuntu-12.04 Message-Id: <061FA295-11CD-4C46-8556-2B47C6F7CC32@usc.edu> Date: Mon, 28 Nov 2016 16:54:58 -0800 To: net@freebsd.org X-Mailer: Apple Mail (2.3251) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 00:55:00 -0000 Hello , I=E2=80=99m new to netmap where I=E2=80=99m trying to insert netmap.ko = module after compiling my kernel and I=E2=80=99m shown with the = following error: netmap: Unknown symbol split_page (err 0) Here are the steps and different methods I followed:=20 I. Compile Kernel 3.2.0 1. My Ubuntu 12.04 machine has a kernel version 3.2.0-90-generic, so i = got the linux source by: sudo apt-get source linux-source-3.2.0 2. Then i work on trying to compile the kernel a. sudo make menuconfig =E2=80=94 Keep default config b. sudo sed -i s/CONFIG_RTS5139=3Dm/CONFIG_RTS5139=3Dn/ .config = - to avoid compilation errors c. sudo make clean d. sudo make -j10 e. sudo make bzImage f. sudo make modules g.sudo make modules_install h. sudo make install i. sudo update-grub2 j. sudo reboot.=20 2 b. On checking kernel version using name -r , this is the kernel = version - 3.2.79 3. Then i download the netmap-master branch from git and upload it to my = machine , cannot use git clone as it doesn=E2=80=99t support external = connections. 4.Unzipping the bundle and switch to LINUX folder to run ./configure 5. Here i received errors where netmap-master/LINUX/drivers/ext-patch = couldn=E2=80=99t be downloaded due to failure to connect. 6. I downloaded these drivers and placed them in that path. 7. I received a warning telling cannot find complete kernel sources, = which i referenced later as=20 ./configure =E2=80=94kernel-sources =3D = /lib/modules/linux-source-(uname -r)/build 8. Then after clearing all warning and errors, the generated netmap.ko = file I try to insert , which gives me the error netmap: Unknown symbol split_page (err 0) II. Avoid kernel compliation 1. Then i download the netmap-master branch from git and upload it to my = machine , cannot use git clone as it doesn=E2=80=99t support external = connections. 2.Unzipping the bundle and switch to LINUX folder to run ./configure 3. Here i received errors where netmap-master/LINUX/drivers/ext-patch = couldn=E2=80=99t be downloaded due to failure to connect. 4. I downloaded these drivers and placed them in that path. 5. I received a warning telling cannot find complete kernel sources, = which i referenced later as=20 ./configure =E2=80=94kernel-sources =3D = /lib/modules/linux-source-(uname -r)/build 6. Then after clearing all warning and errors, the generated netmap.ko = file I try to insert , which gives me the error netmap: Unknown symbol split_page (err 0) III. Tried switching to FreeBSD Cannot download the FreeBSD 10.2 image due to security reasons = mentioned in git / wget.=20 I=E2=80=99m totally stuck for the past 2 weeks and would appreciate help = on this.=20 Thanks=20 H