From owner-freebsd-bugs Thu Sep 28 10:30:22 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 782CD37B42C for ; Thu, 28 Sep 2000 10:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA47654; Thu, 28 Sep 2000 10:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fenestro.attlabs.att.com (d25.luna.sunset.net [209.209.28.25]) by hub.freebsd.org (Postfix) with ESMTP id 53A8C37B424 for ; Thu, 28 Sep 2000 10:29:28 -0700 (PDT) Received: (from fenner@localhost) by fenestro.attlabs.att.com (8.11.0/8.9.3) id e8SHTQ900462; Thu, 28 Sep 2000 10:29:26 -0700 (PDT) (envelope-from fenner) Message-Id: <200009281729.e8SHTQ900462@fenestro.attlabs.att.com> Date: Thu, 28 Sep 2000 10:29:26 -0700 (PDT) From: Bill Fenner Reply-To: fenner@research.att.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/21624: trap in gusc_attach Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21624 >Category: i386 >Synopsis: trap in gusc_attach >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 28 10:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Bill Fenner >Release: FreeBSD 4.1.1-STABLE i386 >Organization: AT&T Labs - Research >Environment: 4.1.1-STABLE, cvsup'd on September 26th. Ancient Gravis Ultrasound Plug&Play sound card. >Description: gusc_attach() causes panic by calling device_get_parent(0) Boot and trap messages: unknown: can't assign resources gusc0: at port 0x388-0x389 irq 5 on isa0 gusc1: at port 0x330-0x331 irq 10 on isa0 Fatal trap 12 fault virtual address = 0x8 ( == 0->parent ) instruction pointer = 0x8:0xc01913d6 (in device_get_parent()) stack pointer = 0x10:0xc0458ae0 frame pointer = 0x10:0xc0458ae0 ... A hand-copied ddb trace: device_get_parent(0) find_masterdev(c09e4400) +0x4c alloc_resouce(c09e4400) +0x286 gusc_attach + 0x26 I'm a little confused, since I can't actually find a call to device_get_parent() in find_masterdev(). >How-To-Repeat: Boot 4.1.1-STABLE with my Gravis Ultrasound Plug & Play in the machine. >Fix: Disable "device gusc" and "device pcm" from kernel. (Note that this card never successfully probed with 4.0: unknown: can't assign resources adv1: Invalid baseport of 0x168 specified. Neerest valid baseport is 0x190. Fai ling probe. unknown0: at port 0x168-0x16f,0x36e-0x36f irq 11 drq 0 on isa0 adv1: Invalid baseport of 0x201 specified. Neerest valid baseport is 0x210. Fai ling probe. unknown1: at port 0x201 on isa0 adv1: Invalid baseport of 0x388 specified. Neerest valid baseport is 0x330. Fai ling probe. unknown2: at port 0x388-0x389 irq 5 on isa0 unknown: can't assign resources but I'm not sure that probing and then trapping is better =) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message