Pagefault while doing SNMP GET on Interfaces table. - VxWorks

This is a discussion on Pagefault while doing SNMP GET on Interfaces table. - VxWorks ; Hi, I am new to Vxworks.I am getting the page fault error when i am doing a GET on the ifNumber object in the interfaces group. The VxWorks implements the interfaces group and when i am retrieving the value, it ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Pagefault while doing SNMP GET on Interfaces table.

  1. Pagefault while doing SNMP GET on Interfaces table.

    Hi,
    I am new to Vxworks.I am getting the page fault error when i am doing a
    GET on the ifNumber object in the interfaces group. The VxWorks
    implements the interfaces group and when i am retrieving the value, it
    is giving pagefault error. The error is as shown.
    I did a lkAddr but i hardly can understand what it interprets.
    Can anyone please tell me what could be the problem.


    Page Fault
    Status Register: 0x00010246
    Error Code: 0x00000000
    Task: 0x162fefbc "nbxSnmpAgent"
    lkAddr Program Counter

    Page Fault
    Program Counter: 0x00d1bd28
    Status Register: 0x00010286
    Error Code: 0x00000000

    d083da chdir +98a: dbgPrintCall (1, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    d7963c dbgPrintCall +e11c: d7966c ([1, 0, 0, 0, d7945c])
    d79811 dbgPrintCall +e2f1: d798bc (179567e8)
    d79975 dbgPrintCall +e455: db79a4 ([0, 179567e8, 179567e8,
    &ghVMLogId, &ghVMLo
    gId])
    db7b4a iosFdShow +28e3e: db5174 ([179567e8, 3, 3, 1791e178,
    152c6d64])
    db51f4 iosFdShow +264e8: db5b34 ([179567b0, db7b4f, 179567e8, 3,
    3])
    db5bdd iosFdShow +26ed1: db4d34 (c, 179566e4, 8, 179566e0)
    db4f34 iosFdShow +26228: db54b4 ([179566e4, 1480ce0, 20, 152c6d64,
    3])
    db5557 iosFdShow +2684b: d352bc (17956625)
    d352d6 taskOptionsSet +1da: d12210 (1320708, d3530c, 17956625)
    d1222a taskRegsShow +1262: d3530c (162f5900, 17956625)
    d35324 taskOptionsSet +228: d1bd08 ([eeeeeeee, 17956625, 162f5900,
    179565ec, d12
    22c])


  2. Re: Pagefault while doing SNMP GET on Interfaces table.


    kalyan wrote:
    > Hi,
    > I am new to Vxworks.I am getting the page fault error when i am doing a
    > GET on the ifNumber object in the interfaces group. The VxWorks
    > implements the interfaces group and when i am retrieving the value, it
    > is giving pagefault error. The error is as shown.
    > I did a lkAddr but i hardly can understand what it interprets.
    > Can anyone please tell me what could be the problem.
    >
    >
    > Page Fault
    > Status Register: 0x00010246
    > Error Code: 0x00000000
    > Task: 0x162fefbc "nbxSnmpAgent"
    > lkAddr Program Counter
    >
    > Page Fault
    > Program Counter: 0x00d1bd28
    > Status Register: 0x00010286
    > Error Code: 0x00000000
    >
    > d083da chdir +98a: dbgPrintCall (1, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    > d7963c dbgPrintCall +e11c: d7966c ([1, 0, 0, 0, d7945c])
    > d79811 dbgPrintCall +e2f1: d798bc (179567e8)
    > d79975 dbgPrintCall +e455: db79a4 ([0, 179567e8, 179567e8,
    > &ghVMLogId, &ghVMLo
    > gId])
    > db7b4a iosFdShow +28e3e: db5174 ([179567e8, 3, 3, 1791e178,
    > 152c6d64])
    > db51f4 iosFdShow +264e8: db5b34 ([179567b0, db7b4f, 179567e8, 3,
    > 3])
    > db5bdd iosFdShow +26ed1: db4d34 (c, 179566e4, 8, 179566e0)
    > db4f34 iosFdShow +26228: db54b4 ([179566e4, 1480ce0, 20, 152c6d64,
    > 3])
    > db5557 iosFdShow +2684b: d352bc (17956625)
    > d352d6 taskOptionsSet +1da: d12210 (1320708, d3530c, 17956625)
    > d1222a taskRegsShow +1262: d3530c (162f5900, 17956625)
    > d35324 taskOptionsSet +228: d1bd08 ([eeeeeeee, 17956625, 162f5900,
    > 179565ec, d12
    > 22c])


    This could be because of stack overflow.
    You can use checkStack() to determine the if the stack is overflowing.
    Make sure that your task's stack size is enough.

    Subhash


  3. Re: Pagefault while doing SNMP GET on Interfaces table.

    Hi Subhash,
    No it is not due to stack overflow. when i did a checkstack it gave me
    the following

    checkStack
    NAME ENTRY TID SIZE CUR HIGH MARGIN
    ------------ ------------ -------- ----- ----- ----- ------
    tExcTask 0x0000d68574 17f2ffc8 7988 144 884 7104
    tLogTask 0x0000cfe598 17f2d6c4 4988 148 1000 3988
    nbxCheckLink 0x0000777f08 152d04cc 19984 72 2252 17732
    tShell 0x0000d795bc 179568c0 9216 812 4016 5200
    LedDisplay 0x000082bb10 17eec8c8 8180 132 368 7812
    tTelnetd 0x0000d2b184 179cc568 4988 212 452 4536
    Disk 0 0x0000828760 179c715c 8184 136 452 7732
    tWdbTask 0x0000d33948 17957a78 3976 844 1096 2880
    itimerd 0x0000792e10 1739de6c 7516 140 640 6876
    t1 0x0000792e10 1739bcd8 8188 124 820 7368
    cleanupd 0x0000792e10 17399b44 8180 112 348 7832
    nbxSnmpAgent 0x0000c61bec 162fefbc 19984 9743 12612 7372
    cpuUsageTask 0x00008271b0 17ffee20 876 76 360 516
    INTERRUPT 1000 0 0 1000
    value = 36 = 0x24 = '$'

    So it is not because of that. any other chance ?
    Regards,
    Kalyan.


  4. Re: Pagefault while doing SNMP GET on Interfaces table.

    page fault means that u hav accessed illegal address. just type "tt" in
    the console to see the stack trace & look into the code that causes the
    problem


+ Reply to Thread