Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.0-test9 und Capi
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Macrobiotus
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 230

PostPosted: Tue Dec 23, 2003 7:15 pm    Post subject: Reply with quote

Hallo zusammen!
Die Systemaufhängung beim Laden von avmfritz hab ich unter 2.6 auch.

Was ich ebenfalls nicht finden konnte war dieser ominöse Patch.
Es sind bestimmt noch andere Leute daran intersessiert. Die Fritz-Card ist doch weit verbreitet.
Kommt man an den Patch irgendwie *offiziell* ran?
google hat in der Richtung nichts ausgeworfen aus die Gentoo-Foren :wink:



Hier könnte laufen:
gentoo-dev-sources-2.6.0.ebuild

Aber ohne i-net :cry: momentan nicht.
Back to top
View user's profile Send private message
zerwas
n00b
n00b


Joined: 22 Dec 2003
Posts: 24

PostPosted: Tue Dec 23, 2003 7:46 pm    Post subject: Reply with quote

Hallo,

Nach einigen Problemen und der Sache mit dem Patch (in dem noch einige Fehler drin zu stecken scheinen.., bzw. Inkompatibilitäten mit dem 2.6.0er sind), der jetzt installiert ist, lassen sich bei mir auch alle Module laden, bis auf das avmfritz-Modul. Zwar hängt sich (zum Glück) mein System nicht dabei auf, aber ich bekmome die Meldung, dass da einige unknown symbols sind.
In dmesg kann ich dann sehen, dass
Code:
restore_flags, save_flags, sti
unknown symbols sind.

Außerdem bekomme ich auch (wie atomic666) beim Benutzen von pppd den Fehler:
Code:
capiplugin: CAPI_REGISTER failed - CAPI not installed (0x1009) [No such dev...]
Das liegt aber wohl an obigem Problem :?:

Irgendwie finde ich es auch komisch, dass im Final von 2.6 nicht einmal die ISDN-Unterstützung für passive Karten funktioniert (oder man auf ein Release von AVM warten muss (bzw. SuSE 9.1 :()

--
zer

Anbei nocheinmal extra der Patch diesmal mit "richtigem" Copy n' Paste ;). Steht für die Öffentlichkeit wohl besser zur Verfügung als das PM-Schicken. :D

Code:

diff -ur linux-2.6.0-test9-bk22.org/drivers/isdn/capi/capi.c linux-2.6.0-test9-bk22/drivers/isdn/capi/capi.c
--- linux-2.6.0-test9-bk22.org/drivers/isdn/capi/capi.c 2003-10-12 16:23:31.000000000 +0200
+++ linux-2.6.0-test9-bk22/drivers/isdn/capi/capi.c     2003-10-21 19:59:14.000000000 +0200
@@ -199,7 +199,7 @@

 static struct capiminor *capiminor_alloc(struct capi20_appl *ap, u32 ncci)
 {
-       struct capiminor *mp, *p;
+       struct capiminor *mp, *p = NULL;
        struct list_head *l;
        unsigned int minor = 0;
        unsigned long flags;
@@ -222,18 +222,17 @@
        write_lock_irqsave(&capiminor_list_lock, flags);
        list_for_each(l, &capiminor_list) {
                p = list_entry(l, struct capiminor, list);
-               if (p->minor > minor) {
-                       mp->minor = minor;
-                       list_add_tail(&mp->list, &p->list);
+               if (p->minor > minor)
                        break;
-               }
                minor++;
+               p = NULL;
        }
+       mp->minor = minor;
+       if (p)
+               list_add_tail(&mp->list, &p->list);
+       else
+               list_add_tail(&mp->list, l);
        write_unlock_irqrestore(&capiminor_list_lock, flags);
-       if (l == &capiminor_list) {
-               kfree(mp);
-               return NULL;
-       }
        return mp;
 }

diff -ur linux-2.6.0-test9-bk22.org/drivers/isdn/capi/capifs.c linux-2.6.0-test9-bk22/drivers/isdn/capi/capifs.c
--- linux-2.6.0-test9-bk22.org/drivers/isdn/capi/capifs.c       2003-07-14 05:31:59.000000000 +0200
+++ linux-2.6.0-test9-bk22/drivers/isdn/capi/capifs.c   2003-10-21 19:59:14.000000000 +0200
@@ -88,9 +88,10 @@

 static int capifs_remount(struct super_block *s, int *flags, char *data)
 {
-       struct options new;
+       struct options new = options;
+
        if (capifs_parse_options(data, &new)) {
-               printk("capifs: called with bogus options\n");
+               printk("%s: called with bogus options\n", __FUNCTION__);
                return -EINVAL;
        }
        options = new;
@@ -109,7 +110,7 @@
        struct inode * inode;

        if (capifs_parse_options(data, &options)) {
-               printk("capifs: called with bogus options\n");
+               printk("%s: called with bogus options\n", __FUNCTION__);
                return -EINVAL;
        }

@@ -171,10 +172,11 @@
        char s[10];
        int len;
        struct dentry *root = capifs_mnt->mnt_root;
+
        if (type)
-               len = sprintf(s, "%d", num);
-       else
                len = sprintf(s, "%c%d", type, num);
+       else
+               len = sprintf(s, "%d", num);
        down(&root->d_inode->i_sem);
        return lookup_one_len(s, root, len);
 }
diff -ur linux-2.6.0-test9-bk22.org/drivers/isdn/capi/kcapi.c linux-2.6.0-test9-bk22/drivers/isdn/capi/kcapi.c
--- linux-2.6.0-test9-bk22.org/drivers/isdn/capi/kcapi.c        2003-10-26 15:02:04.000000000 +0100
+++ linux-2.6.0-test9-bk22/drivers/isdn/capi/kcapi.c    2003-10-26 15:02:48.000000000 +0100
@@ -309,12 +309,10 @@
                        continue;
                }

-               if (   CAPIMSG_COMMAND(skb->data) == CAPI_DATA_B3
-                   && CAPIMSG_SUBCOMMAND(skb->data) == CAPI_IND) {
+               if (CAPIMSG_CMD(skb->data) == CAPI_DATA_B3_IND)
                        ap->nrecvdatapkt++;
-               } else {
+               else
                        ap->nrecvctlpkt++;
-               }
                ap->recv_message(ap, skb);
        }
 }
diff -ur linux-2.6.0-test9-bk22.org/drivers/isdn/hisax/callc.c linux-2.6.0-test9-bk22/drivers/isdn/hisax/callc.c
--- linux-2.6.0-test9-bk22.org/drivers/isdn/hisax/callc.c       2003-10-12 16:23:31.000000000 +0200
+++ linux-2.6.0-test9-bk22/drivers/isdn/hisax/callc.c   2003-10-21 19:59:14.000000000 +0200
@@ -212,7 +212,7 @@
        else
                chanp->cs->status |=  0x0100;

-       if (chanp->cs->card_ops->led_handler)
+       if (chanp->cs->card_ops && chanp->cs->card_ops->led_handler)
                chanp->cs->card_ops->led_handler(chanp->cs);
 }

@@ -224,7 +224,7 @@
        else
                chanp->cs->status |=  0x1000;

-       if (chanp->cs->card_ops->led_handler)
+       if (chanp->cs->card_ops && chanp->cs->card_ops->led_handler)
                chanp->cs->card_ops->led_handler(chanp->cs);
 }

@@ -236,7 +236,7 @@
        else
                chanp->cs->status &=  ~0x1100;

-       if (chanp->cs->card_ops->led_handler)
+       if (chanp->cs->card_ops && chanp->cs->card_ops->led_handler)
                chanp->cs->card_ops->led_handler(chanp->cs);
 }

@@ -303,6 +303,7 @@
 {
        struct Channel *chanp = fi->userdata;

+       printk(KERN_DEBUG "%s: chanp(%p) arg(%p) chanp->cs->card_ops(%p)\n", __FUNCTION__, chanp, arg, chanp->cs->card_ops);
        FsmDelTimer(&chanp->drel_timer, 60);
        FsmDelTimer(&chanp->dial_timer, 73);
        chanp->l2_active_protocol = chanp->l2_protocol;
@@ -1495,7 +1496,7 @@

 void
 lli_got_manufacturer(struct Channel *chanp, struct IsdnCardState *cs, capi_msg *cm) {
-       if (cs->card_ops->aux_ind)
+       if (cs->card_ops && cs->card_ops->aux_ind)
                cs->card_ops->aux_ind(cs, cm->para);
 }

@@ -1543,26 +1544,25 @@
                        ic->command, ic->driver);
                return -ENODEV;
        }
+       printk(KERN_DEBUG "%s: command(%x) arg(%lx)\n", __FUNCTION__, ic->command, ic->arg);
+       chanp = csta->channel + (ic->arg & 0xff);
        switch (ic->command) {
+               case (ISDN_CMD_CLREAZ):
                case (ISDN_CMD_SETEAZ):
-                       chanp = csta->channel + ic->arg;
                        break;
                case (ISDN_CMD_SETL2):
-                       chanp = csta->channel + (ic->arg & 0xff);
                        if (chanp->debug & 1)
                                link_debug(chanp, 1, "SETL2 card %d %ld",
                                        csta->cardnr + 1, ic->arg >> 8);
                        chanp->l2_protocol = ic->arg >> 8;
                        break;
                case (ISDN_CMD_SETL3):
-                       chanp = csta->channel + (ic->arg & 0xff);
                        if (chanp->debug & 1)
                                link_debug(chanp, 1, "SETL3 card %d %ld",
                                        csta->cardnr + 1, ic->arg >> 8);
                        chanp->l3_protocol = ic->arg >> 8;
                        break;
                case (ISDN_CMD_DIAL):
-                       chanp = csta->channel + (ic->arg & 0xff);
                        if (chanp->debug & 1)
                                link_debug(chanp, 1, "DIAL %s -> %s (%d,%d)",
                                        ic->parm.setup.eazmsn, ic->parm.setup.phone,
@@ -1580,26 +1580,22 @@
                        }
                        break;
                case (ISDN_CMD_ACCEPTB):
-                       chanp = csta->channel + ic->arg;
                        if (chanp->debug & 1)
                                link_debug(chanp, 1, "ACCEPTB");
                        FsmEvent(&chanp->fi, EV_ACCEPTB, NULL);
                        break;
                case (ISDN_CMD_ACCEPTD):
-                       chanp = csta->channel + ic->arg;
                        memcpy(&chanp->setup, &ic->parm.setup, sizeof(setup_parm));
                        if (chanp->debug & 1)
                                link_debug(chanp, 1, "ACCEPTD");
                        FsmEvent(&chanp->fi, EV_ACCEPTD, NULL);
                        break;
                case (ISDN_CMD_HANGUP):
-                       chanp = csta->channel + ic->arg;
                        if (chanp->debug & 1)
                                link_debug(chanp, 1, "HANGUP");
                        FsmEvent(&chanp->fi, EV_HANGUP, NULL);
                        break;
                case (CAPI_PUT_MESSAGE):
-                       chanp = csta->channel + ic->arg;
                        if (chanp->debug & 1)
                                capi_debug(chanp, &ic->parm.cmsg);
                        if (ic->parm.cmsg.Length < 8)
@@ -1734,21 +1730,18 @@
                        break;

                case (ISDN_CMD_PROCEED):
-                       chanp = csta->channel + ic->arg;
                        if (chanp->debug & 1)
                                link_debug(chanp, 1, "PROCEED");
                        FsmEvent(&chanp->fi, EV_PROCEED, NULL);
                        break;

                case (ISDN_CMD_ALERT):
-                       chanp = csta->channel + ic->arg;
                        if (chanp->debug & 1)
                                link_debug(chanp, 1, "ALERT");
                        FsmEvent(&chanp->fi, EV_ALERT, NULL);
                        break;

                case (ISDN_CMD_REDIR):
-                       chanp = csta->channel + ic->arg;
                        if (chanp->debug & 1)
                                link_debug(chanp, 1, "REDIR");
                        memcpy(&chanp->setup, &ic->parm.setup, sizeof(setup_parm));
diff -ur linux-2.6.0-test9-bk22.org/drivers/isdn/hisax/config.c linux-2.6.0-test9-bk22/drivers/isdn/hisax/config.c
--- linux-2.6.0-test9-bk22.org/drivers/isdn/hisax/config.c      2003-10-12 16:23:42.000000000 +0200
+++ linux-2.6.0-test9-bk22/drivers/isdn/hisax/config.c  2003-10-21 19:59:14.000000000 +0200
@@ -749,7 +749,7 @@
        if (csta->dc_l1_ops->close)
                csta->dc_l1_ops->close(csta);

-       if (csta->card_ops->release)
+       if (csta->card_ops && csta->card_ops->release)
                csta->card_ops->release(csta);
        if (csta->dbusytimer.function != NULL) // FIXME?
                del_timer(&csta->dbusytimer);
@@ -760,6 +760,8 @@
 {
        int irq_cnt, cnt = 3;

+       if (!cs->card_ops)
+               return -1;
        cs->card_ops->init(cs);

        irq_cnt = kstat_irqs(cs->irq);
@@ -1721,7 +1723,7 @@
        struct IsdnCardState *cs;

        for (i = 0; i < HISAX_MAX_CARDS; i++) {
-               if (!cards[i].typ)
+               if (!cards[i].cs)
                        break;
        }

@@ -1740,6 +1742,8 @@
 #else
        test_and_set_bit(FLG_TWO_DCHAN, &cs->HW_Flags);
 #endif
+       cards[i].cs = cs;
+       cards[i].typ = ISDN_CTYPE_DYNAMIC;
        cs->cardnr = i;
        cs->protocol = protocol;
        cs->typ = ISDN_CTYPE_DYNAMIC;
@@ -1763,6 +1767,7 @@
        clear_bit(0, &hisax_d_if->ph_state);

        do_init(cs);
+       printk(KERN_NOTICE "HiSax: installed %d card(s)\n", nrcards);

        return 0;
 }
diff -ur linux-2.6.0-test9-bk22.org/drivers/isdn/hisax/tei.c linux-2.6.0-test9-bk22/drivers/isdn/hisax/tei.c
--- linux-2.6.0-test9-bk22.org/drivers/isdn/hisax/tei.c 2003-07-14 05:37:58.000000000 +0200
+++ linux-2.6.0-test9-bk22/drivers/isdn/hisax/tei.c     2003-10-21 19:59:14.000000000 +0200
@@ -78,7 +78,7 @@
 mdl_assign(struct IsdnCardState *cs)
 {
        cs->status |= 0x0001;
-       if (cs->card_ops->led_handler)
+       if (cs->card_ops && cs->card_ops->led_handler)
                cs->card_ops->led_handler(cs);
 }

@@ -86,7 +86,7 @@
 mdl_remove(struct IsdnCardState *cs)
 {
        cs->status = 0;
-       if (cs->card_ops->led_handler)
+       if (cs->card_ops && cs->card_ops->led_handler)
                cs->card_ops->led_handler(cs);
 }

diff -ur linux-2.6.0-test9-bk22.org/drivers/isdn/i4l/isdn_common.c linux-2.6.0-test9-bk22/drivers/isdn/i4l/isdn_common.c
--- linux-2.6.0-test9-bk22.org/drivers/isdn/i4l/isdn_common.c   2003-10-12 16:23:53.000000000 +0200
+++ linux-2.6.0-test9-bk22/drivers/isdn/i4l/isdn_common.c       2003-10-21 19:59:14.000000000 +0200
@@ -1464,7 +1464,7 @@
        struct isdn_slot *slot = file->private_data;
        DECLARE_WAITQUEUE(wait, current);
        unsigned long flags;
-       size_t len = 0;
+       int len = 0;

        if (off != &file->f_pos)
                return -ESPIPE;
@@ -2049,38 +2049,39 @@
        ctrl->command = cmd;
        ctrl->driver = slot->di;

+       printk(KERN_DEBUG "%s: slot %p di %d cmd %x\n", __FUNCTION__, slot, slot->di, cmd);
        switch (cmd) {
-       case ISDN_CMD_SETL2:
-       case ISDN_CMD_SETL3:
-       case ISDN_CMD_PROT_IO:
-               ctrl->arg &= ~0xff; ctrl->arg |= slot->ch;
-               break;
-       case ISDN_CMD_DIAL:
-               if (isdndev->global_flags & ISDN_GLOBAL_STOPPED)
-                       return -EBUSY;
+               case ISDN_CMD_SETL2:
+               case ISDN_CMD_SETL3:
+               case ISDN_CMD_PROT_IO:
+                       ctrl->arg &= ~0xff; ctrl->arg |= slot->ch;
+                       break;
+               case ISDN_CMD_DIAL:
+                       if (isdndev->global_flags & ISDN_GLOBAL_STOPPED)
+                               return -EBUSY;

                /* fall through */
-       default:
-               ctrl->arg = slot->ch;
-               break;
+               default:
+                       ctrl->arg = slot->ch;
+                       break;
        }
        switch (cmd) {
-       case ISDN_CMD_CLREAZ:
-               return fsm_event(&slot->fi, EV_CMD_CLREAZ, ctrl);
-       case ISDN_CMD_SETEAZ:
-               return fsm_event(&slot->fi, EV_CMD_SETEAZ, ctrl);
-       case ISDN_CMD_SETL2:
-               return fsm_event(&slot->fi, EV_CMD_SETL2, ctrl);
-       case ISDN_CMD_SETL3:
-               return fsm_event(&slot->fi, EV_CMD_SETL3, ctrl);
-       case ISDN_CMD_DIAL:
-               return fsm_event(&slot->fi, EV_CMD_DIAL, ctrl);
-       case ISDN_CMD_ACCEPTD:
-               return fsm_event(&slot->fi, EV_CMD_ACCEPTD, ctrl);
-       case ISDN_CMD_ACCEPTB:
-               return fsm_event(&slot->fi, EV_CMD_ACCEPTB, ctrl);
-       case ISDN_CMD_HANGUP:
-               return fsm_event(&slot->fi, EV_CMD_HANGUP, ctrl);
+               case ISDN_CMD_CLREAZ:
+                       return fsm_event(&slot->fi, EV_CMD_CLREAZ, ctrl);
+               case ISDN_CMD_SETEAZ:
+                       return fsm_event(&slot->fi, EV_CMD_SETEAZ, ctrl);
+               case ISDN_CMD_SETL2:
+                       return fsm_event(&slot->fi, EV_CMD_SETL2, ctrl);
+               case ISDN_CMD_SETL3:
+                       return fsm_event(&slot->fi, EV_CMD_SETL3, ctrl);
+               case ISDN_CMD_DIAL:
+                       return fsm_event(&slot->fi, EV_CMD_DIAL, ctrl);
+               case ISDN_CMD_ACCEPTD:
+                       return fsm_event(&slot->fi, EV_CMD_ACCEPTD, ctrl);
+               case ISDN_CMD_ACCEPTB:
+                       return fsm_event(&slot->fi, EV_CMD_ACCEPTB, ctrl);
+               case ISDN_CMD_HANGUP:
+                       return fsm_event(&slot->fi, EV_CMD_HANGUP, ctrl);
        }
        HERE;
        return -1;
@@ -2104,20 +2105,24 @@
        isdn_info_update();

        retval = isdn_slot_command(slot, ISDN_CMD_CLREAZ, &cmd);
+       printk(KERN_DEBUG "%s: ISDN_CMD_CLREAZ retval(%d)\n", __FUNCTION__, retval);
        if (retval)
                return retval;

        strcpy(cmd.parm.num, msn);
        retval = isdn_slot_command(slot, ISDN_CMD_SETEAZ, &cmd);
+       printk(KERN_DEBUG "%s: ISDN_CMD_SETEAZ retval(%d)\n", __FUNCTION__, retval);

        cmd.arg = dial->l2_proto << 8;
        cmd.parm.fax = dial->fax;
        retval = isdn_slot_command(slot, ISDN_CMD_SETL2, &cmd);
+       printk(KERN_DEBUG "%s: ISDN_CMD_SETL2 retval(%d)\n", __FUNCTION__, retval);
        if (retval)
                return retval;

        cmd.arg = dial->l3_proto << 8;
        retval = isdn_slot_command(slot, ISDN_CMD_SETL3, &cmd);
+       printk(KERN_DEBUG "%s: ISDN_CMD_SETL3 retval(%d)\n", __FUNCTION__, retval);
        if (retval)
                return retval;
Back to top
View user's profile Send private message
alo-alo
n00b
n00b


Joined: 05 Oct 2003
Posts: 74

PostPosted: Wed Dec 24, 2003 8:53 pm    Post subject: Reply with quote

Der I4L-patch ist hier zu finden:

http://rcum.uni-mb.si/~uvp00845b

Die Seite ist noch under construction!
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Sun Dec 28, 2003 6:32 pm    Post subject: Reply with quote

ok...when pppd call isdn/arcor

capifs: Rev 1.14.6.8
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
CAPI Subsystem Rev 1.21.6.8
capi20: Rev 1.1.4.1.2.2: started up with major 68 (middleware+capifs)
Modular ISDN Stack core $Revision: 1.20 $
mISDNd: kernel daemon started
ISDN L1 driver version 1.8
mISDNd: test event done
ISDN L2 driver version 1.16
mISDN: DSS1 Rev. 1.19
mISDN Capi 2.0 driver file version 1.11
ISAC module $Revision: 1.13 $
Winbond W6692 PCI driver Rev. 1.6
mISDN_w6692: found adapter Winbond W6692 at 0000:00:0b.0
W6692: Winbond W6692 version (0): W6692 V00
kcapi: Controller 1: mISDN1 attached
w6692: IRQ 10 count 4
kcapi: card 1 "mISDN1" ready.
kcapi: notify up contr 1
w6692 1 cards installed
capi20_register:
Debug: sleeping function called from invalid context at mm/slab.c:1868
in_atomic():1, irqs_disabled():1
Call Trace:
[<c012a01b>] __might_sleep+0xab/0xd0
[<c01601f9>] __kmalloc+0x279/0x290
[<e4a11a61>] __mid_kmalloc+0x21/0x80 [mISDN_core]
[<e4976673>] ApplicationConstr+0x33/0x130 [mISDN_capi]
[<e4974887>] RegisterApplication+0xe7/0x230 [mISDN_capi]
[<e492a062>] register_appl+0x62/0x80 [kernelcapi]
[<e492b1d4>] capi20_register+0xd4/0xe0 [kernelcapi]
[<e4939714>] capi_ioctl+0x154/0x800 [capi]
[<c0217220>] devfs_open+0x0/0x250
[<c0180c25>] dentry_open+0x145/0x210
[<c0124781>] kernel_map_pages+0x31/0x70
[<c019cb55>] sys_ioctl+0x205/0x3f0
[<c0181306>] sys_open+0x76/0x90
[<c04f24e7>] syscall_call+0x7/0xb

kcapi: appl 1 up
capi20_put_message: applid 0x1
capi20_put_message: applid 0x1
Unable to handle kernel paging request at virtual address daf2cf04
printing eip:
e497828f
*pde = 00069063
Oops: 0000 [#1]
PREEMPT DEBUG_PAGEALLOC
CPU: 0
EIP: 0060:[<e497828f>] Not tainted VLI
EFLAGS: 00010292
EIP is at plci_connect_conf+0xf/0x50 [mISDN_capi]
eax: daf2ce84 ebx: 00000001 ecx: e498cf14 edx: dad077d0
esi: dad077d0 edi: 00000001 ebp: db463e40 esp: db463e34
ds: 007b es: 007b ss: 0068
Process pppd (pid: 3372, threadinfo=db462000 task=dadfd950)
Stack: daa05f60 daf2ce84 00000001 db463e6c e4973104 dad077d0 00000001 daf2ce84
daff8e38 dad077a8 e4978280 00000000 dad077d0 00000000 db463e98 e4973104
dad077d0 00000001 daf2ce84 daf2ce84 daf2ae00 e4978180 daf2ce84 dad077a8
Call Trace:
[<e4973104>] FsmEvent+0x84/0xf0 [mISDN_capi]
[<e4978280>] plci_connect_conf+0x0/0x50 [mISDN_capi]
[<e4973104>] FsmEvent+0x84/0xf0 [mISDN_capi]
[<e4978180>] plci_connect_req+0x0/0x100 [mISDN_capi]
[<e497abc2>] AppPlciGetCmsg+0xd2/0x180 [mISDN_capi]
[<e497acbd>] AppPlciSendMessage+0x4d/0xa0 [mISDN_capi]
[<e4976b8b>] ApplicationSendMessage+0x11b/0x360 [mISDN_capi]
[<c0124781>] kernel_map_pages+0x31/0x70
[<e4974ce6>] SendMessage+0x46/0x80 [mISDN_capi]
[<e492b40d>] capi20_put_message+0x19d/0x250 [kernelcapi]
[<e4939436>] capi_write+0x146/0x270 [capi]
[<e49392f0>] capi_write+0x0/0x270 [capi]
[<c01822f0>] vfs_write+0xa0/0x120
[<c018240f>] sys_write+0x3f/0x60
[<c04f24e7>] syscall_call+0x7/0xb

Code: 5d 10 c7 45 0c 01 00 00 00 89 45 08 83 c4 1c 5b 5e 5f c9 e9 04 ae ff ff 8d 74 26 00 55 89 e5 83 ec 0c 8b 45 10 89 5d fc 8b 55 08 <66> 83 b8 80 00 00 00 00 8b 5a 0c 75 10 c7 45 0c 02 00 00 00 8b
<7>capi20_release: applid 0x1
release_appl: applid 0x1
kcapi: appl 1 down
capi20_register:
Debug: sleeping function called from invalid context at mm/slab.c:1868
in_atomic():1, irqs_disabled():1
Call Trace:
[<c012a01b>] __might_sleep+0xab/0xd0
[<c012e728>] __call_console_drivers+0x58/0x60
[<c01601f9>] __kmalloc+0x279/0x290
[<e4a11a61>] __mid_kmalloc+0x21/0x80 [mISDN_core]
[<e4976673>] ApplicationConstr+0x33/0x130 [mISDN_capi]
[<e4974887>] RegisterApplication+0xe7/0x230 [mISDN_capi]
[<e492a062>] register_appl+0x62/0x80 [kernelcapi]
[<e492b1d4>] capi20_register+0xd4/0xe0 [kernelcapi]
[<e4939714>] capi_ioctl+0x154/0x800 [capi]
[<c0217220>] devfs_open+0x0/0x250
[<c0180c25>] dentry_open+0x145/0x210
[<c0124781>] kernel_map_pages+0x31/0x70
[<c019cb55>] sys_ioctl+0x205/0x3f0
[<c0181306>] sys_open+0x76/0x90
[<c04f24e7>] syscall_call+0x7/0xb

kcapi: appl 1 up
capi20_put_message: applid 0x1
capi20_put_message: applid 0x1
Unable to handle kernel paging request at virtual address dbd12f04
printing eip:
e497828f
*pde = 0006d063
Oops: 0000 [#2]
PREEMPT DEBUG_PAGEALLOC
CPU: 0
EIP: 0060:[<e497828f>] Not tainted VLI
EFLAGS: 00010292
EIP is at plci_connect_conf+0xf/0x50 [mISDN_capi]
eax: dbd12e84 ebx: 00000001 ecx: e498cf14 edx: dd1fc7d0
esi: dd1fc7d0 edi: 00000001 ebp: daf97e40 esp: daf97e34
ds: 007b es: 007b ss: 0068
Process pppd (pid: 3385, threadinfo=daf96000 task=dae0b950)
Stack: db359f60 dbd12e84 00000001 daf97e6c e4973104 dd1fc7d0 00000001 dbd12e84
daff8e38 dd1fc7a8 e4978280 00000000 dd1fc7d0 00000000 daf97e98 e4973104
dd1fc7d0 00000001 dbd12e84 dbd12e84 daec6e00 e4978180 dbd12e84 dd1fc7a8
Call Trace:
[<e4973104>] FsmEvent+0x84/0xf0 [mISDN_capi]
[<e4978280>] plci_connect_conf+0x0/0x50 [mISDN_capi]
[<e4973104>] FsmEvent+0x84/0xf0 [mISDN_capi]
[<e4978180>] plci_connect_req+0x0/0x100 [mISDN_capi]
[<e497abc2>] AppPlciGetCmsg+0xd2/0x180 [mISDN_capi]
[<e497acbd>] AppPlciSendMessage+0x4d/0xa0 [mISDN_capi]
[<e4976b8b>] ApplicationSendMessage+0x11b/0x360 [mISDN_capi]
[<c0124781>] kernel_map_pages+0x31/0x70
[<e4974ce6>] SendMessage+0x46/0x80 [mISDN_capi]
[<e492b40d>] capi20_put_message+0x19d/0x250 [kernelcapi]
[<e4939436>] capi_write+0x146/0x270 [capi]
[<e49392f0>] capi_write+0x0/0x270 [capi]
[<c01822f0>] vfs_write+0xa0/0x120
[<c018240f>] sys_write+0x3f/0x60
[<c04f24e7>] syscall_call+0x7/0xb

Code: 5d 10 c7 45 0c 01 00 00 00 89 45 08 83 c4 1c 5b 5e 5f c9 e9 04 ae ff ff 8d 74 26 00 55 89 e5 83 ec 0c 8b 45 10 89 5d fc 8b 55 08 <66> 83 b8 80 00 00 00 00 8b 5a 0c 75 10 c7 45 0c 02 00 00 00 8b
<7>capi20_release: applid 0x1
release_appl: applid 0x1
kcapi: appl 1 down

:cry:
Back to top
View user's profile Send private message
alo-alo
n00b
n00b


Joined: 05 Oct 2003
Posts: 74

PostPosted: Sun Dec 28, 2003 8:54 pm    Post subject: Reply with quote

Hm. I don't know anything about programing....but try to disable preemption.
Back to top
View user's profile Send private message
ThomasL
n00b
n00b


Joined: 15 Oct 2003
Posts: 30
Location: Switzerland

PostPosted: Mon Dec 29, 2003 12:44 am    Post subject: Reply with quote

alo-alo wrote:
Hm. I don't know anything about programing....but try to disable preemption.


I had the same messages. It worked for me. Thanks!


But there is another problem now. I use a 2.6.0-kernel with capi-patch and latest mISDN-CVS-snapshot.

Now I load the modules:
Code:

modprobe capi
modprobe mISDN_core
modprobe mISDN_l1
modprobe mISDN_l2
modprobe l3udss1
modprobe mISDN_capi
modprobe mISDN_isac
modprobe avmfritz protocol=2
FATAL: Error inserting avmfritz (/lib/modules/2.6.0-mm1-isdn/kernel/drivers/isdn/hardware/mISDN/avmfritz.ko): No such device


Here is the output from dmesg:
Code:

AVM Fritz PCI/PnP driver Rev. 1.19
mISDN_fcpcipnp: found adapter Fritz!Card PCI at 0000:02:0d.0
fritz card f1a84040 dch f1a840d4 bch1 f1a84250 bch2 f1a843dc
AVM PCI: stat 0x3020a
AVM PCI: Class A Rev 2
AVM PnP: HDLC version 1
mISDN: AVM Fritz!PCI config irq:9 base:0xB000
spin_lock_adr=f1a84064 now(f8c768fe)
busy_lock_adr=f1a84064 now(f8c768fe)
Fritz1 ISAC STAR 48
Fritz1 ISAC MODE 0
Fritz1 ISAC ADF2 0
Fritz1 ISAC ISTA 0
Fritz1 ISAC CIR0 7c
ISAC_init: ISAC version (0): 2086/2186 V1.1
Fritz1 HDLC 1 STA 81000000
Fritz1 HDLC 2 STA 0
kcapi: Controller 1: mISDN1 attached
AVM Fritz!PCI: IRQ 9 count 3
fritz_manager: prim fe580 not handled
kcapi: card 1 "mISDN1" ready.
fritz 1 cards installed
kcapi: notify up contr 1
try_ok(15) try_wait(0) try_mult(0) try_inirq(0)
irq_ok(3) irq_fail(0)
release_l1 id 1
fritz_manager: no channel data f1a840d4 prim f3380 arg f19a9d34
capi_ctr_reseted:
kcapi: card 1 down.
kcapi: Controller 1: mISDN1 unregistered
kcapi: notify down contr 1


Has anyone a solution? I also tested the ebuild from https://forums.gentoo.org/viewtopic.php?t=118242 but the same problem there.

Thanks
Back to top
View user's profile Send private message
alo-alo
n00b
n00b


Joined: 05 Oct 2003
Posts: 74

PostPosted: Mon Dec 29, 2003 8:36 am    Post subject: Reply with quote

ThomasL: you confirm that preemption was the problem? Anything else wasn't changed?
Hm, what about insmod avmfritz protocol=2?
You must enable pnp in your kernel.

zerwas: funk mISDN? Wie ich sehe, hast du etwas falsch gemacht. Hast du alles nach dem howto gemacht?
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Mon Dec 29, 2003 12:07 pm    Post subject: Reply with quote

oh...ok I will but don't sure to know where can disable preemption...
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Mon Dec 29, 2003 12:36 pm    Post subject: Reply with quote

yes done...compiled without preemptible ut returns the same message...

:cry:

CAPI Subsystem Rev 1.21.6.8
capifs: Rev 1.14.6.8
capi20: Rev 1.1.4.1.2.2: started up with major 68 (middleware+capifs)
Modular ISDN Stack core $Revision: 1.20 $
mISDNd: kernel daemon started
mISDNd: test event done
ISDN L1 driver version 1.8
ISDN L2 driver version 1.16
mISDN: DSS1 Rev. 1.19
mISDN Capi 2.0 driver file version 1.11
ISAC module $Revision: 1.13 $
Winbond W6692 PCI driver Rev. 1.6
mISDN_w6692: found adapter Winbond W6692 at 0000:00:0a.0
W6692: Winbond W6692 version (0): W6692 V00
kcapi: Controller 1: mISDN1 attached
w6692: IRQ 11 count 9
kcapi: card 1 "mISDN1" ready.
w6692 1 cards installed
kcapi: notify up contr 1
capi20_register:
Debug: sleeping function called from invalid context at mm/slab.c:1868
in_atomic():0, irqs_disabled():1
Call Trace:
[<c01292c1>] __might_sleep+0x91/0xa0
[<c015c5e5>] __kmalloc+0x275/0x290
[<c0126e8a>] __wake_up_common+0x3a/0x60
[<e4920661>] __mid_kmalloc+0x21/0x80 [mISDN_core]
[<e495b573>] ApplicationConstr+0x33/0x130 [mISDN_capi]
[<e495984c>] RegisterApplication+0xdc/0x210 [mISDN_capi]
[<e498a031>] register_appl+0x31/0x40 [kernelcapi]
[<e498b014>] capi20_register+0xd4/0xe0 [kernelcapi]
[<e49116e4>] capi_ioctl+0x154/0x7f0 [capi]
[<c0204510>] devfs_open+0x0/0xa0
[<c0124141>] kernel_map_pages+0x31/0x70
[<c017b976>] sys_open+0x76/0x90
[<c019491f>] sys_ioctl+0xaf/0x250
[<c04c11ab>] syscall_call+0x7/0xb

kcapi: appl 1 up
capi20_put_message: applid 0x1
capi20_put_message: applid 0x1
Unable to handle kernel paging request at virtual address db577f04
printing eip:
e495d18f
*pde = 0006b063
Oops: 0000 [#1]
DEBUG_PAGEALLOC
CPU: 0
EIP: 0060:[<e495d18f>] Not tainted VLI
EFLAGS: 00010292
EIP is at plci_connect_conf+0xf/0x50 [mISDN_capi]
eax: db577e84 ebx: 00000001 ecx: e4971d14 edx: db5727d0
esi: db5727d0 edi: 00000001 ebp: db835e40 esp: db835e34
ds: 007b es: 007b ss: 0068
Process pppd (pid: 3309, threadinfo=db834000 task=db841950)
Stack: dc488f60 db577e84 00000001 db835e6c e4958104 db5727d0 00000001 db577e84
db970e38 db5727a8 e495d180 00000000 db5727d0 00000000 db835e98 e4958104
db5727d0 00000001 db577e84 db577e84 db575e00 e495d080 db577e84 db5727a8
Call Trace:
[<e4958104>] FsmEvent+0x84/0xf0 [mISDN_capi]
[<e495d180>] plci_connect_conf+0x0/0x50 [mISDN_capi]
[<e4958104>] FsmEvent+0x84/0xf0 [mISDN_capi]
[<e495d080>] plci_connect_req+0x0/0x100 [mISDN_capi]
[<e495fac2>] AppPlciGetCmsg+0xd2/0x180 [mISDN_capi]
[<e495fbbd>] AppPlciSendMessage+0x4d/0xa0 [mISDN_capi]
[<e495ba8b>] ApplicationSendMessage+0x11b/0x360 [mISDN_capi]
[<c0124141>] kernel_map_pages+0x31/0x70
[<e4959c56>] SendMessage+0x46/0x80 [mISDN_capi]
[<e498b24d>] capi20_put_message+0x19d/0x250 [kernelcapi]
[<e4911406>] capi_write+0x146/0x270 [capi]
[<e49112c0>] capi_write+0x0/0x270 [capi]
[<c017c59a>] vfs_write+0xaa/0x120
[<c017c6af>] sys_write+0x3f/0x60
[<c04c11ab>] syscall_call+0x7/0xb

Code: 5d 10 c7 45 0c 01 00 00 00 89 45 08 83 c4 1c 5b 5e 5f c9 e9 04 af ff ff 8d 74 26 00 55 89 e5 83 ec 0c 8b 45 10 89 5d fc 8b 55 08 <66> 83 b8 80 00 00 00 00 8b 5a 0c 75 10 c7 45 0c 02 00 00 00 8b
<7>capi20_release: applid 0x1
release_appl: applid 0x1
kcapi: appl 1 down
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Mon Dec 29, 2003 12:39 pm    Post subject: Reply with quote

am going to compile without page_alloc...because don't know what to do now...
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Mon Dec 29, 2003 1:13 pm    Post subject: Reply with quote

YES!!!!

i get the IP !! :)
but can't ping anything...
my /etc/conf.d/net:

iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
gateway="eth0/192.168.0.2"
iface_ippp0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
gateway="ippp0/192.168.0.2"
Back to top
View user's profile Send private message
alo-alo
n00b
n00b


Joined: 05 Oct 2003
Posts: 74

PostPosted: Mon Dec 29, 2003 2:18 pm    Post subject: Reply with quote

Oo, you are doing something wrong. mISDN communicates over /dev/ppp0. You don't need /etc/conf.d nor any other init.d script.

Perhaps you must have pap-secrets and chap-secrets files in /etc/ppp. In both add:
"<username>" * "<password>"

Don't forget to add defaulroute to /etc/ppp/peers/isdn/arcor.

Also see: http://rcum.uni-mb.si/~uvp00845b
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Mon Dec 29, 2003 4:20 pm    Post subject: Reply with quote

yes I have all the default settings (ipcp-accept-local / remote )...the isp gives me the IP...perhaps missed other few configs for dynamic ip? Or have to # route add $omething??
Sorry but never connected to isps with pppd by now (only dhcpcd eth0) :) , so I think to miss something..but don't know what..
I followed all the steps of (your?) tutorial...but can't ping having:


ppp0 Link encap:Point-to-Point Protocol
inet addr:151.yy.168.xxx P-t-P:151.yy.143.xxx Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:125 (125.0 b) TX bytes:61 (61.0 b)
Back to top
View user's profile Send private message
ThomasL
n00b
n00b


Joined: 15 Oct 2003
Posts: 30
Location: Switzerland

PostPosted: Mon Dec 29, 2003 6:16 pm    Post subject: Reply with quote

alo-alo wrote:
ThomasL: you confirm that preemption was the problem? Anything else wasn't changed?
Hm, what about insmod avmfritz protocol=2?
You must enable pnp in your kernel.


Besten Dank. Hat prima geklappt. Dass man PnP aktivieren muss war mir nicht klar. (ebensowenig hab ich gesehen, dass es ein deutsches Forum ist :-))

Ich hatte nich genau den selben fehler mit "preemption enabled", jedoch was sehr ähnliches. Auch eine "Unable to handle kernel paging request"-Meldung. Details dazu hab ich leider nicht mehr. Aus irgendeinem sonderbaren Grund sind diese Meldungen nicht im log-file.

Inzwischen läuft bei mir alles mit dem 2.6-Kernel. Besten Dank für deine Hilfe.
Back to top
View user's profile Send private message
ThomasL
n00b
n00b


Joined: 15 Oct 2003
Posts: 30
Location: Switzerland

PostPosted: Mon Dec 29, 2003 7:06 pm    Post subject: Reply with quote

alo-alo wrote:
ThomasL: you confirm that preemption was the problem? Anything else wasn't changed?
Hm, what about insmod avmfritz protocol=2?
You must enable pnp in your kernel.


Das war's! PnP hat gefehlt. Und ich hab noch nicht mal gesehen, dass das hier ein deutsches Forum ist :-)

Wieder bin ich einen Schritt weiter. Der Treiber läuft und hat sich auch beim capi-system registriert.

Gleich noch eine Frage. Bisher verwendete ich immer capi4k-utils um Faxe zu empfangen. Leider lässt sich auch das aktuelle capi4k-utils-20030616.ebuild nicht richtig installieren. Kriege bei verschiedenen Modulen diesen Fehler:
Code:
configure: error: Missing linux/capi.h. Kernel source installed?

Ich konnte zwar von Hand den Fax-Teil der capi-utils installieren. (make config, alles ausser Fax deaktiviert, make)
Gibt es eine schönere Lösung? Bzw. womit versendet ihr eure Faxe?

Besten Dank
Back to top
View user's profile Send private message
alo-alo
n00b
n00b


Joined: 05 Oct 2003
Posts: 74

PostPosted: Mon Dec 29, 2003 11:33 pm    Post subject: Reply with quote

Vielleicht ln -sf dein_linux_source linux (in /usr/src natuerlich)?

Bei mir:
sudo emerge /usr/portage/net-dialup/capi4k-utils/capi4k-utils-20030616.ebuild

Running configure in capi20 ...

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe ) works... yes
checking whether the C compiler (gcc -O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for object suffix... (cached) o
checking for sed... /bin/sed
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
checking for linux/capi.h... yes
checking for select... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
Back to top
View user's profile Send private message
Giuly
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 138
Location: Bremen - Germany

PostPosted: Tue Dec 30, 2003 3:18 am    Post subject: Reply with quote

Also, ich versuche es nun auch :)
Wie ist dann denn mit der Kanalbündelung?
Kann man die wärend der Verbindung ab/anschalten?
Kann mann die ÜBERHAUPT ab/anschalten?

MfG
Giuly :o


Edit:
ich bekomme beim Laden der Module ein "Error inserting 'avmfritz.ko': -1 Unknown symbol in module"
und bei pppd call ein "pppd: /usr/lib/pppd/2.4.1/userpass.so: cannot open shared object file: No such f ile or directory
pppd: Couldn't load plugin userpass.so".
Weiß jemadn wie man dsa fixt?
_________________
dunno
Back to top
View user's profile Send private message
alo-alo
n00b
n00b


Joined: 05 Oct 2003
Posts: 74

PostPosted: Tue Dec 30, 2003 8:20 am    Post subject: Reply with quote

Du musst capi4k-utils emergen.
Was die Kanalbuendelung betrifft, bei mir hat es nicht geklappt. Ich warte auf die Antwort von Karsten Keil.
Back to top
View user's profile Send private message
ThomasL
n00b
n00b


Joined: 15 Oct 2003
Posts: 30
Location: Switzerland

PostPosted: Tue Dec 30, 2003 4:09 pm    Post subject: Reply with quote

Giuly: Das Problem mit den unbekannten Symbolen hatte ich auch. Das avmfritz-Modul verwendet die Makros sti, save_flags und restore_flags. Diese Makros wurden im 2.6er Kernel offiziell abgeschafft. Bei Systemen OHNE SMP (Mehrprozessor-Support) sind die Makros noch enthalten.
Du musst also deinen Kernel ohne SMP-Support neu übersetzen. Kontrolliere aber zuerst mit "dmesg", ob es wirklich diese Symbole sind.
Falls du ein PC mit Hyperthreading (oder ein echtes Mehrprozessorsystem) hast, kannst du danach aber nicht mehr die volle Leistung brauchen.
Details findest du unter "Documentation/cli-sti-removal.txt" im Kernel-Source-Tree.

alo-alo: Ich hatte die linux-headers-2.6.0 installiert. Vermutlich hast du noch die alten. Mit den Alten klappte es bei mir auch mit dem Übersetzen. Funktionieren tuts trotzdem nicht. Zwar kann ich capifaxrcvd starten wie gewohnt, jedoch kommen folgende Errors (in dmesg). Funktioneren tut's nicht.

Code:

capi20_register:
Debug: sleeping function called from invalid context at mm/slab.c:1868
in_atomic():0, irqs_disabled():1
Call Trace:
 [<c011dec3>] __might_sleep+0x92/0x9f
 [<c013d991>] __kmalloc+0x88/0x8f
 [<f8c487f5>] __mid_kmalloc+0x21/0x81 [mISDN_core]
 [<f8c9b8df>] ApplicationConstr+0x33/0x12b [mISDN_capi]
 [<f8c9a365>] RegisterApplication+0x76/0xba [mISDN_capi]
 [<f8c1f043>] register_appl+0x43/0x4e [kernelcapi]
 [<f8c1fafa>] capi20_register+0xd4/0xd6 [kernelcapi]
 [<f8c2c3be>] capi_ioctl+0x158/0x850 [capi]
 [<c014ee3b>] dentry_open+0x132/0x1c4
 [<c014ed07>] filp_open+0x62/0x64
 [<c015fc04>] sys_ioctl+0xac/0x228
 [<c038ae9b>] syscall_call+0x7/0xb

kcapi: appl 1 up
capi20_put_message: applid 0x1
capi20_put_message: applid 0x1
capi20_put_message: applid 0x1
mISDN: INTERNAL ERROR in drivers/isdn/hardware/mISDN/app_plci.c:428
fritz_manager: prim f1880 not handled
capi20_put_message: applid 0x1
Fritz1 B2 ch1 invalid frame 0x11729
Fritz1 B2 ch1 invalid frame 0x11521
capi20_put_message: applid 0x1
capi20_put_message: applid 0x1
capi20_release: applid 0x1
release_appl: applid 0x1
kcapi: appl 1 down


Denke ich werde mir ein externes ISDN-Modem mit FAX-Support beschaffen müssen oder kennt einer von euch eine Software, die funktioniert? Ich muss nur Faxe empfangen können. Senden brauch ich nicht.
Back to top
View user's profile Send private message
Giuly
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 138
Location: Bremen - Germany

PostPosted: Tue Dec 30, 2003 4:52 pm    Post subject: Reply with quote

ich bekomme das:
Code:
avmfritz: Unknown symbol __mid_alloc_skb
avmfritz: Unknown symbol mISDN_register
avmfritz: Unknown symbol restore_flags
avmfritz: Unknown symbol ISAC_init
avmfritz: Unknown symbol ISAC_interrupt
avmfritz: Unknown symbol __mid_kmalloc
avmfritz: Unknown symbol save_flags
avmfritz: Unknown symbol ISAC_l1hw
avmfritz: Unknown symbol ISAC_free
avmfritz: Unknown symbol __mid_kfree
avmfritz: Unknown symbol mISDN_unregister
avmfritz: Unknown symbol sti
avmfritz: Unknown symbol ISAC_clear_pending_ints

beim insmod von avmfritz.ko

Edit: Ich hab SMP ausgemacht und übersetzte den Kernel jetzt neu.
_________________
dunno
Back to top
View user's profile Send private message
ThomasL
n00b
n00b


Joined: 15 Oct 2003
Posts: 30
Location: Switzerland

PostPosted: Tue Dec 30, 2003 5:23 pm    Post subject: Reply with quote

Giuly wrote:
ich bekomme das:
Code:
avmfritz: Unknown symbol __mid_alloc_skb
avmfritz: Unknown symbol mISDN_register
avmfritz: Unknown symbol restore_flags
avmfritz: Unknown symbol ISAC_init
avmfritz: Unknown symbol ISAC_interrupt
avmfritz: Unknown symbol __mid_kmalloc
avmfritz: Unknown symbol save_flags
avmfritz: Unknown symbol ISAC_l1hw
avmfritz: Unknown symbol ISAC_free
avmfritz: Unknown symbol __mid_kfree
avmfritz: Unknown symbol mISDN_unregister
avmfritz: Unknown symbol sti
avmfritz: Unknown symbol ISAC_clear_pending_ints

beim insmod von avmfritz.ko


restore_flags, save_flags und sti sollten danach weg sein. Die anderen Meldungen kommen vermutlich daher, dass du die mISDN-Module noch nicht geladen hast.
Eine Anleitung dazu ist am Anfang des Threads.
Back to top
View user's profile Send private message
Giuly
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 138
Location: Bremen - Germany

PostPosted: Tue Dec 30, 2003 6:10 pm    Post subject: Reply with quote

Die Module gehen jetzt alle (Ich hab SMP ausgemacht)
ABER:
Code:
root@CampiII root # pppd call isdn/arcor
pppd: /usr/lib/pppd/2.4.1/userpass.so: cannot open shared object file: No such file or directory
pppd: Couldn't load plugin userpass.so


Edit: capi4k-utils gemerged, nun das:
Code:
root@CampiII giuly # pppd call isdn/arcor
Plugin userpass.so loaded.
userpass: $Revision: 1.4 $
Plugin capiplugin.so loaded.
capiplugin: $Revision: 1.32 $
capiconn:  1.7
pppd: pppd is unable to open the /dev/ppp device.
You need to create the /dev/ppp device node by
executing the following command as root:
        mknod /dev/ppp c 108 0
 
root@CampiII giuly #  mknod /dev/ppp c 108 0
root@CampiII giuly # pppd call isdn/arcor
Plugin userpass.so loaded.
userpass: $Revision: 1.4 $
Plugin capiplugin.so loaded.
capiplugin: $Revision: 1.32 $
capiconn:  1.7
pppd: This system lacks kernel support for PPP.  This could be because
the PPP kernel module could not be loaded, or because PPP was not
included in the kernel configuration.  If PPP was included as a
module, try `/sbin/modprobe -v ppp'.  If that fails, check that
ppp.o exists in /lib/modules/`uname -r`/net.
See README.linux file in the ppp distribution for more details.
 
root@CampiII giuly # /sbin/modprobe -v ppp
FATAL: Module ppp not found.

_________________
dunno
Back to top
View user's profile Send private message
alo-alo
n00b
n00b


Joined: 05 Oct 2003
Posts: 74

PostPosted: Tue Dec 30, 2003 7:12 pm    Post subject: Reply with quote

Beim Faxen kann ich leider nicht helfen, ich brauche es nicht. Ich hab keine Ahnung, ob das Faxen funktioniert.

Ihr MUSST CAPI installieren sonnst wird pppd nicht arbeiten. Die Version aus dem Jahr 2003 ist besser. Wie ich sehe einige koennen es (2002) garnicht kompilieren.

Manhmal ist es gut automake, autoconf und libtools updaten.

PS: ist vielleicht was fuer Faxen in mISDNUser drinn?
Back to top
View user's profile Send private message
Giuly
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 138
Location: Bremen - Germany

PostPosted: Tue Dec 30, 2003 8:00 pm    Post subject: Reply with quote

Also ich hab noch PPP rein gemacht und neu übersetzt. Jetzt gehts.
nur brauch ich jetzt hilfe, was jetzt machen muss (Route, IFConfig, ...).
_________________
dunno
Back to top
View user's profile Send private message
alo-alo
n00b
n00b


Joined: 05 Oct 2003
Posts: 74

PostPosted: Tue Dec 30, 2003 8:07 pm    Post subject: Reply with quote

Ich hoffe du hast ppp sync gemacht, nicht async. Auf http://rcum.uni-mb.si/uvp00845b steht alles. Und sehe diesen Topic. Alles. Kein brauchst kein ifconfig, router, nichts. Lokales routing macht defaultroute in isdn/arcor.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum