Subject: LKM on Cobalt Qube2 (missing /dev/lkm)
To: None <port-cobalt@NetBSD.ORG>
From: Jowell, Chris {GGRP~Graz} <chris.jowell@Roche.COM>
List: port-cobalt
Date: 05/18/2004 08:35:05
This is a multi-part message in MIME format.

--Boundary_(ID_pzBd5hfFSlNTXwD3j5RVRw)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable

Hi,

I'm trying to get loadable kernel modules working for the Cobalt Qube2 =
(MIPS) port.

I've run into the problem that the /dev/lkm is not made.

Also /dev/MAKEDEV does not know about LKM.
I looked at the MAN page for MAKEDEV and it specifically mentions LKM.

I googled around and found someone with the same problem with a Sun3 =
system.
He had a patch for the Sun3 MAKDEV script which basically was this

+ lkm)
+ 	rm -f lkm
+ 	mknod lkm c 72 0
+ 	chown root.kmem lkm
+ 	chmod 640 lkm

I tried this on my Qube2 and the error during boot changed from=20

'Mppe.o: modload: /dev/lkm: No such file or directory'

To=20

'Mppe.o: modload: /dev/lkm: Device not configured'

I haven't found much about this problem

Has anyone run into this before or know what I should do?

Thanks
Christopher Jowell
Roche Diagnostics GmbH
Roche Near Patient Testing
R&D Engineering
Kratkystra=DFe 2
A-8020 Graz

Phone:  + 43 (316) 27787-4971


--Boundary_(ID_pzBd5hfFSlNTXwD3j5RVRw)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6556.0">
<TITLE>LKM on Cobalt Qube2 (missing /dev/lkm)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I'm trying to get loadable kernel =
modules working for the Cobalt Qube2 (MIPS) port.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I've run into the problem that the =
/dev/lkm is not made.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Also /dev/MAKEDEV does not know about =
LKM.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">I looked at the MAN page for MAKEDEV =
and it specifically mentions LKM.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I googled around and found someone with =
the same problem with a Sun3 system.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">He had a patch for the Sun3 MAKDEV =
script which basically was this</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">+ lkm)<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm -f lkm<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mknod lkm c 72 0<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chown root.kmem lkm<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chmod 640 lkm</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I tried this on my Qube2 and the error =
during boot changed from </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">'Mppe.o: modload: /dev/lkm: No =
such file or directory'</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">To </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">'Mppe.o: modload: /dev/lkm: =
Device not configured'</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">I haven't found much about this =
problem</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Has anyone run into this before or know =
what I should do?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>

<BR><FONT COLOR=3D"#0000FF" FACE=3D"Comic Sans MS">Christopher =
Jowell</FONT>

<BR><FONT COLOR=3D"#C0C0C0" SIZE=3D2 FACE=3D"Verdana">Roche Diagnostics =
GmbH</FONT>

<BR><FONT COLOR=3D"#C0C0C0" SIZE=3D2 FACE=3D"Verdana">Roche Near Patient =
Testing</FONT>

<BR><FONT COLOR=3D"#C0C0C0" SIZE=3D2 FACE=3D"Verdana">R&amp;D =
Engineering</FONT>

<BR><FONT COLOR=3D"#C0C0C0" SIZE=3D2 FACE=3D"Verdana">Kratkystra=DFe =
2</FONT>

<BR><FONT COLOR=3D"#C0C0C0" SIZE=3D2 FACE=3D"Verdana">A-8020 Graz</FONT>
</P>

<P><FONT COLOR=3D"#C0C0C0" SIZE=3D2 FACE=3D"Verdana">Phone:&nbsp; + 43 =
(316) 27787-4971</FONT>
</P>

</BODY>
</HTML>=

--Boundary_(ID_pzBd5hfFSlNTXwD3j5RVRw)--