From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7850 invoked from network); 10 Sep 1998 01:32:06 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 10 Sep 1998 01:32:06 -0000 Received: from dns.whnet.edu.cn (dns.whnet.edu.cn [202.112.20.131]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id VAA19325 for ; Wed, 9 Sep 1998 21:32:31 -0400 Received: from ns (ns.csit.edu.cn) by dns.whnet.edu.cn (5.x/SMI-SVR4) id AA24057; Thu, 10 Sep 1998 09:30:02 +0900 Received: from lxk.csit.edu.cn ([202.197.21.64]) by ns (4.1/SMI-4.1) id AA08645; Thu, 10 Sep 98 10:30:23 CDT Message-Id: <35F72C2E.416@263.net> Date: Thu, 10 Sep 1998 09:32:30 +0800 From: ward Reply-To: ward@263.net Organization: Ward Liao X-Mailer: Mozilla 3.01Gold (Win95; I) Mime-Version: 1.0 To: axp-list@redhat.com Subject: problem about kgdb Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Dear Sir, I need kgdb to debug my driver in linux.I used the kernel linux-2.0.30 and patch it to linux-2.0.32.I also got the milo from "gatekeeper.dec.com/pub/DEC/Linux-Alpha/Kernels".The kernel works fine when I boot without "kgdb=1".If I boot with "kgdb=1",the machine hang after print "turning on virtual addressing and jump to the Linux Kernel" in the screen and print "$T050f:0301020*$aa;le:b03f30*!fcf* ;40:80c7310*fcf* ;41:0* ,j#19" via serial port(COM2). So I write the kseg address(fffffc8580005f00) to put some char to the serial port and find the machine is hang after execute "asm volatile("call_pal %0" :: "i"(PAL_bpt));" in the function of kgdb_breakpoint.It seems the palcode of bpt is wrong.I think maybe I got the wrong milo?Can anyone tell me how to make kgdb work? Thanks. ward liao 1998.9.9