/proc/kcore is what you need, but it is broken on ia64 (and has been since the dawn of time for access to region 5) because it assumes that all kernel virtual addresses are above PAGE+AF8-OFFSET. This isn't true on ia64, VMALLOC+AF8-START is smaller than PAGE+AF8-OFFSET. Attached is a patch (applies to 2.4.19 and to 2.5.39) that fixes the assumption. After applying you'll be able to use: +ACM- gdb vmlinux /proc/kcore and happily ask gdb to examine addresses in region 5. -Tony Luck -----Original Message----- From: Mario Smarduch +AFs-mailto:cms063+AEA-email.mot.com+AF0- Sent: Friday, October 25, 2002 7:36 AM To: IA64 Linux Mail Group Subject: +AFs-Linux-ia64+AF0- Debugger/Analysis tool for IA64 Kernel Reg 5 Hi, I'm wondering if there is a tool available (gdb or some crash analysis tool) that can be used to disassemble/dump region 5 pages? We recently have ported LiS and OpenSS7 stacks to IA-64 and it was painful without being able to debug the Reg 5 memory, but we'll still be doing more work. We currently just have a crude tool that gets the reg 7 address from a reg 5 address and then we use gdb, this is pretty cumbersome..... - Mario.
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST