Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE

Mark Kane mark at
Thu Aug 25 05:42:17 GMT 2005

Daniel Marsh wrote:
> Could you post your dmesg to the list?
> I have had a similar problem with SATA hard drives on an Intel PNSLK 
> 945  chipset motherboard with a Pentium D 3ghz. The SATA drives simply 
> would  not recognize as DMA, only PIO, in the BIOS there was a setting 
> for  ATA/IDE Mode, the options were Enhanced or Legacy (defaulted to 
> Enhanced),  once set to Legacy all disk drives are now working in UDMA 5 
> mode.
> Even though you have stated your drives are PATA, it could be a related  
> issue.
> Did you check the sysctl variables listed above, what are their values?
> You say you have 5 disk drives, have you got an add-on IDE card for the  
> extra hard drives (most mobo's I've seen only have one IDE port and 4 
> SATA  ports these days) or does the mobo have onboard RAID controllers 
> which you  aren't using for RAID (could lead to driver incompatibilites 
> for those  controllers)?
> Thank you
> Daniel

Thanks for the response, dmesg is included below.

Before getting this system up and running, I had two weeks of hell 
getting DMA to properly work with this series of motherboards. They have 
some controller issues or something, because more than one drive cannot 
reside on the same cable or there are UDMA ICRC READ and WRITE errors. I 
know it's not this particular board because this is the second brand new 
board of the same model (Giga-Byte K8NS Pro) I've had with similar DMA 
problems. I had a thread going here about that also. The end solution to 
that was to have each drive on it's own dedicated channel, and I have a 
Promise ATA card in here in addition to the motherboard's 4 channels (2 
IDE + 2 RAID which function as IDE).

I don't think it is due to this particular problem with the controllers 
though since I used that other 5.4 machine for a month and a half and it 
did the exact same things.

hw.ata.atapi_dma: 0
hw.ata.ata_dma: 1

FreeBSD 5.4-RELEASE #1: Fri Aug 19 10:07:40 CDT 2005
     mixx941 at amd64.localhost:/usr/obj/usr/src/sys/AMD643000
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3000+ (2009.79-MHz K8-class CPU)
   Origin = "AuthenticAMD"  Id = 0xfc0  Stepping = 0
   AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 1610547200 (1535 MB)
avail memory = 1542995968 (1471 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
acpi0: <Nvidia AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf0-0xcf3,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfc002000-0xfc002fff irq 22 
at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfc003000-0xfc003fff irq 21 
at device 2.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
pci0: <serial bus, USB> at device 2.2 (no driver attached)
atapci0: <nVidia nForce3 Pro UDMA133 controller> port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atapci1: <GENERIC ATA controller> port 
0xe400-0xe40f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7 irq 22 at 
device 10.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
pcib1: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci2: <ACPI PCI bus> on pcib2
atapci2: <Promise PDC20269 UDMA133 controller> port 
mem 0xfb000000-0xfb003fff irq 19 at device 7.0 on pci2
ata4: channel #0 on atapci2
ata5: channel #1 on atapci2
pcm0: <Creative Audigy 2 (EMU10K2)> port 0x9400-0x943f irq 17 at device 
9.0 on pci2
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
fwohci0: <1394 Open Host Controller Interface> mem 
0xfb004000-0xfb007fff,0xfb011000-0xfb0117ff irq 18 at device 9.2 on pci2
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:02:3c:00:91:01:6c:20
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3c:01:6c:20
fwe0: Ethernet address: 02:02:3c:01:6c:20
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
skc0: <Marvell Gigabit Ethernet> port 0x9c00-0x9cff mem 
0xfb008000-0xfb00bfff irq 19 at device 11.0 on pci2
skc0: Marvell Yukon Lite Gigabit Ethernet rev. A3(0x7)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0f:ea:4f:83:8b
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
1000baseTX-FDX, auto
atapci3: <ITE IT8212F ATA133 controller> port 
irq 16 at device 12.0 on pci2
ata6: channel #0 on atapci3
ata7: channel #1 on atapci3
fwohci1: <Texas Instruments TSB43AB23> mem 
0xfb00c000-0xfb00ffff,0xfb010000-0xfb0107ff irq 18 at device 14.0 on pci2
fwohci1: OHCI version 1.10 (ROM=1)
fwohci1: No. of Isochronous channels is 4.
fwohci1: EUI64 00:0f:ea:00:00:47:38:9b
fwohci1: Phy 1394a available S400, 3 ports.
fwohci1: Link S400, max_rec 2048 bytes.
firewire1: <IEEE1394(FireWire) bus> on fwohci1
fwe1: <Ethernet over FireWire> on firewire1
if_fwe1: Fake Ethernet address: 02:0f:ea:47:38:9b
fwe1: Ethernet address: 02:0f:ea:47:38:9b
fwe1: if_start running deferred for Giant
sbp1: <SBP-2/SCSI over FireWire> on firewire1
fwohci1: Initiate bus reset
fwohci1: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire1: bus manager 0 (me)
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROMs> at iomem 0xd2000-0xd47ff,0xc0000-0xcf7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2009790346 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 194481MB <Maxtor 6B200R0/BAH41BM0> [395136/16/63] at ata0-master 
acd0: DVDR <SONY DVD RW DRU-500A/2.1a> at ata1-slave PIO4
ad8: 76344MB <MAXTOR 6L080J4/A93.0500> [155112/16/63] at ata4-master UDMA133
ad10: 78166MB <Maxtor 6Y080P0/YAR41BW0> [158813/16/63] at ata5-master 
ad12: 194481MB <Maxtor 6B200P0/BAH41BM0> [395136/16/63] at ata6-master 
ad14: 156334MB <Maxtor 6Y160P0/YAR41BW0> [317632/16/63] at ata7-master 
cd0 at ata1 bus 0 target 1 lun 0
cd0: <SONY DVD RW DRU-500A 2.1a> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s1a

More information about the freebsd-questions mailing list