From owner-freebsd-current@FreeBSD.ORG Mon Jun 28 20:20:51 2004 Return-Path: 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 6B29B16A4CE for ; Mon, 28 Jun 2004 20:20:51 +0000 (GMT) Received: from parati.mdbrasil.com.br (parati.mdbrasil.com.br [200.210.70.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 4932143D55 for ; Mon, 28 Jun 2004 20:20:50 +0000 (GMT) (envelope-from fred@freebsdbrasil.com.br) Received: (qmail 51075 invoked by uid 85); 28 Jun 2004 20:20:47 -0000 Received: from fred@freebsdbrasil.com.br by parati.mdbrasil.com.br by uid 82 with qmail-scanner-1.20rc1 (uvscan: v4.1.60/v4288. Clear:RC:1:. Processed in 1.010614 secs); 28 Jun 2004 20:20:47 -0000 Received: from unknown (HELO blizzard.bh.freebsdbrasil.com.br) (200.166.88.46) by parati.mdbrasil.com.br with SMTP; 28 Jun 2004 17:20:46 -0300 Received: by blizzard.bh.freebsdbrasil.com.br (Postfix, from userid 1001) id 5F616205F; Mon, 28 Jun 2004 17:20:51 -0300 (BRT) Date: Mon, 28 Jun 2004 17:20:50 -0300 From: "Fred N. Souza" To: current@freebsd.org Message-ID: <20040628202050.GA731@blizzard.freebsdbrasil.com.br> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline X-Sender: fred@freebsdbrasil.com.br X-Mailman-Approved-At: Tue, 29 Jun 2004 12:12:27 +0000 Subject: Detection of SATA drives on 5.2.1-RELEASE-p8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 20:20:51 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, We have a box running 5.2.1-RELEASE-p8 on a SATA disk. However, at boot FreeBSD recognizes it as UDMA100, and I've been told the correct should be something like UDMA150, but I don't know if that's true. Anyway, is there a way for me to tell whether it's running at 150 or 100? The weird part is that apart from the name and addressing data, FreeBSD recognizes the SATA disk just like the IDE we have on the very same box. Attached is the dmesg for that box, note how both ad0 and ad2 are shown as UDMA100.. Thank you in advance, Fred Souza --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg-040614 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.2.1-RELEASE-p8 #0: Mon Jun 14 16:42:41 BRT 2004 root@ns1.twi.com.br:/usr/obj/usr/src/sys/NS1 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0978000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0978294. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 536018944 (511 MB) avail memory = 510930944 (487 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00f3d30 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_cpu1: Failed to attach throttling P_CNT pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xfb000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 em0: port 0xbc00-0xbc1f mem 0xfc9e0000-0xfc9fffff irq 18 at device 1.0 on pci2 em0: Speed:N/A Duplex:N/A uhci0: port 0xe000-0xe01f irq 16 at device 29.0 on pci0 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 uhci1: port 0xe400-0xe41f irq 19 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe800-0xe81f irq 18 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xec00-0xec1f irq 16 at device 29.3 on pci0 usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib3: at device 30.0 on pci0 pci3: on pcib3 pci3: at device 6.0 (no driver attached) fxp0: port 0xcc00-0xcc3f mem 0xfeafe000-0xfeafefff irq 20 at device 8.0 on pci3 fxp0: Ethernet address 00:0c:f1:a7:6e:44 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.2 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A orm0: