Skip to contentSkip to conversation

megaraid bug in kobject_register when no device is present

DISCUSSION Meelis Roos 2 participants 2 messages Feb 9, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

Loading megaraid modules when no actual cards are present yields this in dmesg. 2.6.16-rc2+git.

megasas: 00.00.02.02 Mon Jan 23 14:09:01 PST 2006 megaraid cmm: 2.20.2.6 (Release Date: Mon Mar 7 00:01:03 EST 2005)
megaraid: 2.20.4.7 (Release Date: Mon Nov 14 12:27:22 EST 2005) kobject_register failed for megaraid (-17)

 [<b01b0fa1>] kobject_register+0x43/0x5f
 [<b020b5ad>] bus_add_driver+0x51/0xa8
 [<b01bc812>] __pci_register_driver+0x5e/0x89
 [<b011ca7c>] printk+0x17/0x1b
 [<f0e89070>] megaraid_init+0x70/0x98 [megaraid_mbox]
 [<b0136759>] sys_init_module+0x128/0x1bd
 [<b01029a7>] sysenter_past_esp+0x54/0x75

megaraid: could not register hotplug support.

Signature · 1 line
Meelis Roos ([email protected])
#1 lore raw
Quoted 7 lines · Meelis Roos

Loading megaraid modules when no actual cards are present yields this in dmesg. 2.6.16-rc2+git.

megasas: 00.00.02.02 Mon Jan 23 14:09:01 PST 2006 megaraid cmm: 2.20.2.6 (Release Date: Mon Mar 7 00:01:03 EST 2005)
megaraid: 2.20.4.7 (Release Date: Mon Nov 14 12:27:22 EST 2005) kobject_register failed for megaraid (-17)

This means that the driver is trying to register with the same name as another driver on the same bus.

Nice to see we at least recover from it and don't kill the kernel :)

thanks,

greg k-h