From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 19:27:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A493816A4BF for ; Tue, 26 Aug 2003 19:27:24 -0700 (PDT) Received: from mta03.fuse.net (mta03.fuse.net [216.68.1.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2CDA43FE9 for ; Tue, 26 Aug 2003 19:27:23 -0700 (PDT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] ([66.42.172.210]) by mta03.fuse.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with ESMTP id <20030827022722.DFPF24100.mta03.fuse.net@[192.168.1.100]> for ; Tue, 26 Aug 2003 22:27:22 -0400 From: Anish Mistry To: freebsd-current@freebsd.org Date: Tue, 26 Aug 2003 22:27:27 -0400 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200308262227.46391.mistry.7@osu.edu> Subject: ATAng no PIO fallback? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 02:27:24 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 After removing atapicam from my kernel, so no panics on boot I decided to s= ee=20 it DMA was fixed for my CD/DVD combo drive. I changed the=20 hw.ata.atapi_dma=3D"0" to hw.ata.atapi_dma=3D"1" in my /boot/loader.conf. After a reboot I tried = to=20 access my cdrom drive, and got the following error messages, which is very= =20 similar to the messages when trying to dma before ATAng: Aug 26 22:09:34 littleguy kernel: acd0: WARNING - READ_CD recovered from=20 missing interrupt Aug 26 22:09:34 littleguy kernel: acd0: WARNING - READ_CD UDMA ICRC error=20 (retrying request) The problem is that before with DMA enabled it would try dma a few times fa= il,=20 and then fall back to PIO, whcih though annoying still left the drive in a= =20 useable condition. Where as now the drive just stays stuck and unusable. =2D --- 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. =46reeBSD 5.1-CURRENT #9: Tue Aug 26 21:12:34 EDT 2003 amistry@littleguy.am-productions.biz:/usr/obj/usr/src/sys/LITTLEGUY Preloaded elf kernel "/boot/kernel/kernel" at 0xc0415000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0415244. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (816.37-MHz 586-class CPU) Origin =3D "GenuineTMx86" Id =3D 0x543 real memory =3D 251527168 (239 MB) avail memory =3D 239788032 (228 MB) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xff08-0xff0b on acpi0 acpi_cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 2 INTA is routed to irq 11 pcib0: slot 4 INTA is routed to irq 9 pcib0: slot 12 INTA is routed to irq 9 pcib0: slot 16 INTA is routed to irq 9 pcib0: slot 19 INTA is routed to irq 9 pcib0: slot 20 INTA is routed to irq 9 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 2.0 (no driver attached) pci0: at device 4.0 (no driver attached) pci0: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 12.0 (no driver attached) atapci0: port 0x1400-0x140f at device= =20 15.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 rl0: port 0x8000-0x80ff mem=20 0xfc102000-0xfc1020ff irq 9 at device 16.0 on pci0 rl0: Ethernet address: 00:e0:00:ae:45:08 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 19.0 (no driver attached) pci0: at device 20.0 (no driver attached) acpi_button0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 acpi_ec0: port 0x66,0x62 on acpi0 orm0: