From owner-freebsd-current@FreeBSD.ORG Thu Aug 28 09:43:28 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 ECACD16A4BF for ; Thu, 28 Aug 2003 09:43:28 -0700 (PDT) Received: from nala.dohd.org (a29185.upc-a.chello.nl [62.163.29.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20C2C43FCB for ; Thu, 28 Aug 2003 09:43:24 -0700 (PDT) (envelope-from freebsd@dohd.org) Received: by nala.dohd.org (Postfix, from userid 1008) id DE951613A; Thu, 28 Aug 2003 18:43:21 +0200 (MET DST) Date: Thu, 28 Aug 2003 18:43:21 +0200 From: Mark Huizer To: Soren Schmidt Message-ID: <20030828164321.GA8309@eeyore.local.dohd.org> References: <200308281040.15343.mistry.7@osu.edu> <200308281447.h7SElu27025585@spider.deepcore.dk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <200308281447.h7SElu27025585@spider.deepcore.dk> User-Agent: Mutt/1.5.4i cc: freebsd-current@FreeBSD.ORG Subject: Re: 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: Thu, 28 Aug 2003 16:43:29 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 28, 2003 at 04:47:56PM +0200, Soren Schmidt wrote: > It seems Anish Mistry wrote: > > > > > it DMA was fixed for my CD/DVD combo drive. I changed the > > > > > hw.ata.atapi_dma="0" > > > > > to hw.ata.atapi_dma="1" in my /boot/loader.conf. After a reboot I tried > > > There is no PIO fallback in ATAng (so far), if you know that your ATAPI > > > device doesn't do DMA why on earth do you enable it ? > > > > > Because the drive does support DMA. I've tested to see it DMA actually works > > in windows, PIO vs DMA while playing a DVD, and there is a big difference, > > and I can only assume that it works. > > Hmm, I didn't hear the "works in windows" bit :) > > Could you mail me a dmesg from the system, that might uncover some usefull > info on if/how/why DMA can work on your HW.. For the kernel before ATAng: see dmesg.beforeATAng For a small list of DMA according to Windows XP see dmesg.windows I'm still looking how I can get it to boot with a kernel after ATAng. It fails with "ad0: WARNING: READ_DMA ICRC warning" or something like that. Mark -- Nice testing in little China... --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.beforeATAng" 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-CURRENT #2: Sat Aug 16 20:51:43 CEST 2003 xaa@piglet.local.dohd.org:/usr/obj/sources/src/sys/piglet Preloaded elf kernel "/boot/kernel.old/kernel" at 0xc080b000. Preloaded elf module "/boot/kernel.old/acpi.ko" at 0xc080b220. Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(TM) XP1700+ (1477.36-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff AMD Features=0xc0480000 real memory = 536788992 (511 MB) avail memory = 512696320 (488 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 0xc00f1480 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: port 0x530-0x537 on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 13 INTA is routed to irq 11 pcib0: slot 15 INTA is routed to irq 10 pcib0: slot 17 INTD is routed to irq 5 pcib0: slot 17 INTD is routed to irq 5 pcib0: slot 17 INTD is routed to irq 5 agp0: mem 0xfc000000-0xfdffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) fxp0: port 0xd800-0xd83f mem 0xed000000-0xed01ffff,0xed800000-0xed800fff irq 11 at device 13.0 on pci0 fxp0: Ethernet address 00:02:b3:48:51:43 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xd400-0xd4ff irq 10 at device 15.0 on pci0 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 uhci0: port 0xb800-0xb81f irq 5 at device 17.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub0: port error, restarting port 1 uhub0: port error, giving up port 1 ulpt0: Hewlett-Packard DeskJet 3816, rev 1.10/1.00, addr 2, iclass 7/1 ulpt0: using bi-directional mode uhub0: port error, restarting port 2 uhub0: port error, giving up port 2 ums0: Cypress Sem PS2/USB Browser Combo Mouse, rev 1.00/0.10, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. uhci1: port 0xb400-0xb41f irq 5 at device 17.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub1: port error, restarting port 1 uhub1: port error, giving up port 1 uhub2: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2 uhub2: 4 ports with 4 removable, self powered ugen0: Hewlett-Packard HP Scanjet 5400C Series, rev 1.10/0.00, addr 3 uhub1: port error, restarting port 2 uhub1: port error, giving up port 2 uhci2: port 0xb000-0xb01f irq 5 at device 17.4 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered uhub3: port error, restarting port 1 uhub3: port error, giving up port 1 uhub3: port error, restarting port 2 uhub3: port error, giving up port 2 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-0x77f,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 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: