Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 1999 00:17:18 +0100 (CET)
From:      Soren Schmidt <sos@freebsd.dk>
To:        mb@imp.ch (Martin Blapp)
Cc:        current@FreeBSD.ORG
Subject:   Re: ATA driver problem?? (lost disk contact)
Message-ID:  <199912182317.AAA78692@freebsd.dk>
In-Reply-To: <Pine.SGI.4.10.9912182312140.17589-100000@mephisto.imp.ch> from Martin Blapp at "Dec 18, 1999 11:20:51 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Unknown PCI ATA controller (generic mode)> 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: <PCI to Other bridge (vendor=1022 device=740b)> 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: <IBM-DJNA-351520/J56OA30K> 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: <IBM-DJNA-351520/J56OA30K> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912182317.AAA78692>