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--