linux-avmb1:Fritz!DSL driver unstability

Artyom Tarasenko artyom.tarasenko at lionbioscience.com
Thu Mar 10 17:40:02 CET 2005


Hi,

sorry for writing this in English, I'm afraid I'd make too many errors 
if I write this in German. Feel free to answer in German though, as 
reading is no problem for me.

Now back to  the problem. Under 2.4 kernels I didn't have massive 
problems with stability of  fcdsl module. Usually it crashed not more 
often than once a week, I could live with that. Unfortunately under 
2.6.{8,9,10,11} it crashes much more often. It always happens under high 
network load, when the machine is used by multiple users. I have a 
single CPU machine based on Asus P2b-S motherboard (Intel 440 BX 
chipset), so it's not a SMP related problem.
When it crashes it just hangs my PC without any message in the log. But 
I recompiled the driver with DEBUG=1 option, and see some interesting 
messages:

fcdsl: driver.c(1570): assert (0 != (flags & CARD_PCI_INT_ISASSERTED)) 
failed
fcdsl: driver.c(1589): info (0 == (PEEK (cp->io_base + INT_CTL) & 
CARD_PCI_INT_ASSERT)) failed

This messages are repeated hundried of times, the second one is more 
frequent though. Can anyone recompile the driver with DEBUG=1 option and 
tell me if he also sees this messages?

Recently I reinstalled the card that it's not sharing an interrupt with 
anything else, but it didn't help.

Also I wonder if anyone knows what is the difference between  
CARD_PCI_INT_ASSERT  and CARD_PCI_INT_ISASSERTED flags, defined in 
driver.c? From the code it seems that they should match, and when they 
don't  the first assertion fails...

Any hints?

MfG,
Artyom

P.S. capi4k-utils-2004.10.06-2,

 kernel: CAPI Subsystem Rev 1.1.2.8
 kernel: capifs: Rev 1.1.2.3
 kernel: capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
 kernel: fcdsl: module license 'Proprietary' taints kernel.
 kernel: fcdsl: Base address: e0c17f70
 kernel: fcdsl: Compile time: 14:28:59
 kernel: fcdsl: AVM FRITZ!Card DSL driver, revision 0.4.0
 kernel: fcdsl: fcdsl built on Mar  8 2005 at 14:28:59)
 kernel: PCI: Found IRQ 3 for device 0000:00:0a.0
 kernel: fcdsl: Loading...
 kernel: fcdsl: Interface exchange... (164)
 kernel: fcdsl: Driver 'fcdsl' attached to stack. (164)
 kernel: fcdsl: PCI: AVM FRITZ!Card DSL, dev 5402, irq 3, sdram e3800000 
(8M), mmio e30000
 
 kernel: fcdsl: I/O memory mapped to 0xe0d00000
 kernel: fcdsl: Controller RAM mapped to 0xe0f80000
 kernel: fcdsl: IRQ #3 assigned to fcdsl driver.
 kernel: fcdsl: DMA buffers: rx d7788000 (bus 17788000)
 kernel: fcdsl: DMA buffers: tx d6db4000 (bus 16db4000)
 kernel: fcdsl: Thread[2653] started.
 kernel: fcdsl: Enable little endian mode, writing 0x00000a01 (swapped: 
0x010a0000) to BIU
 
 kernel: fcdsl: reset: BIU_CTL = 0x00000a01
 kernel: fcdsl: stop: BIU_CTL = 0x00000a01
 last message repeated 2 times
 kernel: fcdsl: Peripheral chip reset.
 kernel: fcdsl: Block power down.
 kernel: fcdsl: Reset completed.
 kernel: fcdsl: Test completed.
 kernel: kcapi: Controller 1: fcdsl-e3000000-03 attached
 kernel: fcdsl: Controller 1 (1) --> 0
 kernel: kcapi: Controller 2: fcdsl-e3000000-03 attached
 kernel: fcdsl: Controller 2 (2) --> 1
 kernel: fcdsl: Loaded.
 kernel: fcdsl: PCI driver registered.
 kernel: fcdsl: CAPI driver registered.
 kernel: fcdsl: Starting scheduler thread 'fcdsl_s'...
 kernel: fcdsl: load: size = 626148, align = 64
 kernel: fcdsl: load: rounded size = 658944
 kernel: fcdsl: BIU_CTL = 0x00000a01
 kernel: fcdsl: start: 0: 0x00000a01
 kernel: fcdsl: start: 1: 0x00000201
 kernel: fcdsl: start: 2: 0x00000601
 kernel: fcdsl: Waiting for firmware...
 kernel: fcdsl: Firmware response time: 100 ms.
 kernel: fcdsl: deref: TM 0xe3898010 = e38a5000
 kernel: fcdsl: map: TM 0xe38a5000 mapped to 0xe1025000
 kernel: fcdsl: deref: TM 0xe3898014 = e38a5800
 kernel: fcdsl: map: TM 0xe38a5800 mapped to 0xe1025800
 kernel: fcdsl: Using VCC/VPI/VCI = 0x1/0x1/0x20
 kernel: fcdsl: Version string #0:
 kernel: fcdsl: Library version:    3.11-02
 kernel: fcdsl: Card type:          A1
 kernel: fcdsl: Capabilities:       Add. Service: V.42bis, Fax G3 
Polling, DTMF, GSM, CAPI
 kernel: fcdsl: D-channel protocol: DSS1
 kernel: fcdsl: Version string #1:
 kernel: fcdsl: Library version:    3.11-02
 kernel: fcdsl: Card type:          A1
 kernel: fcdsl: Capabilities:       Add. Service: V.42bis, Fax G3 
Polling, DTMF, GSM, CAPI
 kernel: fcdsl: D-channel protocol: DSS1
 kernel: fcdsl: Thread enabled.
 kernel: kcapi: card 1 "fcdsl-e3000000-03" ready.
 kernel: kcapi: card 2 "fcdsl-e3000000-03" ready.




More information about the linux-avmb1 mailing list