i.mx6solo fat32 USB disk hotplugging

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.mx6solo fat32 USB disk hotplugging

ソリューションへジャンプ
1,244件の閲覧回数
kanoumamoru
Contributor III

Hi, all

Would you please help us seek technical support from Freescale regarding FAT32 USB disk hotplugging?

We are using Freescale BSP (version L3.0.35_4.1.0) on imx6.solo processor. When we do FAT32 USB disk hotplugging test we met the following problem:

         Repeatedly plug and unplug a FAT32 USB disk.

During the time period when the usb disk is mounted, A user program continuously reads the USB disk structure.

After thousands of times of test, sometimes the user program thread is put into dormant state and the sleep reason is “sleep_on_buffer”. (we believe this means the kernel code fs/buffer.c, sleep_on_buffer() function). When this happens the USB disk can still be accessed from other user program.

Could you please give us hint on what might be the possible reason and how to avoid it?

For your info the relevant kernel config is like this:

CONFIG_FS_MBCACHE=y

# CONFIG_REISERFS_FS is not set

# CONFIG_JFS_FS is not set

# CONFIG_XFS_FS is not set

# CONFIG_GFS2_FS is not set

# CONFIG_BTRFS_FS is not set

# CONFIG_NILFS2_FS is not set

# CONFIG_FS_POSIX_ACL is not set

CONFIG_FILE_LOCKING=y

CONFIG_FSNOTIFY=y

CONFIG_DNOTIFY=y

CONFIG_INOTIFY_USER=y

# CONFIG_FANOTIFY is not set

# CONFIG_QUOTA is not set

# CONFIG_QUOTACTL is not set

CONFIG_AUTOFS4_FS=y

# CONFIG_FUSE_FS is not set

# CONFIG_FSCACHE is not set

CONFIG_FAT_FS=y

CONFIG_MSDOS_FS=y

CONFIG_VFAT_FS=y

CONFIG_FAT_DEFAULT_CODEPAGE=437

CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"

# CONFIG_NTFS_FS is not set

ラベル(2)
0 件の賞賛
返信
1 解決策
773件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Mamoru

it may be recommended to try latest L3.0.35_4.1.0 kernel :

L3.0.101_4.1.1_SOURCE_BSP : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo

and i.MX 6Sololite Linux BSP Source Code Files.

Size (K): 319113 Format: gz Rev #: L3.0.101_4.1.1. Modified: 11/3/2014

and try patches provided on link below (like usb_memory_issue patch)

IMX6Q system hang-up problem / linux kernel(3.0.35)

Best regards

igor

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
774件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Mamoru

it may be recommended to try latest L3.0.35_4.1.0 kernel :

L3.0.101_4.1.1_SOURCE_BSP : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo

and i.MX 6Sololite Linux BSP Source Code Files.

Size (K): 319113 Format: gz Rev #: L3.0.101_4.1.1. Modified: 11/3/2014

and try patches provided on link below (like usb_memory_issue patch)

IMX6Q system hang-up problem / linux kernel(3.0.35)

Best regards

igor

0 件の賞賛
返信
773件の閲覧回数
kanoumamoru
Contributor III

Hi Igor,

I greatly appreciate your information.

I confirm it.

Best Regards,

kanou

0 件の賞賛
返信
773件の閲覧回数
kaloyantenchov
Contributor I

Hello,

I am seeing the same symptom with i.MX6D and L3.0.35_4.0.0. Were you able to trace the issue down to a specific patch? We have the usb_memory_issue patch applied but we still see the issue.

Thanks,

Kaloyan

0 件の賞賛
返信