Re: ATA driver races with interrupts

From: Kenneth Culver <culverk_at_sweetdreamsracing.biz>
Date: Mon, 2 Aug 2004 13:28:02 -0400
Quoting Ville-Pertti Keinonen <will+freebsd-current_at_will.iki.fi>:

> My previous patch makes things more reliable, but it's not good enough...
>
> Attached is an updated version of the patch that clears ATA_EXPECT_INTR
> earlier (in the interrupt handler), which seems to stabilize things better.
>
> I'm definitely not convinced of its correctness, since I'm not sure
> which part of the code is racing against interrupts despite the previous
> version of the patch, but I can no longer cause any failures.
>
> Repeating the problem should be trivial with an unpatched -current with
> PREEMPTION enabled and hardware similar to mine - ASUS K8V Deluxe, two
> SATA disks on the VIA 6420:
>
I have this exact same motherboard, but I'm using the onboard promise 
controller
set up with 2 disks as a raid0, and I'm not having any problems with this
setup. I used the promise controller because from what I've been told, the
promise controllers are very fast in FreeBSD compared to other controllers.

Ken
Received on Mon Aug 02 2004 - 15:25:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC