Skip to contentSkip to conversation

3ware 7500 not working in 2.6.16.18, 2.6.17-rc5

DISCUSSION Robert Hancock 2 participants 2 messages May 26, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Jan Kasprzak

Hi all,

I have a 3ware 75xx P-ATA controller, which has been working in 2.6.15-rc2. Today I have tried to upgrade to 2.6.16.18, and it cannot boot - the controller cannot access the drives, with the attached messages. I have also tried 2.6.17-rc5 with the same results.

...

Quoted 8 lines

3w-xxxx: tw_map_scsi_sg_data(): pci_map_sg() failed.
nommu_map_sg: overflow 2053d9000+4096 of device mask ffffffff sd 0:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
nommu_map_sg: overflow 2053d9000+4096 of device mask ffffffff 3w-xxxx: tw_map_scsi_sg_data(): pci_map_sg() failed. [... and so on, the same for all eight drives sda to sdh ...]

It looks like this controller only supports 32-bit DMA addresses. For some reason it's trying to feed in an SG list with addresses over 4GB, which fails. I'd think this configuration should work, but maybe not?

It looks like you have IOMMU turned off - I think you'll really want to turn that on with that much RAM (12GB). Even if this case did work as well as it could, without IOMMU the kernel would have to bounce-buffer the data below 4GB which will kill performance.

Signature · 3 lines
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/
#2 lore raw

Robert Hancock wrote:
: It looks like this controller only supports 32-bit DMA addresses. For : some reason it's trying to feed in an SG list with addresses over 4GB, : which fails. I'd think this configuration should work, but maybe not?

	It worked in 2.6.15-rc2.

: It looks like you have IOMMU turned off - I think you'll really want to : turn that on with that much RAM (12GB). Even if this case did work as : well as it could, without IOMMU the kernel would have to bounce-buffer : the data below 4GB which will kill performance.

Yes, I had problems with IOMMU in the past, so I used to run the
kernel with IOMMU turned off. Now I have turned it back on, and so far it is working correctly. However, I think the 3ware driver should work even with iommu=off (as it used to in 2.6.15-rc2).

-Yenya

Signature · 3 lines
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/    Journal: http://www.fi.muni.cz/~kas/blog/ |
Quoted 2 lines

I will never go to meetings again because I think face to face meetings <
are the biggest waste of time you can ever have. --Linus Torvalds <