CAPI not working correctly on Ubuntu hardy (8.04) and intrepid (8.10)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-restricted-modules-2.6.24 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
Binary package hint: isdnutils
AVM Fritz!Card PCI isn't initialized correctly and CAPI does not work, as no B-Channels are available:
=======
root@srv:~# capiinfo
Number of Controllers : 1
Controller 1:
Manufacturer:
CAPI Version: 2.0
Manufacturer Version: 49.23
Serial Number: 1000001
BChannels: 0
Global Options: 0x00000000
B1 protocols support: 0x00000000
B2 protocols support: 0x00000000
B3 protocols support: 0x00000000
0100
0000
00000000
00000000
00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000
Supplementary services support: 0x000003ff
Hold / Retrieve
Terminal Portability
ECT
3PTY
Call Forwarding
Call Deflection
MCID
CCBS
=======
This happens on Ubuntu hardy with Kernel 2.6.24-12-generic, while it worked under Ubuntu 7.10 (but actually don't remember the kernel version):
=======
mturba@srv:~$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04
mturba@srv:~$ uname -a
Linux srv 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux
mturba@srv:~$ apt-cache policy capiutils
capiutils:
Installed: 1:3.10.
Candidate: 1:3.10.
Version table:
*** 1:3.10.
500 http://
100 /var/lib/
=======
Relevant modules loaded:
=======
root@srv:~# lsmod | grep capi
capi 18880 0
kernelcapi 41044 2 fcpci,capi
capifs 6920 2 capi
=======
/etc/isdn/
=======
[...]
#t1isa t1.t4 DSS1 0x340 9 - 0
#t1pci t1.t4 DSS1 - - - -
fcpci - - - - - -
#fcpcmcia - - - - - -
#fcusb - - - - - -
[...]
=======
=======
root@srv:~# dmesg | grep -i "AVM\|CAPI"
[ 34.748905] CAPI Subsystem Rev 1.1.2.8
[ 34.870687] fcpci: AVM FRITZ!Card PCI driver, revision 0.7.2
[ 34.870697] fcpci: -- 32 bit CAPI driver --
[ 34.872870] fcpci: AVM FRITZ!Card PCI found: port 0xc800, irq 21
[ 37.920432] kcapi: Controller [001]: fcpci-c800-21 attached
[ 37.920438] kcapi: card [001] "fcpci-c800-21" ready.
[ 75.208950] capifs: Rev 1.1.2.3
[ 75.304123] capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
root@srv:~# lspci -vvnnd 1244:0a00
00:0b.0 Network controller [0280]: AVM Audiovisuelles MKTG & Computer System GmbH A1 ISDN [Fritz] [1244:0a00] (rev 02)
Subsystem: AVM Audiovisuelles MKTG & Computer System GmbH FRITZ!Card ISDN Controller [1244:0a00]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 21
Region 0: Memory at ee042000 (32-bit, non-prefetchable) [size=32]
Region 1: I/O ports at c800 [size=32]
root@srv:~# grep "kernel\|udev" /var/log/syslog
Mar 21 13:48:31 srv kernel: [ 1967.173699] CAPI Subsystem Rev 1.1.2.8
Mar 21 13:48:31 srv kernel: [ 1967.203534] capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
Mar 21 13:48:31 srv udevd-event[20290]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv kernel: [ 1967.224223] fcpci: AVM FRITZ!Card PCI driver, revision 0.7.2
Mar 21 13:48:31 srv kernel: [ 1967.224232] fcpci: (fcpci built on Mar 12 2008 at 14:14:30)
Mar 21 13:48:31 srv kernel: [ 1967.224235] fcpci: -- 32 bit CAPI driver --
Mar 21 13:48:31 srv kernel: [ 1967.226100] fcpci: AVM FRITZ!Card PCI found: port 0xc800, irq 21
Mar 21 13:48:31 srv kernel: [ 1967.226110] fcpci: Loading...
Mar 21 13:48:31 srv kernel: [ 1967.226114] fcpci: Driver 'fcpci' attached to fcpci-stack. (152)
Mar 21 13:48:31 srv kernel: [ 1967.453963] fcpci: Stack version 3.11-07
Mar 21 13:48:31 srv udevd-event[20291]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20292]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20293]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20294]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20295]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20296]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20297]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20298]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20299]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20300]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20301]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20302]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20303]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20304]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20305]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20306]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20307]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20308]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20309]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20310]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20311]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20312]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20313]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20314]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20315]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20316]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20317]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20318]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20319]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20320]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv udevd-event[20321]: udev_node_mknod: mknod(/
Mar 21 13:48:31 srv kernel: [ 1967.530935] kcapi: Controller [001]: fcpci-c800-21 attached
Mar 21 13:48:31 srv kernel: [ 1967.530947] kcapi: card [001] "fcpci-c800-21" ready.
Mar 21 13:48:31 srv kernel: [ 1967.532382] fcpci: Loaded.
=======
Please let me know if I can gather any further information regarding this issue.
I can confirm this on hardy with 2.6.24-16-generic. Additionally, when one tries to unload the module or stop capiutils, the kernel oopses and won't do anything regarding module loading/unloading until reboot.