From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 18 11:30:16 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AE5D16A41F for ; Fri, 18 Nov 2005 11:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06AC243D5A for ; Fri, 18 Nov 2005 11:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAIBUEuo097186 for ; Fri, 18 Nov 2005 11:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAIBUElY097184; Fri, 18 Nov 2005 11:30:14 GMT (envelope-from gnats) Resent-Date: Fri, 18 Nov 2005 11:30:14 GMT Resent-Message-Id: <200511181130.jAIBUElY097184@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, Ruben de Groot Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C26116A41F for ; Fri, 18 Nov 2005 11:29:33 +0000 (GMT) (envelope-from ruben@bzerk.org) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 684AA43D58 for ; Fri, 18 Nov 2005 11:29:31 +0000 (GMT) (envelope-from ruben@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.3/8.13.3) with ESMTP id jAIBY07h023441 for ; Fri, 18 Nov 2005 12:34:00 +0100 (CET) (envelope-from ruben@ei.bzerk.org) Received: (from ruben@localhost) by ei.bzerk.org (8.13.3/8.13.3/Submit) id jAIBY00V023440; Fri, 18 Nov 2005 12:34:00 +0100 (CET) (envelope-from ruben) Message-Id: <200511181134.jAIBY00V023440@ei.bzerk.org> Date: Fri, 18 Nov 2005 12:34:00 +0100 (CET) From: Ruben de Groot To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/89227: [patch] Intel ICH6-M SATA controller on Vaio VGN-S5M/S X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ruben de Groot List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2005 11:30:16 -0000 >Number: 89227 >Category: kern >Synopsis: [patch] Intel ICH6-M SATA controller on Vaio VGN-S5M/S >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 18 11:30:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ruben de Groot >Release: FreeBSD 5.4-RELEASE i386 >Organization: bzerk.org >Environment: System: FreeBSD bentobox.lan 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Tue Nov 15 21:51:19 CET 2005 rdg@bzerk.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: The sony vaio has a sata disk connected to the second controller in the laptop. However this controller is not recognized and falls back to a GENERIC ATA controller with UDMA33 >How-To-Repeat: dmesg snippet: atapci0: port 0x1880-0x188f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: port 0x18a0-0x18af,0x1894-0x1897,0x18b0-0x18b7,0x18b8-0x18bb,0x18c0-0x18c7 irq 18 at device 31.2 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 acd0: DVDR at ata0-master PIO4 Interrupt storm detected on "irq18: atapci1"; throttling interrupt source ad4: 76319MB [155061/16/63] at ata2-master UDMA33 pciconf -lv snippet: atapci0@pci0:31:1: class=0x01018a card=0x81b9104d chip=0x266f8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB ICH6 Ultra ATA Storage Controller' class = mass storage subclass = ATA atapci1@pci0:31:2: class=0x01018f card=0x81ba104d chip=0x26538086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801FBM ICH6M SATA Controller' class = mass storage subclass = ATA >Fix: Apply the following patch to 5.4-RELEASE; rebuild kernel and reboot Afterwards, controller and drive are correctly detected: atapci1: port 0x18a0-0x18af,0x1894-0x1897,0x18b0-0x18b7,0x18b8-0x18bb,0x18c0-0 x18c7 irq 18 at device 31.2 on pci0 ad4: 76319MB [155061/16/63] at ata2-master SATA150 --- vaio-sata.patch begins here --- diff -u sys/dev/ata.orig/ata-chipset.c sys/dev/ata/ata-chipset.c --- sys/dev/ata.orig/ata-chipset.c Wed Mar 23 06:14:11 2005 +++ sys/dev/ata/ata-chipset.c Tue Nov 15 21:39:17 2005 @@ -838,6 +838,7 @@ { ATA_I82801FB, 0, 0, 0x00, ATA_UDMA5, "Intel ICH6" }, { ATA_I82801FB_S1,0, 0, 0x00, ATA_SA150, "Intel ICH6" }, { ATA_I82801FB_R1,0, 0, 0x00, ATA_SA150, "Intel ICH6" }, + { ATA_I82801FBM, 0, 0, 0x00, ATA_SA150, "Intel ICH6-M" }, { 0, 0, 0, 0, 0, 0}}; char buffer[64]; diff -u sys/dev/ata.orig/ata-pci.h sys/dev/ata/ata-pci.h --- sys/dev/ata.orig/ata-pci.h Wed Mar 23 06:14:11 2005 +++ sys/dev/ata/ata-pci.h Tue Nov 15 21:41:07 2005 @@ -127,6 +127,7 @@ #define ATA_I82801FB 0x266f8086 #define ATA_I82801FB_S1 0x26518086 #define ATA_I82801FB_R1 0x26528086 +#define ATA_I82801FBM 0x26538086 #define ATA_ITE_ID 0x1283 #define ATA_IT8212F 0x82121283 --- vaio-sata.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: