From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: ping when network down BUG: unable to handle kernel NULL pointer dereference at 000000000000001b Date: Tue, 29 Mar 2011 16:59:24 +0200 Message-ID: <1301410764.3161.156.camel@edumazet-laptop> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: lkml , Network Development To: Jeff Chua Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Le mardi 29 mars 2011 =C3=A0 22:54 +0800, Jeff Chua a =C3=A9crit : > 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. >=20 > # ifconfig eth0 down > # ping knowngoodhost >=20 > 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:000000000= 0000000 > 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 ffff880233= 0e2d00) > 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=20 http://git2.kernel.org/?p=3Dlinux/kernel/git/davem/net-2.6.git;a=3Dcomm= it;h=3D4910ac6c526d2868adcb5893e0c428473de862b5 Thanks