Subject: port-amd64/32816: amd64 can not load lkms
To: None <,,>
From: Martin Husemann <>
List: netbsd-bugs
Date: 02/13/2006 09:35:00
>Number:         32816
>Category:       port-amd64
>Synopsis:       amd64 can not load lkms
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 13 09:35:00 +0000 2006
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.15
System: NetBSD 3.99.15 NetBSD 3.99.15 (MARTINS) #0: Sat Feb 11 00:33:04 CET 2006 amd64
Architecture: x86_64
Machine: amd64

I'm trying to get the nvidia nforce ethernet lkm working on amd64. It does
not load, crashes the kernel instead.

On investigation I found that I can not load *any* lkm.

I get a failed assertion: end < VM_MAX_KERNEL_ADDRESS
in uvm/uvm_km.c:479

with the backtrace:

(this is a DEBUG, DIAGNOSTIC, LOCKDEBUG kernel, and yes, I do know that the
pf.o would not have worked anyway in this kernel)

On amd64 do: modload /usr/lkm/pf.o