So the issue is apparently the fact that the Xbox 360 issues certain SCSI commands with cbw->Length of 10. My previous searches in this group for "xbox 360" failed, I should have tried "xbox360". I found a post from Felipe Balbi back in 2008 (http://article.gmane.org/gmane.linux.usb.general/10058) along with a patch for g_file_storage where he checks whether the SCSI command size is < fsg command size and then sets the command size appropriately. After making this 2 line change, everything works. I am still puzzled, how would I have found this without access to the 360? It seems I would need to run usbmon on the 360 and look for the length of certain SCSI commands. I would like to nail down some analysis procedures to increase my chances of dealing with similar issues in the future. If you suspected this issue on a closed host, how would you verify it? To answer some final questions. @Roger/Michal Yes, this driver uses other composite functions - usb ethernet, tty, serial and novacom. But I had commented out these options during testing, leaving only the mass storage function as the 1st and only configuration. @Michal The f_mass_storage.c that was included in this kernel is the version by Mike Lockwood. Zach 2010/9/14 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > > On Mon, 13 Sep 2010, Zachary Burke wrote: > > > > Do you specify a "file" module parameter? Or just leave it as removable? > > When loading the file_storage module, I do use the "file" parameter to > > specify which device to map. The stock Palm driver has this > > hard-coded to /dev/mapper/store-media, so I use the same. > > It doesn't look like you used it in the log you sent to pastebin.com. > Or maybe the file didn't exist. > > > The full output for the bulk data can be seen below. > > Stock driver http://pastebin.com/gLjQXYfb > > Gadget driver http://pastebin.com/f1ZyDSvZ > > > > The differences in configuration of the 2 modules seems cosmetic only, > > so I believe I need to focus on what is happening with Bo/Bi. I am a > > little outside of my knowledge area looking at the Bo/Bi data and need > > to spend some more time studying this area and the mass storage spec. > > Any comments are welcome. > > The gadget driver log shows normal operation with a backing file > present. The stock driver log shows normal operation with no backing > file (a long series of Not Ready, Medium Not Present errors). > > Alan Stern > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html