From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 16:38:09 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80CCA37B401 for ; Fri, 4 Apr 2003 16:38:09 -0800 (PST) Received: from smtp-out.comcast.net (smtp-out.comcast.net [24.153.64.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id E40F143F85 for ; Fri, 4 Apr 2003 16:38:08 -0800 (PST) (envelope-from m.p.donadio@ieee.org) Received: from ieee.org (pcp01403617pcs.radnor01.pa.comcast.net [68.81.79.105]) by mtaout10.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HCU00C9OHRKP4@mtaout10.icomcast.net> for freebsd-stable@freebsd.org; Fri, 04 Apr 2003 19:38:08 -0500 (EST) Date: Fri, 04 Apr 2003 19:38:50 -0500 From: Matthew Donadio To: freebsd-stable@freebsd.org Message-id: <3E8E259A.F0864F4D@ieee.org> MIME-version: 1.0 X-Mailer: Mozilla 4.79 [en] (Win95; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en Subject: How does UDMA mode get set? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 00:38:09 -0000 Hi all, I have been tracking -STABLE on one of my home machines for a little while, now and noticed something the other day. I was given this system, and I have only run FreeBSD-STABLE on it. The motherboard is a Supermicro370SWD with an Intel 810 "Whitney" chipset (82810DC100 GMCH + 82801AA ICH). The docs say that there is support for UDMA66, but FreeBSD reports that the drive is being set to UDMA33. I booted in verbose mode, and here are the relevant parts from dmesg. atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xffa0 ata0: mask=03 ostat0=50 ostat2=50 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 14 eb ata0: mask=03 stat0=50 stat1=10 ata0-master: ATA 01 a5 ata0: devices=09 ata0: at 0x1f0 irq 14 on atapci0 ... ad0: success setting UDMA2 on Intel chip Creating DISK ad0 ar: FreeBSD check1 failed ad0: ATA-6 disk at ata0-master ad0: 38146MB (78125000 sectors), 77504 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA33 ad0: piomode=4 dmamode=2 udmamode=5 cblid=1 My question is, why did the kernel set UDMA33 mode instead of UDMA66 mode? Yes, I have the proper cable, and the drive support up to UDMA100. I didn't see anything obvious in the BIOS that would prevent UDMA66 mode, but I could have missed something. Thanks. -- Matthew Donadio (m.p.donadio@ieee.org)