Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57021

Summary: synce-serial fails in loading module ppp_async
Product: Gentoo Linux Reporter: Aben Siatris <aben>
Component: Current packagesAssignee: Gentoo PDA project <pda>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aben Siatris 2004-07-14 06:37:01 UTC
app-pda/synce-serial-0.8.9 fails in loading module ppp_async,
but this modules is already compiled in kernel!!!

kernel is 2.6.7-gentoo-r10 and linux-2.6.7-rc3-love2

i have this tested with ppp_async compiled as module.
same result.

Reproducible: Always
Steps to Reproduce:
1.synce-serial-start
2.
3.

Actual Results:  
FATAL: Module ppp_async not found.
synce-serial-start was unable to load the ppp_async kernel module:
Please add this module to your Linux kernel before running this script again.



Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r10)
=================================================================
System uname: 2.6.7-gentoo-r10 i686 Intel(R) Celeron(TM) CPU                1300MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -fomit-frame-pointer
-fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4
-fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx"
CHOST="i686-pc-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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -fomit-frame-pointer
-fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4
-fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest prelink sandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://212.219.247.18/sites/www.ibiblio.org/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 acl alsa apm arts avantgo avi berkdb bindist bluetooth bonobo cdr
cjk crypt cups curl dga directfb dvb dvd encode esd fbcon flash foomaticdb gdbm
ggi gif gnome gpm gtk gtk2 gtkhtml guile imlib java javascript jpeg kde libg++
libwww mad maildir mikmod mmx motif mpeg nas ncurses nls nv nvidia oggvorbis
opengl pam pda pdflib perl png python qt quicktime readline ruby samba sdl slang
spell sse ssl svg svga tcltk tcpd threads tiff truetype unicode x86 xkb xml xml2
xmms xv xvid zlib"
Comment 1 Aben Siatris 2004-07-14 06:42:43 UTC
applicable part from file: synce-serial-start

#
# Check for ppp_async kernel module
#

if [ "`uname -s`" = "Linux" ]; then
  if ! modprobe ppp_async; then
        echo "
${THIS} was unable to load the ppp_async kernel module:

Please add this module to your Linux kernel before running this script again.
" >&2
        exit 1
  fi
fi
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-07-24 13:10:05 UTC
are you running it as root? you can't modprobe if you're not root
Comment 3 Aben Siatris 2004-07-27 00:00:05 UTC
yes, as root
Comment 4 Miles Lubin 2004-08-27 14:23:55 UTC
It gave me that error, I compiled the module, and it worked fine for me.
Is ppp_async compiled as a module or directly into the kernel? 
Comment 5 Aben Siatris 2004-08-30 04:46:58 UTC
first compiled into kernel, after compiled as module.
Comment 6 Aben Siatris 2004-09-07 09:32:53 UTC
FATAL: Error inserting ppp_async (/lib/modules/2.6.8-gentoo-r3/kernel/drivers/net/ppp_async.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg:
PPP generic driver version 2.4.2
devfs_mk_dev: could not append to parent for ppp
failed to register PPP device (-17)
ppp_async: Unknown symbol ppp_channel_index
ppp_async: Unknown symbol ppp_register_channel
ppp_async: Unknown symbol ppp_input
ppp_async: Unknown symbol ppp_input_error
ppp_async: Unknown symbol ppp_output_wakeup
ppp_async: Unknown symbol ppp_unregister_channel
ppp_async: Unknown symbol ppp_unit_number
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2004-09-25 09:54:33 UTC
you have problems with your kernel, not synce. you need to insert the ppp module before ppp_async.