With an AVM B1 PCI interface and the kernel configuration containing this: # ISDN device "i4bcapi" device iavc device isic device "i4bq921" device "i4bq931" device "i4b" device "i4btrc" 4 device "i4bctl" device "i4brbch" 4 device "i4btel" 4 device "i4bipr" 4 On boot, the card is detected but the iavc driver fails to attach: iavc0: <AVM B1 PCI> port 0xd800-0xd81f,0xd400-0xd43f irq 11 at device 13.0 on pci0 iavc0: failed: rid 0x10 is ioport, requested 3 iavc0: can't allocate memory region device_attach: iavc0 attach returned 6 Though this happens, the driver seems to stay attached and shows up in pciconf: iavc0@pci0:13:0: class=0x028000 card=0x00000000 chip=0x07001244 rev=0x00 hdr=0x00 vendor = 'AVM AUDIOVISUELLES MKTG & Computer GmbH' device = 'B1 ISDN controller' class = network Full kernel config can be found at http://www.thiemo.net/projects/mygiea/kernconf-isdn full dmesg output at http://www.thiemo.net/projects/mygiea/dmesg-isdn (dirty root device seen in that dmesg came from doing "isdndebug" in the state described above - system just hung up) Fix: Unknown to me. How-To-Repeat: Have ISDN B1 PCI card, try to use it
I have for further experiments disabled the SYS_RES_MEMORY allocation routine in the iavc_pci_attach() routine (commented out everything between "use the memory mapped DMA controller" and "do some detection"). With this changed driver, the driver did attach. Upon starting of isdnd, the firmware could not be uploaded to the interface because: [ ... ] Apr 29 19:18:30 mygiea kernel: iavc0: firmware loaded, wait for ACK .... Apr 29 19:18:30 mygiea kernel: iavc0: loading failed, bad ack = 75 This is actually RECEIVE_POLLDWORD instead of the RECEIVE_POLL expected when not using DMA, so I changed the check for this in iavc_lli.c to check for the return code we receive. This way, isdnd at least states it had uploaded the firmware correctly. All I checked so far was if isdnd would somehow show incoming calls, which did not work. Further investigation should be done here. My current theory is that I have an older B1 card which not yet supports DMA (bought it on eBay), and behaves different from the officially supported B1 PCI V4. -- Query a PGP key server (e.g. http://www.pgp.net/) for my public key 41068629. Strange sender address? Please see http://www.thiemo.net/misc/list-mail.shtml
Responsible Changed From-To: freebsd-bugs->freebsd-isdn over to ISDN mailinglist
State Changed From-To: open->suspended i cannot reproduce this bug here, and due to the fact that c4b is close to hitting the tree i will not put too much work into this anymore.
Hi, is this still relevant to you? -- Bjoern A. Zeeb Stop bit received. Insert coin for new game.
State Changed From-To: suspended->feedback See if we'll get feedback or if we can close this.
Responsible Changed From-To: freebsd-isdn->bz See if we'll get feedback or if we can close this.
State Changed From-To: feedback->closed Feedback timeout (and I4B had been removed from HEAD).