View previous topic :: View next topic |
Author |
Message |
scharkalvin Guru
Joined: 31 Jan 2004 Posts: 331 Location: south florida
|
Posted: Sat Jun 25, 2005 4:00 pm Post subject: usb storage problems |
|
|
I have an Olympus C5050 digital camera and one of those USB flash drive thingies. Both were working just until today.
Now all of a sudden when I plug them in ... nothing. Under /dev/sd?? nothing shows up. I'm running a 2.4.22 kernel
(been meaning to upgrade to 2.6). Both of these devices were showing up as /dev/sda when plugged in. Now nothing.
My Ipod doesn't show up either.
As an experiment control, I plugged the camera into a windows XP machine, and POW, it shows up as a new disk drive!
(windows used to require a special driver for each usb device, now XP seems to have grown a general purpose USB storage
device.) So the camera still works. I seem to remember the usb storage module (not the buggy new one) needed a patch
for some older Olympus cameras that 'spelled' something wrong in their descriptor strings, but I havn't rebuilt the kernel
or anything important since the last time the camera worked.
I have another box that DOES run kernel 2.6.11. It sees my iPod just fine, but
doesn't see the camera or the jump drive. In fact, these devices don't even show up under /proc/bus/usb/devices.
I do have a special udev rule for the ipod on the 2.6 machine so it will mount the ipod as /dev/sd?, but that shouldn't
be interfering with the jump drive and the camera? (though I never did look to see if they got mounted as /dev/ipod)
This computer is an older mother board, so it uses a pci usb 2.0 card.
Any ideas? |
|
Back to top |
|
|
zisper n00b
Joined: 14 Sep 2004 Posts: 21
|
Posted: Sat Jun 25, 2005 11:18 pm Post subject: |
|
|
What shows up in the log? (have device unplugged, tail -f /var/log/messages, plug in device and see what the output is) |
|
Back to top |
|
|
Koala Kid Guru
Joined: 09 May 2003 Posts: 382
|
Posted: Sat Jul 09, 2005 9:12 pm Post subject: |
|
|
Well, that's exactly what happenned to me and I would like to get solution. The whole thing just stopped working suddenly, dunno why.
Here's the tail -f /var/log/messages output when I add my disk-on-key:
Code: | mindphaser koala # tail -f /var/log/messages
Jul 10 00:02:07 mindphaser kernel: [ 3114.314655] Vendor: Model: USB DISK Rev: 1.14
Jul 10 00:02:07 mindphaser kernel: [ 3114.315048] Type: Direct-Access ANSI SCSI revision: 00
Jul 10 00:02:07 mindphaser kernel: [ 3114.325616] SCSI device sdb: 253952 512-byte hdwr sectors (130 MB)
Jul 10 00:02:07 mindphaser kernel: [ 3114.325951] sdb: assuming Write Enabled
Jul 10 00:02:07 mindphaser kernel: [ 3114.338590] SCSI device sdb: 253952 512-byte hdwr sectors (130 MB)
Jul 10 00:02:07 mindphaser kernel: [ 3114.338884] sdb: assuming Write Enabled
Jul 10 00:02:07 mindphaser kernel: [ 3114.339195] sdb: sdb1
Jul 10 00:02:07 mindphaser kernel: [ 3114.346833] Attached scsi removable disk sdb at scsi10, channel 0, id 0, lun 0
Jul 10 00:02:07 mindphaser kernel: [ 3114.348309] Attached scsi generic sg1 at scsi10, channel 0, id 0, lun 0, type 0
Jul 10 00:04:01 mindphaser kernel: [ 3228.475367] usb 3-1: USB disconnect, address 10
Jul 10 00:09:18 mindphaser kernel: [ 3545.157440] usb 3-1: new full speed USB device using uhci_hcd and address 11
Jul 10 00:09:18 mindphaser kernel: [ 3545.320368] scsi11 : SCSI emulation for USB Mass Storage devices
Jul 10 00:09:23 mindphaser kernel: [ 3550.316580] Vendor: Model: USB DISK Rev: 1.14
Jul 10 00:09:23 mindphaser kernel: [ 3550.316973] Type: Direct-Access ANSI SCSI revision: 00
Jul 10 00:09:23 mindphaser kernel: [ 3550.328401] SCSI device sdb: 253952 512-byte hdwr sectors (130 MB)
Jul 10 00:09:23 mindphaser kernel: [ 3550.328789] sdb: assuming Write Enabled
Jul 10 00:09:23 mindphaser kernel: [ 3550.341377] SCSI device sdb: 253952 512-byte hdwr sectors (130 MB)
Jul 10 00:09:23 mindphaser kernel: [ 3550.341696] sdb: assuming Write Enabled
Jul 10 00:09:23 mindphaser kernel: [ 3550.342206] sdb: sdb1
Jul 10 00:09:23 mindphaser kernel: [ 3550.351328] Attached scsi removable disk sdb at scsi11, channel 0, id 0, lun 0
Jul 10 00:09:23 mindphaser kernel: [ 3550.353177] Attached scsi generic sg1 at scsi11, channel 0, id 0, lun 0, type 0
|
But I don't see anything under //media in nautilus. As I mentioned, everything worked fine 2-3 days ago.
I use udev, dbus, hal and all that...
Thank you _________________ "People are the worst, the worst thing about music is that people play it". M. Patton. |
|
Back to top |
|
|
zisper n00b
Joined: 14 Sep 2004 Posts: 21
|
Posted: Sat Jul 09, 2005 11:00 pm Post subject: |
|
|
Well, I've only just recently switched to udev & hal so I'm no expert on this but some things that would be worth checking:
The hald daemon is running?
If you've only been using the hal to access it you should be able to see if it's still working by checking your fstab file. Check /etc/fstab, plug in device, wait 5 seconds or so, then check fstab again. If the hal daemon is picking it up you'll have a new line at the bottom with "managed" as one of the options. If you already had a line in there for your camera/ipod/memstick then hal won't add one.
Udev changed the way it checks rules a little just recently, if you've got custom rules for your device then try adding the command OPTIONS="last_rule" to the end of it. (Then run udevstart to activate the change)
Is the device showing up under /dev/sd? when you plug it in? It looks like it should be.
Let us know how it goes, if it's still not working then show us your fstab and any local udev rules you've added. |
|
Back to top |
|
|
Koala Kid Guru
Joined: 09 May 2003 Posts: 382
|
Posted: Sun Jul 10, 2005 3:00 pm Post subject: |
|
|
Thank you zisper, the solution was to update some configs by etc-update _________________ "People are the worst, the worst thing about music is that people play it". M. Patton. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|