From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m50-110.126.com (m50-110.126.com [123.125.50.110]) by dpdk.org (Postfix) with ESMTP id 5F71E1F3 for ; Wed, 14 Aug 2013 05:51:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Received:From:To:References:In-Reply-To:Subject: Date:Message-ID:MIME-Version:Content-Type:Thread-Index: Content-Language; bh=tW2/nDcQVhCjeFTdChFQipGdriplesbxNjtjzfiaYn0 =; b=RrvnHqtHHR/mcoI/zg9EMtRrcbAA8Pz4OcPaNLq4Dw2huqXC5Pfgs5VAHMO RS0HnxhoCFRaFVxNc/6VMYbB+/trWVfrb2n4RQzYk9zARwp+FlLQbOtE2EAZuUa0 uNgTn/rNdtCOmZ64/TvkcZfZZ4n7F+tDykqLPD/Cc8yLqMuE= Received: from anhk (unknown [122.200.72.179]) by smtp4 (Coremail) with SMTP id jdKowED5SVe+_gpS5To8BQ--.774S2; Wed, 14 Aug 2013 11:51:28 +0800 (CST) From: =?gb2312?B?sLK66r/8?= To: References: In-Reply-To: Date: Wed, 14 Aug 2013 11:51:15 +0800 Message-ID: <005701ce98a1$87c081e0$974185a0$@126.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0058_01CE98E4.95E632E0" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGWReyqG1p5MB5cSKKqp35LdK3K5poEtyIA Content-Language: zh-cn X-CM-TRANSID: jdKowED5SVe+_gpS5To8BQ--.774S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxWF4xAF47GF48Gr43tr1UJrb_yoW5Xw4xpr 1UXr4DCr48Kr4UJr4jyFy5JryUtr47A3WxXr4xtrn8ZF1jgr1UJry8trWUGrn8Jrn5JFy7 Jw1DXr40qr1UGaUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jh-B_UUUUU= X-CM-SenderInfo: 5dqkysa6rslhhfrp/1tbi4hx5XUkZyWu9rwAAs6 Subject: [dpdk-dev] kernel panic when stop my test demo X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 03:51:05 -0000 This is a multipart message in MIME format. ------=_NextPart_000_0058_01CE98E4.95E632E0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable =20 Hi ereryone, I have a problem when I stop my test demo with = =A1=AECTRL+C=A1=AF, and then kernel panic. =20 Any suggestions?=20 =20 BTW, I=A1=AFm using the version 1.4.1-7 in RHEL6.4, kernel version is = 3.2.28 =20 =20 =20 uio device registered with irq 33 general protection fault: 0000 [#1] SMP=20 CPU 2=20 Modules linked in: igb_uio(O) [last unloaded: scsi_wait_scan] =20 Pid: 6072, comm: test Tainted: G O 3.2.28 #12 SinoGrid Inc. WiseGrid ADC2000/To be filled by O.E.M. RIP: 0010:[] [] 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: [] ? uio_release+0x2a/0x4a [] ? fput+0xea/0x1a5 [] ? filp_close+0x59/0x61 [] ? put_files_struct+0x67/0xc5 [] ? do_exit+0x221/0x678 [] ? do_group_exit+0x73/0x9d [] ? get_signal_to_deliver+0x406/0x422 [] ? do_signal+0x36/0x620 [] ? hrtimer_cancel+0xc/0x16 [] ? do_nanosleep+0x77/0xb0 [] ? hrtimer_nanosleep+0x65/0x108 [] ? hrtimer_nanosleep+0x9c/0x108 [] ? update_rmtp+0x5d/0x5d [] ? do_notify_resume+0xd/0x28 [] ? 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=20 RIP [] sock_def_wakeup+0x19/0x3e RSP ---[ end trace 807c8a5f11d131ba ]--- Fixing recursive fault but reboot is needed! [root@localhost DPDK]# ------=_NextPart_000_0058_01CE98E4.95E632E0 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

 

Hi ereryone, I have a problem when I stop my test demo with = =A1=AECTRL+C=A1=AF, and then kernel panic.

 

Any suggestions? =

 

BTW, I=A1=AFm 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]#

------=_NextPart_000_0058_01CE98E4.95E632E0--