FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

# mount -t vfat /dev/sda1 /mnt
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

解决办法:

make menuconfig

File Systems --->

     DOS/FAT/NT Filesystems  --->

        (utf8) Default iocharset for FAT

改为

        (cp936) Default iocharset for FAT

 

 mount -t vfat /dev/sda1 /mnt/udisk

可成功使用u盘 mini2440开发板

 

 

 

在插入u盘时

sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

 

不知道是不是utf8 is not a recommended IO charset 这个问题!!

 

我查看了u盘的格式

[root@EmbedSky /]# fdisk -l /dev/sda

Disk /dev/sda: 4002 MB, 4002910208 bytes
32 heads, 63 sectors/track, 3878 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1        3878     3908992+  b Win95 FAT32

但我用命令 mount  /dev/sda1 /mnt/udisk  或  mount -t vfat /dev/sda1 /mnt/udisk等都会出现下面的语句就不行!

FAT: Filesystem panic (dev sda1)

fat_get_cluster: invalid cluster chain (i_pos 0)

File system has been set read-only

ls: /mnt/udisk/128x64: Input/output error

[ 2.738863] soc-audio soc-audio: bluetooth-pcm-dai <-> owl-audio-i2s mapping ok [18:41:57.091] [ 2.739434] ATC260X_POWER: create sysfs for atc260x power [18:41:57.096] [ 2.739541] ATC260X_POWER: temp_ctl_enable is not enable [18:41:57.103] [ 2.757244] atc2603c-sgpio atc2603c-sgpio.0: requested SGPIO #2 [18:41:57.186] [ 2.840089] charger=c7838918 2896 [18:41:57.189] [ 2.843395] set_vbus_path=c048cbc0 set_apds_vbus_pd=c048cc68 [18:41:57.198] [ 2.849391] cpufreq: bond_opt=0 [18:41:57.198] [ 2.852998] clk: Not disabling unused clocks [18:41:57.203] [ 2.857808] <umonitor> : idpin_type is GPIO_IDPIN, gpio_no=120 [18:41:57.207] [ 2.863668] ====otgvbus_gpio: num-91, active-low---detect_type=3,idpin_type=2,vbus_type=2--- [18:41:57.230] [ 2.884330] ALSA device list: [18:41:57.233] [ 2.887291] #0: atm7059_link [18:41:57.237] [ 2.890668] open ttyS3 [18:41:57.243] [ 2.893888] Freeing unused kernel memory: 420K (c0a50000 - c0ab9000) [18:41:57.727] [ 3.379174] open ttyS3 [18:41:57.820] [ 3.472405] open ttyS3 [18:41:57.842] [ 3.495771] init: waitpid returned pid 106, status = 00000000 [18:41:57.848] [ 3.496945] PVRSRVDriverProbe start! [18:41:57.858] [ 3.499351] mode: [0-->2] ! [18:41:57.858] [ 3.499433] cputherm_register_notifier list 0 [18:41:57.858] [ 3.499439] GPU Init success! [18:41:57.858] [ 3.499581] In normal mode 2 [18:41:57.867] [ 3.500387] PVRSRVDriverProbe done! [18:41:57.867] [ 3.521733] init: process 'hwclock_update', pid 106 exited [18:41:57.884] [ 3.534977] #####: Device 1: Framebuffer physical address: 0x9274000 [18:41:57.889] [ 3.534984] dc_owl: DC_OWLInitFBDev: Device 1: Unknown FB format [18:41:57.899] [ 3.547544] #####: Device 0: Framebuffer physical address: 0x8e0c000 [18:41:57.899] root@xlt:/ # [ 3.547551] dc_owl: DC_OWLInitFBDev: Device 0: Unknown FB format [18:41:57.907] [ 3.561506] PVR_K: UM DDK-(3052601) and KM DDK-(3052601) match. [ OK ] [18:41:57.934] [ 3.588769] init: waitpid returned pid 107, status = 00000000 [18:41:57.940] [ 3.594661] init: process 'pvrsrvctl', pid 107 exited [18:41:58.036] [ 3.690318] read_mi_head, line 429, magic 0x0, length 0, item num 0 [18:41:58.042] [ 3.696587] read Head null [18:41:58.047] [ 3.699294] OWL_HDMI_ERR: failed to read hdcp key from secure storage [18:41:58.090] [ 3.743193] ion_phys: ion_phys is not implemented by this heap (id=12 type=0 name=ion_system). [18:41:58.104] [ 3.758439] ioctl GET_DISPLAY_INFO display c0aff048 lcd (800 x 480 @ 58 MHZ) [18:41:58.116] [ 3.766622] framebuffer framebuffer.8: device is NULL or no driver [18:41:58.162] [ 3.816729] init: no such service 'bootanim' [18:41:58.403] [ 4.057789] ion_phys: ion_phys is not implemented by this heap (id=12 type=0 name=ion_system). [18:41:58.850] [ 4.503697] free reserve pages 1024 to buddy system [18:42:07.312] [ 12.967024] FAT-fs (mmcblk0p7): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [18:42:12.055] [ 17.709640] dwc3_charging_monitor 83 set adaptor mode! [18:42:12.059] [ 17.714902] [atc260x_set_usb_plugin_type]usb_pluged_type = 2 [18:42:13.966] [ 19.622049] [18:42:13.966] [ 19.622049] /home/joss/workshop/5001/sdk/ls500a/android/kernel/drivers/usb/monitor/umonitor_core.c--699, SYS_MSG_USB_B_IN [18:42:13.986] [ 19.635430] /home/joss/workshop/5001/sdk/ls500a/android/kernel/drivers/usb/monitor/umonitor_api.c--1195, wake_lock !!! [18:42:14.002] ------USB_B_IN: [ 19.657799] [18:42:14.009] [ 19.657799] ----udc_set_plugstate--PLUGSTATE_IN-3-- [18:42:14.009] device mode [18:42:14.015] [ 19.665579] [18:42:14.015] [ 19.665579] ------------dwc3_clk_init-----ic=1----- [18:42:14.021] [ 19.675130] [PowerGate] name: 'usb3', on: 1, before SPS_PG_CTL: 0x143304 [18:42:14.025] [ 19.682054] [PowerGate] name: 'usb3', on: 1, after SPS_PG_CTL: 0x147704 [18:42:14.178] [ 19.834316] current_uref: 2, USB3PHY2 Swing value: 0x4 [18:42:14.184] [ 19.839480] GS705A phy init for dwc3 gadget 16:37:57 [18:42:14.191] [ 19.844810] current_uref: 2, USB3PHY2 Swing value: 0x4 [18:42:14.199] [ 19.849973] GS705A phy init for dwc3 gadget 16:37:57 [18:42:14.199] [ 19.855269] [18:42:14.199] [ 19.855269] write usb_con_msg USB_B_IN [18:42:14.208] [ 19.855269] [18:42:14.208] [ 19.862114] dwc3_gadget_reset_interrupt!!!!!!! [18:42:14.219] [ 19.863818] android_usb: already disabled [18:42:14.219] [ 19.870561] [atc260x_set_usb_plugin_type]usb_pluged_type = 1 [18:42:14.219] ------adb start in B_IN [18:42:14.231] [ 19.882672] init: starting 'adbd' [18:42:14.231] [ 19.884077] dwc3_gadget_reset_interrupt!!!!!!! [18:42:14.235] [ 19.884224] android_work: did not send uevent (0 0 (null)) [18:42:14.240] [ 19.896566] dwc3_gadget_reset_interrupt!!!!!!! [18:42:14.248] [ 19.901049] dwc3_gadget_reset_interrupt!!!!!!! [18:42:14.252] [ 19.905501] dwc3_gadget_reset_interrupt!!!!!!!
最新发布
08-19
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值