On Wed, May 23, 2018 at 02:39:20PM +0200, Martin Pieuchot wrote:
> On 23/05/18(Wed) 11:14, Hrvoje Popovski wrote:
> > On 22.5.2018. 17:03, Theo Buehler wrote:
> > > I applied the diff, made syscalls, then built and installed a new
> > > kernel. With that, I ran into a reliable complete lockup on my x230 by
> > > starting in an xterm
> > >
> > > # make -j 3 build 2>&1 | tee -a /home/theo/buildlog
> > >
> > > and then navigating firefox to youtube and trying to start some video.
> > >
> > > Unfortunately, I don't know how to provide you with any more useful
> > > information.
> > >
> > > The machine becomes completely unresponsive, the mouse pointer is
> > > frozen, I'm unable to break into ddb, and the machine is no longer
> > > pingable.
> > >
> >
> > same as tb@. my box is having transmission, samba and nfs and everything
> > seemed fine until i started make -j4 build then it became unresponsive.
>
> I need to find some time to reproduce the hang. In the meantime if you
> want to try a WITNESS kernel, that might give us more clues.
>
lock order reversal:
1st 0xffffff01ddca5018 vmmaplk (&map->lock) @ /usr/src/sys/uvm/uvm_fault.c:1441
2nd 0xffff80000011f138 drmdevlk (&dev->struct_mutex) @
/usr/src/sys/dev/pci/drm/i915/i915_gem.c:1086
panic: acquiring blockable sleep lock with spinlock or critical section held
(kernel_lock) &kernel_lock @ /usr/src/sys/arch/amd64/intr.c:525
Stopped at db_enter+0x5: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
307291 65171 0 0x100001 0 1 sh
* 96268 1291 1000 0x100032 0 0 xterm
135019 9266 35 0x32 0x40 3 Xorg
167080 79616 0 0x14000 0x200 2 zerothread
db_ener() a db_enter+09x5
panic() at panic+0x138
witness_checkorder(ffffffff81b386a6,20d,0,ffffffff81ce2c80,ffff800000106e00) at
witness_checkorder+0xd32
___mp_lock(ffff800000106e00,ffff80033151a78,ffffffff81bbeff0) at ___mp_lock+0x70
intr_handler(ffffff01dec5e968,ffff800000104800) at intr_handler+0x40
Xintr_ioapic_edge16_untramp(0,8,ffffffff81178100,ffff800033161b40,ffffffff81a41c25,ffffff01dec5ea08)
at Xintr_ioapic_edge16_untramp+0x13d
fd_getfile(ffff800330e2e08,3) at fd_getfile+0x3b
recvit(ffff800330e2e08,ffff800033161d70,ffff800033161d60,ffff800033161c70,0) at
recvit+0x4c
sys_recvmsg(1b0,ffff8000330e2e08,1b) at sys_recvmsg+0xf3
syscall(1f9a13b7ea30) at syscall+0x31d
Xsyscall+untramp(c,0,0,0,0,1b) at Xsyscall_untramp+0xc0
end of kernel
end trace frame: 0x7f7ffffd2b90, count 4