All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] C110, kernel Panics, still more tears ;-(
@ 2002-07-19 16:08 Juergen Braukmann
  2002-07-19 23:34 ` Ryan Bradetich
  2002-07-20 15:29 ` Grant Grundler
  0 siblings, 2 replies; 14+ messages in thread
From: Juergen Braukmann @ 2002-07-19 16:08 UTC (permalink / raw)
  To: parisc list

Hi Grant and all,

still more tears. I compiled and replaced the kernel, using 2.4.18pa55.
I used the setting of ccio_mem_ratio=16, but still my kernel panics with 

Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
resources.
In interrupt handler - not syncing

would there be more chance with the ccio_mem_ratio setting of 8? Is
there a way to use more than one Kernel alternativly and select it at
boottime with palo? Is there an example palo.conf somewhere?

I will shut down X next and try again. I managed to ftp a large file
once and all I did after that was getting X to run.

Juergen

-- 
===========================================     __   _
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-19 16:08 [parisc-linux] C110, kernel Panics, still more tears ;-( Juergen Braukmann
@ 2002-07-19 23:34 ` Ryan Bradetich
  2002-07-20  9:53   ` Juergen Braukmann
  2002-07-20 15:29 ` Grant Grundler
  1 sibling, 1 reply; 14+ messages in thread
From: Ryan Bradetich @ 2002-07-19 23:34 UTC (permalink / raw)
  To: Juergen Braukmann; +Cc: parisc list

Juergen,

How much memory does this system have?  Also what cards do you have in
which slot. (Please also specify PCI or GSC).

What this driver does is allocates a certian portion of memory at
startup time for a TLB mapping.  Adjusting the ccio_mem_ratio affects
how much memory is allocated at boot.  The U2/UTurn chip has 2 iommus,
and the different GSC/PCI slots fall under specific iommus.  If you
system does not have much memory, and the cards are positioned
approparately, we could turn off the iommu memory allocatation for the
second iommu (the /10 bus).

this is just a thought ... will see what we can do with your
configuration :)

Thanks,

-  Ryan


On Fri, 2002-07-19 at 10:08, Juergen Braukmann wrote:
> Hi Grant and all,
> 
> still more tears. I compiled and replaced the kernel, using 2.4.18pa55.
> I used the setting of ccio_mem_ratio=16, but still my kernel panics with 
> 
> Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
> resources.
> In interrupt handler - not syncing
> 
> would there be more chance with the ccio_mem_ratio setting of 8? Is
> there a way to use more than one Kernel alternativly and select it at
> boottime with palo? Is there an example palo.conf somewhere?
> 
> I will shut down X next and try again. I managed to ftp a large file
> once and all I did after that was getting X to run.
> 
> Juergen
> 
> -- 
> ===========================================     __   _
> Juergen Braukmann juergen.braukmann@gmx.de| -o)/ /  (_)__  __ ____  __
> Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
> ===========================================_\_v __/_/_//_/\_,_/ /_/\_\
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> 

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-19 23:34 ` Ryan Bradetich
@ 2002-07-20  9:53   ` Juergen Braukmann
  2002-07-20 10:21     ` Peter Mottram
  2002-07-20 15:37     ` Grant Grundler
  0 siblings, 2 replies; 14+ messages in thread
From: Juergen Braukmann @ 2002-07-20  9:53 UTC (permalink / raw)
  To: Ryan Bradetich, parisc list

Ryan Bradetich schrieb:
> 
> Juergen,
> 
> How much memory does this system have?  Also what cards do you have in
> which slot. (Please also specify PCI or GSC).
> 
> What this driver does is allocates a certian portion of memory at
> startup time for a TLB mapping.  Adjusting the ccio_mem_ratio affects
> how much memory is allocated at boot.  The U2/UTurn chip has 2 iommus,
> and the different GSC/PCI slots fall under specific iommus.  If you
> system does not have much memory, and the cards are positioned
> approparately, we could turn off the iommu memory allocatation for the
> second iommu (the /10 bus).
> 
> this is just a thought ... will see what we can do with your
> configuration :)
> 
> Thanks,
> 
> -  Ryan
> 

Hello Ryan,

I dreaded that question. ;-) This is a rescue-workststion that would
have been dumped otherwise. I have only 64 MB RAM. There are two modules
32 MB each, straigt in front of the ventilator (it used to be more, but
they took some 128 MB off). Is there some relevant placing of the
modules? In total, there are 8 memory slots. Processor in front, it is
J1-J2-J3-J4, space J5-J6-J7-J8. My modules are placed in slot 6 and 8.
(If you look at them from the other side, they are numbered 0A, 2A, 0B,
2B, space 1A, 3A, 1B, 3B. I use slots 0A and 0B, that should be fine)
I've seen that memory prices are to expensive to buy some more, since
this box is more a toy. (US$ 250 for 256MB)
Speaking about card slots, I don't know what PSC slots are, so I rather
describe things in my box:
mainbord plugs into some uprigt thing were other cards can plug in. From
the other side another board with SCSI Controler, RTC, I/O-stuff and
audio plugs in. (the "cmos" battery is there and so are the other
connectors on the back).
On the "upright thing" are 4 slots, that look like ISA/EISA and have
another connector in line with the EISA slot about 2" apart. (Suppose
that is meant with PSC. Reminds me a bit to the extension slot that VLB
had, thogh it is a different connector)
But only 3 slots are EISA, the fourth is only the "extension".
Slot 3 carries the video/framebuffer card. In the above terms it's PSC.
Apart from two ventilarors and plenty of dust that describes the content
of my box. The SCSI bus connects to my HP2490A disc, I disconnected the
two Ultra (or whatever) SCSI drive with HP-UX.
CD-ROM is both antique double speed and external.

Juergen

-- 
===========================================     __   _
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-20  9:53   ` Juergen Braukmann
@ 2002-07-20 10:21     ` Peter Mottram
  2002-07-20 15:40       ` Grant Grundler
  2002-07-20 15:37     ` Grant Grundler
  1 sibling, 1 reply; 14+ messages in thread
From: Peter Mottram @ 2002-07-20 10:21 UTC (permalink / raw)
  To: Juergen Braukmann; +Cc: Ryan Bradetich, parisc list


On Sat, 20 Jul 2002, Juergen Braukmann wrote:

[snip]

> I dreaded that question. ;-) This is a rescue-workststion that would
> have been dumped otherwise. I have only 64 MB RAM. There are two modules
> 32 MB each, straigt in front of the ventilator (it used to be more, but
> they took some 128 MB off). Is there some relevant placing of the
> modules? In total, there are 8 memory slots. Processor in front, it is
> J1-J2-J3-J4, space J5-J6-J7-J8. My modules are placed in slot 6 and 8.
> (If you look at them from the other side, they are numbered 0A, 2A, 0B,
> 2B, space 1A, 3A, 1B, 3B. I use slots 0A and 0B, that should be fine)

Yes - this is the correct placing for memory - these systems should always
use equal-sized pairs of memory which should be placed (largest first)
starting in the lowest numbered slots.

[snip]

> Apart from two ventilarors and plenty of dust that describes the content
> of my box. The SCSI bus connects to my HP2490A disc, I disconnected the
> two Ultra (or whatever) SCSI drive with HP-UX.

The internal disks are fast-wide differential & the external SCSI ports
are FW-diff & single-ended. I don't know the 2490A.

R.
PeteM

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-19 16:08 [parisc-linux] C110, kernel Panics, still more tears ;-( Juergen Braukmann
  2002-07-19 23:34 ` Ryan Bradetich
@ 2002-07-20 15:29 ` Grant Grundler
  2002-07-20 22:57   ` Juergen Braukmann
                     ` (2 more replies)
  1 sibling, 3 replies; 14+ messages in thread
From: Grant Grundler @ 2002-07-20 15:29 UTC (permalink / raw)
  To: Juergen Braukmann; +Cc: parisc list

Juergen Braukmann wrote:
> Hi Grant and all,
> 
> still more tears. I compiled and replaced the kernel, using 2.4.18pa55.
> I used the setting of ccio_mem_ratio=16, but still my kernel panics with 
> Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
> resources.
> In interrupt handler - not syncing

Sorry - my bad - I think I have it backwards.
Using a smaller value will result in more IOMMU resource.

> would there be more chance with the ccio_mem_ratio setting of 8?

Or 2 or 1 even.

> there a way to use more than one Kernel alternativly and select it at
> boottime with palo? Is there an example palo.conf somewhere?

Yes. Interrupt the boot process before palo is loaded and then
type "Y" to "Interact with IPL (Y/N/Q)?" question. You can then
specify which vmlinux to boot.

grant

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-20  9:53   ` Juergen Braukmann
  2002-07-20 10:21     ` Peter Mottram
@ 2002-07-20 15:37     ` Grant Grundler
  2002-07-20 22:54       ` Juergen Braukmann
  1 sibling, 1 reply; 14+ messages in thread
From: Grant Grundler @ 2002-07-20 15:37 UTC (permalink / raw)
  To: Juergen Braukmann; +Cc: Ryan Bradetich, parisc list

Juergen Braukmann wrote:
> > How much memory does this system have?  Also what cards do you have in
> > which slot. (Please also specify PCI or GSC).

> Speaking about card slots, I don't know what PSC slots are,

Me either. No such thing as PSC - only GSC or HSC (K-class).
The slots in the C200 can take either a GSC card or a PCI card.

grant

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-20 10:21     ` Peter Mottram
@ 2002-07-20 15:40       ` Grant Grundler
  0 siblings, 0 replies; 14+ messages in thread
From: Grant Grundler @ 2002-07-20 15:40 UTC (permalink / raw)
  To: Peter Mottram; +Cc: parisc list

Peter Mottram wrote:
> The internal disks are fast-wide differential & the external SCSI ports
> are FW-diff & single-ended. I don't know the 2490A.

C2490 is a 2GB FWD diff. About 6 years Old IIRC.
Odds are you need to update the firmware since it rolled every
3-4 monthes even after HP stopped producing that model. See
the parisc FAQ re platform firmwre and the same HP ftp sites
referenced in the FAQ have disk firmware too.

grant

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-20 15:37     ` Grant Grundler
@ 2002-07-20 22:54       ` Juergen Braukmann
  0 siblings, 0 replies; 14+ messages in thread
From: Juergen Braukmann @ 2002-07-20 22:54 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc list

Grant Grundler schrieb:
> 
> Juergen Braukmann wrote:
> > > How much memory does this system have?  Also what cards do you have in
> > > which slot. (Please also specify PCI or GSC).
> 
> > Speaking about card slots, I don't know what PSC slots are,
> 
> Me either. No such thing as PSC - only GSC or HSC (K-class).
> The slots in the C200 can take either a GSC card or a PCI card.
> 
> grant
Oh these three letter acronyms. Read a few, mix up the letters and
generate a few new ones to spread confusion. Sorry. ;-) So it was GSC
instead. But I am still confused. ;-)

Juergen

-- 
===========================================     __   _
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-20 15:29 ` Grant Grundler
@ 2002-07-20 22:57   ` Juergen Braukmann
  2002-07-21  1:38     ` Grant Grundler
  2002-07-21  9:42   ` [parisc-linux] Solved: " Juergen Braukmann
  2002-07-22 14:24   ` [parisc-linux] " Bjorn Helgaas
  2 siblings, 1 reply; 14+ messages in thread
From: Juergen Braukmann @ 2002-07-20 22:57 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc list

Grant Grundler schrieb:
> 
> Juergen Braukmann wrote:
> > Hi Grant and all,
> >
> > still more tears. I compiled and replaced the kernel, using 2.4.18pa55.
> > I used the setting of ccio_mem_ratio=16, but still my kernel panics with
> > Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
> > resources.
> > In interrupt handler - not syncing
> 
> Sorry - my bad - I think I have it backwards.
> Using a smaller value will result in more IOMMU resource.
> 
> > would there be more chance with the ccio_mem_ratio setting of 8?
> 
> Or 2 or 1 even.
> 
OK, kernel baking time again. ;-)

> > there a way to use more than one Kernel alternativly and select it at
> > boottime with palo? Is there an example palo.conf somewhere?
> 
> Yes. Interrupt the boot process before palo is loaded and then
> type "Y" to "Interact with IPL (Y/N/Q)?" question. You can then
> specify which vmlinux to boot.

Tried that, but didn't see a reasonable list. I could alter some things
(inluding kernel) but I would have needed to know the name to type in. I
will try to use easy names and numbering for testing.

Thank's a lot

Juergen
> 
> grant

-- 
===========================================     __   _
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-20 22:57   ` Juergen Braukmann
@ 2002-07-21  1:38     ` Grant Grundler
  0 siblings, 0 replies; 14+ messages in thread
From: Grant Grundler @ 2002-07-21  1:38 UTC (permalink / raw)
  To: Juergen Braukmann; +Cc: parisc list

Juergen Braukmann wrote:
> Tried that, but didn't see a reasonable list. I could alter some things
> (inluding kernel) but I would have needed to know the name to type in.

whatever name you used.
I typically copy /usr/src/linux/vmlinux to /boot/vmlinux-paXX
to match the -paXX number in the Makefile.
(And copy System.map with the same convention).
Then interact with palo and specify /boot/vmlinux-pa55.

I change /etc/palo.conf to use /boot/vmlinux-pa55 (and rerun palo at that
point) by default if I'm happy it works.

> Oh these three letter acronyms. Read a few, mix up the letters and
> generate a few new ones to spread confusion. Sorry. ;-) So it was GSC
> instead. But I am still confused. ;-)

See http://www.parisc-linux.org/glossary/index.html

grant

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

* [parisc-linux] Solved: C110, kernel Panics, still more tears ;-(
  2002-07-20 15:29 ` Grant Grundler
  2002-07-20 22:57   ` Juergen Braukmann
@ 2002-07-21  9:42   ` Juergen Braukmann
  2002-07-21 19:02     ` Ryan Bradetich
  2002-07-22 14:24   ` [parisc-linux] " Bjorn Helgaas
  2 siblings, 1 reply; 14+ messages in thread
From: Juergen Braukmann @ 2002-07-21  9:42 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc list

Grant Grundler schrieb:
> 
> Juergen Braukmann wrote:
> > Hi Grant and all,
> >
> > still more tears. I compiled and replaced the kernel, using 2.4.18pa55.
> > I used the setting of ccio_mem_ratio=16, but still my kernel panics with
> > Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU is out of mapping
> > resources.
> > In interrupt handler - not syncing
> 
> Sorry - my bad - I think I have it backwards.
> Using a smaller value will result in more IOMMU resource.
> 
> > would there be more chance with the ccio_mem_ratio setting of 8?
> 
> Or 2 or 1 even.

I use a setting of 2 now and was able to ftp a good collection of
kernel.tar.gz files without crash. I hope this darn baby is *not*
playing tricks on me now, since I was once able to ftp a 200 MB file
without crash too. But all left to do is wait and watch and declare it
fixed for the time beeing.

> 
> > there a way to use more than one Kernel alternativly and select it at
> > boottime with palo? Is there an example palo.conf somewhere?
> 
> Yes. Interrupt the boot process before palo is loaded and then
> type "Y" to "Interact with IPL (Y/N/Q)?" question. You can then
> specify which vmlinux to boot.
> 
yep. I started to use "easy" names (as you suggested). I had to try
that, since my default kernel had the setting of 16 and crashes saving a
3MB kernel...

Thanks to all involved to solve this problem.


Juergen

-- 
===========================================     __   _
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\

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

* Re: [parisc-linux] Solved: C110, kernel Panics, still more tears ;-(
  2002-07-21  9:42   ` [parisc-linux] Solved: " Juergen Braukmann
@ 2002-07-21 19:02     ` Ryan Bradetich
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Bradetich @ 2002-07-21 19:02 UTC (permalink / raw)
  To: Juergen Braukmann; +Cc: Grant Grundler, parisc list

> I use a setting of 2 now and was able to ftp a good collection of
> kernel.tar.gz files without crash. I hope this darn baby is *not*
> playing tricks on me now, since I was once able to ftp a 200 MB file
> without crash too. But all left to do is wait and watch and declare it
> fixed for the time beeing.

Glad to see you got this working.  I am not sure if the statistics are
still good (need to look into this again) ... but you could probably 
get a feel of size by checking out /proc/bus/runway/ccio to see how much
of the IO PDIR you are using.

- Ryan

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-20 15:29 ` Grant Grundler
  2002-07-20 22:57   ` Juergen Braukmann
  2002-07-21  9:42   ` [parisc-linux] Solved: " Juergen Braukmann
@ 2002-07-22 14:24   ` Bjorn Helgaas
  2002-07-22 15:29     ` Grant Grundler
  2 siblings, 1 reply; 14+ messages in thread
From: Bjorn Helgaas @ 2002-07-22 14:24 UTC (permalink / raw)
  To: Grant Grundler, Juergen Braukmann; +Cc: parisc list

On Saturday 20 July 2002 9:29 am, Grant Grundler wrote:
> Juergen Braukmann wrote:
> > Hi Grant and all,
> >
> > still more tears. I compiled and replaced the kernel, using
> > 2.4.18pa55. I used the setting of ccio_mem_ratio=16, but still my
> > kernel panics with Kernel panic: ccio-dma.c ccio_alloc_range() I/O MMU
> > is out of mapping resources.
> > In interrupt handler - not syncing
>
> Sorry - my bad - I think I have it backwards.
> Using a smaller value will result in more IOMMU resource.

I have to ask the obvious question -- why not just always use
the largest possible IOVA space, as IA64 does?  Is it a question
of wasting space on IO PDIR entries?

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

* Re: [parisc-linux] C110, kernel Panics, still more tears ;-(
  2002-07-22 14:24   ` [parisc-linux] " Bjorn Helgaas
@ 2002-07-22 15:29     ` Grant Grundler
  0 siblings, 0 replies; 14+ messages in thread
From: Grant Grundler @ 2002-07-22 15:29 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: parisc list

Bjorn Helgaas wrote:
> I have to ask the obvious question -- why not just always use
> the largest possible IOVA space, as IA64 does?  Is it a question
> of wasting space on IO PDIR entries?

HP ZX1 has something like 512MB or 1GB RAM for the minimum config.
IIRC, 32MB or 64MB was the minimum for C-class boxes and early K-class.
The difference between sizing and not sizing is normally
256KB to 1MB of memory that otherwise just wouldn't get used.

(I assume you meant to size the IOVA space based on physical memory
up to the max IOVA space supported by U2/Uturn.)

grant

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

end of thread, other threads:[~2002-07-22 15:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-19 16:08 [parisc-linux] C110, kernel Panics, still more tears ;-( Juergen Braukmann
2002-07-19 23:34 ` Ryan Bradetich
2002-07-20  9:53   ` Juergen Braukmann
2002-07-20 10:21     ` Peter Mottram
2002-07-20 15:40       ` Grant Grundler
2002-07-20 15:37     ` Grant Grundler
2002-07-20 22:54       ` Juergen Braukmann
2002-07-20 15:29 ` Grant Grundler
2002-07-20 22:57   ` Juergen Braukmann
2002-07-21  1:38     ` Grant Grundler
2002-07-21  9:42   ` [parisc-linux] Solved: " Juergen Braukmann
2002-07-21 19:02     ` Ryan Bradetich
2002-07-22 14:24   ` [parisc-linux] " Bjorn Helgaas
2002-07-22 15:29     ` Grant Grundler

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.