On Sat, Jul 29, 2023 at 03:00:59PM +0300, Vitaliy Makkoveev wrote:
> On Sat, Jul 29, 2023 at 11:16:14AM +0200, Claudio Jeker wrote:
> > proc0 aka the swapper does not do anything. So there is no need to wake it
> > up. Now the problem is that last time this was tried some inteldrm systems
> > did hang during bootup because the drm code unexpectedly depended on this
> > wakeup.
> > 
> > I think I fixed all possible cases of this in the drm stack and so it is
> > time to retry this. People with affected machines please give this a try.
> > 
> 
> Hi,
> 
> With this diff "inteldrm0: msi, ALDERLAKE_P, gen 12" sticks after "root
> on ...", "inteldrm0: apic 4 int 16, G45, gen 4" works fine.

Would it be possible to get a backtrace of proc0 from the system that
hangs?

I think the simplest way is to:
1. boot -d
2. in ddb:
        w db_console 1
        c
3. once you hang on "root on" line. Hit ctrl-alt-esc
4. in ddb:
        tr /t 0

Thanks.
-- 
:wq Claudio
 
> > -- 
> > :wq Claudio
> > 
> > Index: uvm/uvm_meter.c
> > ===================================================================
> > RCS file: /cvs/src/sys/uvm/uvm_meter.c,v
> > retrieving revision 1.44
> > diff -u -p -r1.44 uvm_meter.c
> > --- uvm/uvm_meter.c 21 Jun 2023 21:16:21 -0000      1.44
> > +++ uvm/uvm_meter.c 29 Jul 2023 07:48:44 -0000
> > @@ -89,8 +89,6 @@ uvm_meter(void)
> >  {
> >     if ((gettime() % 5) == 0)
> >             uvm_loadav(&averunnable);
> > -   if (proc0.p_slptime > (maxslp / 2))
> > -           wakeup(&proc0);
> >  }
> >  
> >  /*
> > 
> 

Reply via email to