> Ashok,
>       Which kernel version are you on ?

linux-davinci-2.6.23


Ashok


>
> Regards
> swami
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 19, 2007 4:48 PM
> To: Subbrathnam, Swaminathan
> Cc: [EMAIL PROTECTED]; [email protected]
> Subject: RE: using file backed storage support
>
>> Ashok,
>>      Try passing "stall=0" when inserting file storage gadget on the
>> Davinci side.
>
> please ignore my previous mail.
>
> The command is
> "insmod g_file_storage.ko file=backing_file removable=1 stall=0"
>
> i took this command from this link
> http://linux.omap.com/pipermail/davinci-linux-open-source/2007-November/
> 004505.html
>
>
> But still it is giving error, when enabling DMA.
>
>
> Ashok
>
>>
>> Regards
>> swami
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On
>> Behalf Of [EMAIL PROTECTED]
>> Sent: Monday, November 19, 2007 3:57 PM
>> To: [email protected]
>> Subject: using file backed storage support
>>
>> Hi,
>>
>> By enabling the following option, i am able to file backed storage
>> support.
>> Linux Kernel Configuration -->> Device Drivers -->> [*] USB support
>> --->
>> <*>   Inventra Highspeed Dual Role Controller (TI, ...) --> [*]
>> Disable DMA (always use PIO)
>>
>> and getting these messages on host side pc
>>
>> usb 1-3: new high speed USB device using ehci_hcd and address 65
>> usb 1-3: configuration #1 chosen from 1 choice
>> scsi1 : SCSI emulation for USB Mass Storage devices
>> usb-storage: device found at 65
>> usb-storage: waiting for device to settle before scanning
>> scsi 1:0:0:0: Direct-Access     Linux    File-Stor Gadget 0316 PQ: 0
>> ANSI: 2
>> sd 1:0:0:0: [sda] 131072 512-byte hardware sectors (67 MB)
>> sd 1:0:0:0: [sda] Write Protect is off
>> sd 1:0:0:0: [sda] Mode Sense: 0f 00 00 00
>> sd 1:0:0:0: [sda] Assuming drive cache: write through
>> sd 1:0:0:0: [sda] 131072 512-byte hardware sectors (67 MB)
>> sd 1:0:0:0: [sda] Write Protect is off
>> sd 1:0:0:0: [sda] Mode Sense: 0f 00 00 00
>> sd 1:0:0:0: [sda] Assuming drive cache: write through
>>  sda: sda1
>> sd 1:0:0:0: [sda] Attached SCSI removable disk
>> usb-storage: device scan complete
>>
>>
>>
>> if i deselect this "Disable DMA" option , then by default DMA mode is
>> got
>> selected and getting the following error on host side
>>
>> Linux Kernel Configuration -->> Device Drivers -->> [*] USB support
>> --->
>> <*>   Inventra Highspeed Dual Role Controller (TI, ...) --> [ ]
>> Disable DMA (always use PIO) (Now DMA is enabled)
>>
>> usb 3-2: new full speed USB device using uhci_hcd and address 34
>> usb 3-2: device descriptor read/64, error -71
>> usb 3-2: device descriptor read/64, error -71
>> usb 3-2: new full speed USB device using uhci_hcd and address 35
>> usb 3-2: device descriptor read/64, error -71
>> usb 3-2: device descriptor read/64, error -71
>> usb 3-2: new full speed USB device using uhci_hcd and address 36
>> usb 3-2: device not accepting address 36, error -71
>> usb 3-2: new full speed USB device using uhci_hcd and address 37
>> usb 3-2: device not accepting address 37, error -71
>>
>> On Board side
>> -------------
>>  <6>g_file_storage gadget: File-backed Storage Gadget, version: 28
>> November 2005
>> g_file_storage gadget: File-backed Storage Gadget, version: 28
> November
>> 2005
>> <6>g_file_storage gadget: Number of LUNs=1
>> g_file_storage gadget: Number of LUNs=1
>> <6>g_file_storage gadget-lun0: ro=0, file: /root/backing_file
>> g_file_storage gadget-lun0: ro=0, file: /root/backing_file
>> <7>musb_stage2_irq 807: SUSPEND (b_idle) devctl 99 power e0
>> <7>musb_stage2_irq 807: SUSPEND (b_idle) devctl 99 power e8
>> <7>musb_stage0_irq 659: BUS RESET as b_idle
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage2_irq 807: SUSPEND (b_peripheral) devctl 99 power e0
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_i9: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage0_irq 659: BUS RESET as b_peripheral
>> <7>musb_stage2_i807: SUSPEND (b_peripheral) devctl 99 power e0
>>
>> any pointers on this would be helpful
>>
>>
>> Ashok
>>
>>
>>
>>
>> _______________________________________________
>> Davinci-linux-open-source mailing list
>> [email protected]
>> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>>
>
>
>


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to