All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Belay <ambx1@neo.rr.com>
To: Ranjeet Shetye <ranjeet.shetye2@zultys.com>
Cc: Greg KH <greg@kroah.com>, Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, Patrick Mochel <mochel@osdl.org>,
	Jaroslav Kysela <perex@suse.cz>
Subject: Re: [OOPS] Linux-2.6.0-test5-bk
Date: Sat, 13 Sep 2003 19:55:18 +0000	[thread overview]
Message-ID: <20030913195518.GB13402@neo.rr.com> (raw)
In-Reply-To: <1063240611.1327.37.camel@ranjeet-pc2.zultys.com>

On Wed, Sep 10, 2003 at 05:36:51PM -0700, Ranjeet Shetye wrote:
> On Wed, 2003-09-10 at 17:24, Greg KH wrote:
> > On Wed, Sep 10, 2003 at 05:19:05PM -0700, Ranjeet Shetye wrote:
> > > 
> > > Your changes fixed the issue. Thanks a lot for your help. I still get
> > > this call trace, but no more OOPS on bootup.
> > > 
> > > kobject_register failed for Ensoniq AudioPCI (-17)
> > > Call Trace:
> > >  [<c026f45c>] kobject_register+0x50/0x59
> > >  [<c02f8003>] bus_add_driver+0x4c/0xaf
> > >  [<c02f8453>] driver_register+0x31/0x35
> > >  [<c027c3bf>] pci_populate_driver_dir+0x29/0x2b
> > >  [<c027c491>] pci_register_driver+0x5e/0x83
> > >  [<c06a145f>] alsa_card_ens137x_init+0x15/0x41
> > >  [<c068475a>] do_initcalls+0x2a/0x97
> > >  [<c012e920>] init_workqueues+0x12/0x2a
> > >  [<c01050a3>] init+0x39/0x196
> > >  [<c010506a>] init+0x0/0x196
> > >  [<c0108f31>] kernel_thread_helper+0x5/0xb
> > 
> > Odds are that the pci driver is trying to register 2 drivers with the
> > pci core with the same name.  What does /sys/bus/pci/drivers show?
> > 
> > thanks,
> > 
> > greg k-h

Hi Ranjeet,

I noticed this in your .config included in your previous message.

>CONFIG_SND_ENS1370=y
>CONFIG_SND_ENS1371=y

I think the conflict might be occuring between these two drivers.
Look at sound/pci/ens1371.c and sound/pci/ens1370.c.

Out of curiosity, could you try this patch without making any changes to
your config.  If it works properly, could you then verify it in sysfs.

--- a/sound/pci/ens1370.c	2003-09-13 19:28:45.000000000 +0000
+++ b/sound/pci/ens1370.c	2003-09-13 19:30:02.000000000 +0000
@@ -2354,7 +2354,11 @@
 }

 static struct pci_driver driver = {
-	.name = "Ensoniq AudioPCI",
+#ifdef CHIP1371
+	.name = "Ensoniq 1371",
+#else
+	.name = "Ensoniq 1370",
+#endif
 	.id_table = snd_audiopci_ids,
 	.probe = snd_audiopci_probe,
 	.remove = __devexit_p(snd_audiopci_remove),


Thanks,
Adam

  parent reply	other threads:[~2003-09-14  0:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10 22:16 [OOPS] Linux-2.6.0-test5-bk Ranjeet Shetye
2003-09-10 22:46 ` Andrew Morton
2003-09-11  0:19   ` Ranjeet Shetye
2003-09-11  0:24     ` Greg KH
2003-09-11  0:36       ` Ranjeet Shetye
2003-09-11  2:40         ` Greg KH
2003-09-11 20:26           ` Ranjeet Shetye
2003-09-11 20:28             ` Greg KH
2003-09-11 20:43               ` Ranjeet Shetye
2003-09-13 19:55         ` Adam Belay [this message]
2003-09-10 23:25 ` Greg KH
2003-09-11  0:20   ` Ranjeet Shetye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030913195518.GB13402@neo.rr.com \
    --to=ambx1@neo.rr.com \
    --cc=akpm@osdl.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.org \
    --cc=perex@suse.cz \
    --cc=ranjeet.shetye2@zultys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.