Skip to contentSkip to conversation

C110, kernel Panics, still more tears ;-(

parisc-linux Juergen Braukmann 5 participants 14 messages Jul 19, 2002 – Jul 22, 2002

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
===========================================     __   _
Juergen Braukmann [email protected]| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
#1 lore raw

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

Quoted 28 lines · Juergen Braukmann

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

Signature · 8 lines
===========================================     __   _
Juergen Braukmann [email protected]| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
#2 lore raw
Quoted 14 lines · Ryan Bradetich

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).

Quoted 7 lines

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

Signature · 4 lines
===========================================     __   _
Juergen Braukmann [email protected]| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
#3 lore raw

On Sat, 20 Jul 2002, Juergen Braukmann wrote:

[snip]

Quoted 8 lines

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]

Quoted 3 lines

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

#4 lore raw
Quoted 2 lines · Peter Mottram

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

#5 lore raw
In reply to Juergen Braukmann
Quoted 4 lines · Juergen Braukmann
Quoted 2 lines

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

#6 lore raw
Quoted 11 lines · Grant Grundler
Quoted 4 lines · Juergen Braukmann
Quoted 2 lines

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

Signature · 4 lines
===========================================     __   _
Juergen Braukmann [email protected]| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
#7 lore raw
In reply to Juergen Braukmann
Quoted 7 lines · Juergen Braukmann

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.

Quoted 1 line

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

Or 2 or 1 even.

Quoted 2 lines

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

#8 lore raw
Quoted 10 lines · Grant Grundler
Quoted 7 lines · Juergen Braukmann

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

Quoted 7 lines

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

Quoted 1 line

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

Or 2 or 1 even.

OK, kernel baking time again. ;-)

Quoted 6 lines
Quoted 2 lines

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

Quoted 2 lines

grant

Signature · 4 lines
===========================================     __   _
Juergen Braukmann [email protected]| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
#9 lore raw
Quoted 2 lines · Juergen Braukmann

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.

Quoted 3 lines

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

#10 lore raw

[parisc-linux] Solved: C110, kernel Panics, still more tears ;-(

In reply to Grant Grundler
Quoted 10 lines · Grant Grundler
Quoted 7 lines · Juergen Braukmann

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

Quoted 6 lines

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

Quoted 1 line

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.

Quoted 8 lines
Quoted 3 lines

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

Signature · 4 lines
===========================================     __   _
Juergen Braukmann [email protected]| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
#11 lore raw

Re: [parisc-linux] Solved: C110, kernel Panics, still more tears ;-(

Quoted 5 lines

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

#12 lore raw
In reply to Grant Grundler
Quoted 11 lines · Grant Grundler
Quoted 7 lines · Juergen Braukmann

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?

#13 lore raw
Quoted 3 lines · Bjorn Helgaas

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