-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, On Jun 10, 2008, at 16:47, Manuel Bouyer wrote:
On Tue, Jun 10, 2008 at 11:15:29AM -0400, Michael Lorenz wrote:Currently BUS_DMAMAP_COHERENT translates to 'access via kseg1' on sgimips. Yes, should be completely uncached.OK, thanks. Here's an updated patch, which fixes some cut-n-paste and adds some usb_syncmem() based on Izumi's comments.But again I can't see how it would change anything on a BUS_DMAMAP_COHERENT memory ... it's just some more wmb() calls, which should now be redundant.
This works better, devices are found and I don't see those 'generic HBA error's anymore. Reads seem to work fine, both with uhci and ehci. Writes however don't seem to work right. Symptoms: - - I newfs a USB disk, then mount it and the filesystem apparently doesn't have a root directory.
- - subsequent fscks find different errors every timeThe disk itself is fine, I tried it on a different machine without any problems and the filesystem problems only started to happen after I newfsed the disk to avoid a lengthy fsck.
have fun Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iQEVAwUBSFLJbMpnzkX8Yg2nAQIrsQgAnc8JaNr24zELfgsETlv+L5rvAEaSO/Hd 74zBpYQfZdJC814KoY8P7ku2DwVx4PBOoNL/5e2c2FC/2mAm36vsYj3UFh/i45EH jYikoMiY97QYLhyaZEqCAq3NHrNosUN1jDnkywOufEwXxIvt1X0SzyU6aIxSIoYV PeIHmUyh5U3c50DZHVMFj4eTFyATViFpxCxqLhXZ6woLPt0JjRT/9H5x+JMB9XOw Ka3o+xPVpWFj/nzZ80Wo3IE2JGZbTghfrPCtqcM71dJ7c3o8QF89EOJdzh12BPPs qoWKgGZjHAAaX3+0FgAELJ7iuCsfB3/Xc4ikLgZ5/+rdLU6eCAqyTg== =CNHj -----END PGP SIGNATURE-----