Kernel panic, ccio-dma.c, C110
Hi all,
I am experiancing repeatable kernel panics on my C110. I upgraded the kernel to 2.4.18-pa53, but without change. ;-(
Famous last words are:
Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
resources.
In interrupt handler - not syncing
After that - black screen, last words and silence. On one occasion, it spat out a bit more before it died. Sort of SCSI-Bus trouble in the farmost sense. Could not repeat that. Harddrive is an old HP2490A, that came foating around. I did not want to erase the hpux on the other drives.
All I need to do to crash the machine is writing big files (i.e. kernel tarballs) to the drive (either copying or from ftp). What makes me wonder is that I was able to copy some 300 MB *.wav file to it some weeks back.
Juergen
Signature · 4 lines
=========================================== __ _ Juergen Braukmann [email protected]| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\
Quoting Juergen Braukmann <[email protected]>:
Quoted 5 lines
All I need to do to crash the machine is writing big files (i.e. kernel tarballs) to the drive (either copying or from ftp). What makes me wonder is that I was able to copy some 300 MB *.wav file to it some weeks back.
Do you also check scsi terminator (palinux is more sensible than hpux)?
What says dd if=/dev/sdi of=/dev/null
If you have an hp diagnostics CD boot with it to analyse your disk?
Joel
-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
Quoted 2 lines · Juergen Braukmann
Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mappingresources.
Sorry Joel, this has nothing to do with SCSI termination.
Juergen,
In arch/parisc/kernel/ccio-dma.c, change ccio_mem_ratio from 4 to 8 or 16. For more explanation, search for "Determine IOVA Space size" in ccio-dma.c.
grant
Grant,
Is there a way to make this more intelligent now that we have an I/O tree? Maybe driverfs in 2.5.X will help us figure out how to make it smarter ... it kinda sucks to recompile the kernel because you do not have enough memory for our default setting of 4.
Seems like we could develop a huristic based on devices below the iommus.
Just a thought..
- Ryan
Quoted 16 lines · Grant Grundler
Quoted 2 lines · Juergen Braukmann
Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mappingresources.
Sorry Joel, this has nothing to do with SCSI termination.
Juergen,
Inarch/parisc/kernel/ccio-dma.c, changeccio_mem_ratiofrom 4 to 8 or 16. For more explanation, search for "Determine IOVA Space size" inccio-dma.c.grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 1 line · Ryan Bradetich
Is there a way to make this more intelligent now that we have an I/O tree?
Probably. I'm looking at info given by "lspci -n".
o generalize characteristics of each PCI device class/subclass and assign them a score.
o sum scores by recursively walking all the PCI busses below an IOMMU.
o translate the total score into how much memory could be mapped at a time (ie size of IO pdir)
o make sure IO Pdir size can't map more than 50% or 75% of Host physical memory.
Quoted 3 lines
Maybe driverfs in 2.5.X will help us figure out how to make it smarter ... it kinda sucks to recompile the kernel because you do not have enough memory for our default setting of 4.
driver fs would probably help since we could then do it the same way for all bus types.
But in 2.5, I'd rather see all the drivers indicate "Max DMA Mappings" in some static data since that's what is really driving
the IO Pdir size.
Quoted 2 lines
Seems like we could develop a huristic based on devices below the iommus.
yup. Will need tweaks too though...just satisfies more people.
grant
Quoting Grant Grundler <[email protected]>:
Quoted 6 lines
Quoted 2 lines · Juergen Braukmann
Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mappingresources.
Sorry Joel, this has nothing to do with SCSI termination.
Do not be, I would just like to be sure that there is no HW problem as I encounter with my b2k.
Thanks for info,
Joel
-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
Quoted 11 lines · Grant Grundler
Quoted 2 lines · Juergen Braukmann
Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mappingresources.
Sorry Joel, this has nothing to do with SCSI termination.
Juergen,
Inarch/parisc/kernel/ccio-dma.c, changeccio_mem_ratiofrom 4 to 8 or 16. For more explanation, search for "Determine IOVA Space size" inccio-dma.c.
Hi All,
when I read this first I thought "easy" (having in mind cat-ting "4" somewhere into some file in the proc tree), but this is a kernel change and recompile. I do not have the sorces on the machine and do not realy know how to crosscompile on my i686 box. Trying to ftp the kernel source over will panic the kernel.
I looked into the kernel Makefile, but am not sure what changes to do there. Is there some info on that? (I'll look up the website for x-compilation). All this seems to be over my intelectual limits. ;-( Is there a chance to change that default value in the precompiled kernels??
Juergen
Signature · 4 lines
=========================================== __ _ Juergen Braukmann [email protected]| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\
Quoted 5 lines · Grant Grundler
Quoted 2 lines · Juergen Braukmann
Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mappingresources.
Quoted 7 lines
Sorry Joel, this has nothing to do with SCSI termination.
Juergen,
Inarch/parisc/kernel/ccio-dma.c, changeccio_mem_ratiofrom 4 to 8 or 16. For more explanation, search for "Determine IOVA Space size" inccio-dma.c.grant
Grant and all,
forget my earlier mourning about crosscompiling etc. I found the x-compiler, insttalled it nicked the config file from the stock kernels, edited the Makefile (all with a few guesses) and compiled a kernel. "file" tells me it's pa-risc, so x-compiling seemed to work. Unfortunately, I forgot to change that value in ccio-dma.c. ;-(
So stop working for my behalf, didn't think it would be that easy. If there are more tears, I'll shout.
Juergen
Signature · 4 lines
=========================================== __ _ Juergen Braukmann [email protected]| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\