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

아래 로고는 ㅠㅠ 눈물의 OS부팅이 되고 있는 제 커널의 로고 입니다. 그런데

아래 빨간색으로 칠한 에러들이 뜨면서 무슨 정상적인 파일 시스템을 부팅하지 못한거 같습니다.

왠지 디폴드 파일 시스템이 떳다고 보이는 로그인 화면과 또한 ㅠㅠ 이더넷이 되지 않더군요...

왜? 그런건가 ㅠㅠ? 고수님들의 조언 부탁드립니다.

 

 

============================ 부팅 로고 ===========================================

Uncompressing Linux...................................................................ting the kernel.
Linux version 2.6.30 (root@jongju-desktop) (gcc version 4.3.3 (GCC) ) #5 Thu Apr 19 13:44:59
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM9G20-EK
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 396 MHz, master 132 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock5 mtdparts=at91_nand:128k(bootstk(env2)ro,2M(linux),-(root) rw rootfstype=jffs2
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 64MB 64MB 64MB 64MB = 256MB total
Memory: 256640KB available (2568K code, 221K data, 92K init, 0K highmem)
Calibrating delay loop... 197.83 BogoMIPS (lpj=989184)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 296 bytes
NET: Registered protocol family 16
AT91: Power Management
AT91: Starting after user reset
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: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  Aⓒ 2001-2006 Red Hat, Inc.
msgmni has been set to 501
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
ssc ssc.0: Atmel SSC device at 0xd0870000 (irq 14)
Driver 'sd' needs updating - please use bus_type methods
macb macb: invalid hw address, using random
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (02:24:69:92:f9:7f)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
AT91 NAND: 8-bit, Software ECC
Scanning device for bad blocks
Bad eraseblock 1623 at 0x00000cae0000
Creating 6 MTD partitions on "atmel_nand":
0x000000000000-0x000000020000 : "bootstrap"
0x000000020000-0x000000060000 : "uboot"
0x000000060000-0x000000080000 : "env1"
0x000000080000-0x000000200000 : "env2"
0x000000200000-0x000000400000 : "linux"
0x000000400000-0x000010000000 : "root fs"
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)
atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffcc000 (irq 13)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
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.
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
IRQ 1/rtc0: IRQF_DISABLED is not guaranteed on shared IRQs
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624b4: 0x7ffd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624b8: 0xef5e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624bc: 0x1fdf instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624c0: 0xcfdf instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624c4: 0xf7cf instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624c8: 0x7b7f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624cc: 0x7bfd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624d0: 0xddfe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624d4: 0xdffa instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624d8: 0x52df instead

Further such events for this erase block will not be printed
Empty flash at 0x01247990 ends at 0x01248000
VFS: Mounted root (jffs2 filesystem) on device 31:5.
Freeing init memory: 92K
JFFS2 notice: (1) check_node_data: wrong data CRC in data node at 0x0dfa615c: read 0xb5cde14
Populating /dev using udev: cannot open /dev/null
done
Starting portmap: done
Initializing random number generator... done.
Starting network...
ip: RTNETLINK answers: File exists
Starting network time protocol daemon: ntpd.
Starting dropbear sshd: OK
Starting ProFTPD: warning: `proftpd' uses 32-bit capabilities (legacy support in use)
 - warning: unable to determine IP address of 'AT91SAM9'
 - error: no valid servers configured
 - Fatal: error processing configuration file '/etc/proftpd.conf'
FAILED

 

Welcome to the Erik's uClibc development environment.
AT91SAM9 login:


혜민아빠

2012.04.20 05:57:40
*.148.23.122

ifconfig명령을 치면 아래와 같이 eth0가 나오지 않고 있어여 ㅠㅠ

================================

# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

#

전성진

2012.04.20 19:59:33
*.98.222.217

# ifconfig eth0 up 

하고 해보세요. 

네트웍 드라이버에서 이상은 없어 보이고.

mtd jfss2 관련 크게 문제 없는 것 처럼 보이고

아래 것은 init 스크립트 관련 오류로 보이는 것으로 봐서 큰 문제는 아닌것 같네요.

하늘하늘

2012.04.20 21:06:25
*.123.198.184

eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)

이 부분을 보면 드라이버에서 에러가 발생한 것 같군요...

MAC address도 읽지 못한 것으로 봐서 enthernet device의 address 접근에 문제가 있는 것 같아 보입니다.

문철민

2012.04.27 19:54:52
*.140.159.164

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00c624b4: 0x7ffd instead

요건 MTD파티션중에 포맷안된부분이 있어서 났던거 같은데요


List of Articles
번호 제목 글쓴이 날짜 조회 수sort
5328 아이지 시스템 JTAG A1000 NAND Flash Loader (.axf) 파일 구... [5] 김진만 2009-03-18 1495
5327 안드로이드 dhcp 관련 질문드립니다. [5] 송형돈 2009-10-16 1495
5326 Exynos 5250 LCD 회전 [3] 윤동열 2013-02-08 1495
5325 무선랜 ?? <==완료 [3] 윤현승 2006-07-28 1494
5324 안드로이드 배터리 게이지 자동 업데이트 문의 [6] 이제현 2009-09-27 1494
5323 starting kernel 후 멈춥니다.. [15] kjh10101 2010-02-23 1494
5322 u-boot 관련 몇가지 질문이 있습니다. [3] Supsupi 2013-03-31 1494
5321 Android Booting시 screen mode(landscape/portlate) 변경 방법이 ... [2] yama 2011-10-08 1493
5320 동적라이브러리 링크 오류 [3] seokin 2012-01-03 1493
5319 제가 만든 모듈을 보드에 있는 커널에 삽입하려고 하니..아래와 같은... [1] 혜민아빠 2012-04-07 1493
5318 혹시 Android4.3에 들어온 Camera3 쪽 보고 계신분 없나요? EverydayMayday 2013-09-16 1492
5317 Arndale board 5250 용 커널 빌드시 에러 [5] realizeadream 2014-04-23 1492
5316 [완료]u-boot에서 tftp로 부트로더 올릴때 tftp에러 [3] 이재명 2007-06-21 1491
5315 삼성의 AP series 대리점에 대한 문의드립니다. [1] 어떤이의꿈 2012-11-26 1491
5314 [질문] jffs2 mount 에러 [2] 민세홍 2006-05-30 1490
5313 [완료] SMC91C111 driver 증상 한 번 봐주세요. [4] 강경완 2007-04-18 1490
5312 안드로이드 빌드, choosecombo 질문입니다. [1] 나노세컨드 2012-03-24 1490
5311 안드로이드 풀 빌드 시 구글 계정 사용할 수 있나요? [1] 코믹해커 2013-01-31 1490
5310 MAX8997 LDO15 관련 문의드립니다. [2] 혜정아빠 2013-06-12 1490
5309 qt 종료후 segmentation fault, Illegal instruction 오류. Supsupi 2012-04-26 1489

사용자 로그인