From owner-freebsd-stable Wed Aug 23 13: 6: 2 2000 Delivered-To: freebsd-stable@freebsd.org Received: from hayward.u-net.com (hayward.u-net.com [193.119.181.49]) by hub.freebsd.org (Postfix) with ESMTP id 19FA737B423 for ; Wed, 23 Aug 2000 13:05:37 -0700 (PDT) Received: from localhost (alex@localhost) by hayward.u-net.com (8.9.3/8.9.3) with ESMTP id VAA05578 for ; Thu, 24 Aug 2000 21:07:14 +0100 (BST) (envelope-from xelah@xelah.com) X-Authentication-Warning: hayward.u-net.com: alex owned process doing -bs Date: Thu, 24 Aug 2000 21:07:13 +0100 (BST) From: Alex Hayward X-Sender: alex@hayward.u-net.com To: freebsd-stable@FreeBSD.ORG Subject: Re: UDMA66 not recognized In-Reply-To: <39A40446.7967E391@club-internet.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 23 Aug 2000, David Scialom wrote: > James Housley wrote: > > > David Scialom wrote: > > > > > > I have also the problem that my FreeBSD does not recognize my Matrox > > > hard disk drive which is UDMA 66 and is connected to the first > > > > [snip] > > > > > atapci0: port 0xd800-0xd80f at device > > > 4.1 on pci0 > > > ata0: at 0x1f0 irq 14 on atapci0 > > > ata1: at 0x170 irq 15 on atapci0 > > > > That is becuase it is only an ATA33 controller. > > I know that but the documentation of the mothercard (Asus P3V4X > JumperFree) says: > > "UDMA66/Support: Comes with an on board PCI bus Master Controller with 2 > connectors that support 4 IDE devices on 2 channel. Support UDMA 66, UDMA > 33 PIO mode 3 & 4 and bus master IDE DMA mode 2." > > But freebsd does not seem to recognise UDMA 66? The 82C596 is ATA-33, whilst the 82C596B is ATA-66. AFAICS there is code to distinguish the two...have you looked at the label on the chip itself? As an aside I have the VIA 82C686, which is also ATA-66...it's detected as ATA-66, the disk is reported as being used with UDMA66 but I /still/ don't get UDMA66 speeds out of it. Instead I get ~22MB/s (from both the start and end of the disk), even if I take the other devices off the other channel. This is with both CURRENT and STABLE. My dmesg: Copyright (c) 1992-2000 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 4.1-STABLE #0: Mon Aug 21 17:18:42 BST 2000 toor@hayward.u-net.com:/mnt/mainpart1/usr-STABLE/obj/mnt/mainpart1/usr-STABLE/src/sys/HAYWARD Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (451.03-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 134152192 (131008K bytes) avail memory = 127565824 (124576K bytes) Preloaded elf kernel "kernel" at 0xc0309000. DEVFS: ready for devices VESA: v2.0, 8192k memory, flags:0x1, mode table:0xc00c6964 (c0006964) VESA: Matrox Graphics Inc. K6-family MTRR support enabled (2 registers) md0: Malloc disk apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 chip2: port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 10 at device 7.5 on pci0 ed0: port 0xd800-0xd81f irq 5 at device 9.0 on pci0 ed0: address 00:40:95:43:7a:ef, type NE2000 (16 bit) pcm0: port 0xdc00-0xdc1f irq 9 at device 11.0 on pci0 pcib1: on motherboard pci2: on pcib1 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port DEVFS: ready to run IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging limited to 30 packets/entry by default IP Filter: v3.4.8 initialized. Default = pass all, Logging = enabled ad0: 29314MB [59560/16/63] at ata0-master using UDMA66 ast0: TAPE at ata1-master using WDMA2 acd0: CDROM at ata1-slave using WDMA2 Mounting root from ufs:/dev/ad0s2a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message