2009-04-27 10:48:39     Mounting issues

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-04-27 10:48:39     Mounting issues

Harbhajan Singh (INDIA)

Message: 73291   

 

Hi,

 

I am working with the Bf527 Ezkit and Trunk distribution. I have external host controller interfaced with the Blackfin.

 

I am able to succesfully boot the kernel and it detects the root hub and the 2 ports. When i connect a usb device it is enumerated and the details of the device are displayed as follows.

 

usb 1-2: configuration #1 chosen from 1 choice

scsi0 : SCSI emulation for USB Mass Storage devices

usb 1-2: address 2, EndpointAddress 0x02 use DMA FIFO

usb 1-2: address 2, EndpointAddress 0x81 use DMA FIFO

 

in the devices list is as follows.

 

ls /dev

 

dev/usbdev1.1

dev/ram6                dev/tty36               dev/usbdev1.1_ep00

dev/ram7                dev/tty37               dev/usbdev1.1_ep81

dev/ram8                dev/tty38               dev/usbdev1.2

dev/ram9                dev/tty39               dev/usbdev1.2_ep00

dev/random              dev/tty4                dev/usbdev1.2_ep02

dev/rtc0                dev/tty40               dev/usbdev1.2_ep81

 

when i tried to mount the file system i am getting the following error.

 

root:/> mount -t vfat /dev/usbdev1.1 /mnt

mount: mounting /dev/usbdev1.1 on /mnt failed: Block device required

 

How to solve this mount problem.

 

Best Regards, Sreedhar.

 

 

 

QuoteReplyEditDelete

 

 

2009-04-27 11:01:24     Re: Mounting issues

Robin Getz (UNITED STATES)

Message: 73293   

 

Sreedhar:

 

Do what the error tells you. - use a block device - something like /dev/sda1 (whatever was mounted by the kernel).

 

-Robin

QuoteReplyEditDelete

 

 

2009-04-28 01:27:57     Re: Mounting issues

svs k (INDIA)

Message: 73325   

 

Robin:

 

I didnt get much information from this error. Is there any option needed  to be enabled for this error in menuconfig?

 

Block device required.

 

 

 

Regards,

 

svsk.

 

 

QuoteReplyEditDelete

 

 

2009-04-28 01:35:40     Re: Mounting issues

Mike Frysinger (UNITED STATES)

Message: 73329   

 

read some basic Linux books on the difference between a character device and a block device.  it makes no sense at all to try and access a direct USB end point as a block device like you're doing.  only real block devices will work.

 

you should also be searching the wiki:

  docs.blackfin.uclinux.org/doku.php?id=usb_peripherals

Attachments

    Outcomes