From owner-freebsd-isdn@FreeBSD.ORG Sun Sep 19 13:17:33 2004 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97BAF16A4CE; Sun, 19 Sep 2004 13:17:33 +0000 (GMT) Received: from clever.eusc.inter.net (clever.eusc.inter.net [213.73.101.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E29343D45; Sun, 19 Sep 2004 13:17:32 +0000 (GMT) (envelope-from msch@snafu.de) Received: from dial-76-027.de.inter.net ([213.73.76.27] helo=current.best-eng.de) by clever.eusc.inter.net with esmtp (Exim 3.36 #4) id 1C91ZC-0001TF-00; Sun, 19 Sep 2004 15:17:22 +0200 Received: from current.best-eng.de (localhost.best-eng.de [127.0.0.1]) by current.best-eng.de (8.13.1/8.13.1) with ESMTP id i8JDHMiF075067; Sun, 19 Sep 2004 15:17:22 +0200 (CEST) (envelope-from msch@snafu.de) Received: from localhost (localhost [[UNIX: localhost]]) by current.best-eng.de (8.13.1/8.13.1/Submit) id i8JDHLrJ075066; Sun, 19 Sep 2004 15:17:21 +0200 (CEST) (envelope-from msch@snafu.de) X-Authentication-Warning: current.best-eng.de: matthias set sender to msch@snafu.de using -f From: Matthias Schuendehuette Organization: Micro$oft-free Zone To: Nate Lawson Date: Sun, 19 Sep 2004 15:17:00 +0200 User-Agent: KMail/1.7 References: <200408141854.38477.msch@snafu.de> <200409121046.02724.msch@snafu.de> <414620DB.9070509@root.org> In-Reply-To: <414620DB.9070509@root.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1579428.Bb0vhrAxB4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200409191517.20614.msch@snafu.de> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: Gary Jennejohn cc: freebsd-isdn@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: ISDN4BSD broken... X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: msch@snafu.de List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2004 13:17:33 -0000 --nextPart1579428.Bb0vhrAxB4 Content-Type: multipart/mixed; boundary="Boundary-01=_NbYTBPAM39DiTxn" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_NbYTBPAM39DiTxn Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Nate, On Tuesday 14 September 2004 00:36, Nate Lawson wrote: > It's probably IRQ routing related. Try changing the check in > acpi_pci_link_is_valid_irq() to this: > > if (link->interrupts[i] =3D=3D irq || AcpiGbl_FADT->SciInt =3D=3D irq) This didn't work, as I already mailed to you. I compared the 'boot -v'-messages of the current BETA4-kernel with the=20 messages of the last working 5.2-CURRENT kernel, and found that with the=20 BETA4-kernel IRQ 10 *is* used for pcib0 and pcib1: Sep 19 09:04:29 current kernel: agp0: mem 0xd0000000-0xd7ffffff at device 0.0 on pci0 Sep 19 09:04:29 current kernel: agp0: Reserved 0x8000000 bytes for rid=20 0x10 type 3 at 0xd0000000 Sep 19 09:04:29 current kernel: agp0: allocating GATT for aperture of=20 size 256M Sep 19 09:04:29 current kernel: pcib1: at device 1.0 on=20 pci0 Sep 19 09:04:29 current kernel: pcib1: secondary bus 1 Sep 19 09:04:29 current kernel: pcib1: subordinate bus 1 Sep 19 09:04:29 current kernel: pcib1: I/O decode 0xf000-0xfff Sep 19 09:04:29 current kernel: pcib1: memory decode =20 0xe0000000-0xe1ffffff Sep 19 09:04:29 current kernel: pcib1: prefetched decode=20 0xd8000000-0xdfffffff Sep 19 09:04:29 current kernel: pci1: on pcib1 Sep 19 09:04:29 current kernel: pci1: physical bus=3D1 Sep 19 09:04:29 current kernel: map[10]: type 1, range 32, base=20 e0000000, size 24, enabled Sep 19 09:04:29 current kernel: pcib1: device (null) requested decoded=20 memory range 0xe0000000-0xe0ffffff Sep 19 09:04:29 current kernel: map[14]: type 3, range 32, base=20 d8000000, size 27, enabled Sep 19 09:04:29 current kernel: pcib1: device (null) requested decoded=20 memory range 0xd8000000-0xdfffffff Sep 19 09:04:29 current kernel: pcib0: matched entry for 0.1.INTA (src=20 \_SB_.PCI0.LNKA) Sep 19 09:04:29 current kernel: pcib0: possible interrupts: 1 3 4 5 =20 6 7 10 11 12 14 15 Sep 19 09:04:29 current kernel: ACPI PCI link arbitrated settings: Sep 19 09:04:29 current kernel: \_SB_.PCI0.LNKA (references 8, priority=20 175018): Sep 19 09:04:29 current kernel: interrupts: 10 5 11 7 =20 6 4 3 12 15 14 1 Sep 19 09:04:29 current kernel: penalty: 1280 1330 2720 6280 6280 =20 6280 6280 6360 51280 51280101280 Sep 19 09:04:29 current kernel: atpic: Programming IRQ10 as level/low Sep 19 09:04:29 current kernel: pcib0: slot 1 INTA routed to irq 10 via=20 \_SB_.PCI0.LNKA Sep 19 09:04:29 current kernel: pcib1: slot 0 INTA is routed to irq 10 Sep 19 09:04:29 current kernel: found-> vendor=3D0x10de, dev=3D0x0110,=20 revid=3D0xa1 Sep 19 09:04:29 current kernel: bus=3D1, slot=3D0, func=3D0 Sep 19 09:04:29 current kernel: class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0 Sep 19 09:04:29 current kernel: cmdreg=3D0x0007, statreg=3D0x02b0,=20 cachelnsz=3D0 (dwords) Sep 19 09:04:29 current kernel: lattimer=3D0x20 (960 ns), mingnt=3D0x05=20 (1250 ns), maxlat=3D0x01 (250 ns) Sep 19 09:04:29 current kernel: intpin=3Da, irq=3D10 Sep 19 09:04:29 current kernel: powerspec 2 supports D0 D3 current D0 Sep 19 09:04:29 current kernel: pci1: at device 0.0 (no=20 driver attached) Sep 19 09:04:29 current kernel: isab0: at device 7.0 on=20 pci0 Sep 19 09:04:29 current kernel: isa0: on isab0 I think that that should not happen - as far as I know, ISA-Devices=20 should have their IRQ-Line exclusively, isn't it? The IRQ 10 *is* marked in the BIOS for exclusive use for ISA and the=20 device in question is: Sep 19 09:04:29 current kernel: isic0: [GIANT-LOCKED] Sep 19 09:04:29 current kernel: isic0 at port=20 0x580-0x59f,0x180-0x19f,0x980-0x99f,0xd80-0xd9f irq 10 flags 0x3 on isa0 Sep 19 09:04:29 current kernel: isic0: passive stack unit 0 Sep 19 09:04:29 current kernel: isic0: Teles S0/16.3 Sep 19 09:04:29 current kernel: isic0: ISAC 2085 Version A1/A2 or=20 2086/2186 Version 1.1 (IOM-2) Sep 19 09:04:29 current kernel: isic0: HSCX 82525 or 21525 Version 2.1 [...] Sep 19 09:04:29 current kernel: i4bctl: ISDN system control port=20 attached Sep 19 09:04:29 current kernel: i4bisppp: 2 ISDN SyncPPP device(s)=20 attached Sep 19 09:04:29 current kernel: isp0: bpf attached Sep 19 09:04:29 current kernel: isp1: bpf attached Sep 19 09:04:29 current kernel: i4b: ISDN call control device attached Sep 19 09:04:29 current kernel: i4btrc: 1 ISDN trace device(s) attached Sep 19 09:04:29 current kernel: i4brbch: 2 raw B channel access=20 device(s) attached Sep 19 09:04:29 current kernel: i4btel: 2 ISDN telephony interface=20 device(s) attached Sep 19 09:04:29 current kernel: i4bipr: 2 IP over raw HDLC ISDN=20 device(s) attached (VJ header compression) I attach the whole bootlog in case there are some additional=20 informations for you... =2D-=20 Ciao/BSD - Matthias Matthias Schuendehuette , Berlin (Germany) PGP-Key at and ID: 0xDDFB0A5F --Boundary-01=_NbYTBPAM39DiTxn-- --nextPart1579428.Bb0vhrAxB4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBTYbgf1BNcN37Cl8RAr3EAJ9yFMqFkKuuir7zoXIVHIxsMpHGEACcCkgu LVfH6PkzK31j1cSvvW4l4S8= =AkNr -----END PGP SIGNATURE----- --nextPart1579428.Bb0vhrAxB4-- From owner-freebsd-isdn@FreeBSD.ORG Mon Sep 20 18:49:15 2004 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C1B916A4CE for ; Mon, 20 Sep 2004 18:49:15 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 96BAD43D46 for ; Mon, 20 Sep 2004 18:49:14 +0000 (GMT) (envelope-from krylon@gmx.net) Received: (qmail 17091 invoked by uid 65534); 20 Sep 2004 18:49:13 -0000 Received: from i53875223.versanet.de (EHLO neuromancer.krylon.net) (83.135.82.35) by mail.gmx.net (mp002) with SMTP; 20 Sep 2004 20:49:13 +0200 X-Authenticated: #685629 Date: Mon, 20 Sep 2004 20:49:12 +0200 From: Benjamin Walkenhorst To: freebsd-isdn@freebsd.org Message-Id: <20040920204912.7fe13e4e.krylon@gmx.net> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) User-Agent: Sylpheed 0.9.7 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Logging incoming & outgoing phone calls X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 18:49:15 -0000 Hello, After being offline for more than half a year, I finally got DSL. =) Now I still got that AVM A1 (ISA, non-PnP) around, which I would like to use to log phone calls. In case it matters, the machine I want to use for that runs NetBSD 1.6.2. I already recompiled my kernel, the isdn card is detected fine at startup. But isdnd refuses to start, complaining about syntax errors in the configuration. It's been a while since I used I4B, so ... I'm pretty much at a loss here. I hope somebody will be able to help me: My isdn card is detected like this at startup: ---------------------------------------------- isic0 at isa0 port 0x340-0x347 irq 5 isic0: AVM A1 or AVM Fritz!Card isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) isic0: HSCX 82525 or 21525 Version 2.1 BRI 0 at isic0 ---------------------------------------------- When I boot the machine, however, isdnd is not running. I tried starting it manually: ---------------------------------------------- 20:39:48|wintermute:~:: sudo /etc/rc.d/isdnd start Starting isdnd. 20:39:53|wintermute:~:: isdnd: configuration error: syntax error at line 76, token "" isdnd: there were 1 error(s) in the configuration file, terminating! ---------------------------------------------- I copied the example isdnd.rc from /usr/share/examples, for the isdnd.rates file, I used the isdnd.rates.A from the examples. I left isdnd.rc nearly untouched, just disabling monitoring and removing all the entry sections: ---------------------------------------------- system 5 6 # accounting 7 # ---------- 8 9 acctall = on # generate info for everything 10 acctfile = /var/log/isdnd.acct # name & location of accounting file 11 useacctfile = yes # generate accouting info to file 12 13 # monitor 14 # ------- 15 16 monitor-allowed = no # global switch: monitor on/off 17 monitor-port = 451 # default monitor TCP port 18 19 # ratesfile 20 # --------- 21 22 ratesfile = /etc/isdn/isdnd.rates # name & location of rates file 23 24 # regular expression pattern matching 25 # ----------------------------------- 26 27 #regexpr = "connected.*KTS" # look for matches in log messages 28 #regprog = connectKTS # execute program when match is found 29 30 # realtime priority section 31 # ------------------------- 32 33 rtprio = 25 # modify isdnd's process priority 34 ---------------------------------------------- Can anyone tell me what's wrong? Thank you very much in advance, Benjamin -- If cars had improved at [the computer industry's] rate, a Rolls Royce would now cost 10 dollars and get a billion miles per gallon. (Unfortunately, it would probably also have 200-page manual telling how to open the door.) -- Andrew Tanenbaum, "Introduction To Distributed Systems" From owner-freebsd-isdn@FreeBSD.ORG Mon Sep 20 20:30:11 2004 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E12816A4CE for ; Mon, 20 Sep 2004 20:30:11 +0000 (GMT) Received: from peedub.jennejohn.org (Ge4c0.g.pppool.de [80.185.228.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E6BB43D41 for ; Mon, 20 Sep 2004 20:30:10 +0000 (GMT) (envelope-from garyj@jennejohn.org) Received: from jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.13.1/8.11.6) with ESMTP id i8KKU8KP056157; Mon, 20 Sep 2004 22:30:08 +0200 (CEST) (envelope-from garyj@jennejohn.org) Message-Id: <200409202030.i8KKU8KP056157@peedub.jennejohn.org> X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Benjamin Walkenhorst In-Reply-To: Message from Benjamin Walkenhorst <20040920204912.7fe13e4e.krylon@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 20 Sep 2004 22:30:08 +0200 From: Gary Jennejohn cc: freebsd-isdn@FreeBSD.org Subject: Re: Logging incoming & outgoing phone calls X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 20:30:11 -0000 Benjamin Walkenhorst writes: > > When I boot the machine, however, isdnd is not running. > I tried starting it manually: > ---------------------------------------------- > 20:39:48|wintermute:~:: sudo /etc/rc.d/isdnd start > Starting isdnd. > 20:39:53|wintermute:~:: isdnd: configuration error: syntax error at line > 76, token "" isdnd: there were 1 error(s) in the configuration file, > terminating! > ---------------------------------------------- > What exactly is on line 76? Your dump (deleted) doesn't even have that many lines. --- Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org garyj[at]denx.de