도와주세요!!
글 수 15,339
2003.07.15 10:48:11 (*.117.236.40)
6698
안녕하세요..
frame buffer에 대해서 좀 물어볼려구요..
smdk2410유사 보드, ppcboot2.0.0, kernel.2.4.18사용합니다.
그리고 ramdisk는 삼성에서 제공하는 ramdisk_s3c이미지 사용합니다.
smdk2410에 다른 보드를 부쳐야 되기에 frame buffer와
연결된 포트를 다른쪽 다른 보드와 연결하는데 사용합니다..
근데 frame buffer을 enable하고 커널을 컴파일하면 제대로 컴파일 되는데
frame buffer을 disable 하구 컴파일하면 init하는 곳에서 에러가 뜨네요.
제생각에 inittab 쪽이나 IRQ 문제가 아닌가 생각되는데 어떻게 해결하면 되는
지..
조언 바랍니다..
에러뜨는 부분
849 printk("<>
",__FUNCTION__,__LINE__);
850 execve("/sbin/init",argv_init,envp_init);
851 execve("/etc/init",argv_init,envp_init);
852 execve("/bin/init",argv_init,envp_init);
853 execve("/bin/sh",argv_init,envp_init);
에러 메세지
Looking up port of RPC 100003/2 on 192.168.100.49
Looking up port of RPC 100005/1 on 192.168.100.49
VFS: Mounted root (nfs filesystem).
<>
Freeing init memory: 52K
<>
<>
<>
<>
Unable to handle kernel paging request at virtual address acc0165e
pgd = c0004000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: 0
CPU: 0
pc : [] lr : [] Not tainted
sp : c02a7830 ip : c02a7848 fp : c02a7844
r10: c02d5704 r9 : 00000040 r8 : 00000000
r7 : c02c81c0 r6 : c015a5ac r5 : c02c81c0 r4 : 000000a2
r3 : acc0165a r2 : a0000013 r1 : c03f31c0 r0 : c02c81c0
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 317F Table: 30004000 DAC: 0000001D
Process swapper (pid: 1, stackpage=c02a7000)
Stack: (0xc02a7820 to 0xc02a8000)
inittab 내용
# The default runlevel.
id:3:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/rc.d/rc.sysinit
# What to do in single-user mode.
~~:S:wait:/sbin/sulogin
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
#z6:6:respawn:/sbin/sulogin
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -r now
# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let
this work."
# /sbin/getty invocations for the runlevels.
#
# Format:
#:::
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
# Example how to put a getty on a serial line (for a terminal)
#
T0:12345:respawn:/sbin/getty -L ttyS0 115200 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 115200 vt100
즐거운 하루 되세요...
frame buffer에 대해서 좀 물어볼려구요..
smdk2410유사 보드, ppcboot2.0.0, kernel.2.4.18사용합니다.
그리고 ramdisk는 삼성에서 제공하는 ramdisk_s3c이미지 사용합니다.
smdk2410에 다른 보드를 부쳐야 되기에 frame buffer와
연결된 포트를 다른쪽 다른 보드와 연결하는데 사용합니다..
근데 frame buffer을 enable하고 커널을 컴파일하면 제대로 컴파일 되는데
frame buffer을 disable 하구 컴파일하면 init하는 곳에서 에러가 뜨네요.
제생각에 inittab 쪽이나 IRQ 문제가 아닌가 생각되는데 어떻게 해결하면 되는
지..
조언 바랍니다..
에러뜨는 부분
849 printk("<
",__FUNCTION__,__LINE__);
850 execve("/sbin/init",argv_init,envp_init);
851 execve("/etc/init",argv_init,envp_init);
852 execve("/bin/init",argv_init,envp_init);
853 execve("/bin/sh",argv_init,envp_init);
에러 메세지
Looking up port of RPC 100003/2 on 192.168.100.49
Looking up port of RPC 100005/1 on 192.168.100.49
VFS: Mounted root (nfs filesystem).
<
Freeing init memory: 52K
<
<
<
<
Unable to handle kernel paging request at virtual address acc0165e
pgd = c0004000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: 0
CPU: 0
pc : [
sp : c02a7830 ip : c02a7848 fp : c02a7844
r10: c02d5704 r9 : 00000040 r8 : 00000000
r7 : c02c81c0 r6 : c015a5ac r5 : c02c81c0 r4 : 000000a2
r3 : acc0165a r2 : a0000013 r1 : c03f31c0 r0 : c02c81c0
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 317F Table: 30004000 DAC: 0000001D
Process swapper (pid: 1, stackpage=c02a7000)
Stack: (0xc02a7820 to 0xc02a8000)
inittab 내용
# The default runlevel.
id:3:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/rc.d/rc.sysinit
# What to do in single-user mode.
~~:S:wait:/sbin/sulogin
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
#z6:6:respawn:/sbin/sulogin
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -r now
# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let
this work."
# /sbin/getty invocations for the runlevels.
#
# Format:
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
# Example how to put a getty on a serial line (for a terminal)
#
T0:12345:respawn:/sbin/getty -L ttyS0 115200 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 115200 vt100
즐거운 하루 되세요...