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

아래 로고는 ㅠㅠ 눈물의 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
번호 제목 글쓴이 날짜 조회 수

사용자 로그인