From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 27 14:37:42 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCB4316A4FD for ; Mon, 27 Nov 2006 14:37:42 +0000 (UTC) (envelope-from v.sri.sai.ganesh@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26B2B43D92 for ; Mon, 27 Nov 2006 14:36:14 +0000 (GMT) (envelope-from v.sri.sai.ganesh@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1057242uge for ; Mon, 27 Nov 2006 06:37:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BiBittV0ciLWXTZiECf7b+MxfH+5ut5ZJAKgmImd/oyl1BeLpMTsf0LVG63EYzfkPSAxfAc4dVE4sV1+y6shFA1FZ8ZO8KJCZH8AsBQZp46sGagjho2F74hyccfdSe4GSnl5KRhXlmtZXzrvVIi7zibK790kP85RDB77uY2SsWk= Received: by 10.67.100.17 with SMTP id c17mr12623792ugm.1164638234230; Mon, 27 Nov 2006 06:37:14 -0800 (PST) Received: by 10.67.90.9 with HTTP; Mon, 27 Nov 2006 06:37:13 -0800 (PST) Message-ID: <35586460611270637q18567951y71f6eb6c3cad5836@mail.gmail.com> Date: Mon, 27 Nov 2006 20:07:13 +0530 From: "V.SriSaiGanesh Venkataramani" To: freebsd-scsi@freebsd.org, freebsd-drivers@freebsd.org, Freebsd-users@uk.freebsd.org, freebsd-stable@freebsd.org, freebsd-standards@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Regarding Multiple RAID controller support with FreeBSD 4.11 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 14:37:42 -0000 Hello, I have enabled the support for LSI SAS1068 controller with 4.11 Release, and i compiled the kernel with chnages, it compiles with some work arounds. When booting it successfully detects the LSI controller. I will tell my system config My system is HP Proliant DL380G4, and i have one internal SCSI embedded 6i card, to which i have connected my FreeBSD boot harddisk, and all of my freebsd slices lies there. I have connected two more controllers. One is Smart Array 642 controller, with no drives connected, and LSI SAS 1068 controller with two physical drive connected. Now i didnt create any LUNs with this controller, LSI SAS 1068, Smart Array 6i,Smart Array 642 controllers are connected in PCI slot 1, 3, and 6. I have selected 6i card as the boot Controller in BIOS stage, so initially when the system is powered on, it starts booting from my 6i controller. Without the LSI SAS driver, 6i controller's LUN's slices are mapped with /dev/da0s1a-/dev/da0s1f(with /dev/da0s1a as root partition). When i installed the system the root partition's slice was da0s1a. Now when i compiled the kernel with the support of LSI SAS driver, and i booted it, the LSI card first gets detected and the raw drives connected to LSI controller becomes da0, da1. Then my boot 6i gets detected and the LUN present in this conroller gets da2. When my new kernel tries to mount the root, it always sees the root in da0s1a. So it tells mount failed, and it gives me mountroot> prompt. I dont know how to give the root partition option as boot arguments in freebsd boot line, Or is there anything in config file, while we are compiling. How to allocate these device strings dynamically, or how to make our kernel takes the root parition dynamically. I need help regarding this issue. Help me out in figuring out the problem. I have tries disabling the SCSI BIOS in LSI's firrmware config utility, the firmware what am using does not have that support. Thanks and Regards, SaiGanesh