Bug 42886
Summary: | PCI O2Micro no longer works within 3.x kernel | ||
---|---|---|---|
Product: | Drivers | Reporter: | buildyear68 |
Component: | MMC/SD | Assignee: | drivers_mmc-sd |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | alan, chris |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.0.1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | dmesg kernel 3.0.1 with CONFIG_MMC_DEBUG=y |
Description
buildyear68
2012-03-07 21:29:23 UTC
Hi, Thanks for the report. Could you try turning on CONFIG_MMC_DEBUG=y and rebuilding your kernel, and show the output here? You could also try a more fine-grained bisection between 2.6.39.4 and 3.0.1, to find the commit that broke things for you. I've already done a diff, but there are ~72 differences in the linux/drivers/mmc/host/sdhci.c file. I will now build 3.0.1 with CONFIG_MMC_DEBUG=y. Hi, "git bisect" can help you perform the optimal number of tests to narrow down the change that introduced the bug. Created attachment 72551 [details]
dmesg kernel 3.0.1 with CONFIG_MMC_DEBUG=y
dmesg with CONFIG_MMC_DEBUG=y
Hi Chris, 'git bisect'? my last known DVCS is mercurial. I don't know anything of git at the moment. I will read some tutorials. Hi, Thanks for the debug. It doesn't tell me what's wrong, but it's helpful to know that we're failing to communicate with the controller. We've had one other report of a failure with the same symptoms on your controller: http://thread.gmane.org/gmane.linux.kernel.mmc/11973/focus=11996 and it included a patch to fix the problem for this user, but we've already merged the patch, so you should have it already: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=dd8df17fe83483d7ea06ff229895e35a42071599 Could you confirm that this patch is already applied for you? We could also consider the reporter and check that Other than that, I think the bisection is the only thing I can think of for now. (You can google [git bisect] to read more about how it works, and ask me questions if you need to). We could also contact that reporter (Alexander) and check that 3.3-rc6 still works for him. Yes, I can confirm that the patch is in the source, but it doesn't work for my hardware O2micro chip. I've also removed the patch for test purpose but this also doesn't work for me. Therefore I will do some tests with 2.6.39.4 and 3.0.1 maybe I find the problem. |