Subject: FW: LKM on Cobalt Qube2 (fixed /dev/lkm) Not enough room for program
To: None <>
From: Jowell, Chris {GGRP~Graz} <chris.jowell@Roche.COM>
List: tech-kern
Date: 05/19/2004 10:47:45

	Thanks to Matthew I have found the correct major number (17) and
Now during boot I have a new and more interesting errors:

Mmpe.o: ld: /usr/pkg/lkm/mppe.o: Not enough room for program headers
(allocated 3, need 4)
Ld: finallink failed: Bad value
Modload: can't prelink 'usr/pkg/lkm/mppe.o' creating '/usr/pkg/lkm/mppe'

What on earth does this stuff mean?


-----Original Message-----
From: Matthew Luckie [] On Behalf Of Matthew
Sent: Wednesday, May 19, 2004 2:22 AM
To: Jowell, Chris {GGRP~Graz}
Cc: port-cobalt@NetBSD.ORG
Subject: Re: LKM on Cobalt Qube2 (missing /dev/lkm)

> I googled around and found someone with the same problem with a Sun3=20
> system. He had a patch for the Sun3 MAKDEV script which basically was=20
> this
> + lkm)
> + 	rm -f lkm
> + 	mknod lkm c 72 0
> + 	chown root.kmem lkm
> + 	chmod 640 lkm

i think you want to use a different major number.  on cobalt lkm has
been reserved id 17

i did the same thing as you a while ago.  from memory (and this is
hazy) i did not get beyond modstat not working and gave up.