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" |
What is the line for the USB stick in fstab? Where does the reply appear?
|
/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) |
I think /dev/sda1 may not be your USB drive at all..Use blkid to find out the correct device name
|
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" |
Please post the output of
Code:
fdisk -l What messages do you get from Code:
tail -f /var/log/messages |
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 |
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 |
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 |
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.
|
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. |
Quote:
|
Is there somewhere that I can determine that and if so, can you recommend a kernel that does support the USB-storage?
|
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 |
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 |
OK, Debian 4.0 is way outdated, but I think for such a special-purpose-machine it doesn't matter. The point is that a 2.4-kernel can support USB, but since you are using a realtime-kernel (I would assume compiled by your vendor) it may be that the usb-storage support is not enabled.
I think it would really be the best to ask your vendor. There may be drivers be compiled into your kernel, or as a module, that are not part of a standard kernel (which is also not realtime), so exchanging the kernel is a no-go without asking the support before. |
Thank you for your support, I plan to address this issue with my vendor.
Because we where able to confirm my inital suspicion (that the kernel is the issue), I will consider the issue as solved. |
All times are GMT -5. The time now is 09:55 PM. |