Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 10:55:49 -0300
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        The Anarcat <anarcat@anarcat.ath.cx>
Cc:        Don <don@calis.blacksun.org>, Craig Reyenga <creyenga@connectmail.carleton.ca>, freebsd-current@FreeBSD.ORG
Subject:   Re: Solved??? Re: playing mp3s and burning a cd
Message-ID:  <3E805FE5.3070102@newsguy.com>
In-Reply-To: <20030324194330.GA681@lenny.anarcat.ath.cx>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>   AMD Features=0xffffffffc0440000<RSVD,AMIE,DSP,3DNow!>
> real memory  = 1207877632 (1151 MB)
> avail memory = 1166782464 (1112 MB)
> Initializing GEOMetry subsystem
> Pentium Pro MTRR support enabled
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <ASUS   A7V-133 > 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: <CPU> on acpi0
> acpi_button0: <Power Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xe6000000-0xe7ffffff at device 0.0 on pci0
> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> drm0: <ATI Radeon QY VE (AGP)> 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: <PCI-ISA bridge> at device 4.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 82C686 ATA100 controller> port 0xb800-0xb80f at device 4.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 9 at device 4.2 on pci0
> usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 9 at device 4.3 on pci0
> usb1: <VIA 83C572 USB controller> 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: <bridge, PCI-unknown> at device 4.4 (no driver attached)
> vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x9400-0x94ff mem 0xd6800000-0xd68000ff irq 9 at device 9.0 on pci0
> vr0: Ethernet address: 00:50:ba:64:e3:6a
> miibus0: <MII bus> on vr0
> ukphy0: <Generic IEEE 802.3u media interface> on miibus0
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pcm0: <Creative EMU10K1> port 0x9000-0x901f irq 5 at device 10.0 on pci0
> atapci1: <Promise ATA100 controller> 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: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> 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: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model MouseMan+, device ID 0
> orm0: <Option ROMs> at iomem 0xcc000-0xce7ff,0xc0000-0xcafff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounters tick every 10.000 msec
> IPsec: Initialized Security Association Processing.
> acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2%
> ad4: 38182MB <MAXTOR 4K040H2> [77578/16/63] at ata2-master UDMA100
> MBREXT Slice 5 on ad4s2:
> 0000   00 01 c1 ff 0b fe ff ff 3f 00 00 00 4d 59 18 02  |........?...MY..|
> [0] f:00 typ:11 s(CHS):255/1/193 e(CHS):255/254/255 s:63 l:35150157
> 0000   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
> [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> cd0 at ata0 bus 0 target 0 lun 0
> cd0: <PLEXTOR CD-R   PX-W4012A 1.01> Removable CD-ROM SCSI-0 device 
> cd0: 33.000MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present - tray open
> cd1 at ata1 bus 0 target 0 lun 0
> cd1: <LG CD-ROM CRD-8522B 2.02> Removable CD-ROM SCSI-0 device 
> cd1: 16.000MB/s transfers
> cd1: Attempt to query device size failed: NOT READY, Medium not present
> Mounting root from ufs:/dev/ad4s3a
> netsmb_dev: loaded
> 
> 


-- 
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org
capo@professional.bsdconspiracy.net

	Spellng is overated anywy.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E805FE5.3070102>