OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 12:01 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Re: AHCI: what does it mean if the drive is busy forever?
PostPosted: Sun Oct 28, 2018 3:48 pm 
Offline
Member
Member
User avatar

Joined: Sat Nov 22, 2014 6:33 pm
Posts: 934
Location: USA
mariuszp wrote:
Sometimes (typically after a reboot) on physical hardware, the AHCI controller gets stuck in a state where the "BSY" bit is set in PxTFD, and never clears. bits 4 and 6 ("command-specific") are set too: I'm not sure where to look up the meanings of those.

I have 2 questions:
1) Am I supopsed to do a full port reset whenever my driver loads? Or am I supposed to assume the firmware initialised them?
2) What does it mean if the BSY bit is just set forever?

1) Don't assume anything. Assume will get you in trouble really fast.
2) I have a machine that the "BSY bit is just set forever". I am quite sure that the controller or the drive is bad, though I don't wish to spend the $50 to replace the drive just to see if it was the drive. (no, I don't have another matching laptop to place this drive into... :-)

Ben
- http://www.fysnet.net/osdesign_book_series.htm


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 78 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group