LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   USB Stick Not Detected (https://www.linuxquestions.org/questions/ubuntu-63/usb-stick-not-detected-876180/)

AashUbuntuNewbie 04-20-2011 02:30 PM

USB Stick Not Detected
 
Hey all,
I'm running Ubuntu 10.04 atm and it's not detecting my USB stick.
Well I think it knows it's there but I can't open it and well,
not too familiar with all the terminal codes thus I could use some help in that department.

Any ideas though? I can get the USB stick to work on windows and never had a problem with it really...

Thanks.

unSpawn 04-20-2011 06:38 PM

Detach the USB stick, next in a terminal window run 'sudo tailf /var/log/messages' then attach stick: now lines should appear talking about USB. Run 'sudo lsusb': this shows all USB device chip set names the system has recognized. Run 'sudo fdisk -l': this shows you all hard disk(-like) devices and their partitions. Posting the USB lines from syslog and the chip set and partition information should help indicate what's up with the stick.

AashUbuntuNewbie 04-20-2011 11:19 PM

Hey thanks for the reply,

well for the first code I got this;

Code:

Apr 21 00:56:05 Gargoyle kernel: [17530.516213] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
Apr 21 01:24:45 Gargoyle kernel: [19250.281622] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
Apr 21 04:11:48 Gargoyle kernel: [29273.398987] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
Apr 21 04:11:51 Gargoyle kernel: [29276.220033] [drm] nouveau 0000:01:00.0: Load detected on output A
Apr 21 04:11:51 Gargoyle kernel: [29276.260039] [drm] nouveau 0000:01:00.0: Load detected on output A
Apr 21 04:11:51 Gargoyle kernel: [29276.364047] [drm] nouveau 0000:01:00.0: Load detected on output A
Apr 21 04:11:55 Gargoyle kernel: [29280.556658] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Apr 21 04:26:21 Gargoyle pulseaudio[1404]: ratelimit.c: 251 events suppressed
Apr 21 05:10:18 Gargoyle pulseaudio[1404]: ratelimit.c: 262 events suppressed
Apr 21 05:13:36 Gargoyle kernel: [32985.068545] usb 1-4: USB disconnect, address 4
Apr 21 05:14:14 Gargoyle kernel: [33023.012052] usb 1-4: new high speed USB device using ehci_hcd and address 5
Apr 21 05:14:17 Gargoyle kernel: [33025.560349] scsi5 : usb-storage 1-4:1.0
Apr 21 05:14:18 Gargoyle kernel: [33026.563915] scsi 5:0:0:0: Direct-Access    USB 2.0  Flash Disk      1100 PQ: 0 ANSI: 0 CCS
Apr 21 05:14:18 Gargoyle kernel: [33026.570678] sd 5:0:0:0: Attached scsi generic sg2 type 0
Apr 21 05:14:18 Gargoyle kernel: [33026.573018] sd 5:0:0:0: [sdc] 3915776 512-byte logical blocks: (2.00 GB/1.86 GiB)
Apr 21 05:14:18 Gargoyle kernel: [33026.575587] sd 5:0:0:0: [sdc] Write Protect is off
Apr 21 05:14:18 Gargoyle kernel: [33026.599684]  sdc: sdc1
Apr 21 05:14:18 Gargoyle kernel: [33026.602664] sd 5:0:0:0: [sdc] Attached SCSI removable disk

Second;
Code:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04d9:048e Holtek Semiconductor, Inc. Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 090c:1000 Feiya Technology Corp. Flash Drive
Bus 001 Device 002: ID 04f2:a133 Chicony Electronics Co., Ltd Gateway Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Third;

Code:

Disk /dev/sda: 20.4 GB, 20419854336 bytes
255 heads, 63 sectors/track, 2482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x99a005f6

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1        2481    19928601    7  HPFS/NTFS

Disk /dev/sdb: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002de1c

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              1        9583    76972032  83  Linux
/dev/sdb2            9583        9965    3068929    5  Extended
/dev/sdb5            9583        9965    3068928  82  Linux swap / Solaris

Disk /dev/sdc: 2004 MB, 2004877312 bytes
247 heads, 62 sectors/track, 255 cylinders
Units = cylinders of 15314 * 512 = 7840768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8d1159d6

  Device Boot      Start        End      Blocks  Id  System
/dev/sdc1  *          1        256    1957856    b  W95 FAT32
Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(0, 1, 1) logical=(0, 1, 3)
Partition 1 has different physical/logical endings:
    phys=(505, 246, 0) logical=(255, 172, 42)
Partition 1 does not end on cylinder boundary.


Thanks again.

unSpawn 04-21-2011 12:10 AM

Quote:

Originally Posted by AashUbuntuNewbie (Post 4331162)
Code:

Apr 21 05:14:18 Gargoyle kernel: [33026.599684]  sdc: sdc1
Apr 21 05:14:18 Gargoyle kernel: [33026.602664] sd 5:0:0:0: [sdc] Attached SCSI removable disk
#(..)
Bus 001 Device 005: ID 090c:1000 Feiya Technology Corp. Flash Drive
#(..)
#(..)
/dev/sdc1  *          1        256    1957856    b  W95 FAT32


No idea why HAL won't mount it automagically but it's a 2GB vfat-formatted Flash Drive with one partition you could mount this one manually with 'sudo mkdir /media/stick; sudo mount /dev/sdc1 -t vfat /media/stick'. * Note as you attach and remove SCSI(-like) devices the "/dev/sdc" device location will change but you can always find back the right location by looking at /var/log/messages, lsusb and fdisk output.

AashUbuntuNewbie 04-21-2011 09:50 AM

This has worked like a dream,
thank you very much.

Although truthfully I've got other pressing troubles with this computer via startup, it never goes to Ubuntu straightaway, I get an error message saying something would not work and I'm able to type in things which I really don't know about. I lucked out by figuring typing 'exit' gets me to the desktop.

If it sounds like something you might also be able to help me out with I'd appreciate it and will get you the more detailed information to work out whats really wrong. In fact, I was running Windows not long ago but could not start it as I'd get to the Windows loading screen and it'd just restart over and over. I get the feeling I have some registry files missing but then again, I also get the feeling that this assumption is merely a stab in the dark, especially since I don't know a whole lot when it comes to boot errors.

Anyway, thanks again mate.

widget 04-21-2011 10:02 AM

Please mark this thread solved. The problem that you posted about is. Thread tools on top of posts on this page.

You should start a new thread with another problem. One problem, one thread. That way when someone else with the problem is doing a "forum search" they will be able to find the threads and see if they are solved or not.

AashUbuntuNewbie 04-21-2011 12:24 PM

Okay,
will do.

Thanks for letting us know.


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