* [parisc-linux] Kernel panic, ccio-dma.c, C110
@ 2002-07-17 15:50 Juergen Braukmann
2002-07-17 17:57 ` joel.soete
2002-07-17 18:14 ` Grant Grundler
0 siblings, 2 replies; 8+ messages in thread
From: Juergen Braukmann @ 2002-07-17 15:50 UTC (permalink / raw)
To: parisc list
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
--
=========================================== __ _
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __
Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [parisc-linux] Kernel panic, ccio-dma.c, C110
2002-07-17 15:50 [parisc-linux] Kernel panic, ccio-dma.c, C110 Juergen Braukmann
@ 2002-07-17 17:57 ` joel.soete
2002-07-17 18:14 ` Grant Grundler
1 sibling, 0 replies; 8+ messages in thread
From: joel.soete @ 2002-07-17 17:57 UTC (permalink / raw)
To: Juergen Braukmann; +Cc: parisc list
Quoting Juergen Braukmann <juergen.braukmann@ruhr-west.de>:
> 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)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [parisc-linux] Kernel panic, ccio-dma.c, C110
2002-07-17 15:50 [parisc-linux] Kernel panic, ccio-dma.c, C110 Juergen Braukmann
2002-07-17 17:57 ` joel.soete
@ 2002-07-17 18:14 ` Grant Grundler
2002-07-17 23:53 ` Ryan Bradetich
` (3 more replies)
1 sibling, 4 replies; 8+ messages in thread
From: Grant Grundler @ 2002-07-17 18:14 UTC (permalink / raw)
To: Juergen Braukmann; +Cc: parisc list
Juergen Braukmann wrote:
> Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
> resources.
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [parisc-linux] Kernel panic, ccio-dma.c, C110
2002-07-17 18:14 ` Grant Grundler
@ 2002-07-17 23:53 ` Ryan Bradetich
2002-07-19 7:17 ` Grant Grundler
2002-07-18 5:37 ` joel.soete
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: Ryan Bradetich @ 2002-07-17 23:53 UTC (permalink / raw)
To: Grant Grundler; +Cc: Juergen Braukmann, parisc list
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
On Wed, 2002-07-17 at 12:14, Grant Grundler wrote:
> Juergen Braukmann wrote:
> > Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
> > resources.
>
> 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
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [parisc-linux] Kernel panic, ccio-dma.c, C110
2002-07-17 18:14 ` Grant Grundler
2002-07-17 23:53 ` Ryan Bradetich
@ 2002-07-18 5:37 ` joel.soete
2002-07-18 15:19 ` Juergen Braukmann
2002-07-18 16:28 ` Juergen Braukmann
3 siblings, 0 replies; 8+ messages in thread
From: joel.soete @ 2002-07-18 5:37 UTC (permalink / raw)
To: Grant Grundler; +Cc: Juergen Braukmann, parisc list
Quoting Grant Grundler <grundler@dsl2.external.hp.com>:
> Juergen Braukmann wrote:
> > Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
> > resources.
>
> 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)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [parisc-linux] Kernel panic, ccio-dma.c, C110
2002-07-17 18:14 ` Grant Grundler
2002-07-17 23:53 ` Ryan Bradetich
2002-07-18 5:37 ` joel.soete
@ 2002-07-18 15:19 ` Juergen Braukmann
2002-07-18 16:28 ` Juergen Braukmann
3 siblings, 0 replies; 8+ messages in thread
From: Juergen Braukmann @ 2002-07-18 15:19 UTC (permalink / raw)
To: Grant Grundler; +Cc: parisc list
Grant Grundler schrieb:
>
> Juergen Braukmann wrote:
> > Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
> > resources.
>
> 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.
>
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
--
=========================================== __ _
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __
Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [parisc-linux] Kernel panic, ccio-dma.c, C110
2002-07-17 18:14 ` Grant Grundler
` (2 preceding siblings ...)
2002-07-18 15:19 ` Juergen Braukmann
@ 2002-07-18 16:28 ` Juergen Braukmann
3 siblings, 0 replies; 8+ messages in thread
From: Juergen Braukmann @ 2002-07-18 16:28 UTC (permalink / raw)
To: Grant Grundler; +Cc: parisc list
Grant Grundler schrieb:
>
> Juergen Braukmann wrote:
> > Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
> > resources.
>
> 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 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
--
=========================================== __ _
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __
Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [parisc-linux] Kernel panic, ccio-dma.c, C110
2002-07-17 23:53 ` Ryan Bradetich
@ 2002-07-19 7:17 ` Grant Grundler
0 siblings, 0 replies; 8+ messages in thread
From: Grant Grundler @ 2002-07-19 7:17 UTC (permalink / raw)
To: Ryan Bradetich; +Cc: Juergen Braukmann, parisc list
Ryan Bradetich wrote:
> 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.
> 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.
> Seems like we could develop a huristic based on devices below the
> iommus.
yup. Will need tweaks too though...just satisfies more people.
grant
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-07-19 7:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-17 15:50 [parisc-linux] Kernel panic, ccio-dma.c, C110 Juergen Braukmann
2002-07-17 17:57 ` joel.soete
2002-07-17 18:14 ` Grant Grundler
2002-07-17 23:53 ` Ryan Bradetich
2002-07-19 7:17 ` Grant Grundler
2002-07-18 5:37 ` joel.soete
2002-07-18 15:19 ` Juergen Braukmann
2002-07-18 16:28 ` Juergen Braukmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.