From owner-freebsd-current@FreeBSD.ORG Sun Mar 25 17:17:13 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 92B7816A403; Sun, 25 Mar 2007 17:17:13 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a19.g.dreamhost.com (sd-green-bigip-207.dreamhost.com [208.97.132.207]) by mx1.freebsd.org (Postfix) with ESMTP id 7803613C4B9; Sun, 25 Mar 2007 17:17:13 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from [10.0.1.2] (68-184-120-224.dhcp.smyr.ga.charter.com [68.184.120.224]) by spunkymail-a19.g.dreamhost.com (Postfix) with ESMTP id 6AA1E1022B; Sun, 25 Mar 2007 10:17:10 -0700 (PDT) Message-ID: <4606AE95.6010606@cyberwang.net> Date: Sun, 25 Mar 2007 13:17:09 -0400 From: Sean Bryant User-Agent: Thunderbird 1.5.0.10 (X11/20070313) MIME-Version: 1.0 To: Ariff Abdullah References: <46060D94.2060506@cyberwang.net> <20070325182836.548f3585.ariff@FreeBSD.org> <1174819506.1150.4.camel@jesus.automatvapen.se> <4606946B.7080209@cyberwang.net> <20070325233341.7e31cc8c.ariff@FreeBSD.org> <46069992.40706@cyberwang.net> <20070326001147.7bbc28ed.ariff@FreeBSD.org> In-Reply-To: <20070326001147.7bbc28ed.ariff@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: Panic when loading snd_ich. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2007 17:17:13 -0000 Ariff Abdullah wrote: > On Sun, 25 Mar 2007 11:47:30 -0400 > Sean Bryant wrote: > >> Ariff Abdullah wrote: >> >>> On Sun, 25 Mar 2007 11:25:31 -0400 >>> Sean Bryant wrote: >>> >>> >>>> Joel Dahl wrote: >>>> >>>> >>>>> On Sun, 2007-03-25 at 18:28 +0800, Ariff Abdullah wrote: >>>>> >>>>> >>>>> >>>>>> On Sun, 25 Mar 2007 01:50:12 -0400 >>>>>> Sean Bryant wrote: >>>>>> >>>>>> >>>>>> >>>>>>> It's really strange. >>>>>>> >>>>>>> Ever since I updated to the latest source, loading snd_ich >>>>>>> >>> leads >>>> >>> >>>>> to >> a kernel panic. oich_add_done is where it panics, I don't >>>>> have any >> experience gathering information that might be >>>>> relevant, but if >> anyone wants to look in to the issue i will >>>>> provide and learn >> anything required to resolve the issue >>>>> >>> (not >> having sound is a >> serious issue!) >>> >>>>> >>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> Not having enough debugging informations is a serious issue, >>>>>> >>> too >>> Besides, how do you come up with "oich_add_done" ? >>> >>>>>> >>>>>> >>>>>> >>>>> "ohci_add_done" sounds more likely: >>>>> >>>>> joel@jesus [/usr/src] grep -R add_done * >>>>> sys/dev/usb/ohci.c:static void >>>>> >>> ohci_add_done(ohci_softc_t >> *, ohci_physaddr_t); >>> sys/dev/usb/ohci.c: >> ohci_add_done(sc, done &~ >>> OHCI_DONE_INTRS); >> sys/dev/usb/ohci.c:ohci_add_done(ohci_softc_t >>> *sc, ohci_physaddr_t >> done) sys/dev/usb/ohci.c: >>> panic("ohci_add_done: addr >> 0x%08lx not found", (u_long)done); >>> >>>>> >>>>> >>>>> >>>> That was it! Sorry. >>>> >>>> Ariff, ohci_add_done is on the actual panic line. that's how I >>>> >>> come > up with that. >>> >>>> >>>> >>> So where does the "loading snd_ich cause panic" fits in? Are you >>> saying that it is all about "kldload snd_ich" or panic during >>> boot? >>> >>> >>> >> panic during boot. not when loading the kernel module: >> >> pcm0: port 0xdc00-0xdcff mem 0xd5003000-0xd5003fff >> irq 23 at device 4.0 on pci0 >> pcm0: [ITHREAD] >> pcm0: cannot reset channel 0 >> pcm0: unable to initialize the card >> device_attach: pcm0 attach returned 6 >> >> >> that's what happens when I load the module after everything has >> started. snd_ich worked as of 3/06/07. I decided to give my machine >> an update and the panic is what happened. >> >> >> > > I'm suspecting something more generic. Virtually, nothing is changed > within snd_ich land within that timeframe, except few bug fixes mostly > during detach procedure. > > Besides, your panic source is from USB land, not snd_ich. > > > -- > Ariff Abdullah > FreeBSD > > ... Recording in stereo is obviously too advanced > and confusing for us idiot ***** users :P ........ > That's what I suspected. So I just installed the latest HPS usb stack and it's the same. pcm0: port 0xdc00-0xdcff,0x4400-0x44ff mem 0xd5003000-0xd5003fff irq 23 at device 4.0 on pci0 pcm0: [ITHREAD] pcm0: cannot reset channel 0 pcm0: unable to initialize the card device_attach: pcm0 attach returned 6 With the latest HPS USB stack not sure if that's the same one in HEAD or not. Maybe something is conflicting or some other change has caused the resources to be tied up. That's a really rough guess with no evidence to support it.