[qtmoko33] usb storage issue and kernel panic (was Re: qtmoko v33)

2011-03-08 Thread Alfa21-mobile
On Fri, Mar 4, 2011 at 10:16 PM, Alfa21 freerun...@my.is.it wrote:
 * fixed usb mass storage script

 I like the added logic to use the whole sdcard or a specific partition!

 btw why in fstab you consider swap on p4? is there any doc about use of p3 in 
 qtmoko?
 (I usually set uSD's p1 as storage, p2 as rootfs, p3 as swap)

 ah, about fs type... do you consider for future releases using btrfs or ext4? 
 I know they have optimizations for flash memory kind of storage.


hi radek,
I modified the last line in on script like:
#modprobe g_file_storage file=${DEV_NAME} stall=0
modprobe g_file_storage file=${DEV_NAME} stall=0 removable=y

this because otherwise (at least with a specific single partition
scenario) the usb drive is not usable with windows.
with linux and my home tv-set and home theater is always accessible,
with or without the removable=y directive.
this change just add the compatibility with windows OS (tested on winXP).

btw, both now and before, I get kernel panic changing usb mode back
and forth storage/ethernet more than twice... :(
I'm not able to tell more on this issue because on reboot do not see
anything interesting inside logs :S

regards

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [qtmoko33] usb storage issue and kernel panic (was Re: qtmoko v33)

2011-03-08 Thread Radek Polak
Alfa21-mobile wrote:

 hi radek,
 I modified the last line in on script like:
 #modprobe g_file_storage file=${DEV_NAME} stall=0
 modprobe g_file_storage file=${DEV_NAME} stall=0 removable=y

Oki, i have commited this change.

Thanks!

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community