LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   usb thumb drive not recognised (https://www.linuxquestions.org/questions/linux-hardware-18/usb-thumb-drive-not-recognised-379246/)

espaw 11-02-2005 08:12 AM

usb thumb drive not recognised
 
need some help to make my Xandros recognise the usb thumb drive. Following the example in other posts, the following is what appears when i plug in the drive:

hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
usb 1-5: new high speed USB device using address 4
usb 1-5: control timeout on ep0out
usb 1-5: control timeout on ep0out
usb 1-5: device not accepting address 4, error -110
usb 1-3: new high speed USB device using address 6
usb 1-3: control timeout on ep0out
usb 1-3: control timeout on ep0out
usb 1-3: device not accepting address 6, error -110
usb 1-3: new high speed USB device using address 7
usb 1-3: control timeout on ep0out

output from mount command:
/dev/hda1 on / type reiserfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda5 on /disks/C type ntfs (ro,noexec,nosuid,nodev,umask=0,iocharset=iso8859-1)
/dev/hdb2 on /disks/xandros type reiserfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0666)
automount(pid3162) on /var/autofs/cdrom.1 type autofs (rw,fd=3,pgrp=3162,minproto=2,maxproto=4)


so it seems like there is no /dev/sda in my configuration, as other mails suggests. anyone can help to suggest what i need to do?

EeSin

scuzzman 11-03-2005 12:56 AM

I had the same problem and resolved it here.

espaw 11-03-2005 08:01 AM

thanks for the info, however, I am not at that level of compiling a new kernel yet.

also, after some reading and testing, i found that if i were connect it to a usb 1.0 hub, the drive get recognised but xfm will not show a removable drive icon. so, i tried one more thing: modprobe usb-storage, and it works!

Now, how do i put "modprobe usb-storage" so that it get loaded on every bootup?

username17 11-03-2005 08:45 AM

If your distro sticks to standards, you can edit /etc/rc.d/rc.modules.

In fact "modprobe usb-storage" is probably in that file, just commented out.
If it is, just uncomment and save, that way when you reboot it will run "modprobe usb-storage" in the future.




P.S. reason I mentioned the standards thing is because that's the way slackware does it, that is the standard.

espaw 11-03-2005 09:00 PM

too bad, i am using a "non standard" distribution: Xandros, and I think there is no rc.d.

what should be done in this case, anyone can help?

scuzzman 11-03-2005 09:25 PM

You can add that command to /etc/modprobe.conf to have it loaded at startup.

Electro 11-03-2005 09:55 PM

Assuming SCSI and USB storage is configured in the kernel. Make sure sd_mod and usb-storage are loaded. The module usb-storage is require to detect the usb storage medium. sd_mod module sets up the device node. If you see ub after you did find /lib/modules/`uname -r` -name 'ub.ko' then recompile your kernel with out old usb storage support. If everything is loaded type fdisk -l to get a list of drives. It should be something like /dev/sda1 or /dev/sdb1. udev is much better detect USB devices than devfsd, so you may want to switch.

/etc/rc.d/rc.modules and /etc/modprobe.conf is not the standard where you place modprobe usb-storage. That is only for Slackware. The standard file is /etc/rc.local. /etc/modprobe.conf and /etc/modules.conf is where you put modules to load at bootup using special program langauge that the kernel will understand.

Quote:

hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
Make sure you re-compile your kernel with multimode support if you do not want to see this again. It is in the IDE section if using 'make menuconfig'.


All times are GMT -5. The time now is 09:34 AM.