From owner-freebsd-current Sat Dec 18 15:17:39 1999 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 545BC14EBC for ; Sat, 18 Dec 1999 15:17:34 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id AAA78692; Sun, 19 Dec 1999 00:17:18 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <199912182317.AAA78692@freebsd.dk> Subject: Re: ATA driver problem?? (lost disk contact) In-Reply-To: from Martin Blapp at "Dec 18, 1999 11:20:51 pm" To: mb@imp.ch (Martin Blapp) Date: Sun, 19 Dec 1999 00:17:18 +0100 (CET) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Martin Blapp wrote: > > Sorry, > > I found a rather easy workaround. Disable DMA for > the disks in the BIOS ... But I still wonder why > enable/disable ATA DMA in kernel has no effect for > this crash. Why does only the BIOS disable help ? No idea, I have to study AMD's southbridge first.. > ata-pci0: at device 7.1 on pci0 > ata-pci0: Busmastering DMA supported > ata0 at 0x01f0 irq 14 on ata-pci0 > ata1 at 0x0170 irq 15 on ata-pci0 > chip1: at device 7.3 on pci0 > > Strange thing is that the the two disks report themselves > different (The disks are identical) and the settings in the > BIOS for ata0 and ata1 too ... > > ad0: ATA-4 disk at ata0 as master > ad0: 14664MB (30033360 sectors), 29795 cyls, 16 heads, 63 S/T, 512 B/S > ad0: 16 secs/int, 32 depth queue, DMA > > ^^^ > why that ? > > ad2: ATA-4 disk at ata1 as master > ad2: 14664MB (30033360 sectors), 29795 cyls, 16 heads, 63 S/T, 512 B/S > ad2: 16 secs/int, 32 depth queue, PIO > > Anyway, so DMA on K7 boards is not supported. Is someone working on this ? Its not all K7 boards, those that has the VIA southbridge are supported ie most K7 boards. Its just that nobody has written support for the AMD southbridge yet. It should work in generic mode as the above suggest in PIO or DMA mode, just no UDMA. BTW I need full dmesg's from verbose boots, these snippets are not enough. I'll try to get docs on the AMD southbridge, if so, it should be pretty easy to add support for it... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message