From owner-freebsd-current@FreeBSD.ORG Thu Mar 12 08:51:53 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49F1D106564A for ; Thu, 12 Mar 2009 08:51:53 +0000 (UTC) (envelope-from mav@mavhome.dp.ua) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id C32CC8FC17 for ; Thu, 12 Mar 2009 08:51:52 +0000 (UTC) (envelope-from mav@mavhome.dp.ua) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 237235563; Thu, 12 Mar 2009 10:51:51 +0200 Message-ID: <49B8CD26.70903@mavhome.dp.ua> Date: Thu, 12 Mar 2009 10:51:50 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Nick Hilliard References: <1236812807.00085599.1236802801@10.7.7.3> In-Reply-To: <1236812807.00085599.1236802801@10.7.7.3> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 12 Mar 2009 11:34:50 +0000 Cc: freebsd-current@freebsd.org Subject: Re: SiI3531 SATA port multipler X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 08:51:53 -0000 Nick Hilliard wrote: > I've been poking around with a SiI3531 sata300 host card, connected to > an external disk enclosure with an internal SiI4726 card. There are 3 x > SATA disks hanging off it at the moment: > >> http://www.startech.com/item/SAT3540ERGB-35in-4-Drive-eSATA-Multi-RAID-External-Hard-Drive-Enclosure.aspx > > I have assumed that the SiI3531 is command-compatible with the SiI3112, > and put in the attached patch to see what might happen. The kernel > appears to recognise the sata card, but dies before initialising it > properly: > >> ata2: Portmultiplier (id=47261095 rev=1f06) with 7 ports >> ata2: error writing PM port >> ata2: p6: writing ATA_SC_DET_RESET failed >> ata2: Portmultiplier (id=47261095 rev=1f06) with 7 ports >> ata2: error writing PM port >> ata2: p4: writing ATA_SC_DET_RESET failed >> ata2: error writing PM port >> ata2: p5: writing ATA_SC_DET_RESET failed >> ata2: error writing PM port >> ata2: p6: writing ATA_SC_DET_RESET failed >> ata2: Portmultiplier (id=47261095 rev=1f06) with 7 ports >> ata2: error writing PM port >> ata2: p6: writing ATA_SC_DET_RESET failed >> ata2: Portmultiplier (id=47261095 rev=1f06) with 7 ports >> ata2: error writing PM port >> ata2: p6: writing ATA_SC_DET_RESET failed Have you tried to enable verbose boot messages? It may give some additional info. > I've attached a full dmesg. This setup is running on an Asus P5Q SE2 > motherboard, in amd64 mode with a -current kernel pulled today. > > Any suggestions about what could be done to make this work? Can you try to use AHCI controller present in your system instead of SiI? It may allow to differentiate SiI controller related problems from PM related ones. I am expecting to receive some PM hardware in a week or so, so I will be able to test it's support, at least with AHCI. -- Alexander Motin