DMA and CDROM Drive

Gerard Seibert gerard-seibert at rcn.com
Sat Jan 8 17:03:12 PST 2005


I am running FreeBSD 5.3. I have it presently loaded on an older Compaq
5140 computer. For some unknown reason, I am having a problem getting
DMA turned on for my CDROM drive. I am also receiving an error message
regarding the 'slave'. I had FreeBSD 5.2.1 loaded previously and never
received any such warning message. In addition, the DMA was initiated at
bootup with the same entries I now have in the 'LOADER.CONF(5)' fiie. I
reformatted the HD prior to installing the new version, so I do not
believe that the problem lies there.

Here is my 'dmesg' output:

Copyright (c) 1992-2004 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.3-STABLE #0: Fri Dec 24 20:16:07 EST 2004
    ges at budman.rcn.com:/usr/obj/usr/src/sys/BUDMAN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (397.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x651  Stepping = 1
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 402653184 (384 MB)
avail memory = 384331776 (366 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0x50000000-0x53ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0x2000-0x20ff mem 0x41200000-0x412000ff irq 11 at device 4.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:50:ba:40:6d:e1
isab0: <PCI-ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x24a0-0x24af,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2480-0x249f irq 11 at device 20.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: MOUSE SYSTEM U+P RF Mouse Receiver, rev 1.10/0.00, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
pci0: <bridge, PCI-unknown> at device 20.3 (no driver attached)
cpu0 on motherboard
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
sbc0: <ESS ES1869 (Compaq OEM)> at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 3,1 on isa0
sbc0: [GIANT-LOCKED]
pcm0: <ESS 18xx DSP> on sbc0
pcm0: [GIANT-LOCKED]
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
sio4: <U.S. Robotics 56K Voice INT> at port 0x2f8-0x2ff irq 3 on isa0
sio4: type 16550A
Timecounter "TSC" frequency 397331943 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 7665MB <QUANTUM Bigfoot TX8.0AT/A04.0V00> [15574/16/63] at ata0-master UDMA33
ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=1<ERROR> error=4<ABORTED>
acd0: DVDROM <COMPAQ DVD-ROM GD-2000/0056> at ata1-master PIO4
afd0: REMOVABLE <IOMEGA ZIP 100 ATAPI/14.A> at ata1-slave BIOSPIO
Mounting root from ufs:/dev/ad0s1a

I am able to turn on DMA for the drive using the 'atacontrol(8)'. I have
not had success getting the DMA initiated using the /boot/loader.conf
file however. This is my 'loader.conf' file:

snd_ess_load="YES"
hw.ata.ata_dma=1
hw.ata.atapi_dma=1
hw.ata_wc=1

I have tried using parenthesis around the numbers as well, but the results are the
same.

I am open to any suggestions.

Thanks!

Gerard E. Seibert
gerard-seibert at rcn.com


Only in America...

Tim Allen, comedian, had this to say about Martha Stewart:

"Boy, I feel safer now that she's behind bars. O. J. & Kobe are walking
around, but they take the one woman in America willing to cook, clean,
and work in the yard  and haul her ass to jail."


More information about the freebsd-questions mailing list