Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 1996 23:56:32 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org
Cc:        dyson@freebsd.org
Subject:   panic in kvtop for bad maddr
Message-ID:  <199611111256.XAA12713@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
I tried putting `bootdev' (0xa0500004 = some slice on sd0a) in npx0's
id_maddr.  This failed because kvtop() is called on id_maddr just to
print its physical address (after id_maddr has been converted from a
physical address to a virtual address).  The bug seems to be that
kvtop() only works for valid addresses and id_maddr is invalid if it
wasn't originally between 0xa0000 and 0xfffff.  Config and userconfig
don't restrict the address.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611111256.XAA12713>