NetBSD-Bugs archive

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

Re: port-sparc64/45895: kernel modules not working



The following reply was made to PR port-sparc64/45895; it has been noted by 
GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-sparc64/45895: kernel modules not working
Date: Sun, 5 Feb 2012 10:23:20 +0100

 This depends on the code gen options we use for kernel and modules, and
 where the modules are placed relative to kernel text/data. We either
 need to move to other code model options for both kernel and modules
 (wastefull), or provide a module_map with a reserved VA range for
 loading modules (easy).
 
 A very simple way to reproduce this issue reliably is to move IODEV_BASE
 up by some MB and use the new free space for a module_map.
 
 The map is easy to implement, but picking a "proper" VA range is not
 that easy. I hope to have a patch (good enough for now) soon, we can
 discuss fine tuning later.
 
 Martin
 


Home | Main Index | Thread Index | Old Index