From owner-freebsd-bugs@freebsd.org Mon Jul 20 13:01:47 2015 Return-Path: Delivered-To: freebsd-bugs@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 43EE99A6666 for ; Mon, 20 Jul 2015 13:01:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 171871259 for ; Mon, 20 Jul 2015 13:01:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6KD1kTN040222 for ; Mon, 20 Jul 2015 13:01:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 201716] mrsas adapter initialize fail Date: Mon, 20 Jul 2015 13:01:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: prlw1@cam.ac.uk X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 13:01:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201716 Bug ID: 201716 Summary: mrsas adapter initialize fail Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: prlw1@cam.ac.uk I popped a MegaRAID SAS card: vendor 0x1000 device 0x5f subvendor 0x1014 subdevice 0x456 SYMBIOS SAS3008 IBM ?? "ServeRAID M1215" ? into a box I'm building, booted a snapshot kernel: FreeBSD 11.0-CURRENT #0 r285616: Thu Jul 16 02:21:59 UTC 2015 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 and see: AVAGO MegaRAID SAS FreeBSD mrsas driver version: 06.707.05.00-fbsd mrsas0: port 0xe000-0xe0ff mem 0xf7a00000-0xf7a0ffff,0xf7900000-0xf79fffff irq 16 at device 0.0 on pci1 mrsas0: Using MSI-X with 4 number of vectors mrsas0: FW supports <96> MSIX vector,Online CPU 4 Current MSIX <4> mrsas0: IOC Init failed, status = 0x3 mrsas0: Adapter intialize Fail. device_attach: mrsas0 attach returned 6 Just to check that the card is OK, I tried Debian, where the card is recognised: Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) ... megasas: 06.803.01.00-rc1 Mon. Mar. 10 17:00:00 PDT 2014 megasas: 0x1000:0x005f:0x1014:0x0456: bus 1:slot 0:func 0 libata version 3.00 loaded. ahci 0000:00:1f.2: version 3.0 ahci 0000:00:1f.2: irq 43 for MSI/MSI-X megasas: FW now in Ready state megaraid_sas 0000:01:00.0: irq 43 for MSI/MSI-X megaraid_sas 0000:01:00.0: irq 44 for MSI/MSI-X megaraid_sas 0000:01:00.0: irq 45 for MSI/MSI-X megaraid_sas 0000:01:00.0: irq 46 for MSI/MSI-X megaraid_sas 0000:01:00.0: [scsi0]: FW supports <96> MSIX vector,Online CPUs: <4>,Current MSIX <4> I take it that if Debian is mentioning scsi0, then the adapter providing the scsibus must have initialised successfully. Any idea what the FreeBSD mrsas driver is doing differently? -- You are receiving this mail because: You are the assignee for the bug.