Date: Sun, 24 Apr 2005 13:50:46 -0400 From: Jake Burkholder <jake@locore.ca> To: Doug Ambrisko <ambrisko@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 Message-ID: <426BDC76.9020106@locore.ca> In-Reply-To: <200504202351.j3KNpWlH057707@repoman.freebsd.org> References: <200504202351.j3KNpWlH057707@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,DE,PSE,TSC,MSR,MTRR,PGE,CMOV,MMX,FXSR,SSE> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <PCI to PCI bridge (vendor=1106 device=b091)> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <VGA-compatible display device> at 0.0 irq 11 pci0: <unknown card> (vendor=0x1106, dev=0x3044) at 13.0 irq 12 pci0: <VIA 83C572 USB controller> at 16.0 irq 11 pci0: <VIA 83C572 USB controller> at 16.1 irq 12 pci0: <VIA 83C572 USB controller> at 16.2 irq 10 pci0: <USB controller> at 16.3 irq 5 isab0: <PCI to ISA bridge (vendor=1106 device=3177)> at device 17.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 8235 ATA133 controller> port 0xd000-0xd00f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <unknown card> (vendor=0x1106, dev=0x3059) at 17.5 irq 10 vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xdc00-0xdcff mem 0xde002000-0xde0020ff irq 11 at device 18.0 on pci0 vr0: Ethernet address: 00:40:63:d7:a0:8b miibus0: <MII bus> on vr0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: <unknown card> (vendor=0xe159, dev=0x0001) at 20.0 irq 12 pmtimer0 on isa0 fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> 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 <ST3200822A> [387621/16/63] at ata0-master UDMA100 acd0: CD-RW <PLEXTOR CD-R PX-W2410A> 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: <Wildcard X101P> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426BDC76.9020106>