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]
Date:	Mon, 4 Aug 2014 16:45:21 +0200
From:	Richard Weinberger <richard.weinberger@...il.com>
To:	Austin S Hemmelgarn <ahferroin7@...il.com>
Cc:	Alan Stern <stern@...land.harvard.edu>,
	Nick Krause <xerofoify@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	USB list <linux-usb@...r.kernel.org>
Subject: Re: Kernel Debugging Support

On Mon, Aug 4, 2014 at 4:29 PM, Austin S Hemmelgarn
<ahferroin7@...il.com> wrote:
> On 2014-08-04 10:21, Alan Stern wrote:
>> On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote:
>>
>>> On 2014-08-02 09:48, Alan Stern wrote:
>>>> On Sat, 2 Aug 2014, Nick Krause wrote:
>>>>
>>>>> Hey Sharp,
>>>>> After reading around seems people want support for usb debugging in
>>>>> kgdb or other usb based solutions.
>>>>> If you and the other developers are able to help me out a bit as I am
>>>>> new I can definitively write this
>>>>> area of kgdb support.
>>>>
>>>> Doesn't kgdb already support USB for debugging?
>>>>
>>>> Alan Stern
>>>
>>> AFAICT, on x86 it only supports using either a console capable serial
>>> port (so you could do that over USB if you have USB serial console
>>> support built-in, but most people I know don't compile that in, and in
>>> fact that is the only reason that i compile USB serial support in
>>> instead of making it a module), and an AT compatible keyboard with any
>>> console option.
>>
>> What about with a USB debugging device (CONFIG_EARLY_PRINTK_DBGP)?
>> That's how debugging over USB is _supposed_ to be done.
> Yes, except those are really expensive, and on some it's pretty easy if
> you don't know what you are doing to really screw things up.

All you need is a Computer with an UDC. Linux has a debugport gadget.

-- 
Thanks,
//richard
--
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