From owner-freebsd-current Tue Mar 25 5:56:48 2003 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 D414B37B401 for ; Tue, 25 Mar 2003 05:56:40 -0800 (PST) Received: from newsguy.com (smtp.newsguy.com [129.250.170.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 327B043FAF for ; Tue, 25 Mar 2003 05:56:40 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (200-140-006-207.bsace7026.dsl.brasiltelecom.net.br [200.140.6.207]) by newsguy.com (8.9.1a/8.9.1) with ESMTP id FAA48001; Tue, 25 Mar 2003 05:55:51 -0800 (PST) Message-ID: <3E805FE5.3070102@newsguy.com> Date: Tue, 25 Mar 2003 10:55:49 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en,pt-BR,pt,en-GB,en-US,ja MIME-Version: 1.0 To: The Anarcat Cc: Don , Craig Reyenga , freebsd-current@FreeBSD.ORG Subject: Re: Solved??? Re: playing mp3s and burning a cd References: <20030324173510.GA831@lenny.anarcat.ath.cx> <000b01c2f235$896d10d0$0200000a@fireball> <20030324190153.GE831@lenny.anarcat.ath.cx> <20030324141312.M76018@calis.blacksun.org> <20030324194330.GA681@lenny.anarcat.ath.cx> In-Reply-To: <20030324194330.GA681@lenny.anarcat.ath.cx> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-31.3 required=5.0 tests=EMAIL_ATTRIBUTION,HTML_00_10,IN_REP_TO,QUOTED_EMAIL_TEXT, QUOTE_TWICE_1,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The Anarcat wrote: > On Mon Mar 24, 2003 at 02:14:48PM -0500, Don wrote: > >>>Should a PR be filed or some QA team contacted to make sure this >>>problem doesn't stay alive in 5.2? :) >> >>This isn't, by chance, a problem with your setting for the >>sysctl "hw.ata.atapi_dma" is it? > > > How extraordinarly cute! This solves it! I'm currently listening to > Me, Mom and Morgentaler and burning a 4x CD without any slowdown, this > is great. > > So I guess a "workaround" is to toggle DMA for my ATAPI bus. Indeed, > the burner is IDE and should be working on DMA mode to get optimal > performance. > > The thing is that atapicam hides the DMA/PIO magic from the usual boot > messagesand there's therefore no way to see wether the device is in > DMA mode unless you compile in both cd0 and acd0 which I heard isn't > recommended... > > A. > > PS: what's the proper way to enable ATAPI DMA in the loader.conf file? > I don't see any flag WRT that there.. I'm tempted to add: > > set hw.ata.atapi_cam=1 That would be: hw.ata.atapi_cam="1" if it works on loader at all. If not, /etc/sysctl.conf would be the place. > > anywhere there... > > 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.0-RELEASE #2: Fri Mar 7 15:05:32 EST 2003 > anarcat@lenny.anarcat.ath.cx:/usr/src/sys/i386/compile/LENNII > Preloaded elf kernel "/boot/kernel/kernel" at 0xc06ea000. > Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc06ea0a8. > Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06ea158. > Preloaded elf module "/boot/kernel/radeon.ko" at 0xc06ea204. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06ea2b0. > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 1008992834 Hz > CPU: AMD Duron(tm) Processor (1008.99-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x670 Stepping = 0 > Features=0x383f9ff > AMD Features=0xffffffffc0440000 > real memory = 1207877632 (1151 MB) > avail memory = 1166782464 (1112 MB) > Initializing GEOMetry subsystem > Pentium Pro MTRR support enabled > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 > Using $PIR table, 9 entries at 0xc00f1750 > 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_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: mem 0xe6000000-0xe7ffffff at device 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > drm0: port 0xd800-0xd8ff mem 0xd7000000-0xd700ffff,0xd8000000-0xdfffffff irq 11 at device 0.0 on pci1 > info: [drm] AGP at 0xe6000000 32MB > info: [drm] Initialized radeon 1.1.1 20010405 on minor 0 > isab0: at device 4.0 on pci0 > isa0: on isab0 > atapci0: port 0xb800-0xb80f at device 4.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0xb400-0xb41f irq 9 at device 4.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 > ugen0: Color FlatbedScanner 22, rev 1.00/1.00, addr 2 > uhci1: port 0xb000-0xb01f irq 9 at device 4.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 > pci0: at device 4.4 (no driver attached) > vr0: port 0x9400-0x94ff mem 0xd6800000-0xd68000ff irq 9 at device 9.0 on pci0 > vr0: Ethernet address: 00:50:ba:64:e3:6a > miibus0: on vr0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pcm0: port 0x9000-0x901f irq 5 at device 10.0 on pci0 > atapci1: port 0x7000-0x703f,0x7400-0x7403,0x7800-0x7807,0x8000-0x8003,0x8400-0x8407 mem 0xd6000000-0xd601ffff irq 10 at device 17.0 on pci0 > ata2: at 0x8400 on atapci1 > ata3: at 0x7800 on atapci1 > 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/8 bytes threshold > 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 > psm0: irq 12 on atkbdc0 > psm0: model MouseMan+, device ID 0 > orm0: