免费注册 查看新帖 |

Chinaunix

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

内核移植 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-04 11:59 |只看该作者 |倒序浏览
pxa310的板子,2.6.23.17的内核,启动后出现下面的错误,哪位大虾帮忙分析一下,应该着手从哪方面去解决问题,先谢过了。


Freeing init memory: 100K

init started: BusyBox v1.12.0 (2008-09-04 10:42:09 CST)
starting pid 719, tty '': '/etc/init.d/rcS'
Unable to handle kernel paging request at virtual address 635688c8
pgd = c0004000
[635688c8] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.23.17 #91)
PC is at run_posix_cpu_timers+0xec/0x810
LR is at 0xc03b0760
pc : [<c0059e1c>]    lr : [<c03b0760>]    psr: 20000093
sp : c0205040  ip : 635688c0  fp : c020509c
r10: c01864e8  r9 : c0204000  r8 : 40000002
r7 : c03b05e8  r6 : 00000000  r5 : 00000000  r4 : 00000013
r3 : c00d17bc  r2 : 635688c1  r1 : 000000ad  r0 : c03b05e8
Control: 0000397f  Table: b0568000  DAC: 00000015
Process 烫烫?
览圴c臯A? (pid: 0, stack limit = 0xc0204270)

论坛徽章:
0
2 [报告]
发表于 2008-09-04 12:35 |只看该作者

回复 #1 jason19820107 的帖子

看看你的/etc/init.d/rcS文件?

论坛徽章:
0
3 [报告]
发表于 2008-09-04 14:15 |只看该作者

回复 #2 rodgerluo 的帖子

哦,rc文件如下:

#! /bin/sh

# Set the path
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH

# Source functions
#. /etc/rc.d/init.d/functions

# Set the hostname.
hostname -F /etc/HOSTNAME

# mount proc and devpts filesystem
/bin/mount -a
mount -o remount,rw /dev/root /
#mount -n / -o rw,remount
#mount -t proc /proc /proc
#mount -t ramfs none /tmp
#mount /dev/pts

if [ -n "$IN_INITLOG" ]; then
    IN_INITLOG=
fi

if [ ! -f /etc/HOSTNAME ]; then
    echo ${HOSTNAME} > /etc/HOSTNAME
fi

# Clean out /etc.
rm -f /etc/mtab~ /fastboot /fsckoptions /forcefsck
>/var/run/utmp
touch /var/log/wtmp
#chgrp utmp /var/run/utmp /var/log/wtmp
chmod 0664 /var/run/utmp /var/log/wtmp

# Delete UUCP lock files.
rm -f /var/lock/LCK*

# Delete stale subsystem files.
rm -f /var/lock/subsys/*

# Delete stale pid files
rm -f /var/run/*.pid

# Load modules
if [ -f /etc/rc.d/rc.modules ]; then
        /etc/rc.d/rc.modules
fi

# Now that we have all of our basic modules loaded and the kernel going,
# let's dump the syslog ring somewhere so we can find it later
dmesg > /var/log/dmesg
/etc/init.d/rc.local

可是我在21里跑是ok的艾,不知道为什么移植到23就不行了。

论坛徽章:
0
4 [报告]
发表于 2008-09-04 14:26 |只看该作者
干掉这个试试mount -o remount,rw /dev/root /

论坛徽章:
0
5 [报告]
发表于 2008-09-04 14:46 |只看该作者

回复 #4 rodgerluo 的帖子

还是不行:

init started: BusyBox v1.12.0 (2008-09-04 10:42:09 CST)

starting pid 719, tty '': '/etc/init.d/rcS'
Unable to handle kernel paging request at virtual address 635688c8
pgd = c0004000
[635688c8] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.23.17 #91)
PC is at run_posix_cpu_timers+0xec/0x810
LR is at 0xc03b0760
pc : [<c0059e1c>]    lr : [<c03b0760>]    psr: 20000093
sp : c0205040  ip : 635688c0  fp : c020509c
r10: c01864e8  r9 : c0204000  r8 : 40000002
r7 : c03b05e8  r6 : 00000000  r5 : 00000000  r4 : 00000013
r3 : c00d17bc  r2 : 635688c1  r1 : 000000ad  r0 : c03b05e8
Control: 0000397f  Table: b0560000  DAC: 00000015
Process  (pid: 0, stack limit = 0xc0204270)


mount -o remount,rw /dev/root /   这句话什么意思啊?
是不是内核有哪一块没配对呢,但不知道如何去查?

谢谢你的回复!

论坛徽章:
0
6 [报告]
发表于 2008-09-04 15:38 |只看该作者

回复 #5 jason19820107 的帖子

init started: BusyBox v1.12.0 (2008-09-04 10:42:09 CST)
你不用这个版本,这个版本还不稳定,我现在用的的busybox-1.11.2版本。

论坛徽章:
0
7 [报告]
发表于 2008-09-04 15:56 |只看该作者

回复 #6 rodgerluo 的帖子

好的,我去试试。
谢谢!

论坛徽章:
0
8 [报告]
发表于 2008-09-04 16:01 |只看该作者
Unable to handle kernel paging request at virtual address 635688c8
pgd = c0004000
[635688c8] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.23.17 #91)
PC is at run_posix_cpu_timers+0xec/0x810
LR is at 0xc03b0760

内核panic,兄弟你马上要kernel hack了,恭喜贺喜

论坛徽章:
0
9 [报告]
发表于 2008-09-04 16:26 |只看该作者

回复 #6 rodgerluo 的帖子

好像还是不行,郁闷--------------

论坛徽章:
0
10 [报告]
发表于 2008-09-04 16:27 |只看该作者
原帖由 sep 于 2008-9-4 16:01 发表

内核panic,兄弟你马上要kernel hack了,恭喜贺喜



老兄,什么意思,是内核的问题?
该怎么调阿,迷茫中阿!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP