From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 8 23:00:15 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00622106567B for ; Tue, 8 Jun 2010 23:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B8BB58FC14 for ; Tue, 8 Jun 2010 23:00:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o58N0EFw003175 for ; Tue, 8 Jun 2010 23:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o58N0Eqv003173; Tue, 8 Jun 2010 23:00:14 GMT (envelope-from gnats) Resent-Date: Tue, 8 Jun 2010 23:00:14 GMT Resent-Message-Id: <201006082300.o58N0Eqv003173@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volodymyr Kostyrko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2B4B1065675 for ; Tue, 8 Jun 2010 22:51:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D1D2F8FC0C for ; Tue, 8 Jun 2010 22:51:23 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o58MpNkp097907 for ; Tue, 8 Jun 2010 22:51:23 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o58MpNq8097906; Tue, 8 Jun 2010 22:51:23 GMT (envelope-from nobody) Message-Id: <201006082251.o58MpNq8097906@www.freebsd.org> Date: Tue, 8 Jun 2010 22:51:23 GMT From: Volodymyr Kostyrko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/147704: sys/dev/mpt: new chip revision, partially unsupported X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2010 23:00:15 -0000 >Number: 147704 >Category: kern >Synopsis: sys/dev/mpt: new chip revision, partially unsupported >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 08 23:00:14 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Volodymyr Kostyrko >Release: RELENG_8 >Organization: >Environment: FreeBSD flashk0 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Sat Jun 5 07:53:25 UTC 2010 arcade@flashk0:/usr/obj/usr/src/sys/MINIMAL_8 amd64 >Description: When trying to setup system on Supermicro X8DT3 board I found that mpt driver behaves incorrectly. It detects all physical devices and none virtual. Attaching device gives this: Jun 8 22:19:33 flashk0 kernel: mpt0: port 0xd000-0xd0ff mem 0xfabec000-0xfabeffff,0xfabf0000-0xfabfffff irq 16 at device 0.0 on pci3 Jun 8 22:19:33 flashk0 kernel: mpt0: [ITHREAD] Jun 8 22:19:33 flashk0 kernel: mpt0: MPI Version=1.5.18.0 Jun 8 22:19:37 flashk0 kernel: da0 at mpt0 bus 0 scbus0 target 0 lun 0 Jun 8 22:19:37 flashk0 kernel: da0: Fixed Direct Access SCSI-6 device Jun 8 22:19:37 flashk0 kernel: da0: 300.000MB/s transfers Jun 8 22:19:37 flashk0 kernel: da0: Command Queueing enabled Jun 8 22:19:37 flashk0 kernel: da0: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C) Jun 8 22:19:37 flashk0 kernel: da1 at mpt0 bus 0 scbus0 target 1 lun 0 Jun 8 22:19:37 flashk0 kernel: da1: Fixed Direct Access SCSI-6 device Jun 8 22:19:37 flashk0 kernel: da1: 300.000MB/s transfers Jun 8 22:19:37 flashk0 kernel: da1: Command Queueing enabled Jun 8 22:19:37 flashk0 kernel: da1: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C) Jun 8 22:19:37 flashk0 kernel: da2 at mpt0 bus 0 scbus0 target 2 lun 0 Jun 8 22:19:37 flashk0 kernel: da2: Fixed Direct Access SCSI-5 device Jun 8 22:19:37 flashk0 kernel: da2: 300.000MB/s transfers Jun 8 22:19:37 flashk0 kernel: da2: Command Queueing enabled Jun 8 22:19:37 flashk0 kernel: da2: 429247MB (879097968 512 byte sectors: 255H 63S/T 54721C) Jun 8 22:19:37 flashk0 kernel: da3 at mpt0 bus 0 scbus0 target 3 lun 0 Jun 8 22:19:37 flashk0 kernel: da3: Fixed Direct Access SCSI-5 device Jun 8 22:19:37 flashk0 kernel: da3: 300.000MB/s transfers Jun 8 22:19:37 flashk0 kernel: da3: Command Queueing enabled Jun 8 22:19:37 flashk0 kernel: da3: 429247MB (879097968 512 byte sectors: 255H 63S/T 54721C) Jun 8 22:19:37 flashk0 kernel: da4 at mpt0 bus 0 scbus0 target 4 lun 0 Jun 8 22:19:37 flashk0 kernel: da4: Fixed Direct Access SCSI-5 device Jun 8 22:19:37 flashk0 kernel: da4: 300.000MB/s transfers Jun 8 22:19:37 flashk0 kernel: da4: Command Queueing enabled Jun 8 22:19:37 flashk0 kernel: da4: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C) Jun 8 22:19:37 flashk0 kernel: da5 at mpt0 bus 0 scbus0 target 5 lun 0 Jun 8 22:19:37 flashk0 kernel: da5: Fixed Direct Access SCSI-5 device Jun 8 22:19:37 flashk0 kernel: da5: 300.000MB/s transfers Jun 8 22:19:37 flashk0 kernel: da5: Command Queueing enabled Jun 8 22:19:37 flashk0 kernel: da5: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C) Jun 8 22:19:37 flashk0 kernel: (da4:mpt0:0:4:0): READ(6). CDB: 8 0 0 80 10 0 Jun 8 22:19:37 flashk0 kernel: (da4:mpt0:0:4:0): CAM status: SCSI Status Error Jun 8 22:19:37 flashk0 kernel: (da4:mpt0:0:4:0): SCSI status: Check Condition Jun 8 22:19:37 flashk0 kernel: (da4:mpt0:0:4:0): SCSI sense: ABORTED COMMAND asc:0,0 (No additional sense information) Jun 8 22:19:40 flashk0 kernel: (da4:mpt0:0:4:0): READ(6). CDB: 8 0 0 80 10 0 Jun 8 22:19:40 flashk0 kernel: (da4:mpt0:0:4:0): CAM status: SCSI Status Error Jun 8 22:19:40 flashk0 kernel: (da4:mpt0:0:4:0): SCSI status: Check Condition Jun 8 22:19:40 flashk0 kernel: (da4:mpt0:0:4:0): SCSI sense: ABORTED COMMAND asc:0,0 (No additional sense information) Jun 8 22:19:43 flashk0 kernel: (da4:mpt0:0:4:0): READ(6). CDB: 8 0 0 80 10 0 Jun 8 22:19:43 flashk0 kernel: (da4:mpt0:0:4:0): CAM status: SCSI Status Error Jun 8 22:19:43 flashk0 kernel: (da4:mpt0:0:4:0): SCSI status: Check Condition Jun 8 22:19:43 flashk0 kernel: (da4:mpt0:0:4:0): SCSI sense: MEDIUM ERROR info:80 asc:11,0 (Unrecovered read error) Jun 8 22:19:46 flashk0 kernel: (da4:mpt0:0:4:0): READ(6). CDB: 8 0 0 80 10 0 Jun 8 22:19:46 flashk0 kernel: (da4:mpt0:0:4:0): CAM status: SCSI Status Error Jun 8 22:19:46 flashk0 kernel: (da4:mpt0:0:4:0): SCSI status: Check Condition Jun 8 22:19:46 flashk0 kernel: (da4:mpt0:0:4:0): SCSI sense: ABORTED COMMAND asc:0,0 (No additional sense information) Jun 8 22:19:50 flashk0 kernel: (da4:mpt0:0:4:0): READ(6). CDB: 8 0 0 80 10 0 Jun 8 22:19:50 flashk0 kernel: (da4:mpt0:0:4:0): CAM status: SCSI Status Error Jun 8 22:19:50 flashk0 kernel: (da4:mpt0:0:4:0): SCSI status: Check Condition Jun 8 22:19:50 flashk0 kernel: (da4:mpt0:0:4:0): SCSI sense: ABORTED COMMAND asc:0,0 (No additional sense information) Jun 8 22:19:53 flashk0 kernel: (da4:mpt0:0:4:0): READ(6). CDB: 8 0 0 0 10 0 Jun 8 22:19:53 flashk0 kernel: (da4:mpt0:0:4:0): CAM status: SCSI Status Error Jun 8 22:19:53 flashk0 kernel: (da4:mpt0:0:4:0): SCSI status: Check Condition Jun 8 22:19:53 flashk0 kernel: (da4:mpt0:0:4:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error) da4 and da5 currently are in personal RAID0 containers. pciconf -lv: mpt0@pci0:3:0:0: class=0x010000 card=0x000115d9 chip=0x00591000 rev=0x08 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' class = mass storage subclass = SCSI # mptutil show adapter mpt0 Adapter: Board Name: UNUSED Board Assembly: Chip Name: C1068E Chip Revision: UNUSED RAID Levels: none # mptutil show config mpt0 Configuration: 0 volumes, 6 drives drive da0 (279G) ONLINE SCSI-6 drive da1 (279G) ONLINE SCSI-6 drive da2 (419G) ONLINE SAS drive da3 (419G) ONLINE SAS drive da4 (932G) ONLINE SATA drive da5 (932G) ONLINE SATA As I told before I have created two virtual devices on da4 and da5. # mptutil show events mptutil: Reading extended config page header failed: Invalid configuration action mptutil: Failed to get event log info: Input/output error # mptutil show volumes mpt0 Volumes: Id Size Level Stripe State Write-Cache Name >How-To-Repeat: Simple loading of driver does the job. >Fix: None. I've already tried hand-patching the driver (adding code 59) but that doesn't work. >Release-Note: >Audit-Trail: >Unformatted: