1. 설정방법 (커널버전 : 2.6.24)
- .config의 CONFIG_CMDLINE에 설정하니 적용이 되지 않아서 커널 소스에서
~/include/linux/autoconf.h의 CONFIG_CMDLINE을 직접수정하여 zImage를 만들어서 테스트
하고 있습니다.
- #define CONFIG_CMDLINE "noinitrd console=ttySAC0,115200 root=/dev/nfs rw nfsroot=192.168.10.229:/tftpboot/MV2450/rootfs_mv2450 ip=192.168.10.252:192.168.10.229:192.168.10.229:255.255.255.0:test:eth0:off mem=128M"
2. 적용결과 (부팅메시지)
아래의 메시지에서 더이상 진행되지 않습니다. 제가 설정을 잘못한 것인지 답변부탁드립니다.
Starting kernel ...
Uncompressing Linux........................................................................................ done, booting the kernel.
Linux version 2.6.24.2 rel-3-0-3 (fantasy8@fantasy8-pc-linux) (gcc version 4.2.2) #580 Tue Feb 18 17:44:34 KST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: SMDK2450
Warning: bad configuration page, trying to continue
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU S3C2450 (id 0x32450003)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666 MHz
S3C2450: epll on 48.000 MHz, usb-bus 48.000 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: noinitrd console=ttySAC0,115200 root=/dev/nfs rw nfsroot=192.168.10.229:/tftpboot/MV2450/rootfs_mv2450 ip=192.168.10.252:192.168.10.229:192.168.10.229:255.255.255.0:test:eth0:off mem=128M
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 2048 bytes)
timer tcon=00500000, tcnt d902, tcfg 00000200,00000000, usec 0000170a
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126976KB available (2464K code, 275K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
S3C2450: Initialising architecture
S3C2443: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c8800000, irq 88
DMA channel 1 at c8800100, irq 89
DMA channel 2 at c8800200, irq 90
DMA channel 3 at c8800300, irq 91
DMA channel 4 at c8800400, irq 92
DMA channel 5 at c8800500, irq 93
DMA channel 6 at c8800600, irq 99
DMA channel 7 at c8800700, irq 100
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
NetWinder Floating Point Emulator V0.97 (double precision)
S3C2450 ADC driver, (c) 2007 Samsung Electronics
S3C2450 ADC driver successfully probed !
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.6: ttyS0 at MMIO 0x10000000 (irq = 62) is a 16550A
serial8250.6: ttyS1 at MMIO 0x10400000 (irq = 63) is a 16550A
serial8250.6: ttyS2 at MMIO 0x10800000 (irq = 64) is a 16550A
serial8250.6: ttyS3 at MMIO 0x10c00000 (irq = 65) is a 16550A
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: module loaded
eth0: LAN9215 (rev 0) at 0xc8818000 IRQ 48
eth0: Ethernet addr: 00:09:c0:ff:ec:48
S3C NAND Driver, (c) 2007 Samsung Electronics
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Creating 4 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x00040000 : "Bootloader"
0x00040000-0x00400000 : "Kernel"
0x00400000-0x01c00000 : "Root - Cramfs"
0x01c00000-0x08000000 : "File System"
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 378 KHz
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
eth0: link down
IP-Config: Complete:
device=eth0, addr=192.168.10.252, mask=255.255.255.0, gw=192.168.10.229,
host=test, domain=, nis-domain=(none),
bootserver=192.168.10.229, rootserver=192.168.10.229, rootpath=
Looking up port of RPC 100003/2 on 192.168.10.229
eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
Looking up port of RPC 100005/1 on 192.168.10.229
VFS: Mounted root (nfs filesystem).
Freeing init memory: 112K
Unable to handle kernel paging request at virtual address 00736569
pgd = c783c000
[00736569] *pgd=00000000
Internal error: Oops: 1 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.24.2 rel-3-0-3 #580)
PC is at __wake_up_common+0x20/0x84
LR is at __wake_up+0x2c/0x38
pc : [<c0038e64>] lr : [<c0038ef4>] psr: 00000093
sp : c7963e60 ip : c7963e90 fp : c7963e8c
r10: 00000000 r9 : 00000003 r8 : c00000a0
r7 : c02d0c0c r6 : c792a460 r5 : c78a3188 r4 : 0073655d
r3 : 00000000 r2 : 00000001 r1 : 00000003 r0 : 00736569
Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: 3783c000 DAC: 00000017
Process rpciod/0 (pid: 739, stack limit = 0xc7962268)
Stack: (0xc7963e60 to 0xc7964000)
3e60: c00449e8 00000013 c78a3188 c792a460 c02d0c0c c78a30ac c01f8038 00000000
3e80: c7963eac c7963e90 c0038ef4 c0038e54 c7963eb0 c7948198 00000000 c02da000
3ea0: c7963ec4 c7963eb0 c00538d4 c0038ed8 c02da000 00000000 c7963edc c7963ec8
3ec0: c0063d6c c00538b0 c7963ef4 c78a3040 c7963f0c c7963ee0 c00f9f5c c0063d28
3ee0: 00000000 c78a3040 c78a3044 00000000 c02d0c0c c78a3040 c78a3188 00000000
3f00: c7963f24 c7963f10 c00fa0f4 c00f9f50 c78a3044 c78a30ac c7963f3c c7963f28
3f20: c01f806c c00f9fec c02d0c0c c78a3044 c7963f6c c7963f40 c01f8528 c01f8048
3f40: c7963f64 c7949d40 c7962000 c01f874c 00000000 00000000 00000000 00000000
3f60: c7963f7c c7963f70 c01f8760 c01f8490 c7963f9c c7963f80 c004f4a8 c01f875c
3f80: c7949d48 c7963fa4 c78d7980 c7949d40 c7963fd4 c7963fa0 c004ff50 c004f3fc
3fa0: 00000000 00000000 c78d7980 c0053904 c7963fb0 c7963fb0 c7962000 c7949d40
3fc0: c004fea8 00000000 c7963ff4 c7963fd8 c00535d8 c004feb8 00000000 00000000
3fe0: 00000000 00000000 00000000 c7963ff8 c00428a8 c005358c 25783020 0a783830
Backtrace:
[<c0038e44>] (__wake_up_common+0x0/0x84) from [<c0038ef4>] (__wake_up+0x2c/0x38)
[<c0038ec8>] (__wake_up+0x0/0x38) from [<c00538d4>] (__wake_up_bit+0x34/0x3c)
r4:c02da000
[<c00538a0>] (__wake_up_bit+0x0/0x3c) from [<c0063d6c>] (unlock_page+0x54/0x60)
[<c0063d18>] (unlock_page+0x0/0x60) from [<c00f9f5c>] (nfs_readpage_release+0x1c/0x9c)
r4:c78a3040
[<c00f9f40>] (nfs_readpage_release+0x0/0x9c) from [<c00fa0f4>] (nfs_readpage_result_full+0x118/0x138)
r6:00000000 r5:c78a3188 r4:c78a3040
[<c00f9fdc>] (nfs_readpage_result_full+0x0/0x138) from [<c01f806c>] (rpc_exit_task+0x34/0x80)
r5:c78a30ac r4:c78a3044
[<c01f8038>] (rpc_exit_task+0x0/0x80) from [<c01f8528>] (__rpc_execute+0xa8/0x2cc)
r4:c78a3044
[<c01f8480>] (__rpc_execute+0x0/0x2cc) from [<c01f8760>] (rpc_async_schedule+0x14/0x18)
[<c01f874c>] (rpc_async_schedule+0x0/0x18) from [<c004f4a8>] (run_workqueue+0xbc/0x148)
[<c004f3ec>] (run_workqueue+0x0/0x148) from [<c004ff50>] (worker_thread+0xa8/0xbc)
r7:c7949d40 r6:c78d7980 r5:c7963fa4 r4:c7949d48
[<c004fea8>] (worker_thread+0x0/0xbc) from [<c00535d8>] (kthread+0x5c/0x94)
r7:00000000 r6:c004fea8 r5:c7949d40 r4:c7962000
[<c005357c>] (kthread+0x0/0x94) from [<c00428a8>] (do_exit+0x0/0x6fc)
r6:00000000 r5:00000000 r4:00000000
Code: e1a08000 e5900000 e1a09001 e240400c (e594000c)
---[ end trace 7f356c5ebe346936 ]---