From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 13:45:46 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 264E137B401 for ; Thu, 31 Jul 2003 13:45:46 -0700 (PDT) Received: from priv-edtnes11-hme0.telusplanet.net (outbound03.telus.net [199.185.220.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF18F43FBF for ; Thu, 31 Jul 2003 13:45:44 -0700 (PDT) (envelope-from pfak@telus.net) Received: from hartmut82lgcgo ([209.121.35.215]) by priv-edtnes11-hme0.telusplanet.netSMTP <20030731204544.JSLN15354.priv-edtnes11-hme0.telusplanet.net@hartmut82lgcgo> for ; Thu, 31 Jul 2003 14:45:44 -0600 Message-ID: <004101c357a4$b57b0fe0$bc01a8c0@hartmut82lgcgo> From: "Peter Kieser" To: Date: Thu, 31 Jul 2003 13:45:42 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Issues with large drives going back to PIO X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 20:45:46 -0000 Hello. A few months ago (May) to be exact, Søren posted a patch ( http://lists.freebsd.org/pipermail/freebsd-current/2003-May/003275.html ) to the FreeBSD-current mailing list relating to IDE drives over a certian size having issues with falling back to PIO mode and other things. This patch was commited, and is currently in 5.1-RELEASE, and my friend told me to try applying to the patch to fix the problem (although the patch was already commited). There does NOT appear to be anything wrong with the drives, as I have run tests on them and stuck them in another FreeBSD 5.1-RELEASE box, and the problem seems to disappear. The error I'm getting is..: Jul 26 18:17:58 devil kernel: ad3: UDMA ICRC error cmd=write fsbn 198898911 of 198898911-198899166 retrying Jul 26 18:17:58 devil kernel: ad3: UDMA ICRC error cmd=write fsbn 198902239 of 198902239-198902494 retrying Jul 26 18:17:58 devil kernel: ad3: UDMA ICRC error cmd=write fsbn 198902239 of 198902239-198902494 retrying Jul 29 12:43:28 devil kernel: ad2: UDMA ICRC error cmd=write fsbn 203789023 of 203789023-203789038 retrying Jul 29 12:43:28 devil kernel: ad2: UDMA ICRC error cmd=write fsbn 203789023 of 203789023-203789038 falling back to PIO mode and ad3: UDMA ICRC error cmd=write fsbn 198898911 of 198898911-198899166 retrying ad3: UDMA ICRC error cmd=write fsbn 198902239 of 198902239-198902494 retrying ad3: UDMA ICRC error cmd=write fsbn 198902239 of 198902239-198902494 retrying ad2: UDMA ICRC error cmd=write fsbn 203789023 of 203789023-203789038 retrying ad2: UDMA ICRC error cmd=write fsbn 203789023 of 203789023-203789038 retrying ad2: UDMA ICRC error cmd=write fsbn 203789023 of 203789023-203789038 retrying ad2: UDMA ICRC error cmd=write fsbn 203789023 of 203789023-203789038 falling back to PIO mode The drives are 120GB Maxtor 7200RPM with 2MB cache, I have 3 of them; and I have experienced the same error with FreeBSD 5.1-RELEASE, and 4.8-RELEASE (4.8, which always made the drives go back to PIO mode no matter what). The board is a Asus P4SDX: ad0: 117246MB [238216/16/63] at ata0-master UDMA133 ad1: 78167MB [158816/16/63] at ata0-slave UDMA133 ad2: 117246MB [238216/16/63] at ata1-master UDMA133 ad3: 117246MB [238216/16/63] at ata1-slave UDMA133 uname -a output: FreeBSD devil.mphknet.ca 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Sun Jul 6 14:15:37 PDT 2003 peter@devil.mphknet.ca:/usr/src/sys/i386/compile/DEVIL i386 dmesg: Copyright (c) 1992-2003 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 5.1-RELEASE #0: Sun Jul 6 14:15:37 PDT 2003 peter@devil.mphknet.ca:/usr/src/sys/i386/compile/DEVIL Preloaded elf kernel "/boot/kernel/kernel" at 0xc0442000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0442244. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1600119912 Hz CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz (1600.12-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff real memory = 536854528 (511 MB) avail memory = 516734976 (492 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 10 entries at 0xc00f1630 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0xb400-0xb40f,0xb800-0xb803,0xd000-0xd007,0xd400-0xd403,0xd800-0xd807 irq 11 at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 3.0 (no driver attached) pci0: at device 3.1 (no driver attached) pci0: at device 3.3 (no driver attached) sis0: port 0x9800-0x98ff mem 0xf6000000-0xf6000fff at device 4.0 on pci0 pcib0: slot 4 INTA is routed to irq 5 sis0: Ethernet address: 00:0c:6e:2b:46:ed miibus0: on sis0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 9.0 (no driver attached) fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: