How does UDMA mode get set?
Matthew Donadio
m.p.donadio at ieee.org
Fri Apr 4 16:38:09 PST 2003
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: <Intel ICH ATA66 controller> 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: <Maxtor 4D040H2/DAH017K0> 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 at ieee.org)
More information about the freebsd-stable
mailing list