Re: Real-Time Preemption: BUG initializing kgdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 10, 2005 at 02:34:54PM +0200, kus Kusche Klaus wrote:
> I tried to merge the kgdb and the rt patches (not too difficult, only
> three rejects, and they all look trivial). The resulting kernel
> compiles, boots, and works fine.
...
> Any hints or suggestions?

Revert all spinlock_t types that kgdb uses to raw_spinlock_t to get the
actual spinlock code. A compile trick matches up the right functions
with the struct definition so that changes to the kernel code is minimized.
The spinlock_t defintion in the RT patch is #defined to be a blocking lock
which is not what kgdb wants in order to be happy.

Also, make the interrupt handler setup uses SA_NODELAY or something like
that from my memory. The rest is relatively trivial.

Thanks for making the attempt. Somebody needed to do this a long time
ago. :)

bill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux