Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] 2.6.... b2k panic with raid1 :-( (I/O MMU ... out of mapping ressources)
@ 2005-01-20 10:51 Joel Soete
  2005-01-21  6:08 ` [parisc-linux] " Grant Grundler
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Soete @ 2005-01-20 10:51 UTC (permalink / raw)
  To: grundler, parisc-linux

Hello all,

Since this morning I mirrored my disks (1 9Gb on 1 36Gb) but as soon as I=

try to 'apt-get update' the system now panic:

Kernel panic - not syncing: /CAD/linux-2.6.11-rc1-pa3/drivers/parisc/sba_=
iommu.c:
I/O MMU @ fed20000 is out of mapping resources

(nothing more sorry)

This pb occured with 2.6.11-rc1-pa3 32bit (config near c3k default), 2.6.=
11-rc1-pa2
64bit, 2.6.10-pa10 32bit and even with 2.6.8-pa11 64bit 

the fs on which I worked is:
/dev/md7               2015696    604044   1391176  31% /Sources

ie:
# cat /proc/mdstat
...
md7 : active raid1 sdb10[1] sda10[0]
      2047872 blocks [2/2] [UU]
...

and the slicing of those disks are:
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=3D       32, size=3D   128992, Id=3Df0
/dev/sda2 : start=3D   129024, size=3D   256000, Id=3Dfd
/dev/sda3 : start=3D   385024, size=3D   512000, Id=3Dfd
/dev/sda4 : start=3D   897024, size=3D 16773120, Id=3D 5
/dev/sda5 : start=3D   897056, size=3D  3198944, Id=3Dfd
/dev/sda6 : start=3D  4096032, size=3D   511968, Id=3Dfd
/dev/sda7 : start=3D  4608032, size=3D   255968, Id=3Dfd
/dev/sda8 : start=3D  4864032, size=3D   255968, Id=3Dfd
/dev/sda9 : start=3D  5120032, size=3D  4095968, Id=3Dfd
/dev/sda10: start=3D  9216032, size=3D  4095968, Id=3Dfd
/dev/sda11: start=3D 13312032, size=3D  4095968, Id=3Dfd

# partition table of /dev/sdb
unit: sectors

/dev/sdb1 : start=3D       32, size=3D   128992, Id=3Df0
/dev/sdb2 : start=3D   129024, size=3D   256000, Id=3Dfd
/dev/sdb3 : start=3D   385024, size=3D   512000, Id=3Dfd
/dev/sdb4 : start=3D   897024, size=3D 49278976, Id=3D 5
/dev/sdb5 : start=3D   897056, size=3D  3198944, Id=3Dfd
/dev/sdb6 : start=3D  4096032, size=3D   511968, Id=3Dfd
/dev/sdb7 : start=3D  4608032, size=3D   255968, Id=3Dfd
/dev/sdb8 : start=3D  4864032, size=3D   255968, Id=3Dfd
/dev/sdb9 : start=3D  5120032, size=3D  4095968, Id=3Dfd
/dev/sdb10: start=3D  9216032, size=3D  4095968, Id=3Dfd
/dev/sdb11: start=3D 13312032, size=3D  4095968, Id=3Dfd
/dev/sdb12: start=3D 17408032, size=3D 32767968, Id=3D83

(no pb encountered to build and sync the mirroring).

I just find a work around: mark a slice failed (mdadm --fail /dev/sda10)
and I can now doing my 'apt-get update'

Thanks in advance for help,
    Joel

PS: I presume that same pb will occure when I will try to upgrade the ins=
tall
(a debian unstable) so am I waiting the end of a restore before continuin=
g

-------------------------------------------------------------------------=
--
Tiscali solde! 1 mois et activation Gratuits, modem =E0 9,99=80
http://reg.tiscali.be/adsl/default.asp?lg=3DFR



_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [parisc-linux] Re: 2.6.... b2k panic with raid1 :-( (I/O MMU ... out of mapping ressources)
  2005-01-20 10:51 [parisc-linux] 2.6.... b2k panic with raid1 :-( (I/O MMU ... out of mapping ressources) Joel Soete
@ 2005-01-21  6:08 ` Grant Grundler
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Grundler @ 2005-01-21  6:08 UTC (permalink / raw)
  To: Joel Soete; +Cc: parisc-linux

On Thu, Jan 20, 2005 at 11:51:00AM +0100, Joel Soete wrote:
> Hello all,
> 
> Since this morning I mirrored my disks (1 9Gb on 1 36Gb) but as soon as I
> try to 'apt-get update' the system now panic:
> 
> Kernel panic - not syncing: /CAD/linux-2.6.11-rc1-pa3/drivers/parisc/sba_iommu.c:
> I/O MMU @ fed20000 is out of mapping resources

Yes - this has been the expected behavior since ~1999.

The basic problem can be addressed by modifying the drivers that use DMA
services to also check dma_mapping_error() (or pci_dma_mapping_error()
if one prefers). I'll need to add some code to
include/asm-parisc/dma-mapping.h to provide support for failed mappings
before I can remove the panic. This won't happen soon unfortunately.

> I just find a work around: mark a slice failed (mdadm --fail /dev/sda10)
> and I can now doing my 'apt-get update'

Good idea - that just cut in half the number of mappings needed.

thanks for the report and feel free to remind in a few weeks about
this again.

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] 2+ messages in thread

end of thread, other threads:[~2005-01-21  6:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-20 10:51 [parisc-linux] 2.6.... b2k panic with raid1 :-( (I/O MMU ... out of mapping ressources) Joel Soete
2005-01-21  6:08 ` [parisc-linux] " Grant Grundler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox