| Summary: | sys-apps/hal-0.5.7.1 does not recognize mmc-card | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Florian Jostock <florian.jostock> |
| Component: | [OLD] Core system | Assignee: | Project Gentopia <gentopia> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | lp_7413 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Patch 1 of 2 needed in order to get 0.5.7-r3 working properly with a newer udev
Patch 2 of 2 needed in order to get 0.5.7-r3 working properly with a newer udev |
||
|
Description
Florian Jostock
2007-03-01 19:58:55 UTC
Does it work when adding this rule to /etc/udev/rules.d/50-udev.rules: SUBSYSTEM=="mmc", ACTION=="add", RUN+="modprobe.sh mmc_block" or by executing mmc_block? I think this isnt a error by gentoo, because I found a description from an debian-user with an simliar error: after updating the system mmc-card with hal did not work any longer. So I think I should forward my bug to the hal-developers. And I ask you to not to delete the hal-0.5.7-r3 from portage until they fixed it. (Reply to comment #1) There isnt a modprobe.sh in /etc/udev/scripts so I don't think this will work (but I dont know anything about writing udev-rules). And I used to compile nearly everything into the kernel, so there was no mmc_block-module. But I tested it, and compiled mmc_block, tifm_7xx1 and sdhci as module instead into the kernel, and created a file /etc/udev/scribts/modprobe.sh containing "modprobe mmc_block", and loaded only tifm_7xx1 and sdhci modules on boot, but not mmc_block, and added the propoesed udev-rule. This changend nothing. With the 0.5.7.1-r5 it doesnt work, with 0.5.7-r3 it works fine. Without inserting mmc_block-module (via udev-rule or manually), it doesnt work at all, you cannot even mount it manual. Florian: what version of udev do you have? you're not suppose to create modprobe.sh Created attachment 112507 [details, diff]
Patch 1 of 2 needed in order to get 0.5.7-r3 working properly with a newer udev
You will need to create a new overlay or modify your .ebuild for hal-0.5.7-r3 in order for these patches to work.
Created attachment 112508 [details, diff]
Patch 2 of 2 needed in order to get 0.5.7-r3 working properly with a newer udev
See Patch 1 description
I will confirm that a downgrade to hal-0.5.7-r3 fixes the issue with unmountable sd/mmc devices. I was having the same issues myself. I made an ebuild of this and added the proper patches to the files directory. After doing this my SD card came up fine on its own (hasn't happened before!) I have attached the patches I used in an overlay. Everything seems to be going good :) Thanks Please upgrade to the 0.5.9 series. Sorry about the long delay but we weren't patching 0.5.7 anymore because we were working on 0.5.8 and 0.5.9 |