Subject: lfs problem on amd64
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 11/09/2007 15:50:28
Hi,

compiled a current kernel and userland on an amd64 box (dual
Opteron & 8G Ram). There's this crash mounting the first lfs
partition:

Mounting all filesystems...
panic: kernel diagnostic assertion "l->l_class == SCHED_OTHER" failed: file "/u/NetBSD/src/sys/kern/sched_m2.c", line 476
Stopped in pid 0.28 (system) at netbsd:breakpoint+0x1:  ret
db{0}> bt
breakpoint() at netbsd:breakpoint+0x1
__kernassert() at netbsd:__kernassert+0x2d
sched_slept() at netbsd:sched_slept+0x63
ltsleep() at netbsd:ltsleep+0x11e
lfs_writerd() at netbsd:lfs_writerd+0x92
db{0}> ps
 PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND    WAIT
 153            152        2          0 2  0x4000    1        mount_lfs biowait
 152            150        2          0 2  0x4000    1            mount    wait
 150              2        2          0 2       0    1               sh    wait
 111              1      111          0 2       0    1          rpcbind  select
 104              1      104          0 2       0    1          syslogd  kqread
 2                1        2          0 2  0x4000    1               sh    wait
 1                0        1          0 2  0x4000    1             init    wait
>0               -1        0          0 2 0x20002   28           system       *
db{0}> 

What can I do to help getting lfs up and running again?

Kurt