LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   usbfs on slackware 10.1 (https://www.linuxquestions.org/questions/slackware-14/usbfs-on-slackware-10-1-a-363215/)

anilkumar.as 09-14-2005 03:43 AM

usbfs on slackware 10.1
 
hi
I have a motorola e398. I'm unable to mount the flash. I came to know its FS is vfat. Its mounted on /proc/bus/usb.

mount -t vfat /dev/sda1 /mnt/usb
doesnt work
I dont know which device to use. Please help me. Is it sda1 or some other device?

I have slack 10.1 and kernel 2.4.29

Ike M. 09-14-2005 04:29 AM

I believe
 
that SDA refers to a SCSI device... Is there a way that you can watch as your LINUX is booting and listing all of the devices that it recongnizes and SUCCESSFULLY gains access to?

Ideally you would see that particular device being recognized and listed during the boot process, and that would maybe help you as far as how you are to address it.

If that doesn't work, have you another distro you could use that maybe offers a more explicit listing of devices? I have used Tom's Rootboot in several instances where I had difficulty IDing some hardware and it successfully resolved what that item was, although it all goes by so fast it sometimes took a couple tries before I was even able to read it

KMcD 09-14-2005 04:36 AM

when you plug in the device enter
Code:

dmesg
on the command line (or in a console) and see what it says. If it's been sent an sd* device it will list it. If you're still having problems post the output of dmesg here (only the parts concerning usb).

Chromezero 09-14-2005 05:28 AM

try this...
Code:

mount /dev/uba1 /mnt/usb
Slackware uses uba instead of sda. Atleast it does on my two systems.

*Edit*
I forgot to mention a couple things that came to mind. Do you have a directory for USB under /mnt? Also, do you have a line in your fstab for your USB drive? I went one step further and have several lines in my fstab for USB drives and I also have several directories under /mnt such as: usb1, usb2, usb3. The /dev files are uba1, uba2, uba3, etc. I sometimes have multiple usb drives connected, at the same time, which requires the seperate directories and fstab entries.

KMcD 09-14-2005 05:40 AM

Quote:

Originally posted by Chromezero
try this...
Code:

mount /dev/uba1 /mnt/usb
Slackware uses uba instead of sda. Atleast it does on my two systems.

That can be fixed by removing the option for low-performance usb devices in kernel config. (You'd have to recompile kernel, not too big a job.)

eka 09-14-2005 10:56 AM

I have a similar problem whit my GSM Motorola E398 which is seen in XP like removable disk.I tried many ways to solve the problem,but no result.It gives a error -1 or -71 in dmesg.probe of driver usb_storage gives an error -1.Then I compile a new kernel 2.6.13(whit many errors and bugs) but when I plug the phone it was recognized from the system.So I think problem is in kernel 2.6.8.Is there someone who knows where do we can find newer kernel to Mandrake 10.1 in rpm format.I try to install 2.6.11 but it tells me bad SDA key.

MMYoung 09-14-2005 02:22 PM

Quote:

Originally posted by KMcD
That can be fixed by removing the option for low-performance usb devices in kernel config. (You'd have to recompile kernel, not too big a job.)
And it is highly recommended that you do disable UB in the kernel. Last I checked, when UB is enable it cripples usb-storage.

From the 2.6.11.12 Block devices/Low Performance USB Driver help file:
Quote:

This driver supports certain USB attached storage devices
such as flash keys.

Warning: Enabling this cripples the usb-storage driver.

If unsure, say N.
Not sure if this has been fixed in later kernels.

Later,
MMYoung

elyk 09-14-2005 04:36 PM

I have a thumbdrive that would not mount when plugged into some of the usb ports. It turns out that the plastic case won't let it plug in all the way, so it wouldn't ever mount. If it's not a software issue, try it with a different usb port.


All times are GMT -5. The time now is 02:37 AM.