lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANc+2y7dMRQ2C-oTU94gBA11CDrwZFthzOvM4wffV77_wMnchQ@mail.gmail.com>
Date:	Sun, 10 Jun 2012 10:20:37 +0530
From:	prasannatsmkumar <prasannatsmkumar@...il.com>
To:	Anil Nair <anilcoll90@...il.com>
Cc:	Sergei Shtylyov <sshtylyov@...sta.com>,
	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: Break point not hit while debugging linux kernel with kgdb

On Sun, Jun 10, 2012 at 10:00 AM, Anil Nair <anilcoll90@...il.com> wrote:
> Hello Sergei,
>
> On Sun, Jun 10, 2012 at 12:18 AM, Sergei Shtylyov <sshtylyov@...sta.com> wrote:
>
>>   Yeah, KGDB was accepted into kernel exactly for more "poorly fixed
>> patches" to appear. :-)
>
> I was under the impression that maintainers would never recommend
> kgdb, so never learned to use it.
> If you could guide me and Prasanna on how to use kgdb that would be
> helpful :). If you were saying it sarcastically, then i failed to
> understand it . :P.
>
>>> You have to use gdbserver
>>   gdbserver is only good for debugging the applications.
>
> I never knew that..!.
>
> --
> Regards,
> Anil Nair

In one of the machines I am facing a scenario:
I recompiled Ubuntu linux kernel (with the default config taken from
/boot) and the newly compiled kernel does not boot. After detecting
the hard disk (SCSI device) it panics. I am able to see only a part of
the kernel stack trace due to low resolution so I am in a situation
where I cannot do anything further. In this situation kgdb seems to be
the only way.

Note: The case I mentioned in my first mail is different from this case.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ