linux-2.1.80 ZNet ethernet driver crashes kernel at boot time

Adam J. Richter (adam@yggdrasil.com)
Sun, 25 Jan 1998 02:14:04 -0800


The following code at the beginning of the problem routine
in drivers/net/znet.c crashes the kernel during boot:

/* This code scans the region 0xf0000 to 0xfffff for a "NETIDBLK". */
for(p = (char *)0xf0000; p < (char *)0x100000; p++)
if (*p == 'N' && strncmp(p, "NETIDBLK", 8) == 0)
break;

This same code has no problem under 2.0.33. I suspect that
the memory map for the Linux kernel at boot time has changed, but
I'm not sure. Perhaps somebody on this list will know off the top
of his or her head if that is the case, and, hopefully, where in
memory this routine should be looking.

The ZNet driver does not support building as a loadable
module, which is part of how I came to notice this problem.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."