Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753412Ab1C2PAs (ORCPT ); Tue, 29 Mar 2011 11:00:48 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:53974 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750846Ab1C2PAq (ORCPT ); Tue, 29 Mar 2011 11:00:46 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=dLXmIK7EbQlxPNzjHK2eqLa1+GJD6DDBKzaEBEPCMLQqXjNcKLJI70pd7zJ0jaJaNs u8ZeyweZBcyzlRwlDaFfoCDEpjmvK/FAWvnaSkwzClbWYB97oeSOXvWVe1vLHkdcBFpm dhrxwsEapAI+aneNmagibhc0fg4jp7pFHh7kI= Subject: Re: ping when network down BUG: unable to handle kernel NULL pointer dereference at 000000000000001b From: Eric Dumazet To: Jeff Chua Cc: lkml , Network Development In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 29 Mar 2011 16:59:24 +0200 Message-ID: <1301410764.3161.156.camel@edumazet-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2826 Lines: 62 Le mardi 29 mars 2011 à 22:54 +0800, Jeff Chua a écrit : > I don't know when this started happening as my network was always up. > Just down, I shutdown my network, and ping a known host and > encountered this BUG. > > # ifconfig eth0 down > # ping knowngoodhost > > Pid: 2144, comm: ping Not tainted 2.6.38 #34 LENOVO 5413FGA/5413FGA > RIP: 0010:[] [] dst_release+0x11/0x57 > RSP: 0018:ffff880231975c28 EFLAGS: 00010286 > RAX: ffffffffffffff9b RBX: ffffffffffffff9b RCX: 00000000fffffffd > RDX: 0000000000000000 RSI: 00000000000000fd RDI: ffffffffffffff9b > RBP: 00000000ffffffff R08: ffff880231975bc8 R09: ffff88023bd8e1c8 > R10: 0000000000000001 R11: ffff880231975a08 R12: 0000000000000040 > R13: 00000000bcc8a19b R14: 00000000ffffff9b R15: 0000000000000000 > FS: 00007fa75ba60700(0000) GS:ffff88023bc00000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 000000000000001b CR3: 000000022f886000 CR4: 00000000000006f0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > Process ping (pid: 2144, threadinfo ffff880231974000, task ffff8802330e2d00) > Stack: > ffff880231889b00 ffff880231889b00 ffff880231975ee8 ffffffff81464f97 > ffffffff0100007f 0000000000000202 ffffffff818385b0 0000000000000002 > 0000000000000000 0401000000000000 bcc8a19b00000000 0000000800000000 > Call Trace: > [] ? raw_sendmsg+0x66c/0x6c1 > [] ? sock_sendmsg+0xab/0xc3 > [] ? alloc_pages_vma+0x150/0x1fa > [] ? up+0xe/0x36 > [] ? console_unlock+0x160/0x187 > [] ? up+0xe/0x36 > [] ? remove_wait_queue+0x11/0x4a > [] ? sockfd_lookup_light+0x1a/0x52 > [] ? move_addr_to_kernel+0x26/0x37 > [] ? sys_sendto+0x114/0x148 > [] ? do_sigaction+0x160/0x178 > [] ? system_call_fastpath+0x16/0x1b > Code: 00 48 c7 c7 70 4c 72 81 e8 41 37 c2 ff 48 c7 c7 50 4c 72 81 5b > e9 90 60 09 00 55 53 48 89 fb 48 83 ec 08 48 85 ff 74 45 83 cd ff > 0f c1 af 80 00 00 00 ff cd 79 11 be 16 01 00 00 48 c7 c7 84 > RIP [] dst_release+0x11/0x57 > RSP > CR2: 000000000000001b > ---[ end trace 4b75e8b1559e0b81 ]--- > -- Hello Jeff. Known problem, should be fixed by http://git2.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commit;h=4910ac6c526d2868adcb5893e0c428473de862b5 Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/