On Tue, 27 Jan 2009 11:10:51 -0800
David Brownell <[email protected]> wrote:

> On Tuesday 27 January 2009, Hugo Villeneuve wrote:
> > I´m trying to use a Marvell 88w8686 chip with a DM6446 and the
> > libertas driver. So far it looks promising as the libertas is able
> > to detect the chip, send the firmware to it and configure it. 
> 
> You neglected to say which kernel.  Current GIT?

Hi Dave,
sorry, my kernel is davinci-2.6 GIT. Latest log entry for it is:

  commit 3c8fcf7722a8edd280d1aa84f90702e84fc536a2
  Author: David Brownell <[email protected]>
  Date:   Mon Jan 19 12:06:12 2009 -0800

> If so, are you using the RFT patch I sent along,
> to activate the SDIO IRQ?

I did not use any patches.

> So far as I know, no GIT kernel has ever supported
> SDIO IRQs.  If it's some non-git kernel, please
> give the above combination a try.  I know I've
> triggered DMA error IRQs and seen them handled
> correctly.

So if I am using the latest davinci git kernel, should I apply your
patch? If so where is it located?

I also found that prior to the crash, I have this error message <DMA
write error>, also coming from the mmc_davinci_dma_cb() function:

Begin kernel log
-------------------------------------------
mmc0: starting CMD52 arg 10004000 flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x10004000, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 00001008 00000000 00000000 00000000
mmc0: starting CMD53 arg 92000020 flags 000001b5
mmc0:     blksz 32 blocks 1 flags 00000100 tsac 1000 ms nsac 0
davinci_mmc davinci_mmc.0: MMCSD : Data xfer (block write), DTO 0
cycles + 1000000000 ns, 1 blocks of 32 bytes davinci_mmc davinci_mmc.0:
CMD53, arg 0x92000020, R1/R5/R6/R7 response
davinci_mmc davinci_mmc.0: DMA write error
mmc0: req done (CMD53): 0: 00002000 00000000 00000000 00000000
mmc0:     32 bytes transferred: -5
mmc0: starting CMD52 arg 00000a00 flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x00000a00, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 00001002 00000000 00000000 00000000
mmc0: starting CMD52 arg 10000a00 flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x10000a00, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 00001002 00000000 00000000 00000000
mmc0: starting CMD52 arg 90000afd flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x90000afd, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 000010fd 00000000 00000000 00000000
mmc0: starting CMD52 arg 00000a00 flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x00000a00, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 00001002 00000000 00000000 00000000
mmc0: starting CMD52 arg 10000a00 flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x10000a00, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 00001001 00000000 00000000 00000000
mmc0: starting CMD52 arg 90000afe flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x90000afe, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 000010fe 00000000 00000000 00000000
mmc0: starting CMD52 arg 10006800 flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x10006800, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 0000101d 00000000 00000000 00000000
mmc0: starting CMD52 arg 10006a00 flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x10006a00, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 00001000 00000000 00000000 00000000
mmc0: starting CMD52 arg 10004000 flags 00000195
davinci_mmc davinci_mmc.0: CMD52, arg 0x10004000, R1/R5/R6/R7 response
mmc0: req done (CMD52): 0: 0000100a 00000000 00000000 00000000
mmc0: starting CMD53 arg 12000020 flags 000001b5
mmc0:     blksz 32 blocks 1 flags 00000200 tsac 1000 ms nsac 0
davinci_mmc davinci_mmc.0: MMCSD : Data xfer (block read), DTO 0 cycles
+ 1000000000 ns, 1 blocks of 32 bytes davinci_mmc davinci_mmc.0: CMD53,
arg 0x12000020, R1/R5/R6/R7 response mmc0: req done (CMD53): 0:
00002000 00000000 00000000 00000000 mmc0:     32 bytes transferred: 0
davinci_mmc davinci_mmc.0: host->data is NULL
Unable to handle kernel NULL pointer dereference at virtual address
00000014
-------------------------------------------
End kernel log

I don´t have any clue as to what could cause this DMA write error...

---------------
Hugo Villeneuve
www.hugovil.com
---------------

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to