From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 8 08:40:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F7FA5AD for ; Thu, 8 Nov 2012 08:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 612288FC0A for ; Thu, 8 Nov 2012 08:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA88e15K024333 for ; Thu, 8 Nov 2012 08:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA88e1HG024332; Thu, 8 Nov 2012 08:40:01 GMT (envelope-from gnats) Resent-Date: Thu, 8 Nov 2012 08:40:01 GMT Resent-Message-Id: <201211080840.qA88e1HG024332@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, "Alexander M. Pravkin" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20B254C5 for ; Thu, 8 Nov 2012 08:38:48 +0000 (UTC) (envelope-from fduch@fdu4.antar.bryansk.ru) Received: from fdu4.antar.bryansk.ru (fdu4.antar.bryansk.ru [62.122.184.125]) by mx1.freebsd.org (Postfix) with ESMTP id 882E98FC0C for ; Thu, 8 Nov 2012 08:38:47 +0000 (UTC) Received: from fdu4.antar.bryansk.ru (localhost [127.0.0.1]) by fdu4.antar.bryansk.ru (8.14.4/8.14.4) with ESMTP id qA78Lxdf002514 for ; Wed, 7 Nov 2012 12:21:59 +0400 (MSX) (envelope-from fduch@fdu4.antar.bryansk.ru) Received: (from fduch@localhost) by fdu4.antar.bryansk.ru (8.14.4/8.14.4/Submit) id qA78LwpK002513; Wed, 7 Nov 2012 12:21:58 +0400 (MSX) (envelope-from fduch) Message-Id: <201211070821.qA78LwpK002513@fdu4.antar.bryansk.ru> Date: Wed, 7 Nov 2012 12:21:58 +0400 (MSX) From: "Alexander M. Pravkin" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/173468: [ata] lost WDC hard drive on ICH5 after upgrade X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: "Alexander M. Pravkin" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 08:40:01 -0000 >Number: 173468 >Category: kern >Synopsis: [ata] lost WDC hard drive on ICH5 after upgrade >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 08 08:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: User & >Release: FreeBSD 8.3-STABLE i386 >Organization: >Environment: System: FreeBSD fdu4.antar.bryansk.ru 8.3-STABLE FreeBSD 8.3-STABLE #10: Wed Nov 7 10:41:10 MSK 2012 root@fdu4.antar.bryansk.ru:/usr/obj/usr/src/sys/KERNEL i386 >Description: After an upgrade from 8.2-STABLE Sat Feb 26 14:47:49 MSK 2011, kernel failed to locate one of my hard disks (ad6) on an Intel ICH5 controller. Other attached disks are fine. diff between `egrep 'atapci1|ata3|ad6'` on dmesg's before and after upgrade: --- dmesg-verbose-8.2-ata3.log 2012-11-07 11:33:43.000000000 +0400 +++ dmesg-verbose-8.3-ata3.log 2012-11-07 11:33:50.000000000 +0400 @@ -2,28 +2,20 @@ atapci1: atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xdc00 atapci1: [MPSAFE] atapci1: [ITHREAD] -ata2: on atapci1 +ata2: at channel 0 on atapci1 atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xec00 atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xe800 -ata3: on atapci1 +ata3: at channel 1 on atapci1 atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0xe400 atapci1: Reserved 0x4 bytes for rid 0x1c type 4 at 0xe000 +ata3: SATA reset: ports status=0x02 ata3: p0: SATA connect time=0ms status=00000113 ata3: reset tp1 mask=01 ostat0=80 ostat1=00 ata3: stat0=0x50 err=0x01 lsb=0x3c msb=0xc3 -ata3: reset tp2 stat0=50 stat1=00 devices=0x1 +ata3: reset tp2 stat0=50 stat1=00 devices=0x0 ata3: [MPSAFE] ata3: [ITHREAD] -ata3: Identifying devices: 00000001 -ata3: New devices: 00000001 -ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire -ad6: setting UDMA100 -ad6: 238475MB at ata3-master UDMA100 SATA 1.5Gb/s -ad6: 488397168 sectors [484521C/16H/63S] 16 sectors/interrupt 1 depth queue -GEOM: new disk ad6 -ad6: Intel check1 failed -ad6: Adaptec check1 failed -ad6: LSI (v3) check1 failed -ad6: LSI (v2) check1 failed -ad6: FreeBSD check1 failed +ata3: Identifying devices: 00000000 +ata3: New devices: 00000000 Trying to mount root from ufs:/dev/ad6s1a +vfs.root.mountfrom=ufs:/dev/ad6s1a Probably it's the same problem as in http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/159511 >How-To-Repeat: >Fix: Looks like problem appeared after this commit: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ata-lowlevel.c.diff?r1=1.84.2.8;r2=1.84.2.9 After rolling src/sys/dev/ata back to 2011-05-25 and rebuilding kernel, ad6 is fine again. >Release-Note: >Audit-Trail: >Unformatted: