tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic: kernel diagnostic assertion "mii != NULL" failed



Jaap Boender wrote:
> On 14/12/2019 23:26, Alexander Nasonov wrote:
> > Jaap Boender wrote:
> > > Hi all,
> > > 
> > > since 9.99.19, whenever I try to activate an urndis device, I get a kernel
> > > panic with the following message:
> > > 
> > > kernel diagnostic assertion "mii != NULL" failed: file
> > > "/usr/src/sys/dev/usb/usbnet.c" line 1191
> > 
> > kern/54762.
> 
> Yup - I can definitely confirm that 9.99.18 did not have that bug, and that
> 9.99.19 did. There's a typo in the original bug report (mii, not mi) so I
> guess that's why Google didn't pick it up...

My working kernel is a very early 9.99.19:

NetBSD neva 9.99.19 NetBSD 9.99.19 (GENERIC) #0: Sun Dec  1 20:56:49 GMT
2019
alnsn@lonet:/scratch/alnsn/netbsd-current/obj/sys/arch/amd64/compile/GENERIC
amd64

So, the bug was introduced (or triggered) by some change between these
two version bumps:

$ cvs log sys/sys/param.h
...
revision 1.621
date: 2019-12-06 21:07:07 +0000;  author: ad;  state: Exp;  lines: +2
-2;  commitid: 4eFCDlNIb8C7QGNB;
NetBSD 9.99.20 cpu_info/cpu_data changes for topology
----------------------------
revision 1.620
date: 2019-12-01 16:36:25 +0000;  author: ad;  state: Exp;  lines: +2
-2;  commitid: v6SbsZvvByg4v1NB;
NetBSD 9.99.19 - many kernel data structure changes

--
Alex


Home | Main Index | Thread Index | Old Index