Modify

Opened 7 years ago

Closed 5 years ago

Last modified 22 months ago

#6129 closed defect (fixed)

insmod failed on octeon

Reported by: ricardo@… Owned by: florian
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: insmod octeon Cc:

Description

On cavium octeon evaluation board, when doing insmod operation at boot time, there will always be a kernel crash, after that, system still work but will hang when using lsmod.

The kernel crash info dump as the following:

CPU 0 Unable to handle kernel paging request at virtual address ffffffffc0248f80, epc == ffffffffc0248f80, ra == ffffffffc00070c8
Oops[#1]:
Cpu 0
$ 0   : 0000000000000000 0000000000000010 ffffffff81330000 0000000000000000
$ 4   : ffffffff81a2c388 0000000000000010 0000000000000000 ffffffffffffffff
$ 8   : 0000000000000000 0000000000000001 0000000000000051 0000000000000000
$12   : 0000000000000008 a800000001b07400 0000000000000068 000000000000004c
$16   : ffffffff81a17a80 ffffffff813c0000 ffffffff81a2c388 ffffffffc0004928
$20   : ffffffffc0002b90 ffffffff81a18018 ffffffffffffffff 000000007fb4b878
$24   : a8000000014b5260 000000000000005a                                  
$28   : a80000002fff4000 a80000002fff7db0 0000000000000000 ffffffffc00070c8
Hi    : 0000000000000000
Lo    : 0000000000000000
epc   : ffffffffc0248f80 0xffffffffc0248f80
    Not tainted
ra    : ffffffffc00070c8 init_module+0x94/0x1a4 [x_tables]
Status: 10008ce3    KX SX UX KERNEL EXL IE 
Cause : 00800008
BadVA : ffffffffc0248f80
PrId  : 000d030b (Cavium Octeon)
Modules linked in: x_tables(+)
Process modprobe (pid: 1470, threadinfo=a80000002fff4000, task=a8000000014a4238, tls=000000002aacf760)
Stack : 0000000000000072 0000000000000077 0000000000000076 ffffffff81a20000
        ffffffff81a20000 0000000000000000 ffffffffc0007034 0000000000494028
        000000000046b708 0000000000030101 000000007fb4b878 ffffffff8110dad8
        ffffffffc0004740 ffffffff813c0000 ffffffff813c0000 0000000000494254
        0000000000494028 ffffffff8116209c 000000000000a9a8 000000000046c130
        0000000000000258 00000000004a09d0 0000000000000000 0000000000000000
        0000000000494254 ffffffff811041cc 0000000000000000 0000000000000014
        0000000000001020 000000002ace2d90 00000000004a09d0 000000000000a9a8
        000000000046c130 0000000000000000 000000000000001e 0000000000000002
        0000000000000078 0000000000000004 0000000000002004 0000000000000003
        ...
Call Trace:
[<ffffffffc0007034>] init_module+0x0/0x1a4 [x_tables]
[<ffffffff8110dad8>] do_one_initcall+0x68/0x168
[<ffffffff8116209c>] SyS_init_module+0xbc/0x1d8
[<ffffffff811041cc>] handle_sys+0x12c/0x148


Code: (Bad address in epc)

I'm using trunk code, the revision number is 18352.

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

That problem is actually seen on every mips64 targets, as a temporary solution, you can remove target/linux/generic-2.6/patches-2.6.30/027-mips_module_reloc.patch which will prevent insmod from crashing.

comment:2 Changed 6 years ago by florian

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with r18593.

comment:3 Changed 5 years ago by florian

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:4 Changed 22 months ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.