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

oting image at 32000000 ...
   Image Name:   Linux-2.6.13-h1940-aesop2440
   Created:      2006-12-22  11:24:39 UTC
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1418611 Bytes =  1.4 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.6.13-h1940-aesop2440 (root@sglinux) (gcc version 3.3.4) #20 Fri
Dec 22 20:24:35 KST 2006
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: aESOP-2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C2440: core 399.651 MHz, memory 133.217 MHz, peripheral 66.608 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.59:/korea-dokdo/nfsmount/small_2613 ip=192.168.0.57:192.168.0.59:192.168.0.1:255.255.255.0::eth0:off console=ttySAC0,115200n81 ethaddr=08:00:3e:26:0a:5b
irq: clearing pending ext status 00000200
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00500000, tcnt d8d2, tcfg 00000200,00000000, usec 0000170f
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 61696KB available (2350K code, 594K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
PM initialize
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, UPLL 47.980 MHz
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
yaffs Dec 22 2006 20:22:17 Installing.
Initializing Cryptographic API
s3c2410 Backlight Driver Initialized.
Console: switching to colour frame buffer device 96x34
S3C24X0 fb0: s3c2410fb frame buffer device initialize done
GPIO L3 bus interface for S3C2440, installed
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 8 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
eth0: SMC91C11xFD (rev 2) at c4804300 IRQ 53
eth0: Ethernet addr: 08:00:3e:26:0a:5b
AESOP NOR-Flash Driver, (c) 2006 AESOP Embedded
aesop-nor: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4b00000
s3c2410-nand: timing: Tacls 13ns, Twrph0 66ns, Twrph1 39ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 122 at 0x001e8000
Bad eraseblock 1039 at 0x0103c000
Creating 1 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x04000000 : "Total nand"
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.13-h1940-aesop2440 ohci_hcd
usb usb1: SerialNumber: s3c24xx
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
s3c2410_udc: version 28 Aug 2005
mice: PS/2 mouse device common for all mice
s3c2410-buttons successfully loaded
s3c2410 TouchScreen successfully loaded
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 378 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
mmci-s3c2410: probe: mapped sdi_base=c5100000 irq=37 irq_cd=62 dma=0.
mmci-s3c2410: initialisation done.
godori: AESOP2440 SOUND driver register
godori: AESOP2440 SOUND driver.........probe
s3c2410_dma_config: chan=2, xfer_unit=2, dcon=80000000
s3c2410_dma_config: chan=1, xfer_unit=2, dcon=82000000
AESOP2440 UDA1341 audio driver initialized
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
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
MMC: sd_app_op_cond timed out. Probably no SD-Card here.
eth0: link down
IP-Config: Complete:
      device=eth0, addr=192.168.0.57, mask=255.255.255.0, gw=192.168.0.1,
     host=192.168.0.57, domain=, nis-domain=(none),
     bootserver=192.168.0.59, rootserver=192.168.0.59, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.59
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Looking up port of RPC 100005/1 on 192.168.0.59
Root-NFS: Server returned error -13 while mounting /korea-dokdo/nfsmount/small_2613
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
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


아래분들이 해결한 방법들을 모두 해봤는데.. 전 안되네요
도움을 요청합니다.

노희준

2006.12.22 06:34:32
*.178.3.145

위와 같은 문제는 보통 /etc/exports에서 경로를 잘 못 적었든지 아니면 실제 /korea-dokdo/nfsmount/small_2613이 없는 경우입니다.이 부분을 다시 한번 확인해보시기 바랍니다.

이만식

2006.12.22 07:40:26
*.94.110.73

혹시 exports파일의 IP를 target b'd의 IP를 넣어 주셨는지,저는 host IP를 넣어서 허탈 했읍니다.

유용출

2006.12.22 10:24:58
*.100.73.237

/etc/hosts 파일과 /etc/exports 파일이 tftp설정과 nfs설정에서는 가장 중요할 겁니다.

보니깐 커널도 재컴파일하셨고 다 되실텐데... 아마 위 파일 설정이 잘못 되셨을겁니다.

이 두개 파일을 잘 확인해보시길 바랍니다.

정확히 하셨는데 제대로 안 되시는 건...

아마도 리눅스 설치시 방화벽 세팅을 하셔서 그럴지도 모릅니다.

방화벽 쓰시지 않아야 제대로 됩니다. 안 그러면 포트 일일이 다 열어주셔야 됩니다~

유용출

2006.12.22 10:28:25
*.100.73.237

이승근님... bootargs는 보드에 포팅된 커널로 넘겨주는 파라미터들입니다.

즉 root=/dev/nfs 라는 의미는 호스트의 nfs라는 디바이스를 찾는 것이 아니라...

보드의 nfs라는 디바이스를 찾는 걸겁니다.

유용출

2006.12.22 10:49:04
*.100.73.237

참고로 저의 호스트 설정 내용들입니다.

Host PC : Fedora core 5 (no VMware), ip=192.168.20.100,
directory for NFS = /root/nfsroot/small_2613과 /root/nfsroot/xwin_2613
Gateway(공유기) : 모델은 기억이 안나고요...ㅋ ip=192.168.20.1
Target board(aEsop-2440) : ip=192.168.20.105, 커널은 당연히 재컴파일한 것(3차보드에 맞게)

u-boot 환경설정 변수 :
bootargs=root=/dev/nfs rw nfsroot=192.168.20.100:/root/nfsroot/xwin_2613 ip=192.168.20.105:192.168.20.100:192.168.20.1:255.255.255.0::eth0:off console=ttySAC0,115200n81 ethaddr=08:00:3e:26:0a:5b

입니다.

############ 저의 /etc/hosts 파일 내용 ################
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.20.105 aEsop-2440

############ 저의 /etc/exports 파일 내용 ###############
/root/nfsroot/small_2613 192.168.20.105(rw,no_root_squash,no_all_squash)
/root/nfsroot/xwin_2613 192.168.20.105(rw,no_root_squash,no_all_squash)

여기서 설정을 두 개로 한 것은 u-boot의 bootargs를 바꿀 때 다른 곳으로 nfs mount하기 위함입니다.

############## 저의 /etc/xinetd.d/tftp 파일 내용 ###################
# default: off
# description: The tftp server serves files using the trivial file transfer
# protocol. The tftp protocol is often used to boot diskless
# workstations, download configuration files to network-aware printers,
# and to start the installation process for some operating systems.
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}

이상과 같습니다.

Sung-Geun Lee

2006.12.22 20:08:43
*.51.75.144

/etc/exports에 IP를 host의 ip로 입력이 되어 있네요.. 이론...
드디어 화면이 나오네요.. 도움 주셔서 감사합니다

이종현

2006.12.24 05:28:25
*.188.245.10

참고삼아 적습니다.
저도 동일한 에러가 나서 이것저것 다 살펴봤습니다.
로컬호스트에서 nfs 마운트시켜봐도 잘 붙고 해서 나중에 알고보니
u-boot 설정에서 bootargs 항목의 nfsroot 에서 오타가 있었습니다.
이글쓰고 이제 저도 손예진 보러 갑니다. (한동안 야근하느라 아직도 못봤어요.)
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
» [질문] 아래분과 비슷한 NFS 문제인데.. 전 에러 메시지가 다르게... [7] Sung-Geun Lee 2006-12-22 1598
287 [질문] vmware사용하지 않고 리눅스 깔아서 하는 방법? <==완료 [2] 조영택 2006-12-21 666
286 [질문] 커널 업그레이드관련 kernel.iso 파일 <== 완료 [3] 이세학 2006-12-21 741
285 저도 아랫 분과 똑같습니다. NFS로 부팅하려 합니다. << ... [10] 유용출 2006-12-21 1460
284 "NFS부팅시 정지되는 문제" 조언 부탁 드립니다. <=완료 [2] 김경복 2006-12-21 1082
283 vmware에서 vmware tools install시 에러[완료] [2] 이태간 2006-12-21 814
282 3차보드 설정관련 질문드립니다. <==완료 [4] 윤기현 2006-12-21 1147
281 Touch와 SIGIO관련 재질문입니다. [2] 김증일 2006-12-21 597
280 [질문] 제가 SD MEMORY를 사려하는데요.<= 완료 [2] 조영택 2006-12-20 676
279 [질문] UART 포트를 확장하려고 합니다 [2] 양용현 2006-12-20 860
278 Touch event와 SIGIO [4] 김증일 2006-12-20 875
277 asm화일에 헤더파일을 넣을수 없나요? [완료] [2] 서연석 2006-12-20 867
276 [SMC91C113] 네트웍 수신성능이 잘 안 나옵니다. 디버깅 팁이나 ... [4] 김유석 2006-12-19 1035
275 VMware에 slackware 설치과정....? <<완료>> [3] 유용출 2006-12-19 932
274 [UDA1341] 사운드 재생 관련 질문입니다.[완료] [2] 김유석 2006-12-19 722
273 chmod관련 질문.. [완료] [2] 박기호 2006-12-19 874
272 MPEG4 자료를 찾고 있습니다. ==> [완료] [3] 이영재 2006-12-19 697
271 UTP Cable은 다이렉트인가요 크로스인가요? <완료!> [2] 김재우 2006-12-18 801
270 [re] use-serial 컨버터 질문[완료] [1] 이태간 2006-12-18 654
269 aesop 3차 보드가 동작을 안합니다...ㅠ <=== [완료] [4] 전병우 2006-12-18 1062

사용자 로그인