From owner-freebsd-stable@FreeBSD.ORG Thu Jun 11 12:23:15 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A9E1522 for ; Thu, 11 Jun 2015 12:23:15 +0000 (UTC) (envelope-from unixro@gmail.com) Received: from mail-wg0-x243.google.com (mail-wg0-x243.google.com [IPv6:2a00:1450:400c:c00::243]) (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 D6E351AD9 for ; Thu, 11 Jun 2015 12:23:14 +0000 (UTC) (envelope-from unixro@gmail.com) Received: by wggy19 with SMTP id y19so955922wgg.2 for ; Thu, 11 Jun 2015 05:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=A0OkrQ29TIPJpQf+50UiyD98+j5Qs7pjKgre+dLE7sY=; b=Buq4awoMZQZEUHwRrFTR+yQSxiO4T6jAPalb0yphuRkAaSQ1xFpt32oNFakraIgd6J u2d8jppgTzzx8jkn2lP5JZd8AxuPwBCsq8mARwjB6u9lQO3n/Z4sNthl92k1zjm5CaZx L/TnL8y/HeA2mr3u9iVY1BPVa/aOTuMeFkpxX90kffz5C0C+7Cy9P2x5p5/UC2Yx03cg BM28SYDFoUdIXpF41wGAZuz7BGA6DNV3yLVZmYyxJ7i9Vp7WBcYBzW2LtP1vpZT6v46D 6whb6/aobkt62VhOGnsb3MZfhI6bug2wIklDUScLvIBl1x4l7GrQFNvgzhjOtmExAaNP KclQ== X-Received: by 10.180.91.107 with SMTP id cd11mr18210936wib.51.1434025393254; Thu, 11 Jun 2015 05:23:13 -0700 (PDT) Received: from [192.168.3.105] ([193.148.0.35]) by mx.google.com with ESMTPSA id ej5sm851416wjd.22.2015.06.11.05.23.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jun 2015 05:23:12 -0700 (PDT) Message-ID: <55797DAF.2020304@gmail.com> Date: Thu, 11 Jun 2015 15:23:11 +0300 From: Mihai Vintila User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Kernel Source - Noob question Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 12:23:15 -0000 Hi, I want to compile only mlx drivers since they don't seem available by default. But i'm having a hard time finding the source for FreeBSD 10.1 p10. Can you guys indicate what is the best way to do it without recompiling full kernel. Right now i've taken the src.tgz from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/10.1-STABLE/ Compiled the modules but when i try to load them i end up with: KLD mlx4.ko: depends on kernel - not available or version mismatch linker_load_file: Unsupported file type Kernel i'm using is FreeBSD nvme 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 -- Best regards, Vintila Mihai Alexandru