[Pkg-mol-devel] building mol modules under 2.6.17-rc2

Yves-Alexis Perez corsac at corsac.net
Fri May 26 21:06:49 UTC 2006


Hi people,

I have problems compiling mol modules. I've tried with latest svn pkg
from pkg-mol, built mol-module-source package, installed it and tried to
build it under my kernel sources.

The complete log is included at the end of the mail, but the problem
seems to be in the ARCH="powerpc".

If, in the /usr/src/modules/mok directory, I run:
fakeroot debian/rules KVERS="2.6.17-rc2"
KSRC="/usr/src/linux-2.6.17-rc2" KDREV="2.6.17-rc2-10.00.Custom"
ARCH="powerpc" kdist_image

it fails (it doesnt changes to the Linux subfolder).

If I run:

fakeroot debian/rules KVERS="2.6.17-rc2"
KSRC="/usr/src/linux-2.6.17-rc2" KDREV="2.6.17-rc2-10.00.Custom"
kdist_image

it works.

I don't really know if it's the powerpc->ppc transition, because if I
use ARCH="ppc" it still doesnt work, so I wonder.

By the way, when I try to use mol, in the end, to run Tiger, I get an
endless loop of:

RVEC-DEBUGGER <1882>

Google says that it's an error due to large file support, but I run mol
from my existing osx partition so I shouldn't bother.

I'll try the patch and see if it works.

Regards,


corsac at hidalgo: fakeroot make-kpkg modules-image
[/usr/src/linux-2.6.17-rc2]
exec debian/rules  DEBIAN_REVISION=2.6.17-rc2-10.00.Custom
modules-image
for module in /usr/src/modules/mol ; do                       \
          if test -d  $module; then                                \
            (cd $module;                                          \
              if ./debian/rules KVERS="2.6.17-rc2"
KSRC="/usr/src/linux-2.6.17-rc2" \
                             KMAINT="Yves-Alexis Perez"
KEMAIL="corsac at corsac.net"      \

KPKG_DEST_DIR="/usr/src/linux-2.6.17-rc2/.." \
                             KPKG_MAINTAINER="Yves-Alexis Perez"
\
                             KPKG_EXTRAV_ARG=""        \
                             ARCH="powerpc"                  \
                             KDREV="2.6.17-rc2-10.00.Custom"
kdist_image; then   \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "X" != "X" ]; then      \
                      echo "Perhaps $module does not understand
--rootcmd?";  \
                      echo "If you see messages that indicate that it is
not"; \                      echo "in fact being built as root, please
file a bug ";  \                      echo "against $module.";
\
                   fi;                                              \
                   echo "Hit return to Continue";                   \
                 read ans;                                        \
              fi;                                                   \
             );                                                    \
          else                                                      \
               echo "Module $module does not exist";               \
               echo "Hit return to Continue?";                      \
          fi;                                                       \
        done
make[1]: Entering directory `/usr/src/modules/mol'
/usr/bin/make -f debian/rules binary-mol-modules
make[2]: Entering directory `/usr/src/modules/mol'
m4 -DKVERS="2.6.17-rc2" -DKSRC="/usr/src/linux-2.6.17-rc2"
-DKEMAIL="corsac at corsac.net" -DKMAINT="Yves-Alexis Perez"
-DKDREV="2.6.17-rc2-10.00.Custom" -DDEBDATE="Fri, 26 May 2006 22:54:36
+0200" debian/control.m4 > debian/control
m4 -DKVERS="2.6.17-rc2" -DKSRC="/usr/src/linux-2.6.17-rc2"
-DKEMAIL="corsac at corsac.net" -DKMAINT="Yves-Alexis Perez"
-DKDREV="2.6.17-rc2-10.00.Custom" -DDEBDATE="Fri, 26 May 2006 22:54:36
+0200" debian/changelog.m4 > debian/changelog
touch configure-stamp
dh_testdir
/usr/bin/make
make[3]: Entering directory `/usr/src/modules/mol'
/usr/bin/make -C src/kmod
make[4]: Entering directory `/usr/src/modules/mol/src/kmod'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/modules/mol/src/kmod'
/usr/bin/make -C src/netdriver
make[4]: Entering directory `/usr/src/modules/mol/src/netdriver'
  CC [M]  /usr/src/modules/mol/src/netdriver/build/kuname.o
strings /usr/src/modules/mol/src/netdriver/build/kuname.o | grep --
'-MAGIC-' | sed -e s/-MAGIC-//
> /usr/src/modules/mol/src/netdriver/build/.kuname
  CC [M]  /usr/src/modules/mol/src/netdriver/build/sheep.o
  Building modules, stage 2.
  MODPOST
  CC      /usr/src/modules/mol/src/netdriver/build/kuname.mod.o
  LD [M]  /usr/src/modules/mol/src/netdriver/build/kuname.ko
  CC      /usr/src/modules/mol/src/netdriver/build/sheep.mod.o
  LD [M]  /usr/src/modules/mol/src/netdriver/build/sheep.ko
/usr/src/modules/mol/src/netdriver [ -f build/sheep.ko ]
ln: target `../../mollib/modules/2.6.17-rc2/' is not a directory: No
such file or directory
make[4]: *** [all-local] Error 1
make[4]: Leaving directory `/usr/src/modules/mol/src/netdriver'
make[3]: [src/netdriver] Error 2 (ignored)
make[3]: Leaving directory `/usr/src/modules/mol'
touch build-stamp
dh_testdir
dh_testroot
dh_clean
dh_clean: Compatibility levels before 4 are deprecated.
dh_installdirs
dh_installdirs: Compatibility levels before 4 are deprecated.
/usr/bin/make DESTDIR=`pwd`/debian/mol-modules-2.6.17-rc2 install
make[3]: Entering directory `/usr/src/modules/mol'
install -d -m 755 -o
0 /usr/src/modules/mol/debian/mol-modules-2.6.17-rc2/lib/modules/2.6.17-rc2/misc
for file in `find mollib -type f`; do \
                install -m 644 -o 0
$file /usr/src/modules/mol/debian/mol-modules-2.6.17-rc2/lib/modules/2.6.17-rc2/misc; \
        done
find: mollib: No such file or directory
make[3]: Leaving directory `/usr/src/modules/mol'
touch install-stamp
dh_testdir
dh_testroot
dh_installdocs
dh_installdocs: Compatibility levels before 4 are deprecated.
dh_installmodules
dh_installmodules: Compatibility levels before 4 are deprecated.
dh_installchangelogs
dh_installchangelogs: Compatibility levels before 4 are deprecated.
dh_link
dh_link: Compatibility levels before 4 are deprecated.
dh_strip
dh_strip: Compatibility levels before 4 are deprecated.
dh_compress
dh_compress: Compatibility levels before 4 are deprecated.
dh_fixperms
dh_fixperms: Compatibility levels before 4 are deprecated.
dh_installdeb
dh_installdeb: Compatibility levels before 4 are deprecated.
dh_gencontrol
dh_gencontrol: Compatibility levels before 4 are deprecated.
dh_md5sums
dh_md5sums: Compatibility levels before 4 are deprecated.
dh_builddeb --destdir=/usr/src/linux-2.6.17-rc2/..
dh_builddeb: Compatibility levels before 4 are deprecated.
dpkg-deb: building package `mol-modules-2.6.17-rc2' in
`/usr/src/linux-2.6.17-rc2/../mol-modules-2.6.17-rc2_0.9.70
+2.6.17-rc2-10.00.Custom_powerpc.deb'.
make[2]: Leaving directory `/usr/src/modules/mol'
/usr/bin/make -f debian/rules clean
make[2]: Entering directory `/usr/src/modules/mol'
test -e debian/control.m4
/usr/bin/make clean
make[3]: Entering directory `/usr/src/modules/mol'
/usr/bin/make -C src/kmod clean
make[4]: Entering directory `/usr/src/modules/mol/src/kmod'
make[4]: Leaving directory `/usr/src/modules/mol/src/kmod'
/usr/bin/make -C src/netdriver clean
make[4]: Entering directory `/usr/src/modules/mol/src/netdriver'
make[4]: Leaving directory `/usr/src/modules/mol/src/netdriver'
rm -rf mollib
make[3]: Leaving directory `/usr/src/modules/mol'
dh_clean
dh_clean: Compatibility levels before 4 are deprecated.
rm -f debian/control debian/changelog
rm -f configure-stamp build-stamp install-stamp
make[2]: Leaving directory `/usr/src/modules/mol'
make[1]: Leaving directory `/usr/src/modules/mol'
Module /usr/src/modules/mol processed fine

-- 
Yves-Alexis Perez




More information about the Pkg-mol-devel mailing list