Problems with MMC/SDIO on S3C2412
| Newsgroups | gmane.linux.ports.arm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm still having problems in setting up my SDIO Wi-Fi card (Silex SX-SDWAG) on a S3C2412. I'm now using a 2.6.29 kernel. When I load the s3mci module everything seems OK, as the card is detected. When I unload it, the card is successfully removed. The problem is when I try to load the module again. In this second time, the card is not detected! I attach a syslog of this situation with CONFIG_MMC_DEBUG. This problem is serious for me because after a soft reset to my board, the Wi-Fi card is no more detected. I need to power down/up the board for the Wi-Fi card to be detected again. Any ideas why this happens? Regards, José Gonçalves _______________________________________________ linux-arm mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm
s3cmci.log
(text/plain, 11.1 KB)
Feb 9 19:48:57 10 user.notice root: #### Loading first time... Feb 9 19:49:05 10 user.warn kernel: mapped channel 0 to 0 Feb 9 19:49:05 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: probe: mode:2440 mapped mci_base:c1e00000 irq:83 irq_cd:62 dma:0. Feb 9 19:49:05 10 user.debug kernel: mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0 Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: powered down. Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: initialisation done. Feb 9 19:49:05 10 user.debug kernel: mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0 timing 0 Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 0kHz (requested: 0kHz). Feb 9 19:49:05 10 user.debug kernel: mmc0: clock 195312Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0 Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). Feb 9 19:49:05 10 user.debug kernel: mmc0: clock 195312Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0 timing 0 Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). Feb 9 19:49:05 10 user.debug kernel: mmc0: starting CMD0 arg 00000000 flags 000000c0 Feb 9 19:49:05 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMD[OK] #1 op:0 arg:0x00000000 flags:0x08c0 retries:0 R0:0x00000000 Feb 9 19:49:05 10 user.debug kernel: mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000 Feb 9 19:49:05 10 user.debug kernel: mmc0: clock 195312Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0 Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). Feb 9 19:49:05 10 user.debug kernel: mmc0: starting CMD8 arg 000001aa flags 000002f5 Feb 9 19:49:05 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:05 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #2 op:8 arg:0x000001aa flags:0x082f5 retries:0 Status:nothing to complete Feb 9 19:49:05 10 user.debug kernel: mmc0: req done (CMD8): -110: 00000000 00000000 00000000 00000000 Feb 9 19:49:05 10 user.debug kernel: mmc0: starting CMD5 arg 00000000 flags 000002e1 Feb 9 19:49:05 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMD[OK] #3 op:5 arg:0x00000000 flags:0x082e1 retries:3 R0:0x10fe0000 Feb 9 19:49:05 10 user.debug kernel: mmc0: req done (CMD5): 0: 10fe0000 ff000000 00000000 00000000 Feb 9 19:49:05 10 user.debug kernel: mmc0: clock 195312Hz busmode 1 powermode 2 cs 0 Vdd 20 width 0 timing 0 Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). Feb 9 19:49:05 10 user.debug kernel: mmc0: starting CMD5 arg 00300000 flags 000002e1 Feb 9 19:49:05 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMD[OK] #4 op:5 arg:0x00300000 flags:0x082e1 retries:3 R0:0x10fe0000 Feb 9 19:49:05 10 user.debug kernel: mmc0: req done (CMD5): 0: 10fe0000 ff000000 00000000 00000000 Feb 9 19:49:05 10 user.debug kernel: mmc0: starting CMD5 arg 00300000 flags 000002e1 Feb 9 19:49:05 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMD[OK] #5 op:5 arg:0x00300000 flags:0x082e1 retries:3 R0:0x90fe0000 Feb 9 19:49:05 10 user.debug kernel: mmc0: req done (CMD5): 0: 90fe0000 ff000000 00000000 00000000 Feb 9 19:49:05 10 user.debug kernel: mmc0: starting CMD3 arg 00000000 flags 00000075 Feb 9 19:49:05 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMD[OK] #6 op:3 arg:0x00000000 flags:0x0875 retries:3 R0:0x00014000 Feb 9 19:49:05 10 user.debug kernel: mmc0: req done (CMD3): 0: 00014000 31000000 00000000 00000000 Feb 9 19:49:05 10 user.debug kernel: mmc0: clock 195312Hz busmode 2 powermode 2 cs 0 Vdd 20 width 0 timing 0 Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). Feb 9 19:49:05 10 user.debug kernel: mmc0: starting CMD7 arg 00010000 flags 00000015 Feb 9 19:49:05 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMD[OK] #7 op:7 arg:0x00010000 flags:0x0815 retries:3 R0:0x00001e00 Feb 9 19:49:05 10 user.debug kernel: mmc0: req done (CMD7): 0: 00001e00 a1000000 00000000 00000000 Feb 9 19:49:05 10 user.debug kernel: mmc0: queuing CIS tuple 0x01 length 3 Feb 9 19:49:05 10 user.debug kernel: mmc0: queuing CIS tuple 0x1a length 5 Feb 9 19:49:05 10 user.debug kernel: mmc0: queuing CIS tuple 0x1b length 8 Feb 9 19:49:05 10 user.debug kernel: mmc0: clock 25000000Hz busmode 2 powermode 2 cs 0 Vdd 20 width 0 timing 0 Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 25000kHz (requested: 25000kHz). Feb 9 19:49:05 10 user.debug kernel: mmc0: clock 25000000Hz busmode 2 powermode 2 cs 0 Vdd 20 width 2 timing 0 Feb 9 19:49:05 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 25000kHz (requested: 25000kHz). Feb 9 19:49:05 10 user.debug kernel: mmc0: queuing CIS tuple 0x80 length 1 Feb 9 19:49:05 10 user.debug kernel: mmc0: queuing CIS tuple 0x81 length 1 Feb 9 19:49:05 10 user.debug kernel: mmc0: queuing CIS tuple 0x82 length 1 Feb 9 19:49:05 10 user.info kernel: mmc0: new SDIO card at address 0001 Feb 9 19:49:16 10 user.notice root: #### Unloading... Feb 9 19:49:20 10 user.info kernel: mmc0: card 0001 removed Feb 9 19:49:20 10 user.debug kernel: mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0 Feb 9 19:49:20 10 user.info kernel: s3c2412-sdi s3c2412-sdi: powered down. Feb 9 19:49:20 10 user.debug kernel: mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0 Feb 9 19:49:20 10 user.info kernel: s3c2412-sdi s3c2412-sdi: powered down. Feb 9 19:49:31 10 user.notice root: #### Loading second time... Feb 9 19:49:34 10 user.warn kernel: mapped channel 0 to 0 Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: probe: mode:2440 mapped mci_base:c2000000 irq:83 irq_cd:62 dma:0. Feb 9 19:49:34 10 user.debug kernel: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0 Feb 9 19:49:34 10 user.info kernel: s3c2412-sdi s3c2412-sdi: powered down. Feb 9 19:49:34 10 user.info kernel: s3c2412-sdi s3c2412-sdi: initialisation done. Feb 9 19:49:34 10 user.debug kernel: mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0 timing 0 Feb 9 19:49:34 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 0kHz (requested: 0kHz). Feb 9 19:49:34 10 user.debug kernel: mmc0: clock 195312Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0 Feb 9 19:49:34 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). Feb 9 19:49:34 10 user.debug kernel: mmc0: clock 195312Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0 timing 0 Feb 9 19:49:34 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). Feb 9 19:49:34 10 user.debug kernel: mmc0: starting CMD0 arg 00000000 flags 000000c0 Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMD[OK] #1 op:0 arg:0x00000000 flags:0x08c0 retries:0 R0:0x00000000 Feb 9 19:49:34 10 user.debug kernel: mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000 Feb 9 19:49:34 10 user.debug kernel: mmc0: clock 195312Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0 Feb 9 19:49:34 10 user.info kernel: s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). Feb 9 19:49:34 10 user.debug kernel: mmc0: starting CMD8 arg 000001aa flags 000002f5 Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #2 op:8 arg:0x000001aa flags:0x082f5 retries:0 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req done (CMD8): -110: 00000000 00000000 00000000 00000000 Feb 9 19:49:34 10 user.debug kernel: starting CMD5 arg 00000000 flags 000002e1 Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #3 op:5 arg:0x00000000 flags:0x082e1 retries:3 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req failed (CMD5): -110, retrying... Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #4 op:5 arg:0x00000000 flags:0x082e1 retries:2 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req failed (CMD5): -110, retrying... Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #5 op:5 arg:0x00000000 flags:0x082e1 retries:1 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req failed (CMD5): -110, retrying... Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #6 op:5 arg:0x00000000 flags:0x082e1 retries:0 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req done (CMD5): -110: 00000000 00000000 00000000 00000000 Feb 9 19:49:34 10 user.debug kernel: mmc0: starting CMD55 arg 00000000 flags 000000f5 Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #7 op:55 arg:0x00000000 flags:0x08f5 retries:0 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000 Feb 9 19:49:34 10 user.debug kernel: mmc0: starting CMD55 arg 00000000 flags 000000f5 Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #8 op:55 arg:0x00000000 flags:0x08f5 retries:0 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000 Feb 9 19:49:34 10 user.debug kernel: mmc0: starting CMD55 arg 00000000 flags 000000f5 Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #9 op:55 arg:0x00000000 flags:0x08f5 retries:0 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000 Feb 9 19:49:34 10 user.debug kernel: mmc0: starting CMD55 arg 00000000 flags 000000f5 Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #10 op:55 arg:0x00000000 flags:0x08f5 retries:0 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000 Feb 9 19:49:34 10 user.debug kernel: mmc0: starting CMD1 arg 00000000 flags 000000e1 Feb 9 19:49:34 10 user.debug kernel: s3c2412-sdi s3c2412-sdi: CMDSTAT: error CMDTIMEOUT Feb 9 19:49:34 10 user.err kernel: s3c2412-sdi s3c2412-sdi: CMD[ERR -110] #11 op:1 arg:0x00000000 flags:0x08e1 retries:0 Status:nothing to complete Feb 9 19:49:34 10 user.debug kernel: mmc0: req done (CMD1): -110: 00000000 00000000 00000000 00000000 Feb 9 19:49:34 10 user.debug kernel: mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0 Feb 9 19:49:34 10 user.info kernel: s3c2412-sdi s3c2412-sdi: powered down.