Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54646 - emerge mol installs tun.ko in /usr/lib/mol/0.9.70/modules/ but mol looks for it in /usr/lib/mol/0.9.70/modules/2.6.3/
Summary: emerge mol installs tun.ko in /usr/lib/mol/0.9.70/modules/ but mol looks for ...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High minor (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-21 07:51 UTC by Hannes Wyss
Modified: 2004-10-31 14:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hannes Wyss 2004-06-21 07:51:12 UTC
Problem: 

hwyss@gentoo hwyss $ startmol -X
Mac-on-Linux 0.9.70-gentoo -gentoo  [Jun 21 2004 14:24]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
The kernel module '/usr/lib/mol/0.9.70/modules/2.6.3/tun.o' appears to be missing.
...


Workaround:

# ln -s /usr/lib/mol/0.9.70/modules/tun.ko /usr/lib/mol/0.9.70/modules/2.6.3/

hwyss@gentoo hwyss $ startmol -X
Mac-on-Linux 0.9.70-gentoo -gentoo  [Jun 21 2004 14:24]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Loading tun driver kernel module:
   /usr/lib/mol/0.9.70/modules/2.6.3/tun.ko
...

Reproducible: Always
Steps to Reproduce:
1. emerge mol
2. startmol -X
3.

Actual Results:  
Mol starts, but without networking

Expected Results:  
Networking enabled over tun interface

hwyss@gentoo hwyss $ emerge info
Portage 2.0.50-r8 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.3)
=================================================================
System uname: 2.6.3 ppc 7450, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/lib/pbbuttons /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa altivec apache2 arts berkdb bonobo caps cdr crypt cups curl
dvd esd evo fbcon foomaticdb gdbm gif gnome gnome-libs gpm gtk gtk2 gtkhtml
guile imlib jack jack-tmpfs jpeg libwww mad maildir mitshm motif moznocompose
moznoirc moznomail mysql nls oggvorbis opengl opie oss pam perl png postgres ppc
python qt quicktime radeon readline ruby ruby18 sdl slang spell ssl tcltk tcpd
tetex tiff truetype type1 video_cards_radeon xmms xv zlib"
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-19 14:41:16 UTC
This requires figuring out what kernel the user is currently running. Any takers?
Comment 2 Joe Jezak (RETIRED) gentoo-dev 2004-08-19 17:48:42 UTC
It installs the module to the correct directory for me, (/usr/lib/mol/0.9.70/modules/2.6.8/tun.ko in my case).

Hannes, two things to check are:
1. Ensure that the correct kernel is linked to by the /usr/src/linux symlink.
2. When building the kernel, make sure that you've run: "make modules_install" so that /lib/modules/kernel-version/build points to the kernel headers used when the kernel was built.

If these were both done, we'll have to look into it more closely, but I'd suspect that the second one is probably the issue, as I can recreate this if /lib/modules/kernel-version/build is missing.
Comment 3 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-22 16:13:57 UTC
Hannes, could you reopen this bug if it is still valid?
Comment 4 Hannes Wyss 2004-09-23 02:25:01 UTC
Thanks, and sorry for the long silence. 
It works perfectly for me.
Comment 5 Luca Barbato gentoo-dev 2004-09-23 05:50:38 UTC
I guess we can close it then
Comment 6 Lars Weiler (RETIRED) gentoo-dev 2004-10-31 14:24:02 UTC
Closing.