Re: [discuss] Re: kgdb for x86_64 2.6 kernels

George Anzinger
2004-01-15T00:03:26Z

Greg KH wrote:
> On Wed, Jan 14, 2004 at 12:02:02PM -0800, George Anzinger wrote:
>
>>Right. I had hoped that we might one day be able to use the USB and I am
>>sure there are others.
>
>
> Raw USB? Or some kind of USB to serial device?
>
> Remember, USB needs interrupts to work, see the kdb patches for the mess
> that people have tried to go through to send usb data without interrupts
> (doesn't really work...)

I gave up on USB when I asked the following questions:
1. How many different HW USB master devices need to be supported (i.e. appear on
your normal line of MBs)? (answer, too many)
2. Can I isolate a USB port from the kernel so that it does not even know it is
there? (answer: NO)

What I want is a USB port that is completely coded in kgdb software (keeps
Heisenberg out). It would be a polled device except for the ^C (or equivalent)
interrupt.

We, of course, have the same issues with the eth interface. Far too much of the
rest of the kernel is involved in the communications with it. Also there are
way to many interfaces to code each one seperatly, thus the current effort using
a good deal of the kernel to remove all that special code. Of course Heisenberg
and all his friends and relations are taking up residence in that code :) Might
not be too bad except that his uncle is Murphy.

--
George Anzinger george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml