KGDB command line options not working for kernel 2.6.32
From: Shaji Yusuf <hidden>
Date: 2011-06-24 11:58:04
Sprio, thanks for the reply! I root caused the issue by undoing my modifications and debugging again. The reason why kgdbwait did not kick in was that my point of debug?was much before kgdb module loading. I think kgdb cannot be used for debugging my issue as i need to debug an issue much close to console init. Is there any way I can make kgdb load a little early? As you said the space between kgdboc=ttyS0,? and 115200 also does matter. :) Thanks Shaji ? ----- Original Message ---- From: Spiro Trikaliotis <redacted> To: kernelnewbies at kernelnewbies.org Sent: Fri, June 24, 2011 3:21:11 PM Subject: Re: KGDB command line options not working for kernel 2.6.32 Hello, * On Thu, Jun 23, 2011 at 10:39:44PM -0700 Shaji Yusuf wrote:
Im using the following compile options for kernel 2.6.32 CONFIG_KGDB = y CONFIG_KGDB_SERIAL_CONSOLE = y
Same here. The only difference: It is not a vanilla 2.6.32, but a Debian based 2.6.32-5-686 with only these things changed.
While booting the kernel Im using the following command line options kgdboc=ttyS0, 115200 kgdbwait
Do you have the space between "," and "115200"? I use: ? kgdboc=ttyS0,115200 kgdbwait It works as expected.
I tried reordering the options with kgdbwait first, but both are not working.
I order for kgdbwait to work, it must be after kgdboc. That's what I found out the hard way. ;)
I also tried kgdb8250 but no change.
This one is wrong for 2.6.32.
Any help would be highly appreciated.
Other than the space above, I do not see a big difference between your setup and mine. Perhaps, the space is the problem? Best regards Spiro. -- Spiro R. Trikaliotis? ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://opencbm.sf.net/ http://www.trikaliotis.net/? ? ? ? ? ? ? ? ? ? http://www.viceteam.org/ _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies