Skip to contentSkip to conversation

[2.6.18.2] ide_core bug: kobject_add failed for ide ... - with vanilla kernel

DISCUSSION Andreas Hartmann 1 participant 1 message Jan 8, 2007 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello Lee,

Quoted 22 lines · Lee Revell
Quoted 13 lines · Andreas Hartmann

Hello,

ide_core is loaded (while putting in an USB stick) as module the first time after reboot - all works fine. The USB stick got mounted and a ls is done to show the files on the root of the filesystem of the stick. Afterwards, the stick is securely removed from the system. Afterwards, ide_core is unloaded with rmmod (after usb-storage has been unloaded) - ok.

Next step is to load ide_core again. Now, the following error can be found in /var/log/messages:

Quoted 7 lines
Jan  7 11:48:18 notebook1 kernel: Uniform Multi-Platform E-IDE driver
Revision: 7.00alpha2
Jan  7 11:48:18 notebook1 kernel: ide: Assuming 33MHz system bus speed
for PIO modes; override with idebus=xx
Jan  7 11:48:18 notebook1 kernel: kobject_add failed for ide with

-EEXIST, don't try to register things with the same name in the same directory.

Quoted 1 line

You seem to be running a SuSE kernel - please report the issue to them.

You are right - but the same error appears with the vanilla kernel, too. That's why I reported it here.

Quoted 3 lines

It's probably useful to repeat your test but run "find /sys/module > sys1" before loading ide_core the first time, then "find /sys/module > sys2" after "rmmod ide_core", and save the output of "diff sys1 sys2".

There isn't any difference.

Kind regards,
Andreas Hartmann