Re: [PATCH] debug: Allow forcing entering debug mode on panic/exception

2018-12-18 Thread Doug Anderson
Hi, On Tue, Dec 18, 2018 at 9:05 AM Daniel Thompson wrote: > > On Sun, Dec 09, 2018 at 06:36:49PM -0800, Douglas Anderson wrote: > > Ever since commit 5516fd7b92a7 ("debug: prevent entering debug mode on > > panic/exception.") (yes, years ago) my kgdb workflow has been broken. > > On Chrome OS

Re: [PATCH] debug: Allow forcing entering debug mode on panic/exception

2018-12-18 Thread Daniel Thompson
On Sun, Dec 09, 2018 at 06:36:49PM -0800, Douglas Anderson wrote: > Ever since commit 5516fd7b92a7 ("debug: prevent entering debug mode on > panic/exception.") (yes, years ago) my kgdb workflow has been broken. > On Chrome OS we have 'kernel.panic = -1' in > '/etc/sysctl.d/00-sysctl.conf'. That

[PATCH] debug: Allow forcing entering debug mode on panic/exception

2018-12-09 Thread Douglas Anderson
Ever since commit 5516fd7b92a7 ("debug: prevent entering debug mode on panic/exception.") (yes, years ago) my kgdb workflow has been broken. On Chrome OS we have 'kernel.panic = -1' in '/etc/sysctl.d/00-sysctl.conf'. That means that when userspace starts up it will tell the kernel "please reboot