LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-19-2011, 11:09 AM   #1
DeBeeNeeBus
LQ Newbie
 
Registered: Nov 2010
Posts: 9

Rep: Reputation: 0
USB stick not recognized


Debian GNU/Linux Kernel 2.4.33.7-rt13.2
My PC does not beep when I plug in the USB stick.
The stick is formated to vfat.
The mount point is established in the fstab.
The reply is:
"/dev/sda1 is not a valid block device"
 
Old 01-19-2011, 11:59 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,546
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
What is the line for the USB stick in fstab? Where does the reply appear?
 
Old 01-19-2011, 01:13 PM   #3
DeBeeNeeBus
LQ Newbie
 
Registered: Nov 2010
Posts: 9

Original Poster
Rep: Reputation: 0
/dev/sda1 /lascon/usb-stick auto defaults,users,noauto,uid=1000,gid=1000 00

the reply is displayed at the prompt in the xterm (logged in as su)

Last edited by DeBeeNeeBus; 01-19-2011 at 01:25 PM. Reason: answer to question 2
 
Old 01-24-2011, 05:45 AM   #4
vikrang
Member
 
Registered: Jan 2011
Location: India
Distribution: Slackware 13.1, Squeeze
Posts: 119

Rep: Reputation: 7
I think /dev/sda1 may not be your USB drive at all..Use blkid to find out the correct device name
 
Old 01-24-2011, 08:16 AM   #5
DeBeeNeeBus
LQ Newbie
 
Registered: Nov 2010
Posts: 9

Original Poster
Rep: Reputation: 0
lpc:/# blkid
/dev/hda1: UUID="d1a15138-5afb-11d8-bfba-b527c36169ca" TYPE="reiserfs"
/dev/hda2: TYPE="swap" UUID="d9f05668-5afb-11d8-93b7-6fe391a1becb"
/dev/hda3: UUID="d9f0d57a-5afb-11d8-ba82-91c923be6495" TYPE="reiserfs"
 
Old 01-24-2011, 09:03 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
Please post the output of
Code:
fdisk -l
with the stick attached to your system. You must be root to do that.
What messages do you get from
Code:
tail -f /var/log/messages
when you attach the stick?
 
Old 01-24-2011, 10:34 AM   #7
DeBeeNeeBus
LQ Newbie
 
Registered: Nov 2010
Posts: 9

Original Poster
Rep: Reputation: 0
lpc:/# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 128 1028259+ 83 Linux
/dev/hda2 129 145 136552+ 82 Linux swap / Solaris
/dev/hda3 146 2695 20482875 83 Linux
lpc:/#tail -f /var/log/messages
tail: cannot open '/var/log/messages' for reading: No such file or directory
tail: no files remaining
 
Old 01-24-2011, 10:41 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
The fdisk output shows that your USB-key is not recognized as a storage device. We need the contents of your /var/log/messages, I wonder why it isn't there, it should be.
May be it helps to plugin the stick and type
Code:
dmesg
in your terminal (as root), and posting the last lines of the output (regarding USB) here.
 
Old 01-24-2011, 11:02 AM   #9
DeBeeNeeBus
LQ Newbie
 
Registered: Nov 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Please bear with me, the system in question is not online and I cannot export anything, no floppy or rw cdrom, (or usb).
the lines from the dmesg that start with usb:

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver hiddenv
usb.c: registered new driver hid

usb.c: registered new driver mouse usbmouse

usbmouse.c: v1.6:USB HID Boot Protocol mouse driver

Last edited by DeBeeNeeBus; 01-24-2011 at 11:04 AM. Reason: last line not complete
 
Old 01-24-2011, 12:25 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
DO you have the USB-key attached to that machine? If so, test it on another machine. It seems to me that it is not working.
 
Old 01-24-2011, 12:58 PM   #11
DeBeeNeeBus
LQ Newbie
 
Registered: Nov 2010
Posts: 9

Original Poster
Rep: Reputation: 0
I have 2 that I've tried so far. Each work fine with my other work pc (winXP).
Number 1 is a LEXAR 128MB formatted to FAT.
Number 2 is a ScanDisk Cruzer 4GB formatted to FAT32.

Each are detected in the bios.

It seems that there is something else that inhibits detection after the Debian OS is loaded.
 
Old 01-24-2011, 01:08 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
Quote:
Debian GNU/Linux Kernel 2.4.33.7-rt13.2
May it be that your kernel just doesn't support USB-storage?
 
Old 01-24-2011, 01:20 PM   #13
DeBeeNeeBus
LQ Newbie
 
Registered: Nov 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Is there somewhere that I can determine that and if so, can you recommend a kernel that does support the USB-storage?
 
Old 01-24-2011, 01:34 PM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
I don't know about the first question, but I wondered already, why you are using a 2.4-kernel in a realtime-version. What is this for a machine? What is it's purpose. And which Debian version are you running? To find out your Debian version you can try
Code:
cat /etc/issue
 
Old 01-24-2011, 01:53 PM   #15
DeBeeNeeBus
LQ Newbie
 
Registered: Nov 2010
Posts: 9

Original Poster
Rep: Reputation: 0
I did check the 1st item, apparently - "USB is supported in all 2.4.x kernels" however, this issue should be addressed by my vendor.

The system that I'm using is for the temperature control of a laser. I would like to be able to retrieve stored temperature records (through the USB) without having to use another pc and a lan connection.

btw, the version is : Debian GNU/Linux 4.0 \n\l
 
  


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 Stick not recognized in Linux PPC e_pech Linux - Embedded & Single-board computer 2 01-12-2010 05:06 PM
[SOLVED] USB stick doesn't get recognized as a boot device inetic Slackware - Installation 1 04-13-2009 04:01 AM
Pinnacle PCTV HD Pro Stick (usb) not being recognized in Fedora 10 AskSave Linux - Hardware 7 02-13-2009 11:26 AM
USB Flash stick not recognized in Suse 10.3 donquixote1 Linux - Hardware 17 05-01-2008 05:14 AM
USB memory stick not recognized Filip Viorel Linux - Hardware 1 03-29-2006 01:50 AM


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