[Sdhci-devel] sdhci problems with debug log
Simon Huggins
huggie at earth.li
Tue Jan 15 18:17:53 CET 2008
On Tue, Jan 15, 2008 at 03:42:08PM +0000, Simon Huggins wrote:
> On Wed, Dec 05, 2007 at 10:46:39AM +0100, Pierre Ossman wrote:
> > What the feck... Something is seriously broken with the scheduling.
> > Try a busy-wait instead by replacing msleep() with mdelay().
> I tried mdelay (now in 2.6.24-rc7) and it didn't work
[..]
> I've been trying kernels which aren't SMP, don't use -Os and so on to
> try and eliminate things. I'll try without laptop_mode kernel side at
> some point but disabling the stuff that turned it on in userspace didn't
> help.
Ok. If I use an HZ=1000 then it works. I don't have CONFIG_NO_HZ
(tickless kernel) enabled.
When I do use HZ=1000 I also get printed: mmc_detect_change(500) from
the old debugging code I left in whereas before with HZ=250 it was 125.
I don't know if this is your bug or the scheduler's but given that my
original post cited mmc_delay changes causing it perhaps it's still
broken for other values of HZ.
HZ is used directly a few times under mmc/ but I don't really know
enough to be able to check.
Anyway, hopefully this report helps.
--
Simon [ huggie at earth.li ] *\ "There's no emoticon for what I'm \**
****** ]-+-+-+-+-+-+-+-+-[ **\ feeling!" -- Comic Book Guy, The \*
****** [ Htag.pl 0.0.22 ] ***\ Simpsons. \
More information about the Sdhci-devel
mailing list