From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:19:12 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 29AB4106564A; Thu, 25 Nov 2010 20:19:12 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from imr-da06.mx.aol.com (imr-da06.mx.aol.com [205.188.169.203]) by mx1.freebsd.org (Postfix) with ESMTP id DB9B48FC0C; Thu, 25 Nov 2010 20:19:11 +0000 (UTC) Received: from imo-da02.mx.aol.com (imo-da02.mx.aol.com [205.188.169.200]) by imr-da06.mx.aol.com (8.14.1/8.14.1) with ESMTP id oAPK8tuf016607; Thu, 25 Nov 2010 15:08:55 -0500 Received: from dieterbsd@engineer.com by imo-da02.mx.aol.com (mail_out_v42.9.) id n.efd.ee278cd (34910); Thu, 25 Nov 2010 15:08:50 -0500 (EST) Received: from smtprly-dd03.mx.aol.com (smtprly-dd03.mx.aol.com [205.188.84.131]) by cia-da02.mx.aol.com (v129.7) with ESMTP id MAILCIADA027-d40a4ceec2511ae; Thu, 25 Nov 2010 15:08:50 -0500 Received: from web-mmc-d05 (web-mmc-d05.sim.aol.com [205.188.103.95]) by smtprly-dd03.mx.aol.com (v129.4) with ESMTP id MAILSMTPRLYDD036-d40a4ceec2511ae; Thu, 25 Nov 2010 15:08:49 -0500 To: freebsd-questions@freebsd.org, freebsd-drivers@freebsd.org Content-Transfer-Encoding: quoted-printable Date: Thu, 25 Nov 2010 15:08:48 -0500 X-MB-Message-Source: WebUI X-AOL-IP: 67.206.164.6 X-MB-Message-Type: User MIME-Version: 1.0 From: dieterbsd@engineer.com Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailer: Mail.com Webmail 32945-STANDARD Received: from 67.206.164.6 by web-mmc-d05.sysops.aol.com (205.188.103.95) with HTTP (WebMailUI); Thu, 25 Nov 2010 15:08:48 -0500 Message-Id: <8CD5AF3B4F821BB-1204-1A918@web-mmc-d05.sysops.aol.com> X-Spam-Flag: NO X-AOL-SENDER: dieterbsd@engineer.com Cc: Subject: Re: JMicron JMB363 PCIe controller 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, 25 Nov 2010 20:19:12 -0000 Wojciech Puchar writes: > This crappy controllers have builtin bios that don't allow selecting=20 AHCI mode. The controller itself may be ok. The BIOS is certainly crappy. I have a couple of JMB363 PCIe x1 cards. If I plug one into a certain slot the machine hangs on boot (doesn't make it out of bios). Avoiding=20 that slot, one card may or may not show up. Ugly workaround: reboot over=20 and over until both show up. Less painful workaround: I replaced one with a=20 SiI3132 card. The SiI3132 is not as fast as JMB363. The remaining JMB363 card (Syba brand) does show up as AHCI and works=20 with the ahci(4) driver. if the achi driver isn't loaded, then ata(4) driver=20 also works, but not as well, and certainly not as fast, as ahci. I am told (thanks, Stephane) that some mainboards have an option in=20 BIOS to disable the BIOS on expansion cards. My mainboard's crappy BIOS=20 (Phoenix AwardBIOS) does not offer this feature, perhaps yours does. You might see if JMB has an alternative BIOS to flash. > seems the problem is that FreeBSD can't by itself set SATA controller=20 mode. > i can't find such option. Interesting. I didn't know that the JMB363 had both AHCI and non-AHCI=20 modes. Or could it be an id issue? If you do "pciconf -l" do you get=20 0x2363197b for both the onboard JMB363 and the expansion cards?