Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 10:29:26 -0700 (PDT)
From:      Bill Fenner <fenner@research.att.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/21624: trap in gusc_attach
Message-ID:  <200009281729.e8SHTQ900462@fenestro.attlabs.att.com>

next in thread | raw e-mail | index | archive | help

>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: <Synth & Codec> can't assign resources
gusc0: <Gravis UltraSound Plug & Play OPL> at port 0x388-0x389 irq 5 on isa0
gusc1: <Gravis UltraSound Plug & Play MIDI> 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: <Synth & Codec> can't assign resources
adv1: Invalid baseport of 0x168 specified. Neerest valid baseport is 0x190.  Fai
ling probe.
unknown0: <Generic ESDI/IDE/ATA controller> 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: <Game Port> at port 0x201 on isa0
adv1: Invalid baseport of 0x388 specified. Neerest valid baseport is 0x330.  Fai
ling probe.
unknown2: <SB Digital Audio> at port 0x388-0x389 irq 5 on isa0
unknown: <GM Music> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009281729.e8SHTQ900462>