[Asterisk-Users] ZapRTC loading problems
Matthew Boehm
mboehm at cytelcom.com
Tue Sep 21 06:57:47 MST 2004
genius..pure genius..
ThomasNiesel=>karma = karma++
Thanks,
Matthew
----- Original Message -----
From: "Thomas Niesel" <thomas_n at freenet.de>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Tuesday, September 21, 2004 12:48 AM
Subject: Re: [Asterisk-Users] ZapRTC loading problems
> Hallo Matthew Boehm
> On Mon, 20 Sep 2004 16:54:33 -0500 you wrote:
>
> > I finally got 2.4 recompiled with RTC as a module:
> > Module Size Used by Not tainted
> > autofs 13684 0 (autoclean) (unused)
> > acenic 241092 0 (unused)
> > iptable_filter 2412 0 (autoclean) (unused)
> > ip_tables 15864 1 [iptable_filter]
> > e100 62340 1
> > rtc 9084 0 (autoclean)
> >
> > Here is my compile/load output from zaptelrtc:
> >
> > [root at localhost zaptelrtc]# make
> > cc -c
> > zaprtc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2
> > -Wal l -I/usr/src/linux-2.4/include -I../zaptel -Wall -DMODVERSIONS
> > -include/usr/src/linux-2.4/include/linux/modversions.h
> > gcc -s -Wall -Wstrict-prototypes rtctest.c -o rtctest
> > rtctest.c: In function `main':
> > rtctest.c:30: warning: implicit declaration of function `exit'
> > gcc -s -Wall -Wstrict-prototypes rtcsetup.c -o rtcsetup
> > rtcsetup.c: In function `main':
> > rtcsetup.c:31: warning: implicit declaration of function `exit'
> > rtcsetup.c:23: warning: unused variable `i'
> > rtcsetup.c:23: warning: unused variable `irqcount'
> > rtcsetup.c:24: warning: unused variable `tmp'
> > rtcsetup.c:24: warning: unused variable `data'
> > rtcsetup.c:25: warning: unused variable `rtc_tm'
> > sync
> >
> > [root at localhost zaptelrtc]# ls
> > Makefile README rtcsetup rtcsetup.c rtctest rtctest.c zaprtc.c
> > zaprtc.o
> >
> > [root at localhost zaptelrtc]# make load
> > sync
> > modprobe zaptel
> > insmod ./zaprtc.o
> > ./zaprtc.o: init_module: Input/output error
> > Hint: insmod errors can be caused by incorrect module parameters,
> > including invalid IO or IRQ parameters.
>
> IMHO you have to _replace_ rtc with zaprtc (unload rtc first, load
> zaprtc second)
>
> > You may find more information in syslog or the output from dmesg
> > make: *** [load] Error 1
> >
> > [root at localhost zaptelrtc]# insmod ./zaprtc.o
> > ./zaprtc.o: init_module: Input/output error
> > Hint: insmod errors can be caused by incorrect module parameters,
> > including invalid IO or IRQ parameters.
> > You may find more information in syslog or the output from dmesg
> >
> > [root at localhost zaptelrtc]# uname -a
> > Linux localhost.localdomain 2.4.20-8custom #1 SMP Mon Sep 20 14:39:43
> > CDT 2004 i686 i686 i386 GNU/Linux
> >
> > Any ideas on the I/O error? syslog and dmesg show the same error.
> > Nothing extra.
> >
> > Thanks,
> > Matthew
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
> --
> Tho/\/\as
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list