From owner-freebsd-questions@FreeBSD.ORG Thu Aug 25 05:42:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B57F16A41F for ; Thu, 25 Aug 2005 05:42:17 +0000 (GMT) (envelope-from mark@mkproductions.org) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10BB943D46 for ; Thu, 25 Aug 2005 05:42:13 +0000 (GMT) (envelope-from mark@mkproductions.org) Received: from pimout1-ext.prodigy.net (pimout1-int.prodigy.net [207.115.5.65]) by ylpvm43.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j7P5gLJH020507 for ; Thu, 25 Aug 2005 01:42:21 -0400 X-ORBL: [66.139.109.225] Received: from [192.168.1.25] (ppp-66-139-109-225.dsl.stlsmo.swbell.net [66.139.109.225]) by pimout1-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j7P5ftea164488; Thu, 25 Aug 2005 01:42:02 -0400 Message-ID: <430D5A22.2080309@mkproductions.org> Date: Thu, 25 Aug 2005 00:41:54 -0500 From: Mark Kane User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050816) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Marsh References: <430D3823.9070301@mkproductions.org> <20050824212305.S75843@server1.ultratrends.com> <430D4E45.4040105@mkproductions.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, TRODAT Subject: Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2005 05:42:17 -0000 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@amd64.localhost:/usr/obj/usr/src/sys/AMD643000 ACPI APIC Table: 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 Features=0x78bfbff AMD Features=0xe0500800 real memory = 1610547200 (1535 MB) avail memory = 1542995968 (1471 MB) ioapic0 irqs 0-23 on motherboard acpi0: 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: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf0-0xcf3,0xcf8-0xcff on acpi0 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfc002000-0xfc002fff irq 22 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: 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: mem 0xfc003000-0xfc003fff irq 21 at device 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: 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: at device 2.2 (no driver attached) atapci0: 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: 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: at device 11.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: at device 14.0 on pci0 pci2: on pcib2 atapci2: port 0x9000-0x900f,0x8c00-0x8c03,0x8800-0x8807,0x8400-0x8403,0x8000-0x8007 mem 0xfb000000-0xfb003fff irq 19 at device 7.0 on pci2 ata4: channel #0 on atapci2 ata5: channel #1 on atapci2 pcm0: port 0x9400-0x943f irq 17 at device 9.0 on pci2 pcm0: 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: on fwohci0 fwe0: 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: 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: port 0x9c00-0x9cff mem 0xfb008000-0xfb00bfff irq 19 at device 11.0 on pci2 skc0: Marvell Yukon Lite Gigabit Ethernet rev. A3(0x7) sk0: on skc0 sk0: Ethernet address: 00:0f:ea:4f:83:8b miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto atapci3: port 0xb000-0xb00f,0xac00-0xac03,0xa810-0xa817,0xa400-0xa403,0xa010-0xa017 irq 16 at device 12.0 on pci2 ata6: channel #0 on atapci3 ata7: channel #1 on atapci3 fwohci1: 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: on fwohci1 fwe1: 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: 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: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4 orm0: at iomem 0xd2000-0xd47ff,0xc0000-0xcf7ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2009790346 Hz quality 800 Timecounters tick every 1.000 msec ad0: 194481MB [395136/16/63] at ata0-master UDMA133 acd0: DVDR at ata1-slave PIO4 ad8: 76344MB [155112/16/63] at ata4-master UDMA133 ad10: 78166MB [158813/16/63] at ata5-master UDMA133 ad12: 194481MB [395136/16/63] at ata6-master UDMA133 ad14: 156334MB [317632/16/63] at ata7-master UDMA133 cd0 at ata1 bus 0 target 1 lun 0 cd0: 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