From owner-freebsd-bugs Mon Jul 15 21:10:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3B9737B400 for ; Mon, 15 Jul 2002 21:10:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1096843E5E for ; Mon, 15 Jul 2002 21:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6G4A1JU091847 for ; Mon, 15 Jul 2002 21:10:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6G4A1gM091846; Mon, 15 Jul 2002 21:10:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BA9A37B400 for ; Mon, 15 Jul 2002 21:01:11 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D160943E42 for ; Mon, 15 Jul 2002 21:01:10 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6G41AOT015424 for ; Mon, 15 Jul 2002 21:01:10 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g6G41A7R015423; Mon, 15 Jul 2002 21:01:10 -0700 (PDT) Message-Id: <200207160401.g6G41A7R015423@www.freebsd.org> Date: Mon, 15 Jul 2002 21:01:10 -0700 (PDT) From: Joshua Lee To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/40636: PCI devices don't share IRQs. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40636 >Category: kern >Synopsis: PCI devices don't share IRQs. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 15 21:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Joshua Lee >Release: 4.6-STABLE >Organization: Plan B Software Labs >Environment: FreeBSD 4.6-STABLE FreeBSD 4.6-STABLE #1: Mon Jul 15 22:05:16 EDT 2002 yid@: /usr/obj/usr/src/sys/PLANB i386 >Description: My PCI modem, a 3COM/USR Peformance Pro, gets IRQ 9 and the equivalent of COM5 (sio4) when configured during bootup. My built-in USB expansion docking station (uhci1) later in the boot-up process request IRQ 9 and is denied it. >How-To-Repeat: An internel PCI modem gets an IRQ, other hardware requesting that IRQ are denied. >Fix: /usr/src/sys/isa/sio.c Change sioattach() From com->irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0ul, ~0ul, 1, RF_ACTIVE); to com->irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0ul, ~0ul, 1, RF_SHAREABLE | RF_ACTIVE); My thanks to Matthew Emmerton (matt@gsicomp.on.ca) for the solution. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message