免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6379 | 回复: 5

SBC2440启动:unable to mount devfs, err: -2 [复制链接]

论坛徽章:
0
发表于 2008-05-07 17:29 |显示全部楼层
VIVI version 0.1.4 (root@debian) (gcc version 2.95.3 20010315 (release)) #0.1.4 Tue May 6 10:16:09 PDT 2008
MMU table base address = 0x33DFC000
Succeed memory mapping.
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Found default vivi parameters
Press Return to start the LINUX now, any other key for vivi
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0"
MACH_TYPE = 782
NOW, Booting Linux......
Uncompressing Linux......................................................................................................... done, booting the kernel.
Linux version 2.6.13 (root@debian) (gcc version 3.4.1) #5 Wed May 7 07:37:41 PDT 2008

CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)

Machine: SBC2440

ATAG_INITRD is deprecated; please update your bootloader.

Memory policy: ECC disabled, Data cache writeback

CPU S3C2440A (id 0x32440001)

BUG: mapping for 0x19000000 at 0xd0000000 overlaps vmalloc space

S3C2440: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz

S3C2410 Clocks, (c) 2004 Simtec Electronics

CPU0: D VIVT write-back cache

CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets

CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets

Built 1 zonelists

Kernel command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0

irq: clearing pending ext status 00000200

irq: clearing subpending status 00000002

PID hash table entries: 512 (order: 9, 8192 bytes)

timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57

Console: colour dummy device 80x30

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory: 64MB = 64MB total

Memory: 61056KB available (2533K code, 1006K data, 148K init)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

NET: Registered protocol family 16

USB Power Control, (c) 2004 Simtec Electronics

S3C2440: Initialising architecture

S3C2440: IRQ Support

S3C2440: Clock Support, UPLL 204.000 MHz

SCSI subsystem initialized

usbcore: registered new driver hub

S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics

DMA channel 0 at c4800000, irq 33

DMA channel 1 at c4800040, irq 34

DMA channel 2 at c4800080, irq 35

DMA channel 3 at c48000c0, irq 36

NetWinder Floating Point Emulator V0.97 (double precision)

devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)

devfs: devfs_debug: 0x0

devfs: boot_options: 0x1

yaffs May  7 2008 02:28:05 Installing.

Initializing Cryptographic API

Console: switching to colour frame buffer device 48x40

S3C24X0 fb0: s3c2410fb frame buffer device initialize done

GPIO L3 bus interface for S3C2440, installed

S3C2410 RTC, (c) 2004 Simtec Electronics

s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling

leds initialized

Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled

s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440

devfs_mk_dev: could not append to parent for tts/0

s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440

devfs_mk_dev: could not append to parent for tts/1

s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440

devfs_mk_dev: could not append to parent for tts/2

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

loop: loaded (max 8 devices)

nbd: registered device at major 43

DM9000 ethernet driver V1.26 I/O: c480c300, VID: 90000a46

Linux video capture interface: v1.00

ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C driver

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

ide_s3c2440_init

ide0: S3C2410 IDE interface

S3C24XX NAND Driver, (c) 2004 Simtec Electronics

s3c2410-nand: mapped registers at c4880000

30 ns is too big for current clock rate 101250

s3c2410-nand: timing: Tacls 0ns, Twrph0 4294ns, Twrph1 0ns

NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)

Scanning device for bad blocks

Bad eraseblock 1973 at 0x01ed4000

Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":

0x00000000-0x00020000 : "vivi"

mtd: Giving out device 0 to vivi

0x00020000-0x00030000 : "param"

mtd: Giving out device 1 to param

0x00030000-0x00530000 : "kernel"

mtd: Giving out device 2 to kernel

0x00530000-0x04000000 : "root"

mtd: Giving out device 3 to root

s3c2410-ohci s3c2410-ohci: S3C24XX OHCI

s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1

s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

Initializing USB Mass Storage driver...

usbcore: registered new driver usb-storage

USB Mass Storage support registered.

usbcore: registered new driver usbhid

drivers/usb/input/hid-core.c: v2.01:USB HID core driver

usbcore: registered new driver ov511

drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver

usbcore: registered new driver gspca

drivers/usb/media/gspca/gspca_core.c: gspca driver 00.60.00 registered

mice: PS/2 mouse device common for all mice

ts: Compaq touchscreen protocol output

s3c2410 TouchScreen successfully loaded

i2c /dev entries driver

s3c2440-i2c s3c2440-i2c: slave address 0x10

s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz

s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter

mmci-s3c2410: probe: mapped sdi_base=c4d00000 irq=37 irq_cd=60 dma=0.

mmci-s3c2410: initialisation done.

SBC2440 SOUND driver register

SBC2440 SOUND driver probe!

SBC2440 UDA1341 audio driver initialized

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP reno registered

TCP bic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond: at least one card is busy - trying again.

MMC: sd_app_op_cond locked busy. Probably have broken SD-Card.

yaffs: dev is 32505859 name is "mtdblock3"

yaffs: Attempting MTD mount on 31.3, "mtdblock3"

yaffs: yaffs_GutsInitialise()

block 1642 is bad

yaffs: yaffs_GutsInitialise() done.


VFS: Mounted root (yaffs filesystem).

mount_devfs_fs(): unable to mount devfs, err: -2

Freeing init memory: 148K

Warning: unable to open an initial console.

Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

-------------------------------------------------------------------------------
软硬件环境:
FriendlyARM SBC2440
Linux-2.6.13

曾做过的修改:
vivi : mtd_partitions
kernel : mtd_partions
两者一致

内核配置:
noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0

[ 本帖最后由 dolink 于 2008-5-8 02:19 编辑 ]

论坛徽章:
0
发表于 2008-05-07 21:06 |显示全部楼层
为什么是root=/dev/mtdblock3 i呀

论坛徽章:
0
发表于 2008-05-08 01:24 |显示全部楼层
找不到控制台(串口)
ttySAC0有吗?

论坛徽章:
0
发表于 2008-05-08 02:13 |显示全部楼层
原帖由 Roemer 于 2008-5-8 01:24 发表
找不到控制台(串口)
ttySAC0有吗?


我认为:自动将devfs 挂载到 /dev 后就应该有ttySAC0 了吧?

论坛徽章:
0
发表于 2008-05-08 23:24 |显示全部楼层
devfs的支持已经停止了,换busybox的mdev(udev)方式试试,
部分节点需要手工建立

论坛徽章:
0
发表于 2008-11-25 20:55 |显示全部楼层
换mdev吧,手动建立console和null结点

楼上把代码拿来卖真是。。。。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP