From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 01:03:12 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B224016A4CE for ; Sun, 9 Jan 2005 01:03:12 +0000 (GMT) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52D4B43D2F for ; Sun, 9 Jan 2005 01:03:12 +0000 (GMT) (envelope-from gerard-seibert@rcn.com) Received: from 207-237-110-41.c3-0.crm-ubr4.crm.ny.cable.rcn.com ([207.237.110.41] helo=[192.168.0.2]) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CnRU7-0000da-00 for freebsd-questions@freebsd.org; Sat, 08 Jan 2005 20:03:11 -0500 Date: Sat, 08 Jan 2005 20:03:14 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: Gerard@FreeBSD.ORG, Seibert@FreeBSD.ORG Message-Id: <20050108193359.A9B2.GERARD-SEIBERT@rcn.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.12.01 [en] Subject: DMA and CDROM Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gerard-seibert@rcn.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2005 01:03:12 -0000 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@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 real memory = 402653184 (384 MB) avail memory = 384331776 (366 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0x50000000-0x53ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) rl0: port 0x2000-0x20ff mem 0x41200000-0x412000ff irq 11 at device 4.0 on pci0 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:ba:40:6d:e1 isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: 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: port 0x2480-0x249f irq 11 at device 20.2 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: at device 20.3 (no driver attached) cpu0 on motherboard orm0: at iomem 0xc0000-0xcffff on isa0 pmtimer0 on isa0 fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: 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: 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: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 unknown: can't assign resources (port) unknown: can't assign resources (port) sbc0: at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 3,1 on isa0 sbc0: [GIANT-LOCKED] pcm0: on sbc0 pcm0: [GIANT-LOCKED] unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) sio4: 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 [15574/16/63] at ata0-master UDMA33 ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=1 error=4 acd0: DVDROM at ata1-master PIO4 afd0: REMOVABLE 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@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."