Skip to contentSkip to conversation

Crash dump module

parisc-linux Bruno Vidal 3 participants 3 messages Nov 22, 2000

lore
Share & tools
lore
#0 lore raw

Hi
Good news, I've finished to recompile the entire chain on hpux 11.00 64bits. I've recompile my own kernel and booted a small 712/60. It work pretty well. Now I'm going to start the work about crash dump. So, In my mind, I'll start from the linux/kernel/panic.c function and I'll add a function dumpsys.c in the linux/arch/paric directory -> is it okay for you ?
It will depend on the CONFIG_PARISC var (or do you prefer adding a CONFIG_DUMPSYS var ?)

thanks.

Signature · 3 lines
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	[email protected]
#1 lore raw
Quoted 1 line

It will depend on the CONFIG_PARISC var (or do you prefer adding a CONFIG_DUMPSYS var ?)

I think there was a consensus to use __hppa__ instead of CONFIG_PARISC
...

randolph

Signature · 4 lines
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^
#2 lore raw
In reply to Bruno Vidal
Quoted 6 lines · Bruno Vidal

Hi
Good news, I've finished to recompile the entire chain on hpux 11.00 64bits. I've recompile my own kernel and booted a small 712/60. It work pretty well. Now I'm going to start the work about crash dump. So, In my mind, I'll start from the linux/kernel/panic.c function and I'll add a function dumpsys.c in the linux/arch/paric directory -> is it okay for you ?

YES!

Quoted 2 lines

It will depend on the CONFIG_PARISC var
(or do you prefer adding a CONFIG_DUMPSYS var ?)

As Randolph pointed out CONFIG_PARISC is deprecated. Use "ifdef __hppa__" for changes in *common* (ie not arch/parisc) files. They should not be needed for anything in arch/parisc or linux/include/asm-parisc.

Adding a CONFIG_DUMPSYS is a good idea.
Look in linux/arch/parisc/config.in, linux/arch/parisc/defconfig, and the various Makefiles for how CONFIG_* flags work.

thanks Bruno!
grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253