You are not logged in.

#1 2009-12-30 19:54:18

Cirk
Member
From: Cologne / Germany
Registered: 2007-07-02
Posts: 15

Kernel 2.6.32 and fcpci (FritzCard)

Dear archers,

i try to setup a fritzcard on a new soho-server:

[root@syscgn010 ~]# uname -a
Linux syscgn010 2.6.32-ARCH #1 SMP PREEMPT Sat Dec 26 09:02:58 CET 2009 x86_64 Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz GenuineIntel GNU/Linux

but i cant load the fcpci module, neither by hand, nor by "rc.d/capiinit start":

[root@syscgn010 ~]# capiinit start
FATAL: Error inserting fcpci (/lib/modules/2.6.32-ARCH/kernel/drivers/isdn/hardware/avm/fcpci.ko): Device or resource busy
ERROR: failed to load driver fcpci

But syslog tells me this:

[root@syscgn010 ~]# tail -f /var/log/messages.log 
Dec 30 20:42:19 syscgn010 kernel: capifs: Rev 1.1.2.3
Dec 30 20:42:19 syscgn010 kernel: capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
Dec 30 20:42:19 syscgn010 kernel: fcpci: AVM FRITZ!Card PCI driver, revision 0.7.2
Dec 30 20:42:19 syscgn010 kernel: fcpci: (fcpci built on Dec  4 2009 at 17:44:17)
Dec 30 20:42:19 syscgn010 kernel: fcpci: -- 64 bit CAPI driver --
Dec 30 20:42:35 syscgn010 ntpd[3241]: adjusting local clock by 0.620289s
Dec 30 20:46:48 syscgn010 ntpd[3241]: adjusting local clock by 0.525092s
Dec 30 20:46:56 syscgn010 kernel: fcpci: AVM FRITZ!Card PCI driver, revision 0.7.2
Dec 30 20:46:56 syscgn010 kernel: fcpci: (fcpci built on Dec  4 2009 at 17:44:17)
Dec 30 20:46:56 syscgn010 kernel: fcpci: -- 64 bit CAPI driver --

and capiinfo tells me:

[root@syscgn010 ~]# capiinfo
capi not installed - No such device or address (6)

but according lspci, the device is there:

[root@syscgn010 ~]# lspci -v | grep AVM
04:04.0 Network controller: AVM GmbH Fritz!PCI v2.0 ISDN (rev 01)
    Subsystem: AVM GmbH Fritz!PCI v2.0 ISDN

i tried the installation a couple of weeks before, with an older test machine on 32bit - and it worked.

Can anybody point to a direction where to look for a misconfiguration or what can i do anyway to get
the fritzcard working?

anyone out there, who has an advice?

a really tired
cirk :-(

Offline

#2 2009-12-30 21:01:28

spychodelics
Member
Registered: 2009-06-08
Posts: 36

Re: Kernel 2.6.32 and fcpci (FritzCard)

got the same problem here, too!

with kernel 2.6.31 and fcpi its running fine, after the kernelupdate it wont work.


uname -a 
Linux Archlinux 2.6.32-ARCH #1 SMP PREEMPT Sat Dec 26 08:26:17 UTC 2009 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux
/var/log/messages
Dec 30 22:00:13 Archlinux kernel: fcpci: AVM FRITZ!Card PCI driver, revision 0.7.2
Dec 30 22:00:13 Archlinux kernel: fcpci: (fcpci built on Dec  4 2009 at 16:44:42)
Dec 30 22:00:13 Archlinux kernel: fcpci: -- 32 bit CAPI driver --
lspci 
07:07.0 Network controller: AVM GmbH Fritz!PCI v2.0 ISDN (rev 01)

Last edited by spychodelics (2009-12-30 21:04:03)

Offline

#3 2010-01-17 21:19:23

spychodelics
Member
Registered: 2009-06-08
Posts: 36

Re: Kernel 2.6.32 and fcpci (FritzCard)

hi,

avmfritz / isdn is somehow implemented know in the kernel.
In order to solve this problem i had to Blacklist some Modules

MODULES=(!hisax !isdn !capi !capifs !hisax_isac !avmfritz !mISDNipac !mISDNcore)
then fcpci doesnt refuse to load.

hf & gl

Last edited by spychodelics (2010-01-17 21:30:20)

Offline

#4 2010-08-11 20:22:05

spychodelics
Member
Registered: 2009-06-08
Posts: 36

Re: Kernel 2.6.32 and fcpci (FritzCard)

Updated my System, wont work anymore, fcpci module loads, if

rc.conf

MODULES=(... !hisax fcpci !avmfritz !capi ...)

dmesg | grep fcpci

fcpci: AVM FRITZ!Card PCI driver, revision 0.7.2
fcpci: (fcpci built on May 17 2010 at 18:08:34)
fcpci: -- 32 bit CAPI driver --
fcpci 0000:07:07.0: PCI INT A -> Link[APC2] -> GSI 17 (level, low) -> IRQ 17
fcpci: AVM FRITZ!Card PCI found: port 0xe400, irq 17
fcpci: Loading...
fcpci: Driver 'fcpci' attached to fcpci-stack. (152)
fcpci: Stack version 3.11-07
IRQ 17/fcpci: IRQF_DISABLED is not guaranteed on shared IRQs
kcapi: controller [001]: fcpci-e400-17 attached
kcapi: controller [001] "fcpci-e400-17" ready.
fcpci: Loaded.

But capiinit fails with

ERROR: cannot open /dev/capi20 nor /dev/isdn/capi20 - No such file or directory (2)


lsmod

capi                   10585  0
capifs                  2168  1 capi
kernelcapi             30090  2 capi,fcpci
fcpci                 572644  0

Last edited by spychodelics (2010-08-11 20:24:23)

Offline

#5 2010-09-15 14:13:16

spychodelics
Member
Registered: 2009-06-08
Posts: 36

Re: Kernel 2.6.32 and fcpci (FritzCard)

no one, who could help? or am i the only one with this problem?
would be a start knowing, its my fault.

Offline

#6 2010-09-17 15:58:48

Urknaller
Member
Registered: 2010-09-17
Posts: 2

Re: Kernel 2.6.32 and fcpci (FritzCard)

spychodelics wrote:

no one, who could help? or am i the only one with this problem?
would be a start knowing, its my fault.

Try adding the device node manually:
mknod /dev/capi20 c  68 0
chmod 0660 /dev/capi20

then after capiinit it should work smile...

Offline

Board footer

Powered by FluxBB