LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1061|回复: 3

带u盘启动2410开发板不能运行qt

[复制链接]
发表于 2007-7-12 16:49:16 | 显示全部楼层 |阅读模式
我把u盘插在usb插槽上,reset2410开发板,在rc.local上已经添加了
/sbin/mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /u
/Qtopia/qtopia-free-1.7.0/bin/qt -qws
不过启动到一半的时候就停下来了,把u盘拔掉可以运行qt程序。
错误提示如下:

....................
usb.c: registered new driver usbdevfs

usb.c: registered new driver hub

usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26

usb.c: new USB bus registered, assigned bus number 1

hub.c: USB hub found

port #1 suspened!

port #0 alived!

hub.c: 1 port detected

usb.c: registered new driver usb_mouse

usbmouse.c: v1.6:USB HID Boot Protocol mouse driver

usb.c: registered new driver keyboard

usbkbd.c: :USB HID Boot Protocol keyboard driver

mice: PS/2 mouse device common for all mice

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP, IGMP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 4096 bind 4096)

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com

VFS: Mounted root (cramfs filesystem).

Mounted devfs on /dev

Freeing init memory: 72K

hub.c: USB new device connect on bus1/1, assigned device number 2

usb.c: USB device 2 (vend/prod 0xea0/0x6803) is not claimed by any active driver.

Reading data from NAND FLASH without ECC is not recommended

mount /etc as ramfs
re-create the /etc/mtab entries
Reading data from NAND FLASH without ECC is not recommended

UDA1341 audio driver initialized

Initializing USB Mass Storage driver...

usb.c: registered new driver usb-storage

scsi0 : SCSI emulation for USB Mass Storage devices

  Vendor: OTi       Model: Ultra Floppy      Rev: 1.11

  Type:   Direct-Access                      ANSI SCSI revision: 02

Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0

SCSI device sda: 32256 512-byte hdwr sectors (17 MB)

sda: Write Protect is off

Partition check:

/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4

USB Mass Storage support registered.

Linux video capture interface: v1.00

video_dev: unable to get major 81

insmod: init_module: videodev: Input/output error
usb.c: registered new driver ov511

ov511.c: v1.48a for Linux 2.4 : OV511 USB Camera Driver

mount: Mounting none on /proc/bus/usb failed: No such file or directory
cramfs: wrong magic

mount: Mounting /dev/mtdblock/3 on /tmp/disk3 failed: Invalid argument

init started:  BusyBox v0.60.5 (2003.05.12-11:53+0000) multi-c

到这里就停下来了!!谁知道怎么解决!
发表于 2007-7-12 18:04:04 | 显示全部楼层
注意:
USB device 2 (vend/prod 0xea0/0x6803) is not claimed by any active driver.

原因:
rootfs中的/lib/modules/$(内核版本号)的目录下缺少正确的modules.usbmap文件。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-13 09:55:25 | 显示全部楼层

补充

如果u盘不挂着,可以自动运行程序,提示信息如下:
usb.c: registered new driver usbdevfs

usb.c: registered new driver hub

usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26

usb.c: new USB bus registered, assigned bus number 1

hub.c: USB hub found

port #1 suspened!

port #0 alived!

hub.c: 1 port detected

usb.c: registered new driver usb_mouse

usbmouse.c: v1.6:USB HID Boot Protocol mouse driver

usb.c: registered new driver keyboard

usbkbd.c: :USB HID Boot Protocol keyboard driver

mice: PS/2 mouse device common for all mice

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP, IGMP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 4096 bind 4096)

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com

VFS: Mounted root (cramfs filesystem).

Mounted devfs on /dev

Freeing init memory: 72K

Reading data from NAND FLASH without ECC is not recommended

mount /etc as ramfs
re-create the /etc/mtab entries
UDA1341 audio driver initialized

Reading data from NAND FLASH without ECC is not recommended

Initializing USB Mass Storage driver...

usb.c: registered new driver usb-storage

USB Mass Storage support registered.

Linux video capture interface: v1.00

video_dev: unable to get major 81

insmod: init_module: videodev: Input/output error
usb.c: registered new driver ov511

ov511.c: v1.48a for Linux 2.4 : OV511 USB Camera Driver

mount: Mounting none on /proc/bus/usb failed: No such file or directory
cramfs: wrong magic

mount: Mounting /dev/mtdblock/3 on /tmp/disk3 failed: Invalid argument

init started:  BusyBox v0.60.5 (2003.05.12-11:53+0000) multi-cll binary
Reading data from NAND FLASH without ECC is not recommended


Please press Enter to activate this console. /bin/cp: will not create hard link `/tmp/Applications/Network/modules' to directory `/tmp/Applications/AlarmServer'
/bin/cp: will not create hard link `/tmp/Documents' to directory `/tmp/Applications/qimpen'
Could not open mime.types file, "etc/mime.types", for reading
/usr/etc/rc.local: line 16: /sbin/mount: No such file or directory
Reading data from NAND FLASH without ECC is not recommended

Reading data from NAND FLASH without ECC is not recommended

Reading data from NAND FLASH without ECC is not recommended

[9;0][?33l[?25l[?25lI have created thransfer file thread!
I have created timer play thread!
I have created serial thread!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-13 16:30:02 | 显示全部楼层
我的cramfs中的/lib/下没有modules/$(内核版本号)的目录。只有一个evms文件夹和一些文件,搜索了整个系统也没找到modules.usbmap文件
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表