Cyril Plisko wrote:
Hi,
I am hitting some problem accessing sdcard from my laptop (Lenovo T61,
with Ricoh controller). It looks like that is caused by recent changes
in blk2scsa (DMA support was added) in build 128, I believe.
I am running b129 and I think last time sdcard worked for me I was at b127.
I am seeing these messages in /var/adm/messages:
Dec 13 14:50:13 hellride rootnex: [ID 561485 kern.warning] WARNING:
sdcard: coding error detected, the driver is using ddi_dma_attr(9S)
incorrectly. There is a small risk of data corruption in particular
with large I/Os. The driver should be replaced with a corrected
version for proper system operation. To disable this warning, add 'set
rootnex:rootnex_bind_warn=0' to /etc/system(4).
Dec 13 14:51:52 hellride unix: [ID 514698 kern.warning] WARNING:
Request for too much kernel memory (3019575296 bytes), will hang
forever
And indeed every trying to access sdcard hangs forever.
I am not sure it is a known problem - I didn't find anything similar at b.o.s
However I'd be glad know if there is any workaround for this problem ?
For example is it possible to control blk2scsa' use of DMA and switch
it back to PIO ?
Argh. This is SCSA which has a bug. (SCSA refuses to apply
DDI_DMA_PARTIAL to some transfers, so it fails for SDcard.) I'm going to
investigate, and if necessary I'll back out the changes.
I have another round of changes to eliminate blk2scsa altogether, but
I've been told those changes are too large/risky to integrate until
after build 135. :-(
-- Garrett
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss