From owner-freebsd-questions@FreeBSD.ORG Wed Aug 8 23:16:01 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD89A16A41B for ; Wed, 8 Aug 2007 23:16:01 +0000 (UTC) (envelope-from netslists@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by mx1.freebsd.org (Postfix) with ESMTP id 8CDEA13C442 for ; Wed, 8 Aug 2007 23:16:01 +0000 (UTC) (envelope-from netslists@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so212928wxd for ; Wed, 08 Aug 2007 16:16:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=FiCrpobODbc+wTz2ooiuNYYc5/XvAxiH+r1SKDQxhYD7lxNxsgDpi85+bmjfA4b6LD39B78n5vfjUL/X+s9H2kfuI8UQKQkofjT/cUxh+48FST+sq/ogZvI1lOHIlXAmmUKvtlW09CG81hEkyPmDTs/s7Ywb285jW/I40GDOpq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=EX/kiZCrvw1eUtsUT2gfXdbj8fn0Fd08rnTfdj0JHsE9WK/zacjNTyAtBxvLUEHpHWDkXTC7aElk97U/ua7ArKGB2FnSbsVeQCCsgRwaiqfmYjQcqtjEVaAgQT/aNwewDFnXLPGj0pjf1XvGKv+S1JMdTMDi2cP2g+6+SIi3338= Received: by 10.70.15.15 with SMTP id 15mr2251237wxo.1186614960805; Wed, 08 Aug 2007 16:16:00 -0700 (PDT) Received: from ?192.168.12.8? ( [72.189.172.75]) by mx.google.com with ESMTPS id o29sm1078854elf.2007.08.08.16.15.59 (version=SSLv3 cipher=RC4-MD5); Wed, 08 Aug 2007 16:16:00 -0700 (PDT) Message-ID: <46BA4EA3.7070308@gmail.com> Date: Wed, 08 Aug 2007 19:15:47 -0400 From: Sten Daniel Soersdal User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Mario Lobo References: <200708081330.32485.mario.lobo@ipad.com.br> In-Reply-To: <200708081330.32485.mario.lobo@ipad.com.br> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: IDE ultraDMA problem 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: Wed, 08 Aug 2007 23:16:01 -0000 Mario Lobo wrote: > Hello to all; > > I had a MSI mobo 645 Ultra with 1.5G ram, pentium 4 1.7 Ghz, 3 IDE HD, 1 > SAMSUNG 80 G, 1 SAMSUNG 120 G, maxtor 120 G and a LG DVD writer. FreeBSD 6.2 > recognized all HDs as ultraDMA 100. Fine. > > Then a bought a ASUS p5vd2-x, 1G ram, Gforce 7200 video(pci-e), pentium D 940 > Dual core and kept the same drives. After tuning and recompiling the kernel > a couple times, I got almost everything working great ! SMP, acpi, network, > you name it, EXCEPT ultraDMA. > > if I leave: > > hw.ata.atapi_dma: 1 > hw.ata.ata_dma: 1 > > FreeBSD reports them (all) at ultraDMA 33. The system boots ok but after 7 or > 10 minutes (even if doing nothing), I start geting messages from > g_vfs_xxxx(); WRITE DMAERROR that can come from any of the drives until the > system becomes unstable and ends up rebooting itself. > > if I leave: > > hw.ata.atapi_dma: 0 > hw.ata.ata_dma: 0 > > The HDs get down to PIO 4 and the system works fine but at an incredible > performance cost. > > Finacial issues force me to make this work instead of buying more stuff. > > Thanks for any suggestions, There are usually one of two reasons for this; 1) Cable not being correct for slots (which UDMA33 suggests) 2) Controller not supported by driver (the controller does/requires something special) I have had perfectly working cables not work just because the motherboard manufacturer decided they wanted to reorder some of the pins on the motherboard (and i wasn't using cables that came with the motherboard). Perhaps you could post 'pciconf -lv' together with 'atacontrol list' and 'atacontrol info ' where is the names of the devices connected. E.g. acd0 ad0 ad1 etc.. dmesg should probably help? -- Sten Daniel Soersdal