From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 12:25:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E9A31065675 for ; Thu, 11 Nov 2010 12:25:16 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from tensor.gdynia.pl (tensor.gdynia.pl [89.206.35.72]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC568FC0A for ; Thu, 11 Nov 2010 12:25:15 +0000 (UTC) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by tensor.gdynia.pl (8.14.4/8.14.4) with ESMTP id oABC57Uj045872; Thu, 11 Nov 2010 13:05:07 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by tensor.gdynia.pl (8.14.4/8.14.4/Submit) with ESMTP id oABC57R3045869; Thu, 11 Nov 2010 13:05:07 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Date: Thu, 11 Nov 2010 13:05:07 +0100 (CET) From: Wojciech Puchar To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: =?ISO-8859-2?Q?Marcin_Dara=BF?= Subject: JMicron JMB363 PCIe controler doesn't work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 12:25:16 -0000 I have motherboard with total 8 SATA ports but seems it's broken as i'm having regular server hangs after heavy disk I/O, usually with messages about disconnected AHCI device. cables ARE OK. i bought extra controllers - 2 2-port PCIe based on said chipset. to make things more strange - 2 of 8 motherboard SATA ports ARE JMB363 based too! on motherboard ports are all detected by AHCI driver. THE same chips on cards are NOT detected as AHCI. pciconv shows they are in ATA/RAID mode. But builtin controller BIOS does not allow setting it in AHCI mode. tried ata/atadisk driver - it doesn't attach disk at all, but just waits 15 seconds on each port where disk is connected at boot. Disks ARE properly attached, as cards BIOS shows them up properly. How can FreeBSD be set up to simply force switching to AHCI mode on that chips?