Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to update target m/c grub.cfg file for KGDB setup but while booting the m/c it got hung completely and not asking/waiting for remote gdb connection. Following is the entry which I added:-

menuentry 'Ubuntu, with Linux 2.6.32-24-kgdb' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 12878c3b-c553-4b4b-986a-6e32daea3ad1
        linux   /vmlinuz-2.6.32-kgdb root=/dev/mapper/ubuntu-root ro kgdbwait kgdboe=@192.168.140.23/,@192.168.140.158/  quiet
        initrd  /initrd.img-2.6.32-24-server
}

I have also compiled and copied /boot/vmlinuz-2.6.15.5-kgdb & /boot/System.map-2.6.15.5-kgdb to target m/c from devlopement m/c.

STD entry before adding KGDB in grub.cfg was:-

menuentry 'Ubuntu, with Linux 2.6.32-24-server' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 12878c3b-c553-4b4b-986a-6e32daea3ad1
        linux   /vmlinuz-2.6.32-24-server root=/dev/mapper/ubuntu-root ro   quiet
        initrd  /initrd.img-2.6.32-24-server
}

Please suggest how to get rid of this problem.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.