logo
한국어 Select Language
FF 포럼
포럼지기에게 한 마디
공지사항
뉴스 EZ보드 통합 메뉴얼
FA-VUS 개발환경 !강추! 타켓보드 부팅-HyperTerminal 타켓보드 부팅-Tutty 타켓보드 부팅-minicom Windows환경-타겟 Linux 구동 Linux환경-타겟 Linux 구동 개발 시스템 구축 유형 페도라 설치 CentOS 설치 크로스 컴파일러 설치 TFTP 환경 구축 NFS 파일 시스템 구축 삼바 서버 구축 부트로더 부트로더 쓰기 커널 이미지 제작 및 설치 램디스크 이미지 제작 및 설치
임베디드 제품 사용기 오늘의 영어 휴게실 Appliance
강좌 & 팁
강좌 & 팁 EZ-보드 그래픽 & 멀티미디어 네트워크 프로그래밍 디바이스 드라이버 ImJa 솔루션 임베디드 FLEX 안드로이드 iOS 개발 FAIDE 하드웨어 C/C++ go언어 GNU C 레퍼런스 메뉴얼 ARM 루아 응용 프로젝트 이클립스 지그비 개발자 노트 권장도서 FPGA
VIVADO DSP HSIO Logic Zynq
함수설명
C 라이브러리 함수 커널 API 그래픽 라이브러리 - gxLib
자료실
자료실 FALINUX SDK ARM PC-V210 S3C6410
G100-S3C6410 S100-S3C6410 C221-S3C6410 N200-S3C6410 EZ-S3C6410
S5PV210
G100-S5PV210 S100-S5PV210 N200-S5PV210 C221-S5PV210
EZ-S3C2440 EZ-PXA270 EZ-X5 EZ-S2410 Auto Package
도와주세요
FAQ 도와주세요

  • 회원가입
  • ID/PW 찾기
 
  1. FAQ

  2. 도와주세요


최근 글

  • [특판][성Y인Y용Y품][...
  • 요즘 잘 나가는,,,
  • 요즘은 vmware 말고 ...
  • [docker] buildx 를 ...
  • buildroot 사용 관련
  • GPIO 제어 방법 문의 [1]
  • 임베디드 리눅스 개발...
  • make wandboard_quad ...
  • LCD 초기화 코드 좀 ... [1]
  • 임베디드 리눅스 커널...

최근 댓글

  • 오래 전에 해결법을 터득해서 ...
  • 비트 코인으로 작업하는 것은 ...
  • 10년차 임베 엔지니어 입니다. ...
  • 임베디드쪽이라면 SOC 쪽 displ...
  • 그렇군요 제가 질문이 잘못됬었...
  • 취준생으로서 포트폴리오를 만...
  • 제가 현재 취업준비생입니다. ...
  • 에프에이리눅스 보드는 아래 링...
  • 전체
  • 일반
  • X5
  • S2410
  • ESP-NS
  • S3C2440
  • EP9312
  • 구매
  • 기타

S3C2440 램디스크 변경후 커널 패닉

2010.10.27 23:36

꿈돌과현실 조회 수:28805

안녕하세요

사이트에 있는 램디스크로 바꾸어 올려 보았습니다.


커널 패닉이 나타나 해결을 위해 이것 저것 찾고 있습니다. (잘 안 되네요 )


램디스크 : ramdisk-1.12-24M.gz

==> 18M디스크를 만들어서 24M 내용물을 복사해 넣었습니다.


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

Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar]

Copy Kernel Image .....
Copy Ramdisk Image .....
Starting kernel [MARCH 3007]...
kernel command [EZBOOT mem=64M initrd=0x30800000,5M root=/dev/ram ramdisk=16384 console=ttySAC2,115200 video=ezfb:panel:2   ip0=10.0.0.130 mac=00:FA:01:A2:13]
Uncompressing Linux.......................................................................................................................... done, booting t.
Linux version 2.6.21-falinux (root@localhost.localdomain) (gcc version 3.4.3) #22 Tue Aug 31 14:13:22 KST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: www.falinux.com EZ-S3C2440 for S3C2440 Board
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 399.651 MHz, memory 133.217 MHz, peripheral 66.608 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (2.116 MHz), fast, MPLL on, UPLL on
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.  Total pages: 16256
Kernel command line: EZBOOT mem=64M initrd=0x30800000,5M root=/dev/ram ramdisk=16384 console=ttySAC2,115200 video=ezfb:panel:2   ip0=10.0.0.130 mac=00:FA:01:
irq: clearing pending status 00000400
irq: clearing subpending status 000000c0
irq: clearing subpending status 00000080
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00000009, tcnt 2b5c, tcfg 000002ff,00003333, usec 0000170f
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 55856KB available (3368K code, 392K data, 124K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, DVS off
S3C24XX DMA Driver, (c) 2003-2004,2006 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
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: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 5120K
NetWinder Floating Point Emulator V0.97 (double precision)
audit: initializing netlink socket (disabled)
audit(2.568:1): initialized
yaffs May 17 2010 17:17:34 Installing.
io scheduler noop registered (default)
s3c2410-lcd s3c2410-lcd: options are "panel:2"
Console: switching to colour frame buffer device 100x30
fb0: s3c2410fb frame buffer device ( 800x480x16 )
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
usbcore: registered new interface driver ub
AX88796B: v1.1.0
AX88796B: 09/20/06 (http://www.asix.com.tw)
ax88796b: MAC ADDRESS  00 fa 01 a2 13 04
Linux video capture interface: v2.00
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 22ns Twrph0=8 60ns, Twrph1=3 22ns
NAND device: Manufacturer ID:0xec, Chip ID:0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Scanning device for bad blocks
count of bad blocks = 1
Creating 3 MTD partitions on "NAND 1GiB 3,3V 8-bit":
0x00000000-0x00200000 : "falinux boot/config/logo partition"
0x00200000-0x00a00000 : "falinux kernel/ramdisk partition"
0x00a00000-0x04000000 : "falinux yaffs partition"
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: 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.
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
s3c2410 TouchScreen successfully loaded
input: s3c2410 TouchScreen as /class/input/input0
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
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
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: initialisation done.
Advanced Linux Sound Architecture Driver Version 1.0.14rc3.
ASoC version 0.13.0
AC97 SoC Audio Codec 0.6
asoc: AC97 HiFi <-> s3c2440-ac97 mapping ok
ALSA device list:
  #0: FALINUXS3C2440 (AC97)
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Mobile IPv6
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
RAMDISK: Compressed image found at block 0
RAMDISK: ran out of compressed data
invalid compressed format (err=1)
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 124K
EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #3384: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #3241: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #3154: rec_len is smaller than minimal - offset=1024, inode=0, rec_len=0, name_len=0
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

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


중간 INIT 부분은 색깔 변경해 놓았습니다.

툴체인을 4.3 으로 바꿔 보려고 램디스크를 바꿀려고 합니다. 



감사 합니다.



커널 패닉, 이 게시물을
  • Twitter
  • Facebook
  • Delicious
목록

댓글 10

  • 박문식

    2010.10.27 23:50

    부트옵션에는 램디스크 사이즈를 정해주게 되어 있습니다.

    루트 마운트시에 그 크기를 알기 위해서지요.


    방법은 ramdisk=16384 -> ramdisk=1024*원하는 사이즈  가 되겠습니다


    이지부트에서는 부팅시 스페이스 누르시고 커맨드 라인이 뜨면

    set 하시면 부트옵션을 바꾸는 메뉴로 진입하실수 있습니다.


    다른 것은 그대로 두고 ramdisk=숫자 만 바꾸시면 됩니다.


    <meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"></meta></meta>

    댓글

  • 꿈돌과현실

    2010.10.28 00:19

    RAMDISK size 를 바꿔줘도 동일 하네요 ..

    18M로  만들어서 1024 * 18 = 18432

    20M로 설정 20480

    램디스크는 18M로 만들 었습니다.



    댓글

  • 박문식

    2010.10.28 21:16

    invalid format 이라고 되어 있습니다.

    바꾸어서 만드는 과정을 한번 올려주세요.


    만드는 과정을 한번 살펴 보는 것이 좋을 것 같습니다.

    댓글

  • 꿈돌과현실

    2010.10.29 05:18

    네 .. 저도 지금 그부분을 보았습니다.

    http://southlife.tistory.com/61 <== 이곳을 보고 램디스크를 만들었습니다.


    [root@localhost ramdisk]# dd if=/dev/zero of=R_16M bs=1k count=16384

    16384+0 records in
    16384+0 records out
    16777216 bytes (17 MB) copied, 0.11962 seconds, 140 MB/s
    [root@localhost ramdisk]# mke2fs R_16M 
    mke2fs 1.39 (29-May-2006)
    R_16M is not a block special device.
    Proceed anyway? (y,n) y
    Filesystem label=
    OS type: Linux
    Block size=1024 (log=0)
    Fragment size=1024 (log=0)
    4096 inodes, 16384 blocks
    819 blocks (5.00%) reserved for the super user
    First data block=1
    Maximum filesystem blocks=16777216
    2 block groups
    8192 blocks per group, 8192 fragments per group
    2048 inodes per group
    Superblock backups stored on blocks:
        8193

    Writing inode tables: done                           
    Writing superblocks and filesystem accounting information: done

    This filesystem will be automatically checked every 32 mounts or
    180 days, whichever comes first.  Use tune2fs -c or -i to override.
    [root@localhost ramdisk]# mount -o loop R_16M 16M/


    내용 복사

    umount ..


    gzip R_16M

    ==> R_16M.gz 생성 보드에 업로드 하였습니다.


    댓글

  • 유승수

    2010.10.28 21:29

    혹시 압축 상태의 size 가 5M 넘은건 아닌가요?

    s3c2440 보드를 사용하신다면 현재 NAND  파티션이 5M 로 설정 돼 있습니다.

    ==>  14) nand part (B,C,L,K,R,A): 1,1,2,3,5,1012

     

    파티션 나눈게 사용하시는 보드와 다를수도 있지만 윗줄에 표시한부분을 확인 해 보세요.

    댓글

  • 꿈돌과현실

    2010.10.29 05:25


    LSA device list:
      #0: FALINUXS3C2440 (AC97)
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    Mobile IPv6
    IPv6 over IPv4 tunneling driver
    sit0: Disabled Privacy Extensions
    NET: Registered protocol family 17
    s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
    RAMDISK: Compressed image found at block 0
    RAMDISK: incomplete write (-28 != 32768) 16777216
    invalid compressed format (err=1)
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing init memory: 124K


    지적해 주신 부분을 6M로 변경해 보았습니다. 

    이상태에서 진행을 안(못) 하네요.


    댓글

  • 꿈돌과현실

    2010.10.29 05:33

    램영역/ 커널 영역 삭제 하니..

      #0: FALINUXS3C2440 (AC97)
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    Mobile IPv6
    IPv6 over IPv4 tunneling driver
    sit0: Disabled Privacy Extensions
    NET: Registered protocol family 17
    s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
    RAMDISK: Compressed image found at block 0
    length error
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing init memory: 140K


    메시지가 다르네요..

    댓글

  • 박문식

    2010.10.30 00:36

    저희가 사용하는 램디스 16메가 짜리 만드는 스크립트 입니다.

    참조하셔서 시도해 보세요


    #!/bin/sh

    RAMDISK=ramdisk-1.11-16M.gz


    rm -rf ramdisk-*.gz

    dd if=/dev/zero of=t_ramdisk bs=1k count=16384

    /sbin/losetup /dev/loop1 t_ramdisk

    /sbin/mke2fs /dev/loop1 

    /sbin/losetup -d /dev/loop1

    mount -t ext2 -o loop t_ramdisk dir_ramdisk

    #ldconfig -r target_ramdiskroot

    cp -a target_ramdiskroot/* dir_ramdisk

    umount dir_ramdisk

    gzip t_ramdisk

    mv t_ramdisk.gz $RAMDISK 

    chmod 777 $RAMDISK



    댓글

  • 꿈돌과현실

    2010.10.30 01:20

     #0: FALINUXS3C2440 (AC97)
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    Mobile IPv6
    IPv6 over IPv4 tunneling driver
    sit0: Disabled Privacy Extensions
    NET: Registered protocol family 17
    s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
    RAMDISK: Compressed image found at block 0
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing init memory: 140K
    ===================

    Message Ending..

    이와 같은 증상은 etc나 dev디렉토리의 오류라고 적혀다른곳에서 본것 같네요.

    좀더 찾아 보도록 하겠습니다. -- 도움을 주시면 좀더 빨리 해결할수 있을테니 도움도 간절히 기다립니다. ^^



    댓글

  • 꿈돌과현실

    2010.11.03 23:04

    아직 해결을 하지는 못하였습니다. 조금 의심 스런 것이 있다면

    /bin/sh ---> ../bin/busybox

    /bin/sh --> ../bin/bash


    두개의 차이 입니다.


    부팅에 문제가 없는 것은 /bin/bash 가 들어 있네요

    이것이 아니겠지만. 의심이 되어서 ~ 흔적을 남깁니다.


    댓글

목록
번호 제목 글쓴이 날짜 조회 수
공지 포럼의 메뉴가 보이지 않아요! 장길석 2014.02.06 957630
공지 [중요 공지]제품 사용 및 기술 문의는 전화 상담을 받지 않습니다. 장길석 2012.11.09 1408523
공지 답글에 대한 공지 사항. falinux 2006.11.20 2424020
15341 [특판][성Y인Y용Y품][비아][시알][여성흥분제] 전부 1+1 vv8282.top 지금 확인해보세요~! dde33 2026.10.15 2
15340 요즘 잘 나가는,,, dde33 2026.09.12 843
15339 buildroot 사용 관련 로즈마리 2021.02.01 38166
15338 GPIO 제어 방법 문의 [1] 단순최고 2021.01.25 51084
15337 임베디드 리눅스 개발 보드 추천 nam 2019.12.06 48863
15336 make wandboard_quad 실행시 문제 gasi 2019.08.27 47084
15335 LCD 초기화 코드 좀 봐주세요 [1] 김용수 2019.07.12 63134
15334 임베디드 리눅스 커널 소스에 관해 질문드립니다 ! ekthatkxkd 2019.06.28 43727
15333 numpy,scipy 를 arm-linux-XXXX 로 크로스컴파일 하여 올릴수 있나요? 초보자 2019.06.24 49287
15332 I2C - deal with arbitration loss 오류가 궁금합니다. [1] S1eepingBeauty 2018.12.10 56770
15331 구형 EM-PXA270 보드 혹시 보유하시분 연락 주시면 감사드릴께요. file 존 2018.11.24 42753
15330 리눅스 GPIO 관련 센서의 단선 또는 고장유무 판별법이 궁금합니다. [2] S1eepingBeauty 2018.11.12 55125
15329 임베디드 리눅스에서 c 언어 디버깅 궁금합니다. [1] 존 2018.09.14 47072
15328 부팅 시간 문의 [1] nam 2018.06.29 45791
15327 localport? port? 검은고래 2018.06.29 39957
15326 fork()의 thread 멈추는 현상 [4] HwangRoy 2018.05.09 58614
15325 임베디드 리눅스 습득용 보드 판매하시나요? 임베디드초급자 2018.04.27 39719
15324 (도와주세요)네트워크 디바이스 드라이버 수정문제입니다. [1] Chanmini 2018.03.04 43600
15323 Ez x5 구합니다!! khobaik 2018.01.26 38315
15322 실행중 symbol not found 를 발생시키는 u-boot 본적 있으신가요 ? sayyouandme 2017.12.17 57347
첫 페이지 1 2 3 4 5 6 7 8 9 10 끝 페이지
쓰기
태그
부탁드립니다. ^^
  • 글을 작성하시려면 회원으로 가입하시고 로그인 하셔야 합니다.
  • 회원 가입은 주민등록번호가 필요 없으며, 메일 주소만 있으면 간단하게 가입하실 수 있습니다.
  • 본 포럼에 등록된 모든 글의 저작권은 작성하신 분께 있으며, 저작자의 허락 없이 다른 곳에 펌이나 도용하시면 안 됩니다.
  • 또한, 전자우편 수집 프로그램이나 그 밖의 기술적 장치를 이용하여 무단으로 이메일 주소 및 자료 수집되는 것을 거부하며,
  • 이를 위반 시 정보통신망 법에 의해 형사 처벌됨을 유념하시기 바랍니다.
  • FF 포럼
  • 강좌 & 팁
  • 함수설명
  • 자료실
  • 도와주세요