LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 04-20-2011, 02:30 PM   #1
AashUbuntuNewbie
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Rep: Reputation: 0
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.
 
Old 04-20-2011, 06:38 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,944
Blog Entries: 54

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
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.
 
Old 04-20-2011, 11:19 PM   #3
AashUbuntuNewbie
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
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.

Last edited by unSpawn; 04-21-2011 at 12:03 AM. Reason: //Added BB code tags
 
Old 04-21-2011, 12:10 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,944
Blog Entries: 54

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
Quote:
Originally Posted by AashUbuntuNewbie View Post
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.
 
Old 04-21-2011, 09:50 AM   #5
AashUbuntuNewbie
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 04-21-2011, 10:02 AM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,168

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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.
 
Old 04-21-2011, 12:24 PM   #7
AashUbuntuNewbie
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Okay,
will do.

Thanks for letting us know.
 
  


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
VM VirtualBox, Ubuntu 9.10: USB memory stick and SD card not detected... vikramtheone Linux - Newbie 3 06-25-2010 08:31 AM
[SOLVED] USB stick fails to be detected in debian sarge unev_21 Linux - Hardware 9 08-07-2009 12:09 PM
usb stick not detected if present at boot time jb2009 Linux - Hardware 20 08-31-2007 09:28 AM
Usb stick not detected in suse10 but fine in windows Morph69 Linux - Hardware 1 07-20-2006 09:41 AM
usb-stick not detected after update from 9.1 to 9.2 Marix Suse/Novell 6 01-16-2005 02:31 AM


All times are GMT -5. The time now is 06:05 AM.

Main Menu
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