#10944 NORM 11.2.0-: rfkill driver stopping/starting mmc host unnecessarily
Zarro Boogs per Child
bugtracker at laptop.org
Thu Jun 2 14:29:10 EDT 2011
#10944: rfkill driver stopping/starting mmc host unnecessarily
--------------------+-------------------------------------------------------
Reporter: dsd | Owner: dsd
Type: defect | Status: new
Priority: normal | Milestone: 11.2.0-M4
Component: kernel | Version: not specified
Keywords: | Next_action: never set
Verified: 0 | Deployment_affected:
Blockedby: | Blocking:
--------------------+-------------------------------------------------------
olpc-2.6.35 commit bed7edc535cdaafbff7ee59c81e647f4720fc53b fixed the
rfkill driver but made it touch card state unnecessarily - I didn't
realise that rfkill gets called during bootup and suspend/resume even
though there is no state change actually happening.
This causes the following to happen during boot:
{{{
[ 15.000032] mmc1: Timeout waiting for hardware interrupt.
[ 15.010016] sdhci: ============== REGISTER DUMP ==============
[ 15.010016] sdhci: Sys addr: 0x00000000 | Version: 0x00000000
[ 15.010016] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 15.010016] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 15.010016] sdhci: Present: 0x01ff0000 | Host ctl: 0x00000000
[ 15.010016] sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 15.010016] sdhci: Wake-up: 0x00000000 | Clock: 0x00000000
[ 15.010016] sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 15.010016] sdhci: Int enab: 0x00ff00c3 | Sig enab: 0x00ff00c3
[ 15.010016] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 15.010016] sdhci: Caps: 0x056030b0 | Max curr: 0x00f001f0
[ 15.010016] sdhci: ===========================================
[ 15.012480] mmc1: error -110 whilst initialising SDIO card
[ 15.108128] mmc2: new high speed SDHC card at address dcb1
[ 15.125704] mmcblk0: mmc2:dcb1 SU04G 3.69 GiB
[ 15.126039] mmcblk0: p1 p2
[ 15.232836] mmc1: new SDIO card at address 0001
}}}
And it means that the card is also removed and reprobed during every
resume.
--
Ticket URL: <http://dev.laptop.org/ticket/10944>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list