Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 4 Feb 2002 06:40:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 4 Feb 2002 06:40:41 -0500 Received: from [199.203.178.211] ([199.203.178.211]:27400 "EHLO exchange.store-age.com") by vger.kernel.org with ESMTP id ; Mon, 4 Feb 2002 06:40:32 -0500 Message-ID: From: Alexander Sandler To: "'sathish jayapalan'" , linux-kernel@vger.kernel.org Subject: RE: How to crash a system and take a dump? Date: Mon, 4 Feb 2002 13:40:07 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="x-user-defined" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Hi, > I have a doubt. I know that linux kernel doesn't crash > so easily. Is there any way to panic the system? Can I > go to the source area and insert/modify a variable in > kernel code so that the kernel references a null > pointer and crashes while running the kernel compiled > with this variable. My aim is to learn crash dump > analysis with 'Lcrash tool". Please help me out with > this. Go to interrupt handler (for instance in fs/buffer.c end_buffer_io_async() ) and cause segmentation fault. System will try to kill process that caused segmentation fault and since it's in interrupt context will panic. Sasha. - 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/