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: Robert Millan<rmh@a...>
    Date: Wed Jun 29 21:58:21 CEST 2005
    Subject: [openrisc] Oops when booting Linux
    Top
    On Wed, Jun 29, 2005 at 01:55:06PM +0200, Matjaz Breskvar wrote:
    > Hi Robert,
    >
    > i'm already aware of this problem when building linux 2.4 with gcc-3.4.2. at
    > the time i was looking at it i traced it to be related to gcc. kernel and
    > compiler should be of approx. the same version. i suggest you use gcc-3.2.3
    > with linux-2.4 (you shouldn't have any problems with it).

    Ok, after fixing gcc-3.2.3 (see other mail), and rebuilding it gets further
    but then stucks into:

    ^MNET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    ^MUnable to handle kernel NULL pointer dereference at virtual address 0x00000000
    ^M
    ^MOops#: 0000
    ^MCPU #: 0
    ^M PC: c000d31c SR: 00008261 SP: c03a9f68
    ^MGPR00: 00000000 GPR01: c03a9f68 GPR02: c03a8000 GPR03: c03a9f90
    ^MGPR04: 00000003 GPR05: 00000001 GPR06: c0359a60 GPR07: 00000120
    ^MGPR08: ffffffe0 GPR09: c000d2ec GPR10: 00000000 GPR11: 00000001
    ^MGPR12: c03fdfe8 GPR13: c0356e9c GPR14: c01abf10 GPR15: c0356e94
    ^MGPR16: c03fdfe0 GPR17: c0356e98 GPR18: 00000000 GPR19: c0356ea0
    ^MGPR20: 00000003 GPR21: 0000007f GPR22: c01a8508 GPR23: 00000001
    ^MGPR24: 00000001 GPR25: 00000019 GPR26: c01a99cc GPR27: 00000070
    ^MGPR28: 00000000 GPR29: c017cbf4 GPR30: c01c64f4 GPR31: 00000000
    ^M RES: 00000000 oGPR3: c03a9f90 dummy: c03a9f94
    ^MProcess swapper (pid: 1, stackpage=c03a8000)
    ^M
    ^MStack: Stack dump [0xc03a9ee0]:
    ^Msp + 00: 0xc03a9f68
    [...]
    ^Msp + 284: 0xc01ccfa0
    ^M
    ^MCall Trace: [<c000d2ec>] [<c0023cf4>] [<c0023fd4>] [<c0002e40>] [<c0005c48>]

    Here are the source lines / function names for PC and the other addresses in
    call trace:

    rmh at aragorn:/usr/src/or1k/linux/linux-2.4$ addr2line -e vmlinux -f c000d31c
    __wake_up
    /usr/src/or1k/linux/linux-2.4/kernel/sched.c:729
    rmh at aragorn:/usr/src/or1k/linux/linux-2.4$ addr2line -e vmlinux -f c000d2ec
    __wake_up
    /usr/src/or1k/linux/linux-2.4/kernel/sched.c:723
    rmh at aragorn:/usr/src/or1k/linux/linux-2.4$ addr2line -e vmlinux -f c0023cf4
    schedule_task
    /usr/src/or1k/linux/linux-2.4/kernel/context.c:65
    rmh at aragorn:/usr/src/or1k/linux/linux-2.4$ addr2line -e vmlinux -f c0023fd4
    flush_scheduled_tasks
    /usr/src/or1k/linux/linux-2.4/kernel/context.c:149
    rmh at aragorn:/usr/src/or1k/linux/linux-2.4$ addr2line -e vmlinux -f c0002e40
    init
    /usr/src/or1k/linux/linux-2.4/init/main.c:562
    rmh at aragorn:/usr/src/or1k/linux/linux-2.4$ addr2line -e vmlinux -f c0005c48
    or32_console_write
    /usr/src/or1k/linux/linux-2.4/arch/or32/kernel/dbgport.c:97

    Any help would be much appreciated.

    --
    Robert Millan

    Follow upAuthor
    [openrisc] Oops when booting LinuxMatjaz Breskvar

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