LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices



Reply
 
Search this Thread
Old 10-16-2005, 07:38 AM   #1
DarkCow
LQ Newbie
 
Registered: Oct 2005
Posts: 19

Rep: Reputation: 0
USB stick hotplugging with SUSE 10.0


In 9.3 I could plug in a USB stick and have it instantly recognised, mounted and it would appear on my desktop. In 10.0 no such thing happens. I can manually mount it from a command line, but I'd like it to be automounted.

Here are a few things I've noticed on my system that may be of importance:
- /etc/hal/ is empty
- hotplug does not appear in yast software management
- The suseplugger icon does not appear in my system tray, but running it from a command line gives no output and returns 0
- This is the relevant part of /var/log/messages that appears when I plug in a USB flash drive, then unplug it:
Code:
Oct 16 12:33:05 hermes kernel: usb 5-1: new high speed USB device using ehci_hcd and address 6
Oct 16 12:33:05 hermes kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Oct 16 12:33:05 hermes kernel: usb-storage: device found at 6
Oct 16 12:33:05 hermes kernel: usb-storage: waiting for device to settle before scanning
Oct 16 12:33:10 hermes kernel:   Vendor: USB       Model: Storage Device    Rev:
Oct 16 12:33:10 hermes kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Oct 16 12:33:10 hermes kernel: SCSI device sda: 246016 512-byte hdwr sectors (126 MB)
Oct 16 12:33:10 hermes kernel: sda: Write Protect is off
Oct 16 12:33:10 hermes kernel: sda: Mode Sense: 03 00 00 00
Oct 16 12:33:10 hermes kernel: sda: assuming drive cache: write through
Oct 16 12:33:10 hermes kernel: SCSI device sda: 246016 512-byte hdwr sectors (126 MB)
Oct 16 12:33:10 hermes kernel: sda: Write Protect is off
Oct 16 12:33:10 hermes kernel: sda: Mode Sense: 03 00 00 00
Oct 16 12:33:10 hermes kernel: sda: assuming drive cache: write through
Oct 16 12:33:10 hermes kernel:  sda: sda1
Oct 16 12:33:10 hermes kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Oct 16 12:33:10 hermes kernel: Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0
Oct 16 12:33:10 hermes kernel: usb-storage: device scan complete
Oct 16 12:33:11 hermes kernel: end_request: I/O error, dev sda, sector 246009
Oct 16 12:33:11 hermes kernel: printk: 589 messages suppressed.
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245912
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245913
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245914
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245915
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245916
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245917
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245918
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245912
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245913
Oct 16 12:33:11 hermes kernel: Buffer I/O error on device sda1, logical block 245914
Oct 16 12:33:11 hermes kernel: SCSI device sda: 246016 512-byte hdwr sectors (126 MB)
Oct 16 12:33:11 hermes kernel: sda: Write Protect is off
Oct 16 12:33:11 hermes kernel: sda: Mode Sense: 03 00 00 00
Oct 16 12:33:11 hermes kernel: sda: assuming drive cache: write through
Oct 16 12:33:11 hermes kernel: SCSI device sda: 246016 512-byte hdwr sectors (126 MB)
Oct 16 12:33:11 hermes kernel: sda: Write Protect is off
Oct 16 12:33:11 hermes kernel: sda: Mode Sense: 03 00 00 00
Oct 16 12:33:11 hermes kernel: sda: assuming drive cache: write through
Oct 16 12:33:11 hermes kernel:  sda: sda1
Oct 16 12:33:12 hermes kernel: end_request: I/O error, dev sda, sector 246009
Oct 16 12:33:13 hermes kernel: SCSI device sda: 246016 512-byte hdwr sectors (126 MB)
Oct 16 12:33:13 hermes kernel: sda: Write Protect is off
Oct 16 12:33:13 hermes kernel: sda: Mode Sense: 03 00 00 00
Oct 16 12:33:13 hermes kernel: sda: assuming drive cache: write through
Oct 16 12:33:14 hermes kernel: end_request: I/O error, dev sda, sector 246009
Oct 16 12:33:14 hermes kernel: SCSI device sda: 246016 512-byte hdwr sectors (126 MB)
Oct 16 12:33:14 hermes kernel: sda: Write Protect is off
Oct 16 12:33:14 hermes kernel: sda: Mode Sense: 03 00 00 00
Oct 16 12:33:14 hermes kernel: sda: assuming drive cache: write through
Oct 16 12:33:48 hermes kernel: usb 5-1: USB disconnect, address 6
Any ideas? Does anyone else have the same problem?
 
Old 10-16-2005, 07:59 AM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
run this before you unplug your device:
#umount /media/XXX
XXX - mounted directory (/media/usbdisk - example)
Unplug device.
 
Old 10-16-2005, 08:11 AM   #3
DarkCow
LQ Newbie
 
Registered: Oct 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Uhm, it doesn't get mounted in the first place.
My problem is that hal or whatever does automounting in this release isn't doing its job, and I have to manually mount/umount things.
 
Old 10-26-2005, 09:27 PM   #4
Donb
LQ Newbie
 
Registered: Oct 2005
Posts: 21

Rep: Reputation: 15
Thank goodness someone else has had the same problem with Suse 10.0 free distribution not detecting USB devices. I have posted a similar report but nobody is answering. I see a lot of talk about unmounting USB devices, but my system will not detect any USB devices. There is also lots of talk about editing all sorts of different files to try to mount a USB device, but the issue is that Suse 10 seems to detect the USB controller, but that's about all it does. The problem seems to be in the hotplug arena. Nothing shows up anywhere in Yast, and no device is detected on either a cold boot or hotplug. I see no entries for any USB device when I open up etc/fstab. Quite frankly I am so really pissed off. Have spent a week trying to play around with all sorts of files after reading various responses on the forum, but there are so many distributions that it is like an endless maze for a newbie trying to solve a particular problem on a specific distribution. Suse 10 installed like a charm and seems to work really well on most tasks, but if it can't detect my Zip drive and USB printer on the first go round, it is just a huge headache. I have been trying for four years to get away from Microsoft by trying Corel Linux, Calders Linux, Red Hat Linux, Slackware, but so far it is the only Win 98,Win2000 and XP are the only OS's where you NEVER have to waste time playing around with command line nonsense to get a basic installation running. Suse 10 is close, but unless I can get my USB to work without spending hours and hours on a forum I guess it is back to Microsoft.
 
Old 10-26-2005, 11:42 PM   #5
JonHayes
LQ Newbie
 
Registered: Aug 2003
Distribution: RH9P, Lycoris, Knoppix, etc.
Posts: 5

Rep: Reputation: 0
Does this make sense to anyone?

I'm having a similar problem but only a usb mouse isn't working.

I read this and wondered if it's an irq problem:

http://www.ussg.iu.edu/hypermail/lin...09.2/1823.html

too bad I don't know what to do to fix it
 
Old 10-27-2005, 11:50 AM   #6
pnutjam
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Rep: Reputation: 0
no problems here

I am running SUSE 10.0 eval version on a Dell 810, usb memory sticks work fine for me. They don't appear on the desktop, they pop in under my computer.
 
Old 10-27-2005, 12:00 PM   #7
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
According to the release notes for the new kernels since .3, they have fixed the hotplugging issues. It is kernel .15 which comes installed with SuSE(basically .1, not .15, they mean 1.1.5, modified 1.1) that has the issue, which we on SuSE have as the kernel installed with SuSE 10. Upgrading, should fix that issue entirely.
 
Old 10-27-2005, 12:09 PM   #8
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Lightbulb

I didn't upgrade the kernel on my SuSE 10.0 and usb devices still work NP.
As long as hardware monitor is running in system tray it detects new devices and mounts them automaticly. USB-sticks you'll still have to unmount though.
New Debian also has this feature. I upgraded mine from Sarge to Etch and it mounts just fine with
kernel 2.6.8-2
 
Old 10-27-2005, 01:27 PM   #9
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
How do you get the hardware monitor to run and stay there upon rebooting?
 
Old 10-27-2005, 03:49 PM   #10
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Simple!
Menu=>System=>Desktop Applet=>SUSEPlugger
Keep it running all the time. When you reboot the machine with it running on system tray, next time it will login automaticly
 
Old 10-28-2005, 07:20 PM   #11
Donb
LQ Newbie
 
Registered: Oct 2005
Posts: 21

Rep: Reputation: 15
I am still scratching my head. Redshirt appears to be saying that the Suse 10.0 I downloaded had a kernal that doesn't properly support hotplugging. Strange that this kernal was only released a few weeks ago. He says that upgrading should fix the problem. Upgrading to what? Also Slackerlx gives a simple fix "Menu=>System=>Desktop Applet=>SUSEPlugger". Nice to know the fix, but what is it, and where do you make this entry. Please remember newbie's probably know shit about Linux and need very explicit instructions to try to fix a problem. I am sure my issue is hotplug related because no usb devices are detected.
 
Old 10-28-2005, 07:49 PM   #12
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
No, I am not saying it is a truly incompatible kernel, but the speeds of transfer is supposedly the kernel version, which you can upgrade. I have seen the changelogs and many forum goers mention upgrading the kernel fixed this. As for weird little issues with USB, like the hotplugger, that is just SuSE, I have done 3 installs so far of SuSE 10, and only one had hotplugger running automatically, which is really odd. All used the same install discs. The SUSEPlugger, assuming that fixes your issue, is like a hardware watcher that as you install USB keyboards, mice, drives, etc, it will pop up notification. And it isn't an entry, it is a program in the kmenu you run, under those subsections. If running that fixes your issues, let us know, otherwise, see about trying a few other things, like kernel upgrade from www.Kernel.org and let us know if that worked or not.
 
Old 10-28-2005, 09:04 PM   #13
Donb
LQ Newbie
 
Registered: Oct 2005
Posts: 21

Rep: Reputation: 15
I don't see any reference to suseplugger on my kmenu. Boy am I dumb or something. Is it under utilities on the dropdown menu? Can I make an entry somewhere in the init.d or somewhere else. Went to the kernel.org site and downloaded the most up to date stable kernel 2.6.14. Saved to disk and then extracted to root/home. When i double click on the extracted file it opens in a text editor and does nothing. How do I upgrade the kernel from the download?
 
Old 10-28-2005, 10:08 PM   #14
Donb
LQ Newbie
 
Registered: Oct 2005
Posts: 21

Rep: Reputation: 15
At last figured out I downloaded a text file not the kernel upgrade. Used Yast to load all patches. Re-compiled the kernel, still no usb detected. In usbviewer I now get message "cannot open file /proc/bus/usb/devices", "Verify that you have USB compiled into your kernel, have the usb core modules loaded, and have the usbdevfs filesystem mounted". Surely all this should have been done when I installed SUSE. How do I proceed from here step by step. Frankly I wouldn't know where to start.
 
Old 10-29-2005, 01:15 AM   #15
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
Using YAST, search for plug or hotplug, and then using the install discs, instal it if it isn't. If it is installed, you can search for the plugger in the little appfinder in the kmenu, or try doing a find or grep in command line for *plug* or something like that. If my box were operational, I would gladly help, but I just got new ram, and am in the midsts of testing.
 
  


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
suse 10, usb memory stick thegreatgatsby Suse/Novell 17 11-02-2005 06:21 PM
SuSE 9.1 won't see USB camera after hotplugging too many times Napalm Llama Linux - Hardware 9 03-06-2005 05:40 AM
Suse 9.0: hangs on boot hotplugging [... usb .. freebooter Linux - Distributions 7 05-16-2004 09:38 PM
How do I get my USB memory stick to work in SuSE 8.2? Paul_Lee Linux - Hardware 13 02-13-2004 09:14 AM
SuSe 8.2 Pro - Installation issues - hangs at hotplugging - usb mrkstate Linux - Software 4 11-17-2003 03:13 PM


All times are GMT -5. The time now is 06:38 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