LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-19-2007, 10:19 PM   #1
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
kobject_add failed for error using 2.6.21.1-smp


How do you go about fixing this problem. I built current using this kernel and had this error so I though it was something I wasn't catching following the instructions so I build current again and had the same problem. Then I downloaded alien bob's ISO and installed and had the same problem.

Help, Help, Help.....

Example of dmesg error:
Code:
ohci1394: exports duplicate symbol ohci1394_unregister_iso_tasklet (owned by kernel)
kobject_add failed for usb_storage with -EEXIST, don't try to register things with the same name in the same directory.
 [<c03b4b17>] kobject_shadow_add+0x117/0x1a0
 [<c013a404>] mod_sysfs_setup+0x24/0xb0
 [<c013bcb8>] sys_init_module+0x1648/0x1940
 [<c0102ae8>] syscall_call+0x7/0xb
 =======================
 
Old 05-19-2007, 11:06 PM   #2
KStorm
Member
 
Registered: Jul 2006
Distribution: slamd64, pclinuxos2007/08, ubuntu8.04
Posts: 41

Rep: Reputation: 15
See this post:

http://www.linuxquestions.org/questi...46#post2741446

I have the same kobject errors, but Slackware -current is running fine.
 
Old 05-19-2007, 11:37 PM   #3
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
KStorm,
Need more help, don't get it... I already seen your post and didn't get it... To little info for me..

Last edited by davimint; 05-19-2007 at 11:38 PM.
 
Old 05-20-2007, 07:05 AM   #4
KStorm
Member
 
Registered: Jul 2006
Distribution: slamd64, pclinuxos2007/08, ubuntu8.04
Posts: 41

Rep: Reputation: 15
Well then...a previous changelog explained the error messages. My apologies.
 
Old 05-21-2007, 12:23 AM   #5
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
Ok, never did find out why Pat V's build caused these errors or if they actually mean anything but I did solve the problem. I rebuilt current today with a custom kernel so I could tweak my system and installed all the new packages. I thought that if I removed the rw permission on the slackbuilt kernels they would not install but they did anyway. So, I removed those packages and rebuilt my kernel due to the fact it was removed by the install scrips ( for some reason ). So guess what, all that junk was gone. Now I've got current going with a tweaked kernel and everything is great again without those silly errors.
 
Old 06-01-2007, 06:47 PM   #6
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
On the "Changes & Hints text" today I found the information that had been removed by Pat which explains this error.

Code:
As stated earlier, it is recommended that you use one of the generic kernels
  rather than the huge kernels; the huge kernel is primarily intended as 
  an "installer" and "emergency" kernel in case you forget to make an initrd.
  However, if you do use one of the huge kernels, you will likely encounter 
  errors like this:
    kobject_add failed for uhci_hcd with -EEXIST, don't try to register
  These occur because the respective drivers are compiled statically into the
  huge kernels but udev tries to load them anyway.  These errors should be safe
  to ignore.
It's nice to see that back in their becuase I search everywhere for the answer on this.
 
Old 06-02-2007, 01:10 AM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,945

Rep: Reputation: Disabled
Sorry about that - we don't know how that information got removed.
I guess it must have gotten removed accidentally when we were rearranging the contents.
 
Old 06-03-2007, 01:06 PM   #8
KStorm
Member
 
Registered: Jul 2006
Distribution: slamd64, pclinuxos2007/08, ubuntu8.04
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by rworkman
Sorry about that - we don't know how that information got removed.
I guess it must have gotten removed accidentally when we were rearranging the contents.
Thanks for bringing it back. How would I go about, aside from installing a new kernel (I'm running -current), having these kobject errors removed during boot-up?
 
Old 06-03-2007, 07:33 PM   #9
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,945

Rep: Reputation: Disabled
Quote:
Originally Posted by KStorm
Thanks for bringing it back. How would I go about, aside from installing a new kernel (I'm running -current), having these kobject errors removed during boot-up?
Use either the generic or generic SMP kernel and create an initrd or perhaps blacklist (see /etc/modprobe.d/blacklist) the relevant modules. Just be sure to remove them from the blacklist if you ever decide to use one of the generic kernels.

Last edited by rworkman; 06-03-2007 at 07:35 PM.
 
Old 06-14-2007, 12:37 PM   #10
KStorm
Member
 
Registered: Jul 2006
Distribution: slamd64, pclinuxos2007/08, ubuntu8.04
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by rworkman
Use either the generic or generic SMP kernel and create an initrd or perhaps blacklist (see /etc/modprobe.d/blacklist) the relevant modules. Just be sure to remove them from the blacklist if you ever decide to use one of the generic kernels.
I blacklisted the relevant modules and it's all good now. Thanks a bunch!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 08:06 AM
Error when recompiling 2.4.31 Kernel for SMP and HIGHMEM mjgould Slackware 15 09-28-2005 05:11 PM
Slackware 10 SMP Error RestricteD Linux - Hardware 1 07-07-2005 09:47 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover Suse/Novell 8 02-22-2005 08:57 AM
unpacking of archive failed: cpio: read failed-input/output error rafc Linux - Newbie 0 04-21-2004 10:03 AM


All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration