Skip site navigation (1)Skip section navigation (2)
From:      "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
To:        freebsd-stable@freebsd.org
Subject:   PIIX4 but no UDMA?
Message-ID:  <36F611BD.9156B708@vangelderen.org>

next in thread | raw e-mail | index | archive | help
Hi,

The following machine:

FreeBSD 3.1-STABLE #3: Tue Feb 16 19:37:24 AST 1999
    gelderen@cypherpunks.ai:/usr/src/sys/compile/CYPHERPUNKS
Calibrating clock(s) ... TSC clock: 224538038 Hz, i8254 clock: 1193197
Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 224536147 Hz
CPU: AMD-K6tm w/ multimedia extensions (224.54-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
Data TLB: 128 entries, 2-way associative
Instruction TLB: 64 entries, 1-way associative
L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way
associative
Write Allocate Enable Limit: 128M bytes
Write Allocate 15-16M bytes: Enable
Hardware Write Allocate Control: Disable
real memory  = 134217728 (131072K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x00235000 - 0x07ff5fff, 131862528 bytes (32193 pages)
avail memory = 128262144 (125256K bytes)
Found BIOS32 Service Directory header at 0xf00fb020
Entry = 0xfb420 (0xf00fb420)  Rev = 0  Len = 1
PCI BIOS entry at 0xb450
Other BIOS signatures found:
ACPI: 00000000
$PnP: 000fc140
Preloaded elf kernel "kernel" at 0xf0228000.
[...]

appears to have a PIIX4 controller:

[...]
found-> vendor=0x8086, dev=0x7111, revid=0x01
        class=01-01-80, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[0]: type 4, range 32, base 0000f000, size  4
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
intel_piix_status: primary master/slave sample = 3, master/slave
recovery = 1
intel_piix_status: primary master fastDMAonly disabled, pre/post
enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
intel_piix_status: primary master/slave sample = 3, master/slave
recovery = 1
intel_piix_status: primary slave fastDMAonly disabled, pre/post
disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 0 status: 04 from port: 0000f002
intel_piix_status: secondary master/slave sample = 5, master/slave
recovery = 4
intel_piix_status: secondary master fastDMAonly disabled, pre/post
disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
intel_piix_status: secondary master/slave sample = 5, master/slave
recovery = 4
intel_piix_status: secondary slave fastDMAonly disabled, pre/post
disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 1 status: 04 from port: 0000f00a
[...]

which AFAIK should talk UDMA to the following drive:

[...]
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST39140A>
wd0: 8693MB (17803296 sectors), 17662 cyls, 16 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 0407
[...]

The BIOS reports that this drive is UDMA capable and UDMA seems to be
enabled in the BIOS. FreeBSD however, doesn't report UDMA functionality
in the verbose boot. I tried to mess a bit with the source to find out
why UDMA doesn't get enabled, but this is beyond me or my spare time :-(
Anybody any clues?

Cheers,
Jeroen

PS.  [gelderen@cypherpunks gelderen]$ uptime
     5:42AM  up 33 days, 10:04, 2 users, load averages: 0.44, 0.53, 0.58
:-)

-- 
Jeroen C. van Gelderen - jeroen@vangelderen.org - 0xC33EDFDE


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F611BD.9156B708>