Re: [OOPS] Linux-2.6.0-test5-bk

From: Adam Belay (ambx1_at_neo.rr.com)
Date: 09/13/03

  • Next message: Erik Andersen: "Re: People, not GPL [was: Re: Driver Model]"
    Date:	Sat, 13 Sep 2003 19:55:18 +0000
    To: Ranjeet Shetye <ranjeet.shetye2@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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Erik Andersen: "Re: People, not GPL [was: Re: Driver Model]"

    Relevant Pages

    • Memory mapped IO vs Port IO
      ... There's a lot of drivers in the tree that allow you to access the device ... either via IO port space or IO mem space. ... config TULIP_MMIO ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Why is CONFIG_SCSI_QLA2X_X always enabled?
      ... | |> show up in the config menu when they aren't needed or wanted. ... | | net drivers, but I've always thought it caused more confusion than it ... | .config file always contains CONFIG_SCSI_QLA2XXX=y ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [-mm patch] USB_LIBUSUAL shouldnt be user-visible
      ... If both drivers are built and at least one of them is built statically ... +config USB_LIBUSUAL_BUILT ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Why is CONFIG_SCSI_QLA2X_X always enabled?
      ... > show up in the config menu when they aren't needed or wanted. ... So you want a "Do you want Qlogic drivers" question followed by the 6 ... James ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Why is CONFIG_SCSI_QLA2X_X always enabled?
      ... |> show up in the config menu when they aren't needed or wanted. ... | So you want a "Do you want Qlogic drivers" question followed by the 6 ... .config file always contains CONFIG_SCSI_QLA2XXX=y ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)