From owner-freebsd-drivers@FreeBSD.ORG Thu Dec 20 18:01:18 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A4B73AF for ; Thu, 20 Dec 2012 18:01:18 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ea0-f176.google.com (mail-ea0-f176.google.com [209.85.215.176]) by mx1.freebsd.org (Postfix) with ESMTP id DCAB98FC0A for ; Thu, 20 Dec 2012 18:01:17 +0000 (UTC) Received: by mail-ea0-f176.google.com with SMTP id d13so1463538eaa.7 for ; Thu, 20 Dec 2012 10:01:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=5RYxJ1ghqFujKDhd8Zys3xO8DUhn7+ZhS2WBirlkPRY=; b=A2doPNy9q9wpsFgcAg5VnHc+HPYNV+i6ykXrl/8vlKsTVrQcLwWfH+7AIARA7Ntopt KjCEvSAHRelhcfrI5eaO9UXK2cU8z6Kg1gGYwyn+OksvrlSsQ79dIKg0zr3yTB2pFXOh rdhwaAWT41pXDOFa1ANDdRneEJRquE/ZnuDN1D4GzsFgTLQzlbnLz+ss6pVLFUPSCmxq IaHwXHAHrnYHdYCQux4Tk2/1H5I+1lq7sa48z9WCiwv8IB39XKIU3df8CJBz8oxLt8Oz bmuWswE7f0e/dfRf8TRvE8SV5zcIj/A+svGHsWFlEKwCRZSzraIhFBh1OL7odQ759o5b TAvA== MIME-Version: 1.0 Received: by 10.14.194.199 with SMTP id m47mr24999004een.11.1356026476451; Thu, 20 Dec 2012 10:01:16 -0800 (PST) Received: by 10.223.18.22 with HTTP; Thu, 20 Dec 2012 10:01:16 -0800 (PST) Date: Thu, 20 Dec 2012 10:01:16 -0800 Message-ID: Subject: Request for assistance in modifying mfi to support LSI MegaRAID SAS 9266 From: Michael Sierchio To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQl+KDqe4r+Y/8DWPGInrNCAvwYgUNPD8b6VzANCAl3m9NvlobblQKGNRVQ8nTDYnDKqsQpE X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 18:01:18 -0000 LSI MegaRAID SAS 9266 is not supported, the newest mentioned in the hardware notes is the 9260. A helpful pointer in the right direction would be welcome. Even if no code changes are required to support the device, I'm currently stuck on not recognizing the device when probed. pciconf yields none50@pci0:130:0:0: class=0x010400 card=0x92661000 chip=0x005b1000 rev=0x03 hdr=0x00 none50@pci0:130:0:0: class=0x010400 card=0x92661000 chip=0x005b1000 rev=0x03 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' class = mass storage subclass = RAID I am uncertain how these values map to the definitions in mfi_pci.c struct mfi_ident { uint16_t vendor; uint16_t device; uint16_t subvendor; uint16_t subdevice; int flags; const char *desc; } mfi_identifiers[] = { {0x1000, 0x0060, 0x1028, 0xffff, MFI_FLAGS_1078, "Dell PERC 6"}, {0x1000, 0x0060, 0xffff, 0xffff, MFI_FLAGS_1078, "LSI MegaSAS 1078"}, {0x1000, 0x0078, 0xffff, 0xffff, MFI_FLAGS_GEN2, "LSI MegaSAS Gen2"}, {0x1000, 0x0079, 0x1028, 0x1f15, MFI_FLAGS_GEN2, "Dell PERC H800 Adapter"}, {0x1000, 0x0079, 0x1028, 0x1f16, MFI_FLAGS_GEN2, "Dell PERC H700 Adapter"}, {0x1000, 0x0079, 0x1028, 0x1f17, MFI_FLAGS_GEN2, "Dell PERC H700 Integrated"}, {0x1000, 0x0079, 0x1028, 0x1f18, MFI_FLAGS_GEN2, "Dell PERC H700 Modular"}, {0x1000, 0x0079, 0x1028, 0x1f19, MFI_FLAGS_GEN2, "Dell PERC H700"}, {0x1000, 0x0079, 0x1028, 0x1f1b, MFI_FLAGS_GEN2, "Dell PERC H800"}, {0x1000, 0x0079, 0x1028, 0xffff, MFI_FLAGS_GEN2, "Dell PERC Gen2"}, {0x1000, 0x0079, 0xffff, 0xffff, MFI_FLAGS_GEN2, "LSI MegaSAS Gen2"}, {0x1000, 0x007c, 0xffff, 0xffff, MFI_FLAGS_1078, "LSI MegaSAS 1078"}, {0x1000, 0x0411, 0xffff, 0xffff, MFI_FLAGS_1064R, "LSI MegaSAS 1064R"}, /* Brocton IOP */ {0x1000, 0x0413, 0xffff, 0xffff, MFI_FLAGS_1064R, "LSI MegaSAS 1064R"}, /* Verde ZCR */ {0x1000, 0x9266, 0x1000, 0x005b, MFI_FLAGS_GEN2, "LSI MegaSAS 9266"}, {0x1028, 0x0015, 0xffff, 0xffff, MFI_FLAGS_1064R, "Dell PERC 5/i"}, {0, 0, 0, 0, 0, NULL} }; Thanks. - M From owner-freebsd-drivers@FreeBSD.ORG Thu Dec 20 18:30:12 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B765BCA for ; Thu, 20 Dec 2012 18:30:12 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id 94C858FC15 for ; Thu, 20 Dec 2012 18:30:12 +0000 (UTC) Received: from epsilon.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 68F5722158; Thu, 20 Dec 2012 10:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1356028212; bh=tp4/P9Ue4nPkfe7KhqFderTTyrae00e0WBSx3PJwWh0=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=Qh9DcvkZVw6uHw3NSMJ/15qNgisYnBx1QnuM0UDHQAAKuh+DYb03xMxiNxC6rBIpo Z7BxCz1o0epSZ6FmCxY9KJ6D5U7nJkSgZoaGqnpvt7M3nZXMaW8tzi8x9KzdSztOC4 JzYKhsJBf9Ps8oZRgdP+wiCiyJ2zYweIkb/nUxYc= Message-ID: <50D35933.5000209@delphij.net> Date: Thu, 20 Dec 2012 10:30:11 -0800 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: freebsd-drivers@freebsd.org Subject: Re: Request for assistance in modifying mfi to support LSI MegaRAID SAS 9266 References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kudzu@tenebras.com X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 18:30:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, What's your FreeBSD version? Looks like that this should be recognized as "Thunderbolt". Will grep 005b /sys/dev/mfi/* give you anything? If not, you need a newer FreeBSD version. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJQ01kzAAoJEG80Jeu8UPuz4k4H/jMBI3Ap4nyZn3DfNFGGEgVM eNtM+sKnuAq35tw0l+ohZZcCWtUy3cczrno5YqBfH0CxLI0MhPMIlIis1KEmsVg7 ybDhn631zfJyjgc69UM1wpNzaJqqcQpoJDWgN+NLpdsmM9wFWwzCbBOBe5sA2gKu 6kbqacOyi09+1MTp2jbxJg8PJzCKDgVjIwkfL6aheBH2z4jBJQEzUZLpIWC32deS WNG3i8WHbtYZgQUiXCfwhBcz8CaYPMWylGqtfFgkhnywHJgCYcIsET2FoW2QcYyM NE6WRQkfb0iZgDU6FPlyW0A10HPnnnCWJEpyTGjKIAKXBF9yB7Ypyp/iFShX2G0= =XmD6 -----END PGP SIGNATURE----- From owner-freebsd-drivers@FreeBSD.ORG Thu Dec 20 18:39:30 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D1113F6 for ; Thu, 20 Dec 2012 18:39:30 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BFAB28FC12 for ; Thu, 20 Dec 2012 18:39:29 +0000 (UTC) Received: by mail-ee0-f41.google.com with SMTP id d41so1999990eek.0 for ; Thu, 20 Dec 2012 10:39:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=EfWU5dzb4kfApa47J/qs62sNEnYdwXAeqMcy6lywW5M=; b=Daj9bKhJGT8e2c6Foptb8omVX9gD9s+eKtKE/QufLHs2BTBARHzzQRbDyyNSlxhKKA C0mpXsQ0str8f/jB7Nurngho3e3+yjXCsd+JbQJFJcyLKqe121TGR3/KiKZadybT79LH RPgQEGu3QdDIBhPlFLV2zh/LRBRl2Xg/5ITFveulnNjoVskK4SQbQL48gc6qwFI72G1C LoxHFTu6GDaGKHwEMEEQ5eWzvug51XQKR/6VFC8irK/Gaq9Y6i68lgncdngU6FV0vhRD JQPceweAwu4l5Jr8Isli3xxPZBeBBSATKh9x/tQrY2tW2u7HJVnFixaXw5tfR4q89+cY KeMA== MIME-Version: 1.0 Received: by 10.14.218.69 with SMTP id j45mr25055087eep.35.1356028763360; Thu, 20 Dec 2012 10:39:23 -0800 (PST) Received: by 10.223.18.22 with HTTP; Thu, 20 Dec 2012 10:39:23 -0800 (PST) In-Reply-To: <50D35933.5000209@delphij.net> References: <50D35933.5000209@delphij.net> Date: Thu, 20 Dec 2012 10:39:23 -0800 Message-ID: Subject: Re: Request for assistance in modifying mfi to support LSI MegaRAID SAS 9266 From: Michael Sierchio To: d@delphij.net Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnzZfARU3RVZlVKY2NWFUgi5ukRkyzKwxLGRDuxPDrjhJe2Dwd8DY356YOtlBpSLcSSt30M Cc: freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 18:39:30 -0000 On Thu, Dec 20, 2012 at 10:30 AM, Xin Li wrote: > What's your FreeBSD version? Looks like that this should be > recognized as "Thunderbolt". Will grep 005b /sys/dev/mfi/* give you > anything? If not, you need a newer FreeBSD version. 8.3-amd64 Of course there's no mfi device, the probe shows 'none' in the first column. What version is it supported in? I'm interested in getting it to work in 8.3 because it is the only current version supported through 2014. 9.1 is RC-N ;-) 10 is not ready for production (according to my criteria) - M From owner-freebsd-drivers@FreeBSD.ORG Thu Dec 20 18:59:39 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C166D850 for ; Thu, 20 Dec 2012 18:59:39 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) by mx1.freebsd.org (Postfix) with ESMTP id 9E9608FC0A for ; Thu, 20 Dec 2012 18:59:39 +0000 (UTC) Received: from epsilon.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 084EE22246; Thu, 20 Dec 2012 10:59:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1356029979; bh=SZd9anCOcf4QPTrymWV9lfnUdldguYnZREfCIj5Y8Qo=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=WzPnTAZ7UXun4VjAIhtnt+/BiYkBy0I2ZumsfZ+7F7Jlp4lKndEUqL7GQ/2fYJpae hLyWUB0rlxUVFvV669KPtA/d2ACfWWFjy4qXA9swi1Dnu/3zyQaBTn/8PJPl3yHl0J ZPcs4hjQhx5qtDNW0tK6iiddwvb6jAhGlCMTIrrM= Message-ID: <50D3601A.1000209@delphij.net> Date: Thu, 20 Dec 2012 10:59:38 -0800 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: Michael Sierchio Subject: Re: Request for assistance in modifying mfi to support LSI MegaRAID SAS 9266 References: <50D35933.5000209@delphij.net> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: d@delphij.net, freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 18:59:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 12/20/12 10:39, Michael Sierchio wrote: > On Thu, Dec 20, 2012 at 10:30 AM, Xin Li > wrote: > >> What's your FreeBSD version? Looks like that this should be >> recognized as "Thunderbolt". Will grep 005b /sys/dev/mfi/* give >> you anything? If not, you need a newer FreeBSD version. > > 8.3-amd64 > > Of course there's no mfi device, the probe shows 'none' in the > first column. I'm pretty sure that 8.3 does not support it, this is very new feature. > What version is it supported in? I'm interested in getting it to > work in 8.3 because it is the only current version supported > through 2014. 9.1 is RC-N ;-) 10 is not ready for production > (according to my criteria) 9.1-RELEASE. 9.1's code is already totally frozen, you may consider it as released (you can already update existing systems with freebsd-update), and moreover, it will be supported by security team as "Extended support" (with my secteam@ hat on, 2 years at least, from the release date). Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJQ02AaAAoJEG80Jeu8UPuznF4IAJ5YR/RhFw/A0hgXfw4qt7c3 OzcSUr2ovwbOlXkS1Hz+eipVTl5OS4gKqMEIMOPcLeSS4CHd8apKxvF2WS9A2NsO NiJCxhg6Ah+QSY8/0eqHM609D2DXPtWTgmEoYdAuVwzLh+ad0QMehXyD7+T62OXW L14FyZ6lvxtlzqHlaDIg2FUiUF+vn8EexDnDcXtqIH1ioTSy7WQ7krI+I2O4R0bz R+UzJTxu2oPTTaP6EHYICGmmC3H5Aq3tLGY+3vHUgTfTBIZRFOmSciltG2uETaoQ 4NHpze9ad8xb+938r1fgmf2Y4IKiM2jHQdMHkVSBuCxvaKTsRIGM/14waKzo0gg= =n/2x -----END PGP SIGNATURE----- From owner-freebsd-drivers@FreeBSD.ORG Thu Dec 20 19:10:33 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35FA1950 for ; Thu, 20 Dec 2012 19:10:33 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) by mx1.freebsd.org (Postfix) with ESMTP id B57BB8FC13 for ; Thu, 20 Dec 2012 19:10:32 +0000 (UTC) Received: by mail-ea0-f169.google.com with SMTP id a12so1495043eaa.14 for ; Thu, 20 Dec 2012 11:10:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=obANNOXc6CfEGbR46FCzd2eXiVAgKP8nEB2HYQuYwaA=; b=pVKbuLiUPDd5l9JLJi7KwBrLFA0PFoUS3ANI1zqqzrfQnsnznBQuHE+hbPC/V7ONkm KNoEqdokvzHQWofIAu6fDl2aDa3Bxh0Feg9W54UmtF7yB++0hNJ4Q2OfiPIu1Lsm4zPb /aBRkWKNGwHKYRKyEo1LBt3/UWwFUYvB4U5ITYoiIue+QP8D/935UIdwe8kWwGjFpLJB CL3nSd59OrlgqW2mB+Oki7PyqLWYvHdK8Ckdq5YyVSA50V9N600gWALWLPpmSoEhSExd F45qs6GNpNoWOUJ54ZOdeT6cq6glrs6SMwHtW7Nx+tGLvugM+NFss46h+RfhWvPsgpPD ambA== MIME-Version: 1.0 Received: by 10.14.221.9 with SMTP id q9mr25580541eep.3.1356030193534; Thu, 20 Dec 2012 11:03:13 -0800 (PST) Received: by 10.223.18.22 with HTTP; Thu, 20 Dec 2012 11:03:13 -0800 (PST) In-Reply-To: <50D3601A.1000209@delphij.net> References: <50D35933.5000209@delphij.net> <50D3601A.1000209@delphij.net> Date: Thu, 20 Dec 2012 11:03:13 -0800 Message-ID: Subject: Re: Request for assistance in modifying mfi to support LSI MegaRAID SAS 9266 From: Michael Sierchio To: d@delphij.net Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQluVERA248yfpb5g96wSqxICU1rv1SzJbdn/NcS2y51M3xm9Sn8bpeh5+Bh92A45YJM85ht Cc: freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 19:10:33 -0000 On Thu, Dec 20, 2012 at 10:59 AM, Xin Li wrote: >> What version is it supported in? I'm interested in getting it to >> work in 8.3 because it is the only current version supported >> through 2014. 9.1 is RC-N ;-) 10 is not ready for production >> (according to my criteria) > > 9.1-RELEASE. Thanks. I may back-port it, or go with 9.1 (as you suggest). - M