Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: salviador on December 24, 2014, 11:57:50 AM

Title: g_mass_storage -> REQUEST SENSE is buggy!
Post by: salviador on December 24, 2014, 11:57:50 AM
Hi, I have a problem with gadget mass storage.  :'(

The USB work but I read this problem in dmesg:


[ 1110.827205] g_mass_storage gadget: sending command-failure status
[ 1110.845838] g_mass_storage gadget: REQUEST SENSE is buggy! Expected length 6 but we got 12
[ 1111.827339] g_mass_storage gadget: sending command-failure status
[ 1111.842026] g_mass_storage gadget: REQUEST SENSE is buggy! Expected length 6 but we got 12
.....
.....


How can I solve?


(I use g_mass_Storage with sata HDD 500Gb) Use this command:

sudo rmmod g_mass_storage
modprobe g_mass_storage file=/dev/sda removable=yes stall=0