From owner-freebsd-isdn Tue Nov 30 9:35:44 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from harvey.aball.de (harvey.aball.de [212.41.160.46]) by hub.freebsd.org (Postfix) with SMTP id 8E4F114E3F for ; Tue, 30 Nov 1999 09:35:32 -0800 (PST) (envelope-from turbocat.de!dave@harvey.aball.de) Received: by harvey.aball.de (Smail3.1.28.1 #11) id m11srBS-000NcIC; Tue, 30 Nov 99 18:35 MET Received: from cat.turbocat.de (cat.turbocat.de [212.41.163.194]) by alice.turbocat.de (8.8.8/8.8.8) with ESMTP id SAA18002; Tue, 30 Nov 1999 18:35:04 +0100 (CET) Received: (from dave@localhost) by cat.turbocat.de (8.8.5/8.7.3) id SAA00472; Tue, 30 Nov 1999 18:35:04 +0100 (MET) Message-Id: <199911301735.SAA00472@cat.turbocat.de> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 4.2mach v148) Received: by NeXT.Mailer (1.148) From: David Wetzel Date: Tue, 30 Nov 99 18:35:03 +0100 To: ISDN-List Subject: Fritz! on NetBSD? Cc: garyj@muc.de Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Folks, I build a kernel for a new box: (....) options AVM_A1_PCI # AVM Fritz!Card (PCI Version) isic* at pci? ################## # ISDN user land devices, drivers and pseudo-devices. # All these are needed, but you may adjust the count of the # pseudo-devices. # pseudo-device "i4b" # userland driver to do ISDN tracing pseudo-device "i4btrc" 2 # userland driver to control the whole thing pseudo-device "i4bctl" # userland driver for access to raw B channel pseudo-device "i4brbch" 4 # userland driver for telephony pseudo-device "i4btel" 2 # network driver for IP over raw HDLC ISDN options IPR_VJ # compile support for VJ compression pseudo-device "i4bipr" 2 # synchronous PPP over ISDN pseudo-device i4bisppp 2 this happens, when I boot: orange# dmesg NetBSD 1.4.1 (OVERKILL) #1: Tue Nov 30 17:01:06 PST 1999 root@orange:/usr/src/sys/arch/i386/compile/OVERKILL cpu0: family 6 model 7 step 3 cpu0: Intel Pentium III (686-class) real mem = 133758976 avail mem = 122376192 using 1658 buffers containing 6791168 bytes of memory mainbus0 (root) pci0 at mainbus0 bus 0: configuration mode 1 pci0: i/o enabled, memory enabled pchb0 at pci0 dev 0 function 0 pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03) Intel 82443BX AGP Interface (PCI bridge, revision 0x03) at pci0 dev 1 function 0 not configured pcib0 at pci0 dev 7 function 0 pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02) Intel 82371AB IDE controller (PIIX4) (IDE mass storage, interface 0x80, revision 0x01) at pci0 dev 7 function 1 not configured Intel 82371AB USB Host Controller (PIIX4) (USB serial bus, revision 0x01) at pci0 dev 7 function 2 not configured Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3 not configured isic0 at pci0 dev 8 function 0: Fritz!Card isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) isic0: interrupting at irq 11 de0 at pci0 dev 9 function 0 de0: interrupting at irq 10 de0: 21143 [10-100Mb/s] pass 4.1 (invalid EESPROM checksum) de0: address 00:40:c7:99:66:42 ncr0 at pci0 dev 10 function 0: ncr 53c895 fast40 wide scsi ncr0: interrupting at irq 5 ncr0: minsync=10, maxsync=137, maxoffs=31, 128 dwords burst, large dma fifo ncr0: single-ended, open drain IRQ driver, using on-chip SRAM ncr0: restart (scsi reset). scsibus0 at ncr0: 16 targets, 8 luns per target sd0 at scsibus0 targ 0 lun 0: SCSI2 0/direct fixed sd0(ncr0:0:0): WIDE SCSI (16 bit) enabled sd0(ncr0:0:0): 40.0 MB/s (50 ns, offset 15) sd0: 4357MB, 8387 cyl, 5 head, 212 sec, 512 bytes/sect x 8925000 sectors isa0 at pcib0 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo npx0 at isa0 port 0xf0-0xff: using exception 16 pc0 at isa0 port 0x60-0x6f irq 1: color pc0: console fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec biomask 60 netmask c60 ttymask c62 i4b: ISDN call control device attached i4btrc: 2 ISDN trace device(s) attached i4bctl: ISDN system control port attached i4brbch: 4 raw B channel access device(s) attached i4btel: 2 ISDN telephony interface device(s) attached i4bipr: 2 IP over raw HDLC ISDN device(s) attached (VJ header compression) i4bisppp: 2 ISDN SyncPPP device(s) attached de0: enabling 10baseT port boot device: sd0 root on sd0a dumps on sd0b Looks good, but: orange# isdnd orange# Nov 30 17:31:23 orange isdnd[224]: ERR main: cannot open /dev/i4b: Operation not supported by device To compile the kernel, I Did this (fingers crossed): orange# cc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DSHMMAXPGS="0x400" -DFIFO -DNMBCLUSTERS="0x800" -DAVM_A1_PCI -DIPR_VJ -DMAXUSERS=64 -D_KERNEL -Di386 -c ../../../../i4b/layer1/i4b_avm_fritz_pci.c ../../../../i4b/layer1/i4b_avm_fritz_pci.c: In function `avma1pp_hscx_intr': ../../../../i4b/layer1/i4b_avm_fritz_pci.c:1203: warning: implicit declaration of function `isic_hscx_fifo' ../../../../i4b/layer1/i4b_avm_fritz_pci.c: At top level: ../../../../i4b/layer1/i4b_avm_fritz_pci.c:1655: warning: no previous prototype for `isic_hscx_fifo' ../../../../i4b/layer1/i4b_avm_fritz_pci.c:144: warning: `avma1pp_fifo' declared `static' but never defined Has somebody else found this problem? --- _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Fax +49 33056 82835 NeXTmail dave@turbocat.de (______) http://www.turbocat.de/ DEVELOPMENT * CONSULTING * ADMINISTRATION To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message