|
内核使用的是2.6.22.6,板子是友善的mini2440,把配置编译好的内核下载到板子之后,我的操作和输出如下:
插入U盘之前:
/ # cat /proc/partitions
major minor #blocks name
31 0 192 mtdblock0
31 1 256 mtdblock1
31 2 2048 mtdblock2
31 3 63152 mtdblock3
插入U盘之后输出:
/ # usb 1-1: new full speed USB device using s3c2410-ohci and address 3
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
scsi 1:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
sd 1:0:0:0: [sda] 3905407 512-byte hardware sectors (2000 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] 3905407 512-byte hardware sectors (2000 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 1:0:0:0: [sda] Attached SCSI removable disk
sd 1:0:0:0: Attached scsi generic sg0 type 0
终端输出定格在这,按回车键后才又出现命令提示符:
/ #
/ # cat /proc/partitions
major minor #blocks name
31 0 192 mtdblock0
31 1 256 mtdblock1
31 2 2048 mtdblock2
31 3 63152 mtdblock3
8 0 1952703 sda
8 1 1952464 sda1
/ # mount -t vfat /dev/sda1 /mnt
mount: mounting /dev/sda1 on /mnt failed: No such file or directory
/ #
/ # ls /dev
console mtdblock0 mtdblock2 sda tty1 video0
fb0 mtdblock1 null sda1 ttySAC0
/ # fdisk -l
Disk /dev/sda: 1999 MB, 1999568384 bytes
32 heads, 63 sectors/track, 1937 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 1937 1952464+ b Win95 FAT32
感觉U盘已经识别出来了,就是挂接不上,请高手们指点下,可能的问题会出现在哪? 谢谢!
(U盘是好的,在xp下可用,板子的usb接口也是好的,用别人的写好的内核可以挂接这个U盘。) |
|