From owner-freebsd-toolchain@FreeBSD.ORG Mon Jun 11 16:56:15 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBC3C106566B for ; Mon, 11 Jun 2012 16:56:15 +0000 (UTC) (envelope-from nagpersonal@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9044B8FC0A for ; Mon, 11 Jun 2012 16:56:15 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so6121888pbb.13 for ; Mon, 11 Jun 2012 09:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1eD1xOQEMjZkYSjrTO8c1vGhtZLX7NLURLb0UnWfCdI=; b=kjA4PRCru/gNw+XdTmGLRHIfbq6kmIapcaW+TqGSJTekfDv8J83vfKsNTmonaPQ+Qy 3lqN4IkYaJ3s8VMtaUHL7l/uGKod5zJ9Er9dZk1vdNpCJO2+zwuf8552a1Pb3sF31AOl WiX1KPFw/hMJkjhY9Bn5mchJR5iUctkc4UQswLljBk33dMq4n6OQd4IFw+d7dW6SrjI0 GM/fKAKx9Xa07YKWK+DXPWNEaqxHBmDmXqYb8CnGNA0KrE1jgmJmo0mImJ2iGxsuJi+Q 4ZItIqQUhF8m9O+QLZaKS1vR9neXI435rz0jGElUrO0jaY93AvLvXBYfm93ONs7IBwkx sHAQ== MIME-Version: 1.0 Received: by 10.68.234.104 with SMTP id ud8mr27953553pbc.163.1339433775311; Mon, 11 Jun 2012 09:56:15 -0700 (PDT) Received: by 10.66.87.136 with HTTP; Mon, 11 Jun 2012 09:56:15 -0700 (PDT) Date: Mon, 11 Jun 2012 09:56:15 -0700 Message-ID: From: nagarjuna vempati To: freebsd-toolchain@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Issue with KGDB setup. System freezes when it enters ddb X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 16:56:15 -0000 Hello, Can someone plese help me understand what is the problem? After fresh disk installation of freeBSD9.0 AMD64 from disk, I copied /usr/src/sys/am64/conf/GENERIC to KGDBKERNEL and added following lines to the file options GDB options DDB options KDB_UNATTENDED options BREAK_TO_DEBUGGER options ALT_BREAK_TO_DEBUGGER After this I rebuilt the Kernel and installed as below. make buildworld make buildkernel kernconf=KGDBKERNEL make installkernel kernconf=KGDBKERNEL Reboot into single user mode. mergemaster -p make installworld mergemaster Reboot. After this to setup KGDB I am using following document as my reference. http://chetanbl.blogspot.com/ To break into ddb I am trying issue sysctl debug.kdb.enter=1. Then the system becomes unresponsive. Also, I tried to enter ddb at booting stage by issuing boot -d command. Even then system becomes unresponsive. I need to solve this problem ASAP. Can someone helpme? Thanks, Nag