기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

커널 부팅 도중, 다음 화면에서 매번 정지하는 현상이 일어납니다.



U-Boot 1.3.4 (Apr 28 2010 - 14:04:19) for NT-S5PC100 (Rev.01)



CPU:     S5PC100@666MHz

         Fclk = 1332MHz, Hclk = 166MHz, Pclk = 66MHz, Serial = PCLK

Board:   NT-S5PC100 Serise

DRAM:    256 MB

Flash:   0 kB

SD/MMC:  Card not found

NAND:    512 MB

In:      serial

Out:     serial

Err:     serial

Hit any key to stop autoboot:  0

smc911x: initializing

smc911x: detected LAN9215 controller

smc911x: phy initialized

smc911x: MAC c8:2a:14:2a:47:91

TFTP from server 192.168.23.61; our IP address is 192.168.23.118

Filename 'zImage-S5PC100'.

Load address: 0xc0008000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ###################################

done

Bytes transferred = 2173544 (0x212a68)

Boot with zImage


Starting kernel ...


Uncompressing Linux.............................................................

................................................................................

. done, booting the kernel.



사용중인 보드는. ntc-100 입니다.

커널은 혹시나 해서, ntc100의 xwindow용 config와, 안드로이드용 모두를 사용해 보았습니다.

패닉이 아닌것으로 보아, 아예 커널의 압축을 풀고 부팅 상태에 들어가지를 못하거나, nfs의 마운트에 실패하는것 같습니다.

다음이 U-boot의 환경 입니다.

NT-S5PC100 # printenv
mtdpart=40000 3c0000 3000000
bootdelay=5
baudrate=115200
ethaddr=c8:2a:14:2a:47:91
filesize=20CC08
fileaddr=C0008000
gatewayip=192.168.23.1
netmask=255.255.255.0
bootfile=zImage-S5PC100
ipaddr=192.168.23.118
serverip=192.168.23.61
bootcmd=tftp c0008000 zImage-S5PC100;bootm c0008000
bootargs=console=ttySAC0,115200 root=/dev/nfs rw nfsroot= 192.168.23.61:/nfsroot
/RootFS-S5PC100 ip=192.168.23.118:192.168.23.61:192.168.23.1:255.255.255.0::eth0
:off mem=256M ethaddr=c8:2a:14:2a:47:91
stdin=serial
stdout=serial
stderr=serial

Environment size: 524/16380 bytes
NT-S5PC100 #

머신의 아이피 어드레스는 192.168.23.118 입니다.

tftp/nfs서버의 어드레스는 192.168.23.61 입니다.

다음이, nfs 서버의  exports 설정 입니다.

/usr/src                *(rw,sync,no_root_squash,no_subtree_check)
/home/getfeus/sharedDir *(rw,sync,no_root_squash,no_subtree_check)
/nfsroot                *(rw,no_root_squash,no_all_squash,async,no_subtree_check)

위쪽 2개의 디렉토리는 공유용이고 마지막, nfsroot에 루트파일시스템이 올라가 있습니다.

그 구조는 다음과 같습니다.

etfeus@getfeus-Primary:~/android-2.6.29-aesop-RTM10$ ls /nfsroot/
RootFS-S5PC100
getfeus@getfeus-Primary:~/android-2.6.29-aesop-RTM10$ ls /nfsroot/RootFS-S5PC100/
bin   dev  home  linuxrc  mnt    proc  sys  usr
boot  etc  lib   media    power  sbin  tmp  var
getfeus@getfeus-Primary:~/android-2.6.29-aesop-RTM10$ 


만지작 거리다 퍼미션까지 777로 리커시브로 적용한 상태 입니다.(Xwindow 루트파일시스템입니다.)

원인을 아시는분 계시면 조언좀 부탁드리겠습니다.

감사합니다.


블루스카이

2012.10.17 09:52:32
*.54.174.151

bootargs 가 잘못된것으로 보입니다. 제 기억이 맞다면 debug serial는 ttySAC1입니다. 수정후 다시 시도해 보세요.

마찬가지로 kernel에서도 debug port가 1로 설정되어 있는지 확인해 보시구요.

겟페우스

2012.10.18 01:44:16
*.113.126.173

답변 감사합니다.


말씀데로, 디버그포트를 수정하니, 커널패닉 메시지를 확인하는데에 성공하였습니다.


U-Boot 1.3.4 (Apr 28 2010 - 14:04:19) for NT-S5PC100 (Rev.01)



CPU:     S5PC100@666MHz

         Fclk = 1332MHz, Hclk = 166MHz, Pclk = 66MHz, Serial = PCLK

Board:   NT-S5PC100 Serise

DRAM:    256 MB

Flash:   0 kB

SD/MMC:  Card not found

NAND:    512 MB

In:      serial

Out:     serial

Err:     serial

Hit any key to stop autoboot:  0

smc911x: initializing

smc911x: detected LAN9215 controller

smc911x: phy initialized

smc911x: MAC c8:2a:14:2a:47:91

TFTP from server 192.168.23.75; our IP address is 192.168.23.118

Filename 'zImage-S5PC100'.

Load address: 0xc0008000

Loading: #################################################################

         #################################################################

         #################

done

Bytes transferred = 2149384 (0x20cc08)

Boot with zImage


Starting kernel ...


Uncompressing Linux.............................................................

...............................................................................

done, booting the kernel.

Linux version 2.6.29 (root@getfeus-Primary) (gcc version 4.3.1 (GCC) ) #65 Tue O

ct 16 00:42:27 JST 2012

CPU: ARMv7 Processor [412fc081] revision 1 (ARMv7), cr=10c5387f

CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache

Machine: SMDKC100

Ignoring unrecognised tag 0x41001099

Memory policy: ECC disabled, Data cache writeback

CPU S5PC100 (id 0x43100000)

S3C24XX Clocks, (c) 2004 Simtec Electronics

S5PC100: PLL settings, A=1332000000, M=267000000, E=67500000, H=24000000

S5PC100: ARMCLK=666000000, HCLKD0=166500000, PCLKD0=83250000, HCLK=133500000, PC

LK=66750000

mout_apll: source is fout_apll (1), rate is 1332000000

mout_epll: source is fout_epll (1), rate is 67500000

mout_mpll: source is mpll (1), rate is 267000000

mout_hpll: source is srclk (1), rate is 24000000

mmc_bus: source is dout_mpll (1), rate is 44500000

mmc_bus: source is dout_mpll (1), rate is 66750000

mmc_bus: source is dout_mpll (1), rate is 66750000

usb-host-bus: source is dout_mpll (1), rate is 133500000

uclk1: source is dout_mpll (1), rate is 66750000

sclk_spi: source is dout_mpll2 (1), rate is 66750000

sclk_spi: source is dout_mpll2 (1), rate is 66750000

sclk_spi: source is dout_mpll2 (1), rate is 66750000

sclk_audio: source is mout_epll (0), rate is 67500000

audio-bus: source is mout_epll (0), rate is 67500000

audio-bus: source is mout_epll (0), rate is 67500000

audio-bus: source is fout_epll (0), rate is 67500000

sclk_irda: source is dout_mpll (1), rate is 133500000

sclk_pwi: source is srclk (0), rate is 0

sclk_fimd: source is dout_mpll (1), rate is 133500000

sclk_fimc: source is dout_mpll (1), rate is 133500000

sclk_fimc: source is dout_mpll (1), rate is 133500000

sclk_fimc: source is dout_mpll (1), rate is 133500000

sclk_mixer: source is clk_27m (0), rate is 27000000

s5pc1xx: 6291456 bytes system memory reserved for fimc0 at 0x2069d000

s5pc1xx: 6291456 bytes system memory reserved for fimc1 at 0x20c9d000

s5pc1xx: 6291456 bytes system memory reserved for fimc2 at 0x2129d000

s5pc1xx: 33554432 bytes system memory reserved for mfc at 0x2189d000

s5pc1xx: 33554432 bytes system memory reserved for jpeg at 0x2389d000

s5pc1xx: 8388608 bytes system memory reserved for pmem at 0x2589d000

s5pc1xx: 3145728 bytes system memory reserved for pmem_gpu1 at 0x2609d000

s5pc1xx: 6291456 bytes system memory reserved for pmem_adsp at 0x2639d000

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024

Kernel command line: console=ttySAC1,115200 root=/dev/nfs rw nfsroot= 192.168.23

.75:/nfs-Root/RootFS-S5PC100 ip=192.168.23.118:192.168.23.75:192.168.23.1:255.25

5.255.0::eth0:off mem=256M ethaddr=c8:2a:14:2a:47:91

Unknown boot option `192.168.23.75:/nfs-Root/RootFS-S5PC100': ignoring

PID hash table entries: 1024 (order: 10, 4096 bytes)

Console: colour dummy device 80x30

console [ttySAC1] enabled

Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

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

Memory: 256MB = 256MB total

Memory: 153600KB available (3996K code, 465K data, 180K init)

Calibrating delay loop... 665.19 BogoMIPS (lpj=1662976)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

net_namespace: 564 bytes

S5PC1XX GPIO Driver Init

NET: Registered protocol family 16

s5pc1xx Power Management init, (c) 2009 Samsung Electronics

S5PC100: Initialising architecture

S3C PL330-DMA Controller Driver, (c) 2008-2009 Samsung Electronics

Total 24 DMA channels will be initialized.

bio: create slab <bio-0> at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

NET: Registered protocol family 2

IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

TCP established hash table entries: 8192 (order: 4, 65536 bytes)

TCP bind hash table entries: 8192 (order: 5, 163840 bytes)

TCP: Hash tables configured (established 8192 bind 8192)

TCP reno registered

NET: Registered protocol family 1

S5PC100 Button init function

 11 Button Interrupt occure

No such irq number 47<6>S5PC1XX ADC driver, (c) 2008 Samsung Electronics

ADC platform data read

S5PC1XX ADC driver successfully probed

NetWinder Floating Point Emulator V0.97 (double precision)

ashmem: initialized

yaffs Oct 16 2012 00:42:10 Installing.

msgmni has been set to 300

alg: No test for stdrng (krng)

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler deadline registered

io scheduler cfq registered

s3cfb s3cfb: [fb0] dma: 0x2fa00000, cpu: 0xff000000, size: 0x00177000

Console: switching to colour frame buffer device 100x30

s3cfb s3cfb: registered successfully

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

s5pc100-uart.0: s3c2410_serial0 at MMIO 0xec000000 (irq = 16) is a S3C6400/10

s5pc100-uart.1: s3c2410_serial1 at MMIO 0xec000400 (irq = 20) is a S3C6400/10

s5pc100-uart.2: s3c2410_serial2 at MMIO 0xec000800 (irq = 24) is a S3C6400/10

s5pc100-uart.3: s3c2410_serial3 at MMIO 0xec000c00 (irq = 28) is a S3C6400/10

brd: module loaded

loop: module loaded

pmem: 1 init

pmem_gpu1: 1 init

pmem_adsp: 1 init

PPP generic driver version 2.4.2

eth0 (smc911x): not using net_device_ops yet

eth0: LAN9215 (rev 0) at 0x98000000 IRQ 38

eth0: Ethernet addr: 00:09:c0:ff:ec:48

libertas_sdio: Libertas SDIO driver

libertas_sdio: Copyright Pierre Ossman

Linux video capture interface: v2.00

S5PC100 MFC Driver, (c) 2009 Samsung Electronics

S3C Rotator Driver, (c) 2008 Samsung Electronics

s3c_rotator_probe called

s3c_rotator_probe success

S3C G3D Driver, (c) 2007-2009 Samsung Electronics

s3c_g3d version : 0x1020100

G3D_RESERVED_MEM_SIZE : 32 MB

G3D_CHUNK_SIZE : 2 MB

G3D_CHUNK_NUM : 16

g3d is registered successfully!<4>Driver 'sd' needs updating - please use bus_ty

pe methods

S3C NAND Driver, (c) 2008 Samsung Electronics

S3C NAND Driver is using software ECC.

NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bi

t)

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

0x000000000000-0x000000080000 : "Bootloader"

0x000000080000-0x000000400000 : "Kernel"

0x000000400000-0x000020000000 : "File System"

usbmon: debugfs is not available

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

s3c2410-ohci s3c2410-ohci: S3C24XX OHCI

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

s3c2410-ohci s3c2410-ohci: irq 87, io mem 0xed400000

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

s3c-udc : S3C HS USB OTG Device Driver, (c) 2008-2009 Samsung Electronics

s3c-udc : version 15 March 2009 (DMA Mode)

android init

android_bind

mass_storage_function_add

android_usb gadget: Number of LUNs=1

adb_function_add

android_usb gadget: android_usb ready

Registered gadget driver 'android_usb'

mice: could not register psaux device, error: -16

mice: PS/2 mouse device common for all mice

input: nt-keypad as /devices/virtual/input/input0

Aesop Keypad Initialized!!

S3C Touchscreen driver, (c) 2008 Samsung Electronics

S3C TouchScreen got loaded successfully : 12 bits

PRESS KEY : KEY_RIGHT

Press keycode = 106

input: S3C TouchScreen as /devices/virtual/input/input1

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.0: slave address 0x10

s3c2410-i2c s3c2410-i2c.0: bus frequency set to 379 KHz

s3c2410-i2c s3c2410-i2c.0: i2c-0: S3C I2C adapter

s3c2410-i2c s3c2410-i2c.1: slave address 0x10

s3c2410-i2c s3c2410-i2c.1: bus frequency set to 379 KHz

s3c2410-i2c s3c2410-i2c.1: i2c-1: S3C I2C adapter

S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics

s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133500000 Hz)

s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133500000 Hz)

s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (44500000 Hz)

Registered led device: mmc0::

mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA

s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133500000 Hz)

s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133500000 Hz)

s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (44500000 Hz)

Registered led device: mmc1::

mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA

s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133500000 Hz)

s3c-sdhci s3c-sdhci.2: clock source 1: hsmmc (133500000 Hz)

s3c-sdhci s3c-sdhci.2: clock source 2: mmc_bus (44500000 Hz)

Registered led device: mmc2::

mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA

Advanced Linux Sound Architecture Driver Version 1.0.18a.

No device for DAI WM8580 PAIFRX

No device for DAI WM8580 PAIFTX

No device for DAI WM8580 SAIF

WM8580 Audio Codec 0.1

asoc: WM8580 PAIFRX <-> s5p-i2s-v5 mapping ok

asoc: WM8580 PAIFTX <-> s5p-i2s-v5 mapping ok

asoc: WM8580 SAIF <-> s5p-i2s mapping ok

Manjunath: Registered sound card


ALSA device list:

  #0: smdk (WM8580)

TCP cubic registered

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

lib80211: common routines for IEEE802.11 drivers

VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2

s3c-fimc: fimc_configure_subdev: v4l2 subdev board registering failed

s3c-fimc: fimc_configure_subdev: v4l2 subdev board registering failed

S5PC1XX TVOUT Driver, (c) 2009 Samsung Electronics

s5p-tvout s5p-tvout: hpd status is cable removed

s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time

eth0: link down

IP-Config: Complete:

     device=eth0, addr=192.168.23.118, mask=255.255.255.0, gw=192.168.23.1,

     host=192.168.23.118, domain=, nis-domain=(none),

     bootserver=192.168.23.75, rootserver=192.168.23.75, rootpath=

Looking up port of RPC 100003/2 on 192.168.23.75

eth0: link up, 100Mbps, half-duplex, lpa 0xC5E1

Looking up port of RPC 100005/1 on 192.168.23.75

Root-NFS: Server returned error -13 while mounting /tftpboot/

VFS: Unable to mount root fs via NFS, trying floppy.

VFS: Cannot open root device "nfs" or unknown-block(2,0)

Please append a correct "root=" boot option; here are the available partitions:

1f00             512 mtdblock0 (driver?)

1f01            3584 mtdblock1 (driver?)

1f02          520192 mtdblock2 (driver?)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


아마도, nfs관련 문제일것 같은데... 제가 손볼수있는 한 이것 저것 만져 보았으나 여전히 안되는군요. 조언좀 부탁드리겠습니다.

블루스카이

2012.10.19 01:08:23
*.54.174.151

boog log를 잘 보시면 답이 있습니다.

Kernel command line: console=ttySAC1,115200 root=/dev/nfs rw nfsroot= 192.168.23

.75:/nfs-Root/RootFS-S5PC100 ip=192.168.23.118:192.168.23.75:192.168.23.1:255.25

5.255.0::eth0:off mem=256M ethaddr=c8:2a:14:2a:47:91

Unknown boot option `192.168.23.75:/nfs-Root/RootFS-S5PC100': ignoring

 

nfs server 설정은 당연히 하셨겠지요???

typing 하실 때 공백이 들어간 것으로 보입니다. 여기에

nfsroot= 192.168.23.75:/nfs-Root/RootFS-S5PC100 공백없이 다시 입력해 보세여

nfsroot=192.168.23.75:/nfs-Root/RootFS-S5PC100  이렇게

 

List of Articles
번호 제목 글쓴이 날짜 조회 수
5568 콘솔(Serial) 접속시 비밀번호 거는 방법 아시나요..? [4] 동수아빠 2012-10-24 1304
5567 android filesystem 소스코드 보는게 너무 힘드네요 [1] 김민욱 2012-10-24 1282
5566 kmalloc과 slab의 관계 김희철 2012-10-20 758
5565 WinCE6.0 C100에서 부팅화면 여러개 중에 선택 [1] 한강 2012-10-20 1131
5564 [S3C6410]SD 부팅과정에 대해서 만년설화 2012-10-20 760
5563 삼성이 제공하는 커널에서 Map-s5p.h 파일은 무엇을 말하는 것인가요... file [1] 혜민아빠 2012-10-18 1247
5562 s3c2440 보드 관련 FW code를 구합니다. [4] 벌레 2012-10-18 1268
5561 엑시노스 4기반 개발보드를 구매 하고 싶은데요.. [1] 귀여운성냥 2012-10-18 1273
5560 ANDROID JNI 질문드립니다. [3] 레드다 2012-10-17 1221
5559 Live555 Server(Telechips) WIFI 전송 -> PC VLC Player ..... [4] 파란새 2012-10-17 2108
5558 Android에서 C++로 된 정적라이브러리를 C에서 사용하는 방법? [1] 하늘하늘 2012-10-17 1237
5557 Android에서 hw codec을 직접 사용해서 실시간으로 encoding이 ... [2] 시안 2012-10-17 1048
5556 삼성 CPU(S5PV310 CPU)를 보고 있는데여 .. file [1] 혜민아빠 2012-10-17 1497
» u-boot 커널 부팅 실패의 원인이 알고싶습니다. [3] 겟페우스 2012-10-16 1646
5554 overlay(HWComposer) 에 대해서... [2] 안심돈까스 2012-10-14 1614
5553 블랙박스 설정기능 문의입니다. [1] 강용근 2012-10-13 1573
5552 Android SDK ANT 로 APK 빌드시 에러 도움 요청 !!!!! 파란새 2012-10-12 947
5551 임베디드 리눅스에서 FTP 에 있는 파일 리스트 확인방법 동수아빠 2012-10-11 932
5550 MFC 5.X API 에 대한 질문 이종현 2012-10-11 764
5549 NuHTTPDataSource 관련 로그는 찍히는데, 소스코드 및 흔적이 안보... [2] whiterub 2012-10-10 1415

사용자 로그인