From owner-freebsd-stable Fri Mar 16 6: 5:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from siegfried.utmb.edu (siegfried.utmb.edu [129.109.59.86]) by hub.freebsd.org (Postfix) with ESMTP id 736AA37B71C for ; Fri, 16 Mar 2001 06:05:27 -0800 (PST) (envelope-from bdodson@scms.utmb.EDU) Received: from histidine.utmb.edu (80.222.nas7.ippool.hypercon.com [198.64.222.80]) by siegfried.utmb.edu (8.9.3/8.9.3) with ESMTP id JAA37745 for ; Fri, 16 Mar 2001 09:42:02 -0600 (CST) (envelope-from bdodson@histidine.utmb.edu) Received: (from bdodson@localhost) by histidine.utmb.edu (8.11.2/8.11.2) id f2GE6TR00415; Fri, 16 Mar 2001 08:06:29 -0600 (CST) (envelope-from bdodson) Date: Fri, 16 Mar 2001 08:06:29 -0600 (CST) Message-Id: <200103161406.f2GE6TR00415@histidine.utmb.edu> From: "M. L. Dodson" To: freebsd-stable@FreeBSD.ORG Subject: disk hard read error: anything to be done? Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The following just showed up in my overnight logs (Things had been working just fine, hardware wise, for months. No changes, hardware or software associated with the appearance.): ad0: HARD READ ERROR blk# 983151ad0: HARD READ ERROR blk# 983151 status=59 error=40 ad0: DMA problem fallback to PIO mode Should I do anything about this (I understand that at least one sector is going/gone dodgy). It appeared again when I rebooted (at the file sync stage), then again (approximately) when xdm was starting. I read ata-disk.c, but it is not clear to me whether the whole driver goes into pio mode if this happens, or whether it just uses pio to read the troublesome block. Thanks, Bud Dodson uname -a (lines wrapped): FreeBSD wotan.invalid 4.2-STABLE FreeBSD 4.2-STABLE #7: \ Fri Mar 2 20:31:28 CST 2001 \ bdodson@wotan.invalid:/usr/obj/usr/src/sys/WOTAN i386 dmesg: Copyright (c) 1992-2001 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.2-STABLE #7: Fri Mar 2 20:31:28 CST 2001 bdodson@wotan.invalid:/usr/obj/usr/src/sys/WOTAN Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 397947888 Hz CPU: Pentium II/Pentium II Xeon/Celeron (397.95-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 134205440 (131060K bytes) config> q avail memory = 126971904 (123996K bytes) Preloaded elf kernel "kernel" at 0xc03a5000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03a509c. Preloaded elf module "agp.ko" at 0xc03a50ec. Preloaded elf module "mga.ko" at 0xc03a5188. Preloaded elf module "drm.ko" at 0xc03a5224. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: mem 0xf4800000-0xf4ffffff,0xf4100000-0xf4103fff,0xf6000000-0xf7ffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xf8000000 64MB info: [drm] Initialized mga 1.0.0 19991213 on minor 0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1820-0x182f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1800-0x181f irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip0: port 0x7000-0x700f at device 7.3 on pci0 dc0: port 0x1000-0x10ff mem 0xf4001000-0xf40010ff irq 11 at device 14.0 on pci0 dc0: Ethernet address: 00:a0:cc:36:bf:5f miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: port 0x1400-0x14ff mem 0xf4000000-0xf4000fff irq 9 at device 16.0 on pci0 aic7880: Single Channel A, SCSI Id=7, 16/255 SCBs 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 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> 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 ppc0: at port 0x378-0x37f irq 7 flags 0x8 on isa0 ppc0: Generic chipset (ECP-only) in ECP mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port sbc0: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 pcm0: on sbc0 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default ad0: 14649MB [29765/16/63] at ata0-master UDMA33 afd0: 96MB [32/64/96] at ata1-master using PIO0 Waiting 5 seconds for SCSI devices to settle Mounting root from ufs:/dev/ad0s1a cd0 at ahc0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 4.237MB/s transfers (4.237MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present ad0: HARD READ ERROR blk# 983151ad0: HARD READ ERROR blk# 983151 status=59 error=40 ad0: DMA problem fallback to PIO mode -- M. L. Dodson bdodson@scms.utmb.edu 409-772-2178 FAX: 409-772-1790 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message