From owner-freebsd-current@FreeBSD.ORG Sun Mar 25 16:12:19 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id C7A6316A400; Sun, 25 Mar 2007 16:12:17 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Mon, 26 Mar 2007 00:11:47 +0800 From: Ariff Abdullah To: Sean Bryant Message-Id: <20070326001147.7bbc28ed.ariff@FreeBSD.org> In-Reply-To: <46069992.40706@cyberwang.net> 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> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__26_Mar_2007_00_11_47_+0800_mZCG0Z6ZQ_1uKcO9" 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 16:12:19 -0000 --Signature=_Mon__26_Mar_2007_00_11_47_+0800_mZCG0Z6ZQ_1uKcO9 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > > =20 > >> Joel Dahl wrote: > >> =20 > >>> On Sun, 2007-03-25 at 18:28 +0800, Ariff Abdullah wrote: > >>> =20 > >>> =20 > >>>> On Sun, 25 Mar 2007 01:50:12 -0400 > >>>> Sean Bryant wrote: > >>>> =20 > >>>> =20 > >>>>> It's really strange. > >>>>> > >>>>> Ever since I updated to the latest source, loading snd_ich > >leads >>>> =20 > >>> 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!) > >>> =20 > >>>>> =20 > >>>>> =20 > >>>> Not having enough debugging informations is a serious issue, > >too >>> Besides, how do you come up with "oich_add_done" ? > >>>> =20 > >>>> =20 > >>> "ohci_add_done" sounds more likely: > >>> > >>> joel@jesus [/usr/src] grep -R add_done * > >>> sys/dev/usb/ohci.c:static void =20 > >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: =20 > >panic("ohci_add_done: addr >> 0x%08lx not found", (u_long)done); > >>> > >>> =20 > >>> =20 > >> That was it! Sorry. > >> > >> Ariff, ohci_add_done is on the actual panic line. that's how I > >come > up with that. > >> > >> =20 > > > > 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: >=20 > 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 >=20 >=20 > 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. >=20 >=20 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 ........ --Signature=_Mon__26_Mar_2007_00_11_47_+0800_mZCG0Z6ZQ_1uKcO9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGBp9Dlr+deMUwTNoRAh/LAKDajeigWPnshI+xPMhOtMOCBe3q2wCgxtDP WXyj3euBbd2+8LkIrUsi0U8= =hoKy -----END PGP SIGNATURE----- --Signature=_Mon__26_Mar_2007_00_11_47_+0800_mZCG0Z6ZQ_1uKcO9--