Hi ereryone, I have a problem when I stop my test demo with ¡®CTRL+C¡¯, and then kernel panic.

 

Any suggestions?

 

BTW, I¡¯m using the version 1.4.1-7 in RHEL6.4, kernel version is 3.2.28

 

 

 

uio device registered with irq 33

general protection fault: 0000 [#1] SMP

CPU 2

Modules linked in: igb_uio(O) [last unloaded: scsi_wait_scan]

 

Pid: 6072, comm: test Tainted: G           O 3.2.28 #12 SinoGrid Inc. WiseGrid ADC2000/To be filled by O.E.M.

RIP: 0010:[<ffffffff81553afe>]  [<ffffffff81553afe>] sock_def_wakeup+0x19/0x3e

RSP: 0018:ffff88022fa37c48  EFLAGS: 00010206

RAX: 0bd943e9b9b967f6 RBX: ffff880235946d20 RCX: ffff8802365a25c8

RDX: ffffffff81553ae5 RSI: ffff8802365a25c8 RDI: 0bd943e9b9b967ee

RBP: ffff880235a460c0 R08: 0000000000000000 R09: 0000000000000000

R10: 0000000000000000 R11: ffff88023502d800 R12: ffff8802365a25c8

R13: ffff8802354c9cc0 R14: ffff88023528bc90 R15: ffff880235ee4a80

FS:  0000000000000000(0000) GS:ffff88023fd00000(0000) knlGS:0000000000000000

CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b

CR2: 0000003ec3413000 CR3: 0000000001a3f000 CR4: 00000000000406a0

DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

Process test (pid: 6072, threadinfo ffff88022fa36000, task ffff88023537e8e0)

Stack:

ffff880229908cc0 ffffffff814bb41b 0000000000000008 ffff8802365a25c8

ffff88023528bc80 ffff88023528bc80 0000000000000008 ffffffff8109aff3

0000000000000000 ffff88023528bc80 ffff880235022140 0000000000000000

Call Trace:

[<ffffffff814bb41b>] ? uio_release+0x2a/0x4a

[<ffffffff8109aff3>] ? fput+0xea/0x1a5

[<ffffffff81098418>] ? filp_close+0x59/0x61

[<ffffffff8102d03c>] ? put_files_struct+0x67/0xc5

[<ffffffff8102e64f>] ? do_exit+0x221/0x678

[<ffffffff8102eb19>] ? do_group_exit+0x73/0x9d

[<ffffffff81038558>] ? get_signal_to_deliver+0x406/0x422

[<ffffffff810015bd>] ? do_signal+0x36/0x620

[<ffffffff8104396a>] ? hrtimer_cancel+0xc/0x16

[<ffffffff81694dd5>] ? do_nanosleep+0x77/0xb0

[<ffffffff81043def>] ? hrtimer_nanosleep+0x65/0x108

[<ffffffff81043e26>] ? hrtimer_nanosleep+0x9c/0x108

[<ffffffff81043173>] ? update_rmtp+0x5d/0x5d

[<ffffffff81001bb4>] ? do_notify_resume+0xd/0x28

[<ffffffff8169631b>] ? int_signal+0x12/0x17

Code: ff ff c7 43 54 01 00 00 00 fe 43 50 5b e9 0b c3 ad ff 48 83 ec 08 48 8b bf b8 00 00 00 0f ae f0 31 c0 48 85 ff 74 0e 48 8d 47 08 <48> 39 47 08 0f 95 c0 0f b6 c0 85 c0 74 12 31 c9 31 d2 be 01 00

RIP  [<ffffffff81553afe>] sock_def_wakeup+0x19/0x3e

RSP <ffff88022fa37c48>

---[ end trace 807c8a5f11d131ba ]---

Fixing recursive fault but reboot is needed!

[root@localhost DPDK]#