From owner-cvs-all@FreeBSD.ORG Sun Apr 24 17:50:48 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E830A16A4CE; Sun, 24 Apr 2005 17:50:48 +0000 (GMT) Received: from gw-kit.locore.ca (gw-kit.locore.ca [67.43.130.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 404C543D2F; Sun, 24 Apr 2005 17:50:48 +0000 (GMT) (envelope-from jake@locore.ca) Received: from [10.0.0.3] (ws.locore.ca [10.0.0.3]) by gw-kit.locore.ca (Postfix) with ESMTP id 29651210AFD; Sun, 24 Apr 2005 13:50:47 -0400 (EDT) Message-ID: <426BDC76.9020106@locore.ca> Date: Sun, 24 Apr 2005 13:50:46 -0400 From: Jake Burkholder User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050424) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Ambrisko References: <200504202351.j3KNpWlH057707@repoman.freebsd.org> In-Reply-To: <200504202351.j3KNpWlH057707@repoman.freebsd.org> Content-Type: multipart/mixed; boundary="------------060304010209000306050205" cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-dma.c ata-pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 17:50:49 -0000 This is a multi-part message in MIME format. --------------060304010209000306050205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Doug Ambrisko wrote: >ambrisko 2005-04-20 23:51:32 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_4) > sys/dev/ata ata-all.c ata-all.h ata-dma.c ata-pci.c > Log: > Add in Promise and Intel SATA support based on FreeBSD 5.X ATAng. > This gets the HW to work but not to deal with SATA errors. So if > the drive has a read error it will probably lock up. This is > a small subset of my patches that do deal with these errors and > other issues in FreeBSD and ata-raid. > > Sponsored by: IronPort Systems > > Revision Changes Path > 1.50.2.49 +168 -36 src/sys/dev/ata/ata-all.c > 1.26.2.15 +166 -13 src/sys/dev/ata/ata-all.h > 1.35.2.39 +95 -17 src/sys/dev/ata/ata-dma.c > 1.32.2.22 +164 -18 src/sys/dev/ata/ata-pci.c > > > FWIW I get lockups after 10 or 15 minutes moderate disk load with these changes, no messages on the console or anything, just stops. First time was during 'make index' on the ports tree, second time was during 'portinstall -p p5-xmltv'. I backed up src/sys/dev/ata to '2004/04/20 00:00:00' and it hasn't happened again, the machine had been up around 130 days before this with no problems, running 4-STABLE from october 4th. Its a via epia m10000 motherboard with a 200GB seagate ATA100 disk, headless nfs server and gateway for a bunch of diskless machines so its hard to get at the console or take it down for testing. dmesg is attached. Jake --------------060304010209000306050205 Content-Type: text/plain; name="dmesg.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.out" Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.11-STABLE #2: Sun Apr 24 12:49:34 EDT 2005 jake@gw-kit.locore.ca:/usr/obj/usr/freebsd/releng_4/src/sys/GW-KIT Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 999829181 Hz CPU: VIA C3 Nehemiah (999.83-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x695 Stepping = 5 Features=0x380b03d real memory = 503250944 (491456K bytes) avail memory = 486506496 (475104K bytes) Preloaded elf kernel "kernel" at 0xc030e000. md0: Malloc disk Using $PIR table, 5 entries at 0xc00fded0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pci0: (vendor=0x1106, dev=0x3044) at 13.0 irq 12 pci0: at 16.0 irq 11 pci0: at 16.1 irq 12 pci0: at 16.2 irq 10 pci0: at 16.3 irq 5 isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x1106, dev=0x3059) at 17.5 irq 10 vr0: port 0xdc00-0xdcff mem 0xde002000-0xde0020ff irq 11 at device 18.0 on pci0 vr0: Ethernet address: 00:40:63:d7:a0:8b miibus0: on vr0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0xe159, dev=0x0001) at 20.0 irq 12 pmtimer0 on isa0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ad0: 190782MB [387621/16/63] at ata0-master UDMA100 acd0: CD-RW at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a Zapata Telephony Interface Registered on major 196 ZapTel device: vendor=e159 device=1 subvendor=8085 wcfxo0: port 0xe000-0xe0ff mem 0xde003000-0xde003fff irq 12 at device 20.0 on pci0 ZapTel Attach for wcfxo0: deviceID : 0xe159 wcfxo: DAA mode is 'FCC' Found a Wildcard FXO: Wildcard X101P ZapTel device loaded. Registered tone zone 0 (United States / North America) --------------060304010209000306050205--