LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-14-2007, 02:57 PM   #1
JeanPierre
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware 11 2.4.33.3 kernal
Posts: 17

Rep: Reputation: 0
usb stick connecting / disconnecting


Hi everyone
I have installed slack 12 on my box and have found that my usb stick and camera act very strangely (on kde), they connect for +/10 - 20 seconds then they drop with kde popping up a new window saying its found a new usb device, The following is my output of dmesg. Has anyone had the same problem? any ideas to solve it will be much appreciated.


Thanks

JP

usb-storage: device found at 37
usb-storage: waiting for device to settle before scanning
kobject_add failed for usb_storage with -EEXIST, don't try to register things with the same name in the same directory.
[<c03e86f7>] kobject_shadow_add+0x117/0x1a0
[<c013fba4>] mod_sysfs_setup+0x24/0xb0
[<c0141458>] sys_init_module+0x1648/0x1940
[<c0102ae8>] syscall_call+0x7/0xb
=======================
kobject_add failed for usb_storage with -EEXIST, don't try to register things with the same name in the same directory.
[<c03e86f7>] kobject_shadow_add+0x117/0x1a0
[<c013fba4>] mod_sysfs_setup+0x24/0xb0
[<c0141458>] sys_init_module+0x1648/0x1940
[<c0102ae8>] syscall_call+0x7/0xb
=======================
scsi 33:0:0:0: Direct-Access JetFlash TS512MJF160 0.00 PQ: 0 ANSI: 2
SCSI device sdb: 1024000 512-byte hdwr sectors (524 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 1024000 512-byte hdwr sectors (524 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
sd 33:0:0:0: Attached scsi removable disk sdb
sd 33:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
usb 1-5: USB disconnect, address 37
bash-3.1#
 
Old 11-14-2007, 03:58 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,135
Blog Entries: 52

Rep: Reputation: Disabled
From those "-EEXIST" entries it looks like you're still using the huge-smp kernel. It's recommended to change to the generic-smp kernel after installation. Don't know for sure if this will solve your problem. Read the CHANGES_AND_HINTS.TXT and the README.initrd in /boot.
 
Old 11-15-2007, 03:13 AM   #3
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Quote:
usb 1-5: USB disconnect, address 37
This line makes me think that there is a loose connection there somewhere. But yeah, make sure you try with generic kernel first.
 
Old 11-15-2007, 03:21 AM   #4
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
It's the kernel. Patrick did something he shouldn't have and the huge-smp kernel was built with a different configuration than the modules package was (feel free to check this yourself if you doubt). ...the result being that part of the USB code (particularly parts relating to mass-storage) is directly in the kernel as well as in the modules, which means a module gets loaded when it's supposed to be, there's a symbol collision, and the whole mess goes down in flames.

There's a reason people are told to do a make mrproper if they reconfig something from the core kernel to be a module or vice-versa, and this is it.

Rebuilding the huge-smp kernel and it's modules cleanly makes this problem go away.
 
Old 11-15-2007, 08:41 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,447
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Hi,

Did you read the 'CHANGES_AND_HINTS.TXT'?

Code:
excerpt from CHANGES_AND_HINTS.TXT;

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, but if you really don't want them to appear, you can blacklist the
  modules that try to load in /etc/modprobe.d/blacklist.  However, make sure you
  remove them from the blacklist if you ever decide to use the (recommended)
  generic kernels.
 
Old 11-15-2007, 09:27 AM   #6
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Weird thing is , I never had such a problem with the slack11 DVD included huge kernel (2.6 ) ... why is this popping up now in slack 12 ?
 
  


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
Usb Cdma Disconnecting Automatically monami Linux - Software 1 08-22-2005 04:03 AM
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 12:12 PM
"Turning off" USB memory stick before unplugging/disconnecting detly Linux - Hardware 3 03-15-2005 01:34 PM
disconnecting usb storage brisemec Linux - Newbie 2 07-05-2004 09:44 AM
Wireless Card Connecting / Disconnecting (11 2 11 2) phantompgr Linux - Wireless Networking 2 06-19-2004 11:17 AM


All times are GMT -5. The time now is 11:09 AM.

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