Hi, could it be that the problem is related to pipex?
My npppd.conf rely on the default pipex settings (on)
But net.pipex.enable is 0 since I have no explicit settings in my
/etc/sysctl.conf
Under these conditions, I have no difficulty to crash the machine.
With net.pipex.enable=1 I have not yet noticed any problem.

Cheers,

On Tue, Apr 23, 2019 at 9:03 PM Olivier Antoine
<[email protected]> wrote:
>
> On Tue, Apr 23, 2019 at 4:01 PM Martin Pieuchot <[email protected]> wrote:
> > > The USB keyboard is then not functional to provide more information.
> >
> > Could you set the following in /etc/sysctl.conf:
> >
> > machdep.forceukbd=1
> >
> > That should hopefully give you a functional keyboard in DDB.  With that
> > it would be nice to see ps, trace..
>
> USB keyboard works now! Thanks. And dmesg kept history on warm reboot!
> Great! But without ddb input.
> I've typed 'ps', 'trace', 'mach ddbcpu 0', 'trace' and edit trace below.
>
> uvm_fault(0xd34e4e04, 0x0, 0, 2) -> e
> kernel: page fault trap, code=0
> Stopped at      kqueue_scan+0x246:      movl    %eax,0(%ecx)
>
> ddb>ps
> PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
>  89513  437697  16659   1000  3    0x100083  ttyin         ksh
>  16659  408882  51585   1000  3        0x90  select        sshd
>  51585  131494  11094      0  3        0x92  poll          sshd
>  83441   88878  54510   1000  3    0x100083  ttyin         ksh
>  35397  179689  93194    509  3        0x82  poll          bitlbee
>  18370   37576  93194  32767  3    0x100082  poll          nc
>  54326  495139  54453   1000  3        0x83  poll          irssi
>  54326  282579  54453   1000  3   0x4000083  poll          irssi
>  54453  417822  54510   1000  3    0x10008b  pause         ksh
>  54510  355760      1   1000  3    0x100080  kqread        tmux
>  42801  333326      1      0  3    0x100083  ttyin         getty
>  32464  248590      1      0  3    0x100083  ttyin         getty
>  30691  252201      1      0  3    0x100083  ttyin         getty
>  68172  171527      1      0  3    0x100083  ttyin         getty
>   9923    2396      1      0  3    0x100083  ttyin         getty
>  72757  418845      1      0  3    0x100098  poll          cron
>  94232  270608      1    566  3        0x90  kqread        tor
>  61066  380412      1     99  3    0x100090  poll          sndiod
>  48037  106224      1    110  3    0x100090  poll          sndiod
>  93194  311760      1      0  3    0x100090  kqread        inetd
>  40141  303643  37303     95  3    0x100092  kqread        smtpd
>  49177  273097  37303    103  3    0x100092  kqread        smtpd
>  14136  436066  37303     95  3    0x100092  kqread        smtpd
>  43555  114382  37303     95  3    0x100092  kqread        smtpd
>  24076  293064  37303     95  3    0x100092  kqread        smtpd
>  39821  382366  37303     95  3    0x100092  kqread        smtpd
>  37303  419658      1      0  3    0x100080  kqread        smtpd
>  34615   65679  66951     94  3    0x100092  kqread        rad
>  27672   58256  66951     94  3    0x100092  kqread        rad
>  66951  350036      1      0  3    0x100080  kqread        rad
>  48906  239038      1     77  3    0x100090  poll          dhcpd
>  11094  239419      1      0  3        0x80  select        sshd
>  32082  523496  25690      0  3        0x80  netio         npppd
> *25690  329908      1     82  7        0x10                npppd
>  53170  152811  39119     68  3        0x90  select        isakmpd
>  39119  178351      1      0  3        0x80  netio         isakmpd
>  33761   61404      1      0  3    0x100080  poll          ntpd
>  77281  283842  53057     83  3    0x100092  poll          ntpd
>  53057  157753      1     83  3    0x100092  poll          ntpd
>  29310  478555  82716     74  3    0x100092  bpf           pflogd
>  82716  393202      1      0  3        0x80  netio         pflogd
>  98294  140613  22386     73  2    0x100090                syslogd
>  22386  352951      1      0  3    0x100082  netio         syslogd
>  42363  172181      1     77  3    0x100090  poll          dhclient
>  16574  286835      1      0  3        0x80  poll          dhclient
>  20288  509789  38319    115  3    0x100092  kqread        slaacd
>  14626  434941  38319    115  3    0x100092  kqread        slaacd
>  38319  486906      1      0  3    0x100080  kqread        slaacd
>  99619   63098      0      0  3     0x14280  schto         i915/signal:0
>  61419  255834      0      0  3     0x14200  bored         i915-userptr-acq
>  52758  356166      0      0  3     0x14200  bored         i915_modeset
>  63752  394886      0      0  3     0x14200  bored         i915-dp
>  28426    1278      0      0  3     0x14200  bored         i915
>  40838  107636      0      0  3     0x14200  pgzero        zerothread
>  85345  182218      0      0  3     0x14200  aiodoned      aiodoned
>  79526  249789      0      0  3     0x14200  syncer        update
> 77682  102635      0      0  3     0x14200  cleaner       cleaner
>   1527  169933      0      0  3     0x14200  reaper        reaper
>  27493   42773      0      0  3     0x14200  pgdaemon      pagedaemon
>  12828  137806      0      0  3     0x14200  bored         srdis
>  99385  151993      0      0  3     0x14200  bored         crynlk
>  75911  237067      0      0  3     0x14200  bored         crypto
>  37078   83962      0      0  3     0x14200  usbtsk        usbtask
>  97911   75679      0      0  3     0x14200  usbatsk       usbatsk
>  63855  236832      0      0  3     0x14200  bored         drmtskl
>  30522  145007      0      0  3     0x14200  bored         drmlwq
>  83412   71690      0      0  3     0x14200  bored         drmubwq
>  41239  484259      0      0  3     0x14200  bored         drmwq
>  97281  500218      0      0  3     0x14200  bored         sensors
>  31343  314304      0      0  3  0x40014200  acpi0         acpi0
>  75414  439743      0      0  3  0x40014200                idle1
>  33809  303054      0      0  7     0x14200                softnet
>   3069  109594      0      0  3     0x14200  bored         systqmp
>  62451  272774      0      0  3     0x14200  bored         systq
>  34597  129188      0      0  3  0x40014200  bored         softclock
>  88092  315407      0      0  3  0x40014200                idle0
>  29326  170399      0      0  3     0x14200  bored         smr
>  61127  520207      0      0  3     0x14200  kmalloc       kmthread
>      1  516534      0      0  3        0x82  wait          init
>      0       0     -1      0  3     0x10200  scheduler     swapper
> ddb{1}> trace
> kqueue_scan(d3453dd4,40,60aa5800,f5cbbab0,d3248a24,f5cbbaac) at
> kqueue_scan+0x246
> sys_kevent(d3248a24,f5cbbbd0,f5cbbbc8) at sys_kevent+0x24f
> syscall(f5cbbc10) at syscall+0x25e
> Xsyscall_untramp(2b,200246,cf7f288c,33,0) at Xsyscall_untramp+0xa9
> end of kernel
> ddb{1}> mach ddbcpu 0
> ddb{0}> trace
> db_enter() at db_enter+0x4
> i386_ipi_handler() at i386_ipi_handler+0x3f
> Xipi_untramp(50,200297,d365af40,0,f534e9f4) at Xipi_untramp+0xc2
> ___mp_lock(d0df41a0) at ___mp_lock+0x52
> intr_handler(f534ea04,d365af40) at intr_handler+0x1d
> Xintr_ioapic3_untramp(50,200297,0,1,f534ea74) at Xintr_ioapic3_untramp+0xdf
> _kernel_lock(d0bbfa80,52) at _kernel_lock+0x8e
> softintr_dispatch(0) at softintr_dispatch+0x18
> Xsoftclock(8,200297,d32abad0,d32aba84,f534eae0) at Xsoftclock+0x12
> _kernel_lock(d0b71e8b,19a) at _kernel_lock+0x82
> sowakeup(d32aba84,d32abad0) at sowakeup+0x88
> sorwakeup(d32aba84) at sorwakeup+0x53
> tcp_input(f534ec5c,f534ec58,6,2) at tcp_input+0x33a5
> ip_deliver(f534ec5c,f534ec58,6,2) at ip_deliver+0x224
> ip_local(f534ec5c,f534ec58,d02af0da,0) at ip_local+0x142
> ipintr() at ipintr+0x58
> if_netisr(0) at if_netisr+0x65
> taskq_thread(d3501040) at
>
>
> Hope this help!
>
> Cheers,
>
> --
> Olivier

Reply via email to