Which package needed for "make modules"
Marc-Olivier Killijian
mol-general@lists.maconlinux.org
Thu, 01 Apr 2004 11:44:33 +0200
--=-fhm5Zut61P3Y7jPw8Cqc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi Jens,
> > I got my current kernel from an <apt-get install
> > kernel-image-2.4.25-powerpc>
>=20
> There is no such package in Debian. You probably have
> kernel-image-2.4.25-powerpc-pmac.
That's right.
>=20
> > and the sources from an <apt-get install kernel-source-2.4.25>.
>=20
> This is not the source tree your kernel is built from. If you want
> that, use 'apt-get source kernel-image-2.4.25-powerpc-pmac', which
> will pull in everything that is needed to rebuild your kernel. You
> probably don't want to rebuild your kernel at all, but since you bring
> it up ...
With 'apt-get source kernel-image-2.4.25-powerpc-pmac' I get a directory
called kernel-patch-2.4.25-powerpc-2.4.25. I guess I should use
make-kpkg to compile kernel-source-2.4.25 using those patches. How ? It
is not a "simple" diff patch but a complete directory with plain files
and diff files.
> > When I try to do a make modules in mol-rsync, it uses the 2.4.25
> > sources, fine.
>=20
> There is no need to get the whole rsync tree if you want to use mol in
> Debian. Just install the Debian packages. If they don't work, find
> out what is wrong. If it's my fault, report a bug.
OK, I have two versions of mol installed, the rsync'ed and the Debian
pkg .... I'll try to clean things a little bit. How to do a "make
uninstall" for the rsync version ?
>=20
> > But when I try to run startmol, it complains that the modules are
> > built for 2.4.25 and not for 2.4.25-powerpc.
>=20
> Of course, since you were not using the correct source tree in the
> first place (see above).
>=20
> > I installed mol-modules-2.4.25-powerpc but it doesn't seem to be used.
>=20
> The Debian packages for the mol modules are built for the Debian
> package for mol. But you should be able to run 'modprobe mol' and
> then find the module in the output of 'lsmod'. Running your
> self-built emulator on top of that module is a different issue, it may
> be possible or not.
It's quite unclear, see :
tsfmok# modprobe mol
tsfmok# startmol
Mac-on-Linux 0.9.71-pre1 [mar 29 2004 17:03]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 0
Removing stale lockfile /var/lock/mol-0
Fatal error: The MOL kernel module is not loaded
=20
tsfmok# lsmod
Module Size Used by Not tainted
ipt_MASQUERADE 1792 0 (autoclean)
iptable_nat 18306 0 (autoclean) [ipt_MASQUERADE]
ip_conntrack 22124 0 (autoclean) [ipt_MASQUERADE
iptable_nat]
ip_tables 14688 4 [ipt_MASQUERADE iptable_nat]
tun 4784 0 (autoclean)
tuner-3036 2040 0 (unused)
mol 48548 0
snd-pcm-oss 46052 1 (autoclean)
snd-mixer-oss 14944 0 (autoclean) [snd-pcm-oss]
pcmcia_core 44424 0
appletalk 23796 12 (autoclean)
sg 33908 0 (autoclean) (unused)
i2c-keywest 7532 0 (autoclean) (unused)
snd-powermac 37572 2
snd-pcm 67028 0 [snd-pcm-oss snd-powermac]
snd-timer 16852 0 [snd-pcm]
snd-page-alloc 6580 0 [snd-pcm]
i2c-core 14532 0 [tuner-3036 i2c-keywest snd-powermac]
snd 38136 1 [snd-pcm-oss snd-mixer-oss
snd-powermac snd-pcm snd-timer]
soundcore 4200 3 [snd]
af_packet 15112 1 (autoclean)
hfsplus 41600 0 (autoclean)
Cheers, Marco
>=20
> Regards, Jens.
--=-fhm5Zut61P3Y7jPw8Cqc
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBAa+SBFa6v2Z2+PJQRAmcHAJ0epG5F2+ZLvXlOFUg7wYvByF50gwCfbByC
2heYIxyDfx4aSKlOqDAVJAk=
=3SqN
-----END PGP SIGNATURE-----
--=-fhm5Zut61P3Y7jPw8Cqc--