re: Importing lua(4), but where in the source tree?

2013-01-09 Thread matthew green
I want to import the lua(4) device driver, which is currently a module only, which seems wrong. Is sys/dev/lua/ a good place? can you give a little more details on what is included? at a guess, if there are more than a couple of files then sys/dev/lua is an OK place, otherwise just

Re: Problems with UVM pagefaults

2013-01-09 Thread Chuck Silvers
On Tue, Jan 08, 2013 at 08:16:30PM +0100, Roger Pau Monn wrote: So far I've been able to get the ptes, pass them to Xen and stablish the mapping. Writing to that memory area from userspace seems to work fine (using pread), but the problem comes when the userspace program executes something

Re: Importing lua(4), but where in the source tree?

2013-01-09 Thread Christos Zoulas
In article de1aa2ee-2a57-4255-9f6c-84b240596...@msys.ch, Marc Balmer m...@msys.ch wrote: Am 09.01.2013 um 16:28 schrieb matthew green m...@eterna.com.au: I want to import the lua(4) device driver, which is currently a module only, which seems wrong. Is sys/dev/lua/ a good place? can

Need help looking at kernel dump for /netbsd: panic: lock error

2013-01-09 Thread Hisashi T Fujinaka
NetBSD documentation just kind of pointed me at figuring out which processes are running and looking at the backtrace. Well, the backtrace just looks to me like it was printing out the error. I know I should look at other frames, but not sure what I should be looking at. Here's 4 frames up:

Re: Importing lua(4), but where in the source tree?

2013-01-09 Thread Alexander Nasonov
Marc Balmer wrote: Sure. The full diff is at http://www.netbsd.org/~mbalmer/diffs/kernel_lua_010.diff and it's the files that the diff now places in sys/modules/lua/ that I think should better go to sys/dev/lua/ These placeholder files look hackish. Do you compile Lua with all extras like

Re: Importing lua(4), but where in the source tree?

2013-01-09 Thread Alexander Nasonov
Alexander Nasonov wrote: These placeholder files look hackish. Do you compile Lua with all extras like turned off? How many in-place changes do you anticipate? ... and how many of these changes will reside outside if luaconf.h? As you move Lua to the kernel space, dist location should be

Re: Need help looking at kernel dump for /netbsd: panic: lock error

2013-01-09 Thread Hisashi T Fujinaka
On Wed, 9 Jan 2013, David Holland wrote: On Wed, Jan 09, 2013 at 10:15:39AM -0800, Hisashi T Fujinaka wrote: NetBSD documentation just kind of pointed me at figuring out which processes are running and looking at the backtrace. Well, the backtrace just looks to me like it was printing out

Re: Importing lua(4), but where in the source tree?

2013-01-09 Thread Marc Balmer
Am 09.01.2013 um 22:07 schrieb Alexander Nasonov al...@yandex.ru: Marc Balmer wrote: Sure. The full diff is at http://www.netbsd.org/~mbalmer/diffs/kernel_lua_010.diff and it's the files that the diff now places in sys/modules/lua/ that I think should better go to sys/dev/lua/ These