On 10/1/2014 3:57 AM, joaoandrefe...@sapo.pt wrote: > Hello all, > > I'm trying to use KGDB on a target machine + GDB on the host, > connected via ethernet. Regarding KGDB, I'm having problems because I > can't boot the target machine into KGDB. When I boot it, it boots > normally, i. e. it ends up entering the OS. What have I done so far: > > I have downloaded kernel 2.6.32.4 from www.kernel.org and prepared the > compilation with menuconfig, enabling the KGDB otions. After that, > I've compiled the kernel using the "sudo make && sudo make modules && > sudo make modules_install && sudo make install" commands. After that, > If I boot the newly-compiled kernel, KGDB won't start, i. e., the > kernel boots till the end as usual, and enters the OS, so I don't see > the expected "Waiting for connection from remote gdb..." message. > > 1. My KGDB .config debugging symbols: > > [...] > CONFIG_HAVE_ARCH_KGDB=y > CONFIG_KGDB=y > CONFIG_KGDB_SERIAL_CONSOLE=y > CONFIG_KGDB_TESTS=y > # CONFIG_KGDB_TESTS_ON_BOOT is not set > [...] > > 2. My grub.conf (remember I'm planning to use an ethernet connection): > > [...] > title CentOS (2.6.32.4) > root (hd0,0) > kernel /vmlinuz-2.6.32.4 ro root=/dev/mapper/vg_centos6-lv_root > rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_centos6/lv_swap rd_NO_MD > SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=pt-latin1 > rd_LVM_LV=vg_centos6/lv_root rd_NO_DM rhgb quiet crashkernel=auto > kgdbwait kgdbcon kgdboe=@10.3.3.149/,@10.3.3.32 > initrd /initramfs-2.6.32.4.img > [...] > > Anybody has a hint on why can't I make KGDB to get working? If someone > can help me, I'd deeply grateful.
Do you have kgdboe support in your kernel source? I'm guessing not. -Frank ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport