| From | Sent On | Attachments |
|---|---|---|
| Oleksandr Tymoshenko | Sep 27, 2008 2:25 pm | |
| Alexander Motin | Sep 27, 2008 2:42 pm | |
| Rui Paulo | Sep 27, 2008 3:58 pm | |
| Carlos A. M. dos Santos | Sep 27, 2008 10:35 pm | |
| Carlos A. M. dos Santos | Sep 27, 2008 11:12 pm | |
| M. Warner Losh | Sep 28, 2008 2:29 am | |
| Alex Keda | Sep 28, 2008 3:29 am | |
| Alexander Motin | Sep 28, 2008 3:00 pm | |
| Zaphod Beeblebrox | Oct 5, 2008 10:25 pm | |
| Warner Losh | Oct 5, 2008 11:58 pm | |
| Thomas Hurst | Oct 6, 2008 12:56 am | |
| Alexander Motin | Oct 6, 2008 2:12 am | |
| Thomas Hurst | Oct 6, 2008 3:42 am | |
| Alexander Motin | Oct 6, 2008 3:49 am | |
| Bernd Walter | Oct 7, 2008 5:52 am | |
| Ilya Bakulin | Oct 8, 2008 12:38 am | |
| Alexander Motin | Oct 8, 2008 12:54 am | |
| Ilya Bakulin | Oct 8, 2008 1:57 am | |
| Alexander Motin | Oct 11, 2008 1:45 pm | |
| Ilya Bakulin | Oct 12, 2008 6:11 am | .diff |
| M. Warner Losh | Oct 13, 2008 10:02 am | |
| Alexander Motin | Oct 15, 2008 1:24 pm | |
| Stanislav Sedov | Oct 15, 2008 1:45 pm | |
| Alexander Motin | Oct 16, 2008 3:05 am | |
| M. Warner Losh | Oct 16, 2008 7:16 am | |
| Alexander Motin | Oct 16, 2008 8:01 am | |
| M. Warner Losh | Oct 16, 2008 8:28 am | |
| Taku YAMAMOTO | Oct 16, 2008 9:39 am | |
| M. Warner Losh | Oct 16, 2008 9:49 am | |
| Alexander Motin | Oct 16, 2008 10:25 am | |
| Ilya Bakulin | Oct 17, 2008 12:16 am | |
| Jacques Fourie | Oct 18, 2008 1:02 am | |
| M. Warner Losh | Oct 18, 2008 8:56 am | |
| Jacques Fourie | Oct 18, 2008 10:00 am | |
| Alexandre "Sunny" Kovalenko | Oct 27, 2008 2:48 pm | |
| Lars Engels | Nov 6, 2008 6:30 am | |
| Alexander Motin | Nov 6, 2008 7:10 am | |
| Lars Engels | Nov 6, 2008 7:37 am | |
| Alexander Motin | Nov 6, 2008 7:44 am | |
| Lars Engels | Nov 6, 2008 8:24 am | |
| M. Warner Losh | Nov 6, 2008 9:10 am | |
| Lars Engels | Nov 6, 2008 9:28 am | |
| M. Warner Losh | Nov 6, 2008 9:39 am | |
| Lars Engels | Nov 6, 2008 10:05 am | |
| Alexander Motin | Nov 6, 2008 10:15 am | |
| M. Warner Losh | Nov 6, 2008 10:23 am | |
| Lars Engels | Nov 6, 2008 10:39 am | |
| Alexander Motin | Nov 6, 2008 11:01 am | |
| Lars Engels | Nov 6, 2008 11:04 am | |
| Alexander Motin | Nov 6, 2008 11:10 am | |
| Lars Engels | Nov 6, 2008 11:23 am | |
| Lars Engels | Nov 6, 2008 11:32 am | |
| Alexander Motin | Nov 6, 2008 12:02 pm | |
| Lars Engels | Nov 6, 2008 1:05 pm | |
| Alexander Motin | Nov 6, 2008 2:12 pm | |
| Alexander Motin | Nov 6, 2008 2:47 pm |
| Subject: | Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements | |
|---|---|---|
| From: | Alexander Motin (ma...@FreeBSD.org) | |
| Date: | Nov 6, 2008 12:02:08 pm | |
| List: | org.freebsd.freebsd-arm | |
Lars Engels wrote:
Nov 6 20:21:11 maggie kernel: sdhci_request cmd op 55 arg 131072 flags 21 data
0
Nov 6 20:21:11 maggie kernel: sdhci0-slot0: got interrupt 1
Nov 6 20:21:11 maggie kernel: sdhci_request cmd op 6 arg 2 flags 21 data 0
Nov 6 20:21:11 maggie kernel: sdhci0-slot0: got interrupt 1
Nov 6 20:21:11 maggie kernel: sdhci_request cmd op 17 arg 0 flags 53 data 512
Nov 6 20:21:11 maggie kernel: sdhci0-slot0: got interrupt 3
This is the first data request. 512 bytes reading. It was finished successfully: command end + data end = 3.
Nov 6 20:21:11 maggie kernel: sdhci_request cmd op 17 arg 0 flags 53 data 0 Nov 6 20:21:11 maggie kernel: sdhci0-slot0: got interrupt 3
But here is the problem. For some reason you have _zero_ data size. Controller reports successful competition, but it probably isn't
Nov 6 20:21:11 maggie kernel: sdhci_request cmd op 17 arg 0 flags 53 data 0
Nov 6 20:21:11 maggie kernel: sdhci0-slot0: got interrupt 18002
Nov 6 20:21:11 maggie kernel: sdhci0-slot0: Command error 1 (opcode 17 arg 0
flags 53 dlen 0 dflags 2)
Nov 6 20:21:11 maggie kernel: sdhci0-slot0: Got data interrupt 0x00000002, but
there is no active command.
Here is the results of the previous. Card still sending something, does not responds to the command, controller signals error.
# fdisk /dev/mmcsd0
Nov 6 20:22:57 maggie kernel: sdhci_request cmd op 17 arg 0 flags 53 data 0
Nov 6 20:22:57 maggie kernel: sdhci0-slot0: got interrupt 3
Nov 6 20:22:57 maggie kernel: sdhci_request cmd op 17 arg 0 flags 53 data 0
Nov 6 20:22:57 maggie kernel: sdhci0-slot0: got interrupt 18002
Nov 6 20:22:57 maggie kernel: sdhci0-slot0: Command error 1 (opcode 17 arg 0
flags 53 dlen 0 dflags 2)
Here is just the same. And you have exactly the same with PIO mode. So looks like it is not card or driver problem, but sooner, mmc or mmcsd layer problem and it looks quite strange. Which sources exactly do you have, are they latest, are they in sync with each other and have you rebuilt all of them carefully?
If so, you can try to uncomment // printf("Len %d %lld-%lld flags %#x sz // ... lines in mmcsd.c to look what happens.
Sorry for the lengthy mail :)
Thanks, I like such mails, it's like a hunting. :)
-- Alexander Motin
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "free...@freebsd.org"






.diff