From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 14 10:40:03 2009 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 0E98F1065672 for ; Tue, 14 Jul 2009 10:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DDED58FC1D for ; Tue, 14 Jul 2009 10:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6EAe2oj089269 for ; Tue, 14 Jul 2009 10:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6EAe2SP089268; Tue, 14 Jul 2009 10:40:02 GMT (envelope-from gnats) Resent-Date: Tue, 14 Jul 2009 10:40:02 GMT Resent-Message-Id: <200907141040.n6EAe2SP089268@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, Maximillian Dornseif Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A3A6106566B for ; Tue, 14 Jul 2009 10:31:33 +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 386908FC0C for ; Tue, 14 Jul 2009 10:31:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6EAVXvs065998 for ; Tue, 14 Jul 2009 10:31:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n6EAVXDd065997; Tue, 14 Jul 2009 10:31:33 GMT (envelope-from nobody) Message-Id: <200907141031.n6EAVXDd065997@www.freebsd.org> Date: Tue, 14 Jul 2009 10:31:33 GMT From: Maximillian Dornseif To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/136750: ptrr driver breaks detection of SuperMicro AOC-SAT2-MV8 SATA cards 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, 14 Jul 2009 10:40:03 -0000 >Number: 136750 >Category: kern >Synopsis: ptrr driver breaks detection of SuperMicro AOC-SAT2-MV8 SATA cards >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 14 10:40:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Maximillian Dornseif >Release: 7.2.-RELEASE-p2 >Organization: HUDORA GmbH >Environment: FreeBSD champ.local.hudora.biz 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I run a two FreeBSD boxes each with two SuperMicro AOC-SAT2-MV8 SATA controllers providing 8 SATA ports per card. Based on the Marvell Hercules 2 chipset, this is a nice setup for a ZFS fileserver. See http://www.supermicro.com/products/accessories/addon/AoC-SAT2-MV8.cfm for further Information regarding card and chipset. Unfortunately since 6.3 or so, FreeBSD comes with the hptrr binary blob driver from Highpoint. If the hptrr driver is present in the kernel, it breaks detection of the SuperMicro AOC-SAT2-MV8 controllers. (which normally are handled by the ata driver). Since the hptrr driver is present in the GENERIC kernel, it is impossible to install FreeBSD on a machine where all disks reside on the AOC-SAT2-MV8 controlers. Since it is impossible to deactivate the hptrr driver during boot, one needs to build a custom kernel without hptrr compiled in and add hptrr_load="NO" to loader conf to install FreeBSD. Both machined ar NOT equipped with any HighPoint hardware. >How-To-Repeat: Boot a 7.2 install disk on a machine equipped an AOC-SAT2-MV8 card: no AOC-SAT2-MV8 controller detected. Remove hptrr as described above: AOC-SAT2-MV8 controller detected. I observed this issue on to machines: First: CPU: Intel(R) Xeon(R) CPU 3060 @ 2.40GHz (2394.01-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 6428942336 (6131 MB) avail memory = 6211129344 (5923 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs atapci0: port 0x4000-0x40ff mem 0xe0200000-0xe02fffff irq 28 at device 2.0 on pci2 atapci1: port 0x5000-0x50ff mem 0xe0c00000-0xe0cfffff,0xe0800000-0xe0bfffff irq 52 at device 3.0 on pci3 # pciconf -lv .. atapci0@pci0:2:2:0: class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = 'MV88SX6081 8-port SATA II PCI-X Controller' class = mass storage subclass = SCSI atapci1@pci0:3:3:0: class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = 'MV88SX6081 8-port SATA II PCI-X Controller' class = mass storage subclass = SCSI .. Second: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff Features2=0x649d AMD Features=0x20100800 Logical CPUs per core: 2 usable memory = 4280774656 (4082 MB) avail memory = 4120674304 (3929 MB) (no Marvell card inside currently but with one the issue happens) >Fix: At least provide an option to disable htprr during boot time. >Release-Note: >Audit-Trail: >Unformatted: