bug: kobject_add failed for audio with -EEXIST
an allyesconfig bootup generates the driver core warning below, in alsa_card_dummy_init().
Ingo
------------------>
Calling initcall 0xc1ee1d35: alsa_card_dummy_init+0x0/0x8a()
PM: Adding info for platform:snd_dummy.0kobject_add failed for audio with -EEXIST, don't try to register things with the same name in the same directory.
[<c0106273>] show_trace_log_lvl+0x34/0x4a [<c01063a9>] show_trace+0x2c/0x2e [<c01063d6>] dump_stack+0x2b/0x2d [<c04f06a3>] kobject_add+0x15f/0x187 [<c06e3421>] class_device_add+0xb5/0x45c [<c06e37e5>] class_device_register+0x1d/0x21 [<c06e3892>] class_device_create+0xa9/0xcc [<c0ff98d0>] sound_insert_unit+0x13c/0x154 [<c0ff9a7b>] register_sound_special_device+0x11b/0x123 [<c104bcee>] snd_register_oss_device+0x12c/0x18e [<c1060e01>] register_oss_dsp+0x61/0x9a [<c1060e78>] snd_pcm_oss_register_minor+0x3e/0x174 [<c1051043>] snd_pcm_dev_register+0x1d4/0x1fa [<c104b705>] snd_device_register_all+0x61/0x87 [<c1046d6d>] snd_card_register+0x52/0x2e5 [<c1ee200d>] snd_dummy_probe+0x24e/0x260 [<c06e4026>] platform_drv_probe+0x1b/0x1d [<c06e229c>] really_probe+0x42/0xee [<c06e253f>] driver_probe_device+0xa6/0xb2 [<c06e25d2>] __device_attach+0x1c/0x1e [<c06e171b>] bus_for_each_drv+0x55/0x86 [<c06e23a2>] device_attach+0x5a/0x6c [<c06e17b9>] bus_attach_device+0x2a/0x57 [<c06e0a4f>] device_add+0x388/0x4de [<c06e3ef7>] platform_device_add+0x10a/0x13d [<c06e43c4>] platform_device_register_simple+0x53/0x6f [<c1ee1d80>] alsa_card_dummy_init+0x4b/0x8a [<c0100567>] init+0x178/0x451 [<c0105feb>] kernel_thread_helper+0x7/0x10 ======================= Calling initcall 0xc1ee201f: alsa_card_virmidi_init+0x0/0x8a()
PM: Adding info for platform:snd_virmidi.0
Quoted 9 lines · Ingo Molnar
an allyesconfig bootup generates the driver core warning below, in
alsa_card_dummy_init().Ingo
------------------>
Calling initcall0xc1ee1d35: alsa_card_dummy_init+0x0/0x8a()
PM: Adding info for platform:snd_dummy.0kobject_addfailed for audio with-EEXIST, don't try to register things with the same name in the same directory.
This is i386 or x86_64? This one, and the others, your been sending look like initcall ordering issues. For instance, some alsa init usually runs after alsa_card_dummy_init() , but in your kernel alsa_card_dummy_init() runs first. It's a problem even in the same initcall level.
Daniel