免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4269 | 回复: 8
打印 上一主题 下一主题

ramdisk 老是挂载不上啊 大侠救我 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-29 21:58 |只看该作者 |倒序浏览
我的板子是mips的,内核2.6.15.
已经加上了devfs的支持
但是就是一直停留在这个状态,弄了三天了,还没搞定,帮帮我啊

Using eth0 device
TFTP from server 192.168.57.76; our IP address is 192.168.57.245
Filename 'bruise/vmlinux.gz.uImage'.
Load address: 0x80200000
Loading: #####checksum bad
############################################################
         #################################################################
         #################################################################
         #####
done
Bytes transferred = 1022101 (f9895 hex)
Using eth0 device
TFTP from server 192.168.57.76; our IP address is 192.168.57.245
Filename 'bruise/ap81fus-ramfs.gz'.
Load address: 0x80400000
Loading: ##############################################checksum bad
###################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################################
done
Bytes transferred = 2601775 (27b32f hex)
## Booting image at 80200000 ...
   Image Name:   Linux Kernel Image
   Created:      2008-10-29  12:19:42 UTC
   Image Type:   MIPS Linux Kernel Image (gzip compressed)
   Data Size:    1022037 Bytes = 998.1 kB
   Load Address: 80060000
   Entry Point:  80269000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Loading Ramdisk Image at 80400000 ...
   Image Name:   ap81 ramdisk filesystem
   Created:      2008-10-29  13:23:33 UTC
   Image Type:   MIPS Linux RAMDisk Image (gzip compressed)
   Data Size:    2601711 Bytes =  2.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Transferring control to Linux (at address 80269000) ...
## Giving linux memsize in bytes, 16777216

Starting kernel ...

Linux version 2.6.15--LSDK-7.1.2.32 (bruise@cmd-server) (gcc version 3.4.4) #229 Wed Oct 29 20:19:37 CST 2008
flash_size passed from bootloader = 8
arg 1: initrd=0x80400000,0x27B32F
arg 2: console=ttyS0,115200
arg 3: root=01:00
arg 4: init=linuxrc
arg 5: mem=16M
CPU revision is: 00019374
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Built 1 zonelists
Kernel command line: initrd=0x80400000,0x27B32F console=ttyS0,115200 root=01:00 init=linuxrc mem=16M
Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
PID hash table entries: 128 (order: 7, 2048 bytes)
Using 200.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 13556k/16384k available (1728k kernel code, 2828k reserved, 351k data, 124k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
NET: Registered protocol family 16
calling simple_config callback..
AR7100 GPIOC major 0
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered
Serial: 8250/16550 driver $Revision: #2 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 12288K size 1024 blocksize
RedBoot partition parsing not available
No partitions found on flash bank 0
netem: version 1.1
u32 classifier
Netfilter messages via NETLINK v0.30.
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
ip_conntrack version 2.4 (128 buckets, 1024 max) - 232 bytes per conntrack
ctnetlink v0.90: registering with nfnetlink.
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2002 Netfilter core team
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
ar7100wdt_init: Registering WDT success
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

论坛徽章:
0
2 [报告]
发表于 2008-10-29 23:27 |只看该作者
Ebtables v2.0 registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
ar7100wdt_init: Registering WDT success
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

启动命令行参数不对

root=xxx

论坛徽章:
0
3 [报告]
发表于 2008-10-30 01:40 |只看该作者
No partitions found on flash bank 0

不知道你用什么存放的ramdisk
我看到了这个,

论坛徽章:
0
4 [报告]
发表于 2008-10-30 14:47 |只看该作者
原帖由 myforever 于 2008-10-29 23:27 发表
Ebtables v2.0 registered
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
ar7100wdt_init: Registering WDT success
Kernel panic - not syncing: VFS: Unable to mount root  ...



root=01:00就是相当于/dev/ram啊.

论坛徽章:
0
5 [报告]
发表于 2008-10-30 14:48 |只看该作者
原帖由 llzzccc 于 2008-10-30 01:40 发表
No partitions found on flash bank 0

不知道你用什么存放的ramdisk
我看到了这个,

ramdisk是直接从tftpserver上面通过tftp下载到板子内存上面的啊,
然后就bootm 内核的image,就是为了不存这个才有ramdisk的意义.要是要存在flash上的话,就用jffs2
了啊

论坛徽章:
0
6 [报告]
发表于 2008-10-30 18:05 |只看该作者
原帖由 ConquerorLiu 于 2008-10-30 14:47 发表



root=01:00就是相当于/dev/ram啊.

那02:00呢

论坛徽章:
0
7 [报告]
发表于 2008-10-30 18:08 |只看该作者

回复 #6 tige 的帖子

查看 kernel_src/Documentation/devices.txt
就知道了。

论坛徽章:
0
8 [报告]
发表于 2008-11-13 19:56 |只看该作者
原帖由 ConquerorLiu 于 2008-10-29 21:58 发表
我的板子是mips的,内核2.6.15.
已经加上了devfs的支持
但是就是一直停留在这个状态,弄了三天了,还没搞定,帮帮我啊

Using eth0 device
TFTP from server 192.168.57.76; our IP address is 192.168.57.245 ...



这么久了还没有人回复啊!一起来看看啊,难道没有高手么?

论坛徽章:
0
9 [报告]
发表于 2011-02-24 15:58 |只看该作者
这个问题解决了吗?我也遇到了相同问题,不知道该怎么解决,很郁闷啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP