Can you try this patch? Thanks Abhijeet On Thu, 2009-03-19 at 18:22 -0700, Jason Andryuk wrote: > There is a bug related to the use of DMA. Using wireless-testing > 2.6.29-rc7 from ~3/15, and booting with "iommu=off mem=2G" gives me a > working iwl3945. I also confirmed > 78bb4a96d0d4ab2860df5f0fdfde58cd7a3ad642 "iwl3945: use iwl3945_tx_cmd > instead of iwl_tx_cmd" plus previously posted "rb_stts and BUG to > WARN" patch as working when iommu is disabled. > > So swiotlb exposes iwl3945 dma breakage. > > From 78bb4a96d0d4ab2860df5f0fdfde58cd7a3ad642 "iwl3945: use > iwl3945_tx_cmd instead of iwl_tx_cmd" the most obvious problem is the > change to pci_map_single from pci_alloc_consistent. > > As previously noted, problems brought along by that include the > modification of data to be DMAed after the _map_single call. The lack > of associated un-mapping of memory may also be a problem. > > For testing, swiotlb use can be forced with "swiotlb=force" which > should reproduce the error. > > Jason > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html
Attachment:
0001-iwl3945-fix-alignment-for-x64.patch
Description: application/mbox