
Hello! I am trying to get my Fritz!PCI v2.0 with capi running. I am using a custom 2.6.7 kernel. Here is the error: --- # capiinfo capi not installed - No such device or address (6) dmesg: --- HiSax: Linux Driver for passive ISDN cards HiSax: Version 3.5 (module) HiSax: Layer1 Revision 2.46.2.5 HiSax: Layer2 Revision 2.30.2.4 HiSax: TeiMgr Revision 2.20.2.3 HiSax: Layer3 Revision 2.22.2.3 HiSax: LinkLayer Revision 2.59.2.4 hisax_isac: ISAC-S/ISAC-SX ISDN driver v0.1.0 hisax_fcpcipnp: Fritz!Card PCI/PCIv2/PnP ISDN driver v0.0.1 HiSax: Card 1 Protocol EDSS1 Id=fcpcipnp0 (0) HiSax: DSS1 Rev. 2.32.2.3 HiSax: 2 channels added HiSax: MAX_WAITING_CALLS added hisax_fcpcipnp: found adapter Fritz!Card PCI v2 at 0000:02:09.0 ICN-ISDN-driver Rev 1.65.6.8 mem=0x000d0000 icn: (line1) ICN-2B, port 0x320 added Capability LSM initialized capifs: Rev 1.1.2.3 NET: Registered protocol family 17 CAPI Subsystem Rev 1.1.2.8 capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs) b1: revision 1.1.2.2 b1dma: revision 1.1.2.3 b1pci: revision 1.1.2.2 c4: revision 1.1.2.2 HiSax: debugging flags card 1 set to 4 my modules loaded: --- # lsmod Module Size Used by c4 20932 0 b1pci 10304 0 b1dma 17380 1 b1pci b1 25792 3 c4,b1pci,b1dma capi 18752 0 kernelcapi 48768 5 c4,b1pci,b1dma,b1,capi af_packet 22376 2 capifs 5864 2 capi capability 4520 0 commoncap 7200 1 capability icn 25728 1 hisax_fcpcipnp 12000 1 hisax_isac 9044 1 hisax_fcpcipnp hisax 573744 2 hisax_fcpcipnp,hisax_isac isdn 147884 6 icn,hisax slhc 7488 1 isdn eepro100 30700 0 mii 5120 1 eepro100 usbkbd 7424 0 usbcore 114784 1 usbkbd rtc 12760 0 ext2 72392 1 ext3 127144 0 jbd 62264 1 ext3 mbcache 9348 2 ext2,ext3 ide_disk 19264 3 ide_generic 1408 0 piix 13440 1 ide_core 142808 3 ide_disk,ide_generic,piix sd_mod 21728 0 ata_piix 8004 0 libata 41700 1 ata_piix scsi_mod 125004 2 sd_mod,libata unix 28624 8 font 8320 0 vesafb 6656 0 cfbcopyarea 3840 1 vesafb cfbimgblt 3040 1 vesafb cfbfillrect 3776 1 vesafb permissions: --- # ls -alh /dev/capi* crw-rw---- 1 root dialout 68, 0 Oct 11 11:33 /dev/capi20 crw-rw---- 1 root dialout 68, 1 Oct 11 11:33 /dev/capi20.00 crw-rw---- 1 root dialout 68, 2 Oct 11 11:33 /dev/capi20.01 crw-rw---- 1 root dialout 68, 3 Oct 11 11:33 /dev/capi20.02 crw-rw---- 1 root dialout 68, 4 Oct 11 11:33 /dev/capi20.03 crw-rw---- 1 root dialout 68, 5 Oct 11 11:33 /dev/capi20.04 crw-rw---- 1 root dialout 68, 6 Oct 11 11:33 /dev/capi20.05 crw-rw---- 1 root dialout 68, 7 Oct 11 11:33 /dev/capi20.06 crw-rw---- 1 root dialout 68, 8 Oct 11 11:33 /dev/capi20.07 crw-rw---- 1 root dialout 68, 9 Oct 11 11:33 /dev/capi20.08 crw-rw---- 1 root dialout 68, 10 Oct 11 11:33 /dev/capi20.09 crw-rw---- 1 root dialout 68, 11 Oct 11 11:33 /dev/capi20.10 crw-rw---- 1 root dialout 68, 12 Oct 11 11:33 /dev/capi20.11 crw-rw---- 1 root dialout 68, 13 Oct 11 11:33 /dev/capi20.12 crw-rw---- 1 root dialout 68, 14 Oct 11 11:33 /dev/capi20.13 crw-rw---- 1 root dialout 68, 15 Oct 11 11:33 /dev/capi20.14 crw-rw---- 1 root dialout 68, 16 Oct 11 11:33 /dev/capi20.15 crw-rw---- 1 root dialout 68, 17 Oct 11 11:33 /dev/capi20.16 crw-rw---- 1 root dialout 68, 18 Oct 11 11:33 /dev/capi20.17 crw-rw---- 1 root dialout 68, 19 Oct 11 11:33 /dev/capi20.18 crw-rw---- 1 root dialout 68, 20 Oct 11 11:33 /dev/capi20.19 /dev/capi: total 24K drwxr-xr-x 2 root root 0 Oct 12 05:24 . drwxr-xr-x 10 root root 24K Oct 12 05:24 .. Has anyone an idea why its still failing? Thanks, Mario

On Fri, Sep 10, 2004 at 10:47:02AM +0200, suse@bortal.de wrote:
Hello!
I am trying to get my Fritz!PCI v2.0 with capi running. I am using a custom 2.6.7 kernel.
So you must compile km_fritzcapi paket for your kernel setup.
dmesg: --- HiSax: Linux Driver for passive ISDN cards HiSax: Version 3.5 (module)
HiSax has no CAPI20 device. You have to use fcpci module compiled for your kernel. -- Karsten Keil SuSE Labs ISDN development

On Fri, Sep 10, 2004 at 10:47:02AM +0200, suse@bortal.de wrote: So you must compile km_fritzcapi paket for your kernel setup.
You have to use fcpci module compiled for your kernel.
This one? fcpci-suse8.2-03.11.02.tar.gz When i run make (with my 2.6.8-1-386 kernel), i get: ~/fritz# make (cd src.drv; make CARD=fcpci) make[1]: Entering directory `/root/fritz/src.drv' cc -c -DMODULE -D__KERNEL__ -DNDEBUG -D__fcpci__ -DTARGET=\"fcpci\" -O2 -Wall -I /lib/modules/`uname -r`/build/include main.c -o main.o In file included from /lib/modules/2.6.8-1-386/build/include/asm/processor.h:18, from /lib/modules/2.6.8-1-386/build/include/asm/thread_info.h:16, from /lib/modules/2.6.8-1-386/build/include/linux/thread_info.h:21, from /lib/modules/2.6.8-1-386/build/include/asm/uaccess.h:9, from main.c:28: /lib/modules/2.6.8-1-386/build/include/asm/system.h: In function `__set_64bit_var':/lib/modules/2.6.8-1-386/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.6.8-1-386/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.6.8-1-386/build/include/linux/irq.h:20, from /lib/modules/2.6.8-1-386/build/include/asm/hardirq.h:6, from /lib/modules/2.6.8-1-386/build/include/linux/interrupt.h:12, from /lib/modules/2.6.8-1-386/build/include/linux/netdevice.h:512, from defs.h:80, from tools.h:30, from main.c:48: /lib/modules/2.6.8-1-386/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.8-1-386/build/include/asm/hardirq.h:6, from /lib/modules/2.6.8-1-386/build/include/linux/interrupt.h:12, from /lib/modules/2.6.8-1-386/build/include/linux/netdevice.h:512, from defs.h:80, from tools.h:30, from main.c:48: /lib/modules/2.6.8-1-386/build/include/linux/irq.h: At top level: /lib/modules/2.6.8-1-386/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.8-1-386/build/include/linux/irq.h:72, from /lib/modules/2.6.8-1-386/build/include/asm/hardirq.h:6, from /lib/modules/2.6.8-1-386/build/include/linux/interrupt.h:12, from /lib/modules/2.6.8-1-386/build/include/linux/netdevice.h:512, from defs.h:80, from tools.h:30, from main.c:48: /lib/modules/2.6.8-1-386/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /lib/modules/2.6.8-1-386/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function) main.c:67: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'main.c:67: warning: data definition has no type or storage class main.c: In function `inc_use_count': main.c:120: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8-1-386/build/include/linux/module.h:555) main.c: In function `dec_use_count': main.c:121: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8-1-386/build/include/linux/module.h:567)main.c: In function `fritz_init': main.c:151: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8-1-386/build/include/linux/module.h:555) main.c:156: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8-1-386/build/include/linux/module.h:567) main.c:163: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8-1-386/build/include/linux/module.h:567) main.c:170: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8-1-386/build/include/linux/module.h:567) main.c:175: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8-1-386/build/include/linux/module.h:567) make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/root/fritz/src.drv' make: *** [drv] Error 2 Any idea why its missing irq_vectors.h? --- ~/fritz# locate irq_vectors.h /usr/include/asm/mach-default/irq_vectors.h /usr/include/asm/mach-pc9800/irq_vectors.h /usr/include/asm/mach-visws/irq_vectors.h /usr/include/asm/mach-voyager/irq_vectors.h /usr/src/kernel-headers-2.6.8-1/include/asm-i386/mach-default/irq_vectors.h /usr/src/kernel-headers-2.6.8-1/include/asm-i386/mach-visws/irq_vectors.h /usr/src/kernel-headers-2.6.8-1/include/asm-i386/mach-voyager/irq_vectors.h /usr/src/kernel-source-2.6.8/include/asm-i386/mach-default/irq_vectors.h /usr/src/kernel-source-2.6.8/include/asm-i386/mach-visws/irq_vectors.h /usr/src/kernel-source-2.6.8/include/asm-i386/mach-voyager/irq_vectors.h /usr/src/kernel-source-2.6.8/include/asm-um/irq_vectors.h --- Thanks, Mario

Hello.
You have to use fcpci module compiled for your kernel.
This one? fcpci-suse8.2-03.11.02.tar.gz
When i run make (with my 2.6.8-1-386 kernel), i get:
No, SuSE 8.2 had an kernel of the 2.4 series, you need a driver that has been adopted for the new 2.6 series, such as... fcpci-suse9.1-3.11-02.tar.gz ... which can be downloaded from... ftp://ftp.avm.de/cardware/fritzcrd.pci/linux/suse.91/ Best regards, =OF= -- NEU: Bis zu 10 GB Speicher f�r e-mails & Dateien! 1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail
participants (3)
-
Karsten Keil
-
Ole Foskaty
-
suse@bortal.de