CAI Qian <caiqian at redhat.com> writes: >> This failed to build for me. >> >> kexec/arch/i386/crashdump-x86.c: In function >> ?load_crashdump_segments?: >> kexec/arch/i386/crashdump-x86.c:703: error: ?KEXEC_ARCH_NATIVE? >> undeclared (first use in this function) >> kexec/arch/i386/crashdump-x86.c:703: error: (Each undeclared >> identifier is reported only once >> kexec/arch/i386/crashdump-x86.c:703: error: for each function it >> appears in.) >> make: *** [kexec/arch/i386/crashdump-x86.o] Error 1 >> > >> > The active part of the fix is below (I have an earlier patch that >> > just >> > defines KEXEC_ARCH_NATIVE). > I just realized you said the earlier patch defined KEXEC_ARCH_NATIVE. Now, kexec failed to load. > /sbin/kexec -p '--command-line=ro root=/dev/mapper/vg_intels3e3601-lv_root rd_LVM_LV=vg_intels3e3601/lv_root rd_LVM_LV=vg_intels3e3601/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=ttyS0,115200n81 irqpoll maxcpus=1 reset_devices cgroup_disable=memory sysrq_always_enabled ' --initrd=/boot/initrd-2.6.36-rc2-mm1-fix+kdump.img /boot/vmlinuz-2.6.36-rc2-mm1-fix+ > unsupported crashdump architecture: 5c420000 > Cannot load /boot/vmlinuz-2.6.36-rc2-mm1-fix+ !@#$@! I was reading from the wrong variable. My apologies. I really did mean to give you something that would work. I have fixed the wrong variable problem and I also spotted another architecture test in crashdump-x86e that would only work on i386, and fixed that. The new version is up at: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/kexec-tools-devel.git So if you want to live on the bleeding edge and see if I have fixed all of my thinkos you can test that. I hope this gets the weird biarch software architecture right finally. Eric