LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: kevin_sun_buaa2@h...<kevin_sun_buaa2@h...>
    Date: Wed Apr 6 10:04:05 CEST 2005
    Subject: [openrisc] linux 2.4 with icache enabled failed to boot
    Top
    Hi
    I have successfully made linux 2.4 run on my cyclone board(with 8Kb
    icache and 8KB dcache) with icache disabled. But when the icache was

    enabled, the linux failde to boot. Followed is the printed message. Can
    anyone help me?
    Thank you.

    Linux version 2.4.26-or32 (root@skvm) (gcc version 3.2.3) #30 Sun Mar
    20 01:57:
    16 EST 2005
    Detecting Processor units:
    CPU : or32/OpenRISC-1200, revision 1, @38 MHz, with no shadow
    registers
    dCACHE: present
    iCACHE: present
    dMMU : present
    iMMU : present
    debug : N/A
    PerfC : N/A
    PM : N/A
    PIC : N/A
    TIMER : N/A
    CUs : N/A
    Setting up paging and PTEs.
    write protecting ro sections (0xc0002000 - 0xc0194000)
    Setting up identical mapping (0x90000000 - 0x90002000)
    Setting up identical mapping (0x92000000 - 0x92002000)
    On node 0 totalpages: 8192
    zone(0): 8192 pages.
    zone(1): 0 pages.
    zone(2): 0 pages.
    dtlb_miss_handler c0002438
    itlb_miss_handler c0002518
    Linux/or32 port 2003 OpenCores
    Kernel command line: root=/dev/ram
    Calibrating delay loop... 37.58 BogoMIPS
    Memory: 61568k/65536k available (-1047061k kernel code, 3968k
    reserved, 284k dat
    a, 48k init, 0k highmem)
    Dentry cache hash table entries: 8192 (order: 3, 65536 bytes)
    Inode cache hash table entries: 4096 (order: 2, 32768 bytes)
    Mount cache hash table entries: 1024 (order: 0, 8192 bytes)
    Buffer cache hash table entries: 2048 (order: 0, 8192 bytes)
    Page-cache hash table entries: 8192 (order: 2, 32768 bytes)
    POSIX conformance testing by UNIFIX
    idled: tick timer disabled, enabling...
    idled: SR 0x8071, ESR 0x8071, EPCR 0xc0005b38, EEAR 0x90000001
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    Journalled Block Device driver loaded
    pty: 256 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with no serial options enabled
    ttyS00 at 0x90000000 (irq = 2) is a 16550A
    RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 1024 buckets, 8Kbytes
    TCP: Hash tables configured (established 8192 bind 16384)
    IPv4 over IPv4 tunneling driver
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    RAMDISK: ext2 filesystem found at block 0
    RAMDISK: Loading 1536 blocks [1 disk] into ram disk... kernel BUG at
    page_alloc.
    c:105!
    kernel BUG at page_alloc.c:105!
    kernel BUG at page_alloc.c:105!
    kernel BUG at page_alloc.c:105!
    Unable to handle kernel NULL pointer dereference at virtual address
    0x00000000

    Oops#: 0001
    CPU #: 0
    PC: c00362b4 SR: 00008071 SP: c3fe9de0
    GPR00: 00000000 GPR01: c3fe9de0 GPR02: c3fe8000 GPR03: 00000000
    GPR04: 00000000 GPR05: c01ac140 GPR06: 00000000 GPR07: 00002000
    GPR08: 00002000 GPR09: c0388024 GPR10: c03df5a8 GPR11: 00000020
    GPR12: fffffffe GPR13: c0356e9c GPR14: c01ac840 GPR15: c0356e94
    GPR16: c01ac884 GPR17: c0356e98 GPR18: 00001fc2 GPR19: c0356ea0
    GPR20: 000007f0 GPR21: 0000007f GPR22: c03df57c GPR23: 00000001
    GPR24: c0388024 GPR25: 00000019 GPR26: c01ac8f0 GPR27: 00000070
    GPR28: 0000002c GPR29: c017cbf4 GPR30: 00000001 GPR31: c00082d8
    RES: 00000000 oGPR3: 00000000 dummy: c3fe9e18
    Process swapper (pid: 1, stackpage=c3fe8000)

    Stack: Stack dump [0xc3fe9d58]:
    sp + 00: 0xc3fe9de0
    sp + 04: 0xc3fe8000
    sp + 08: 0x00000000
    sp + 12: 0x00000000
    sp + 16: 0xc01ac140
    sp + 20: 0x00000000
    sp + 24: 0x00002000
    sp + 28: 0x00002000
    sp + 32: 0xc0388024
    sp + 36: 0xc03df5a8
    sp + 40: 0x00000020 sp + 44: 0xfffffffe sp + 48: 0xc0356e9c sp + 52: 0xc01ac840 sp + 56: 0xc0356e94 sp + 60: 0xc01ac884 sp + 64: 0xc0356e98 sp + 68: 0x00001fc2 sp + 72: 0xc0356ea0 sp + 76: 0x000007f0 sp + 80: 0x0000007f sp + 84: 0xc03df57c sp + 88: 0x00000001 sp + 92: 0xc0388024 sp + 96: 0x00000019 sp + 100: 0xc01ac8f0 sp + 104: 0x00000070 sp + 108: 0x0000002c sp + 112: 0xc017cbf4 sp + 116: 0x00000001 sp + 120: 0xc00082d8 sp + 124: 0x00000000 sp + 128: 0x00000000 sp + 132: 0xc3fe9e18 sp + 136: 0xc0182955 sp + 140: 0xc018296b sp + 144: 0x00000069 sp + 148: 0xc0037378 sp + 152: 0xc03df57c sp + 156: 0xc03df590 sp + 160: 0x00000000 sp + 164: 0x00000001 sp + 168: 0x00000000 sp + 172: 0x00000400 sp + 176: 0x00000c00 sp + 180: 0x00001000 sp + 184: 0xc3fb8800 sp + 188: 0xc3fe9e94 sp + 192: 0x00008677 sp + 196: 0x00008677 sp + 200: 0x00008677 sp + 204: 0xc002e4ec sp + 208: 0x00000c00 sp + 212: 0xc03df57c sp + 216: 0xc03df594 sp + 220: 0xc3ffdd34 sp + 224: 0x00000400 sp + 228: 0x00008477 sp + 232: 0xc3fe8000 sp + 236: 0xc3fb8657 sp + 240: 0xc01d2e57 sp + 244: 0xc002ec8c sp + 248: 0x00000000 sp + 252: 0xc3f8a130 sp + 256: 0xc3ffdcec sp + 260: 0x00000000 sp + 264: 0x00000600 sp + 268: 0xc3fb8400 sp + 272: 0xc3f8a150 sp + 276: 0x00000001 sp + 280: 0xc3ffdcfc sp + 284: 0x00000000 sp + 288: 0xc0040750 sp + 292: 0x30fff74d sp + 296: 0x00000400 sp + 300: 0xc3ffdc80 sp + 304: 0xc3f8a150 sp + 308: 0xc3f8a130 sp + 312: 0x00008477 sp + 316: 0x00000000 sp + 320: 0x00000000 sp + 324: 0x00001000 sp + 328: 0x00000000 sp + 332: 0xc3fe9eff sp + 336: 0xc00408a8 sp + 340: 0xc3f8a130 sp + 344: 0x00000400 sp + 348: 0xffffffea sp + 352: 0xc3fb8400 sp + 356: 0x00000600 sp + 360: 0x00000003 sp + 364: 0x00000000 sp + 368: 0x00000001 sp + 372: 0xc3fb8400 sp + 376: 0xc0040778 sp + 380: 0x00008677 sp + 384: 0x00000400 sp + 388: 0x00008477 sp + 392: 0x00000001 sp + 396: 0xc00083a0 sp + 400: 0x00000001 sp + 404: 0x00000000 sp + 408: 0xc017fbe3 sp + 412: 0x00000600 sp + 416: 0x00008677 sp + 420: 0xc01c74a8 sp + 424: 0x00008277 sp + 428: 0xc3fe9f8c sp + 432: 0xc3fe8000 sp + 436: 0x00000000 sp + 440: 0xc3fb8400 sp + 444: 0x00000400 sp + 448: 0x90000000 sp + 452: 0x00000003 sp + 456: 0x00000600 sp + 460: 0xc01c7474 sp + 464: 0x00000001 sp + 468: 0x00000004 sp + 472: 0x00000000 sp + 476: 0xc0356e9c sp + 480: 0xc017fbe3 sp + 484: 0xc0356e94 sp + 488: 0x00000600 sp + 492: 0xc0356e98 sp + 496: 0x00000600 sp + 500: 0xc0356ea0 sp + 504: 0x00000003 sp + 508: 0x0000007f sp + 512: 0x00000000 sp + 516: 0x00000001 sp + 520: 0x00000001 sp + 524: 0x00000019 sp + 528: 0xc3fb8400 sp + 532: 0x00000070 sp + 536: 0x00000000 sp + 540: 0xc017cbf4 sp + 544: 0xc01c64f4 sp + 548: 0x00000000 sp + 552: 0x00000000 sp + 556: 0x00000000 sp + 560: 0xc01c7474 sp + 564: 0xc017fc35 sp + 568: 0x0000007c sp + 572: 0x00000001 sp + 576: 0xc017fa1f sp + 580: 0xc01c7ac4 sp + 584: 0xc01a0208 sp + 588: 0xc01d07dc sp + 592: 0x00000000 sp + 596: 0x00000000 sp + 600: 0x00000000 sp + 604: 0x00000000 sp + 608: 0x00000000 sp + 612: 0x00000000 sp + 616: 0x00000000 sp + 620: 0x00000600 sp + 624: 0x00004000 sp + 628: 0x7c2f2d5c sp + 632: 0xc00031f0 sp + 636: 0xc0002f08 sp + 640: 0x00000000 sp + 644: 0xc01bb568 sp + 648: 0x00000000 sp + 652: 0x00000000 sp + 656: 0xc0005d08 sp + 660: 0x00000000 sp + 664: 0x00000000 sp + 668: 0x00010f00 sp + 672: 0x00000000 sp + 676: 0xc01ccc04 Call Trace: [<00000000>] [<00000000>] [<00000000>] [<00002000>] [<00002000>] [<00000020>] [<00001fc2>] [<000007f0>] [<0000007f>] [<00000001>] [<00000019>] [<00000070>] [<0000002c>] [<00000001>] [<c00082d8>] [<00000000>] [<00000000>] [<00000069>] [<c0037378>] [<00000000>] [<00000001>] [<00000000>] [<00000400>] [<00000c00>] [<00001000>] [<00008677>] [<00008677>] [<00008677>] [<c002e4ec>] [<00000c00>] [<00000400>] [<00008477>] [<c002ec8c>] [<00000000>] [<00000000>] [<00000600>] [<00000001>] [<00000000>] [<c0040750>] [<30fff74d>] [<00000400>] [<00008477>] [<00000000>] [<00000000>] [<00001000>] [<00000000>] [<c00408a8>] [<00000400>] [<00000600>] [<00000003>] [<00000000>] [<00000001>] [<c0040778>] [<00008677>] [<00000400>] [<00008477>] [<00000001>] [<c00083a0>] [<00000001>] [<00000000>] [<00000600>] [<00008677>] [<00008277>] [<00000000>] [<00000400>] [<90000000>] [<00000003>] [<00000600>] [<00000001>] [<00000004>] [<00000000>] [<00000600>] [<00000600>] [<00000003>] [<0000007f>] [<00000000>] [<00000001>] [<00000001>] [<00000019>] [<00000070>] [<00000000>] [<00000000>] [<00000000>] [<00000000>] [<0000007c>] [<00000001>] [<00000000>] [<00000000>] [<00000000>] [<00000000>] [<00000000>] [<00000000>] [<00000000>] [<00000600>] [<00004000>] [<7c2f2d5c>] [<c00031f0>] [<c0002f08>] [<00000000>] [<00000000>] [<00000000>] [<c0005d08>] [<00000000>] [<00000000>] [<00010f00>] [<00000000>] Code: 84 6a 00 00 b9 8c 00 01 ba 94 00 41 84 8a 00 04 9e 10 00 0c e2 52 60 03 (d 4) 04 18 00 d4 03 20 04 bc 2c fe 00 9c 60 00 00 d4 0a 18 00 13 ff ff 97 Kernel panic: Attempted to kill init!

    Follow upAuthor
    [openrisc] linux 2.4 with icache enabled failed to bootMatjaz Breskvar

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.