• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : mini2440 U盘挂接不成功 请求帮助 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
楼主  发表于: 2008-11-20 08:44

 mini2440 U盘挂接不成功 请求帮助

按手册2.4.3做的。可是挂接不成功
老大说是不支持ntfs格式的U盘,我把它格成了FAT32的。也不行,出现下面信息。
从后边数第二行,提示不能识别的分区表,是什么意思啊?怎么解决?

大家帮帮忙,谢谢了。

usb 1-1: new full speed USB device using s3c2410-ohci and address 4
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: USB2.0    Model: Flash Disk        Rev: 2.30
  Type:  Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 8273920 512-byte hdwr sectors (4236 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 8273920 512-byte hdwr sectors (4236 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
/dev/scsi/host2/bus0/target0/lun0:<7>usb-storage: queuecommand called
unknown partition table
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-11-20 10:00
执行cat /proc/partitions, 把命令的输出贴出来
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
2楼  发表于: 2008-11-21 09:35
支持的最大U盘是多少的啊,我用的是1G的MP3和一个4G的U盘。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2008-11-21 13:11
想解决问题的话就不要关心和你没关系的东西
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 1470
精华: 0
发帖: 48
金钱: 430 两
威望: 219 点
综合积分: 96 分
注册时间: 2008-09-01
最后登录: 2014-11-04
4楼  发表于: 2008-11-21 13:24
U盘最大好像是2G,格式是FAT.
级别: 新手上路
UID: 2518
精华: 0
发帖: 1
金钱: 10 两
威望: 1 点
综合积分: 2 分
注册时间: 2008-11-21
最后登录: 2008-12-02
5楼  发表于: 2008-11-23 16:22
描述:cat
图片:
我刚学ARM,我的USB也挂不上,以下是执行cat /proc/partitions的图
新手上路,请各位多多指教
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
6楼  发表于: 2008-11-24 08:06
试试
$mknod /dev/sda1 b 8 1
$mkdir -p /mnt/sda1 && mount /dev/sda1 /mnt/sda1
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
7楼  发表于: 2008-11-25 08:30
前几天一直不能上网,所以不能即时回信息,再次感谢kasim的帮助

下面是我执行 cat /proc/paritions的输出信息。
root@FriendlyARM /]# cat /proc/partitions
major minor  #blocks  name

  31    0        192 mtdblock0
  31    1      2048 mtdblock1
  31    2      63152 mtdblock2
  8    0      96824 sda

我按上面的方法也试了下,还是不行,我把sda1全换成sda了也不行。
[root@FriendlyARM /]# mknod /dev/sda1 b 8 1
mknod: /dev/sda1: File exists
[root@FriendlyARM /]# mkdir -p /mnt/sda1 && mount /dev/sda1 /mnt/sda1
mount: Mounting /dev/sda1 on /mnt/sda1 failed: No such file or director
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
8楼  发表于: 2008-11-25 11:20
你两次用的U盘不一样,分区也不一样,用的mount命令当然也要相应改

我让你用cat /proc/partitions命令是为了看U盘的分区信息,如果出现有sda1的,就说明U盘有分区,对应的mount这个分区就可以了,如果只有sda的,说明U盘上没有分区表,你只能mount整个盘。

至于mount命令的语法,在Linux上用man mount能看得到
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
9楼  发表于: 2008-11-25 11:53
哦,谢谢了,我的没出现sda1,只出现sda了。我先查下mount的具体用法吧
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go