atacontrol fails to set up WDMA2 mode for PIIX3 controller on 5.5-Release

Gennady Kudryashoff lothlorien at tochka.ru
Sun Nov 4 11:53:26 PST 2007


Hi.
I've installed FreeBSD 5.5-Release on old-stoned motherboard on Triton
chipset with Intel PIIX3 (supports WDMA2) controller and 40GB WD Harddisk.

Everything was fine (in place of FreeBSD 6.2 Release, where BTX hangs),
however I can't set WDMA2 mode, atacontrol mode 0 WDMA2 PIO4 just
does nothing.

What can I do with this situation?

All looks like this:

[root at fido /home/gk]# uname -a
FreeBSD fido.local 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Tue May 23 14:58:27 UTC 2006
root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

[root at fido /home/gk]# dmesg
>[skip]<
atapci0: <Intel PIIX WDMA2 controller> port 0x3000-0x300f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7
at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
>[skip]<
ad0: 38166MB <WDC WD400EB-00CPF0/06.04G06> [77545/16/63] at ata0-master BIOSPIO
>[skip]<

[root at fido /home/gk]# sysctl hw.ata.ata_dma
hw.ata.ata_dma: 1

[root at fido /home/gk]# atacontrol cap 0 0
ATA channel 0, Master, device ad0:

Protocol              ATA/ATAPI revision 5
device model          WDC WD400EB-00CPF0
serial number         WD-WCAATD995772
firmware revision     06.04G06
cylinders             16383
heads                 16
sectors/track         63
lba supported         78165360 sectors
lba48 not supported
dma supported
overlap not supported

Feature                      Support  Enable    Value   Vendor
write cache                    yes      yes
read ahead                     yes      yes
dma queued                     no       no      0/0x00
SMART                          yes      no
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      no       no      0/0x00
automatic acoustic management  yes      no      254/0xFE        128/0x80

[root at fido /home/gk]# atacontrol mode 0
Master = BIOSPIO
Slave  = BIOSPIO

[root at fido /home/gk]# atacontrol mode 0 WDMA2 PIO4
Master = BIOSPIO
Slave  = BIOSPIO





More information about the freebsd-hardware mailing list