Bug 6725
Summary: | "power bug" in 2.6.17 PCMCIA support | ||
---|---|---|---|
Product: | Drivers | Reporter: | Wolfgang Kempin (kempin) |
Component: | PCMCIA | Assignee: | linux-pcmcia |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | daniel.ritz |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.17 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
2.6.17 kernel .config
2.6.17-mm5 dmesg 2.6.17-git20 dmesg dmesg, lspci -vv and cbdump output with kernels 2.6.16.23 and 2.6.17.11 |
Description
Wolfgang Kempin
2006-06-20 12:51:12 UTC
Created attachment 8355 [details]
2.6.17 kernel .config
Could you try out 2.6.17-mm5 or Linus' latest -git tree, please? I tried it again with clean 2.6.17-mm5 and 2.6.17-git20 source trees (using the same .config as before), but the problem is just the same. First I suspected that it might be a problem with Gentoo Hardened, but I've configured it to use plain vanilla gcc at the moment, so I don't think it's related. I also tried experimenting with some kernel options (adding/removing "lapic"; adding a memory range exclusion that was necessary in <2.6.14 versions, because the cardbus bridge otherwise got a memory range in existing RAM) to no avail. Adding "disable_clkrun=1" to the yenta_socket parameter list didn't help either. Any ideas what I could try next? Created attachment 8482 [details]
2.6.17-mm5 dmesg
Created attachment 8483 [details]
2.6.17-git20 dmesg
Same with 2.6.17-mm6: ----- [... same as -mm5 dmesg posed before ...] pccard: CardBus card inserted into slot 1 pccard: card ejected from slot 1 PCMCIA: socket f7e17028: *** DANGER *** unable to remove socket power ds: ds_event(0x000008, 1, 0xf7e17028) ds: unbind_request(1) ----- Investigated a bit more: The most recent working kernel is 2.6.16.23 (i.e. the last 2.6.16.* kernel). could you post a dmesg and lspci -vv from a 2.6.16.x kernel? also the output of cbdump (part of pcmciautils) right after the message appears with a 2.6.17 kernel please. Created attachment 8937 [details] dmesg, lspci -vv and cbdump output with kernels 2.6.16.23 and 2.6.17.11 Sorry for the long delay, but I was busy moving. The attachment contains the output of "dmesg", "lspci -vv" and "cbdump" after... 1) booting the system and inserting pcmcia + yenta_socket, 2) inserting a PCMCIA card into one of the sockets, and 3) removing the PCMCIA card again under both kernel 2.6.16.23 and 2.6.17.11. The files in the archive can also be found seperately at http://shiken.de/pcmcia/ . ok, it looks like the PCI access thing. to make it work in 2.6.17 either boot with the option pci=conf1 (in your case pci=assign-busses,conf1 ) or apply the patch already found in 2.6.18-rc5: http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=954c0b7cd5b9aaa11fb67a0c011fcb5e5897385a Thanks a lot! It's just as you described. |