CONFIG_KDB_KEYBOARD

jim.cromie at gmail.com jim.cromie at gmail.com
Mon Aug 3 13:30:05 EDT 2020


.config - Linux/x86 5.8.0-rc7 Kernel Configuration
 > Kernel hacking > Generic Kernel Debugging Instruments > KGDB: kernel debugger
KGDB_KDB: keyboard as input device
\  │ CONFIG_KDB_KEYBOARD:
                                    │ KDB can use a PS/2 type keyboard
for an input device
 │

I notice this excludes USB keyboard.

does this mean it doesnt work early enough to be useful for early panics etc ?

what does it mean for a panic right after starting 2nd CPUs ?

[    0.402982] smp: Bringing up secondary CPUs ...
[    0.403553] smp: Brought up 1 node, 1 CPU
[    0.404226] smpboot: Max logical packages: 1
[    0.404552] smpboot: Total of 1 processors activated (5184.01 BogoMIPS)
[    0.406816] devtmpfs: initialized
[    0.408058] x86/mm: Memory block size: 128MB
[    0.416908] kthreadd invoked oom-killer:
gfp_mask=0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN|__GFP_ZERO),
order=0, oom_score_adj=0
[    0.417551] CPU: 0 PID: 2 Comm: kthreadd Not tainted
5.8.0-rc7-00023-gede6954dc460-dirty #101
[    0.418541] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
BIOS 1.13.0-2.fc32 04/01/2014
[    0.418541] Call Trace:
[    0.418541]  dump_stack+0x91/0xc8
[    0.418541]  dump_header+0x105/0x710
[    0.418541]  out_of_memory+0x63a/0x760
[    0.418541]  ? get_page_from_freelist+0x10b/0x950



More information about the Kernelnewbies mailing list