[PATCH] option to re-enable aggressive ATA probing (was: 5.3 -> 5.4 breaks ATA (Intel ICH2))
From: Tim Howe (tim.howe_at_celebrityresorts.com)
Date: 09/27/05
- Previous message: Julian C. Dunn: "Re: 5.4-STABLE changes breaks IDE boot (was Re: 5.3 -> 5.4 breaks ATA (Intel ICH2))"
- In reply to: Tim Howe: "Re: 5.3 -> 5.4 breaks ATA (Intel ICH2)"
- Next in thread: Graham Menhennitt: "Re: [PATCH] option to re-enable aggressive ATA probing"
- Reply: Graham Menhennitt: "Re: [PATCH] option to re-enable aggressive ATA probing"
- Reply: Billy Newsom: "Re: [PATCH] option to re-enable aggressive ATA probing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-stable@freebsd.org Date: Tue, 27 Sep 2005 02:07:23 -0400
Tim Howe <tim.howe@celebrityresorts.com> writes:
> ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
This turned out to be the key.
Version 1.51 of ata-lowlevel.c added a check for stat0/1, err, lsb, and
msb being identical. If they are, it aborts the probe. The attached
patch creates an option ATA_AGGRESSIVE_PROBE which disables this for the
old aggressive behavior (which may wait up to the full 31 seconds).
I also took the liberty of reworking the still-busy check from 3
equality tests to 2 bitmask tests. It seems simpler to my eye with
identical results, but if I missed something or the other style was
preferred please let me know.
The patch is against 5-STABLE because that's what I have.
-- Tim Howe Software Engineer Celebrity Resorts, Inc.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
- text/x-patch attachment: stored
- Previous message: Julian C. Dunn: "Re: 5.4-STABLE changes breaks IDE boot (was Re: 5.3 -> 5.4 breaks ATA (Intel ICH2))"
- In reply to: Tim Howe: "Re: 5.3 -> 5.4 breaks ATA (Intel ICH2)"
- Next in thread: Graham Menhennitt: "Re: [PATCH] option to re-enable aggressive ATA probing"
- Reply: Graham Menhennitt: "Re: [PATCH] option to re-enable aggressive ATA probing"
- Reply: Billy Newsom: "Re: [PATCH] option to re-enable aggressive ATA probing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [PATCH] option to re-enable aggressive ATA probing
... Tim Howe wrote: ... ata-lowlevel.c file from March with this CVS tag
(I run cvsup every ... but I will try the patch when I can. ... > equality
tests to 2 bitmask tests. ... (freebsd-stable) - Re: [PATCH] option to re-enable aggressive ATA probing
... Tim Howe wrote: ... > msb being identical. ... If they are,
it aborts the probe. ... (freebsd-stable)