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

	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?

Christopher

-----Original Message-----
From: Matthew Luckie [mailto:mjl@luckie.org.nz] On Behalf Of Matthew
Luckie
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

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/cobalt/conf/majors.coba
lt

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

http://mail-index.netbsd.org/port-cobalt/2002/11/29/0000.html