* [parisc-linux] I/O MMU @ fffffffffed20000 is out of mapping resources: re-occured
@ 2005-02-22 8:30 Joel Soete
2005-02-23 22:00 ` Grant Grundler
0 siblings, 1 reply; 4+ messages in thread
From: Joel Soete @ 2005-02-22 8:30 UTC (permalink / raw)
To: parisc-linux
Hi all,
Sorry but this pb:
Kernel panic - not syncing: /CAD/linux-2.6.11-rc4-pa2-050221/drivers/pari=
sc/sba_iommu.c:
I/O MMU @ fffffffffed20000 is out of mapping resources
just re-occured while an apt-get update again.
(I wrongly though it disappeared because hiden last week eventhought I re=
-mirrored
the slice containing deb 'depot')
Thanks in advance for attention,
Joel
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] I/O MMU @ fffffffffed20000 is out of mapping resources: re-occured
2005-02-22 8:30 [parisc-linux] I/O MMU @ fffffffffed20000 is out of mapping resources: re-occured Joel Soete
@ 2005-02-23 22:00 ` Grant Grundler
2005-02-26 14:44 ` Joel Soete
0 siblings, 1 reply; 4+ messages in thread
From: Grant Grundler @ 2005-02-23 22:00 UTC (permalink / raw)
To: Joel Soete; +Cc: parisc-linux
On Tue, Feb 22, 2005 at 09:30:59AM +0100, Joel Soete wrote:
> Hi all,
>
> Sorry but this pb:
> Kernel panic - not syncing: /CAD/linux-2.6.11-rc4-pa2-050221/drivers/parisc/sba_iommu.c:
> I/O MMU @ fffffffffed20000 is out of mapping resources
>
> just re-occured while an apt-get update again.
> (I wrongly though it disappeared because hiden last week eventhought
> I re-mirrored the slice containing deb 'depot')
This is a non-trivial issue that has been around since pci_dma mapping
interface was introduced. Two things need to happen:
1) parisc implements support for dma_mapping_error()
2) drivers use dma_mapping_error() to verify the mapping
resource they asked for was available.
Sorry, I've been ignoring the issue since I don't see it on my boxes.
I'm not sure why you are seeing it and I'm not.
Likely you have less RAM installed than I (normally 2-4 GB).
Can you try changing sba_mem_ratio to 4 or 2 in drivers/parisc/sba_iommu.c:
/* Ratio of Host MEM to IOV Space size */
static unsigned long sba_mem_ratio = 8;
I'll even take a patch that makes this a commandline parameter :^)
(ie used by both ccio and sba drivers).
sorry,
grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] I/O MMU @ fffffffffed20000 is out of mapping resources: re-occured
2005-02-23 22:00 ` Grant Grundler
@ 2005-02-26 14:44 ` Joel Soete
2005-02-26 18:52 ` Grant Grundler
0 siblings, 1 reply; 4+ messages in thread
From: Joel Soete @ 2005-02-26 14:44 UTC (permalink / raw)
To: Grant Grundler; +Cc: parisc-linux
Grant Grundler wrote:
> On Tue, Feb 22, 2005 at 09:30:59AM +0100, Joel Soete wrote:
>
>>Hi all,
>>
>>Sorry but this pb:
>>Kernel panic - not syncing: /CAD/linux-2.6.11-rc4-pa2-050221/drivers/parisc/sba_iommu.c:
>>I/O MMU @ fffffffffed20000 is out of mapping resources
>>
>>just re-occured while an apt-get update again.
>>(I wrongly though it disappeared because hiden last week eventhought
>>I re-mirrored the slice containing deb 'depot')
>
>
> This is a non-trivial issue that has been around since pci_dma mapping
> interface was introduced. Two things need to happen:
> 1) parisc implements support for dma_mapping_error()
> 2) drivers use dma_mapping_error() to verify the mapping
> resource they asked for was available.
>
> Sorry, I've been ignoring the issue since I don't see it on my boxes.
too bad (well for me)
> I'm not sure why you are seeing it and I'm not.
fwiw the pb appeared just after the moment I finaly take the time to mirror my boot disk (a 9gb) with the data one (a 36Gb one) and
specialy during an 'apt-get update' apprently during the gunzip phase.
that said when I mark one slice failed (either sda10 or sbd10 here, where I put my local debian archives) the pb disappear.
Do you also use raid1 to mirror your disk?
> Likely you have less RAM installed than I (normally 2-4 GB).
>
Only 256Mb (this was just a low cost ws to monitor systems with VPO and unfortunately linux is not an 'official' proj in my company
to get more budget for my test; I can only thanks some colleagues to help me recover some used hw ;-)
> Can you try changing sba_mem_ratio to 4 or 2 in drivers/parisc/sba_iommu.c:
> /* Ratio of Host MEM to IOV Space size */
> static unsigned long sba_mem_ratio = 8;
>
Obviously, I will let you know asap ;-)
> I'll even take a patch that makes this a commandline parameter :^)
> (ie used by both ccio and sba drivers).
>
> sorry,
No no, I was just convience that pb was solved, as it wasn't I would just like to remember it (as you asked ;-)
Thanks a lot for all,
Joel
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] I/O MMU @ fffffffffed20000 is out of mapping resources: re-occured
2005-02-26 14:44 ` Joel Soete
@ 2005-02-26 18:52 ` Grant Grundler
0 siblings, 0 replies; 4+ messages in thread
From: Grant Grundler @ 2005-02-26 18:52 UTC (permalink / raw)
To: Joel Soete; +Cc: parisc-linux
On Sat, Feb 26, 2005 at 02:44:01PM +0000, Joel Soete wrote:
> >Likely you have less RAM installed than I (normally 2-4 GB).
> Only 256Mb
Yeah, that's the problem. With 1/8th of that (32MB), one can easily
exhaust the IOMMU resources.
Let me think about this more. The ratio 1/8 is wrong in most cases.
I'm thinking it should be 1:1 with host mem size up to the max IOMMU
size of 1GB.
grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-26 18:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-22 8:30 [parisc-linux] I/O MMU @ fffffffffed20000 is out of mapping resources: re-occured Joel Soete
2005-02-23 22:00 ` Grant Grundler
2005-02-26 14:44 ` Joel Soete
2005-02-26 18:52 ` Grant Grundler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox