DragonFly bugs List (threaded) for 2009-01
DragonFly BSD
DragonFly bugs List (threaded) for 2009-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1240] sata dvdrom leads to interrupt livelock


From: "Simon 'corecode' Schubert \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Jan 2009 00:57:12 +0000

Simon 'corecode' Schubert <corecode@fs.ei.tum.de> added the comment:

I've tracked this down somewhat - if I access the video data (not just the
directory structure), it seems that the drive wants to report an error:  the ERR
bit (0) is set in the status register.  However, in the busmaster status
register, the interrupt AND the active bit are set.

As a result, ata-pci.c/ata_pci_status():475 will return 0, leading to an
unserviced interrupt.  repeat.  I believe we always need to pass through the
interrupt routine if the ERR bit is set, no matter whether the busmaster active
bit is still set or not.

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1240>
_____________________________________________________



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]