[Bug 649] ATA driver hangs on initialisation with No primary IDE

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Jan 10 20:23:47 UTC 2008


http://www.rtems.org/bugzilla/show_bug.cgi?id=649





--- Comment #4 from strauman at slac.stanford.edu  2008-01-10 14:23:46 ---
(From update of attachment 539)
I'm not sure if the 'configuration' option is the best solution.
You cannot use the same build for different boards with different
disk/ide configurations. IMHO, it is preferable to use some
sort of 'probing'.
The attached patch adds a timeout/retry-count to the first
loop where we wait for the drive to become ready. If the
drive is neither busy nor ready (at init time, i.e., when it
is supposed to be idle) then we conclude that no drive is present.

Not extremely elaborate but it works for me (qemu, real hardware with
flash on ide1) and doesn't require static configuration.


-- 
Configure bugmail: http://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the bugs mailing list