From owner-freebsd-current@FreeBSD.ORG Wed Oct 12 15:28:53 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CF7F16A42A for ; Wed, 12 Oct 2005 15:28:53 +0000 (GMT) (envelope-from tobias.m81@web.de) Received: from smtp06.web.de (smtp06.web.de [217.72.192.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93E6043D45 for ; Wed, 12 Oct 2005 15:28:52 +0000 (GMT) (envelope-from tobias.m81@web.de) Received: from [217.247.135.93] (helo=[192.168.0.102]) by smtp06.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.105 #317) id 1EPiXC-0000x9-00 for freebsd-current@freebsd.org; Wed, 12 Oct 2005 17:28:51 +0200 Message-ID: <434D47F9.5000103@web.de> Date: Wed, 12 Oct 2005 17:29:29 +0000 From: =?ISO-8859-1?Q?Tobias_Mohrl=FCder?= User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050726) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: tobias.m81@web.de X-Sender: tobias.m81@web.de Subject: 6.0-RC1: Boot panic - Update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 15:28:53 -0000 Hello, I was able to get kgdb working - I did not run 'make installworld' of course and the old kgdb version couldn't get along with the 6.0 kernel (I suppose). After installing the libraries needed by the new kgdb binary by hand, I can give you some additional info: Unread portion of the kernel message buffer: <118> rtc WARNING: Device driver " Fatal trap 12: page fault while in kernel mode fault virtual address = 0x400000 fault code = supervisor read, page not present instruction pointer = 0x20:0xc069b924 stack pointer = 0x28:0xe5088aa4 frame pointer = 0x28:0xe5088aa4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 490 (kldload) trap number = 12 panic: page fault Uptime: 20s Dumping 1022 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 1022MB (261616 pages) 1006 990 974 958 942 926 910 894 878 862 846 830 814 798 782 766 750 734 718 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14 #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h (kgdb) where #0 doadump () at pcpu.h:165 #1 0xc0637816 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xc0637aac in panic (fmt=0xc084d786 "%s") at /usr/src/sys/kern/kern_shutdown.c:555 #3 0xc0806e70 in trap_fatal (frame=0xe5088a64, eva=4194304) at /usr/src/sys/i386/i386/trap.c:831 #4 0xc0806bdb in trap_pfault (frame=0xe5088a64, usermode=0, eva=4194304) at /usr/src/sys/i386/i386/trap.c:742 #5 0xc0806819 in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = 0, tf_esi = 0, tf_ebp = -452425052, tf_isp = -452425072, tf_ebx = -1064940965, tf_edx = 4194304, tf_ecx = 0, tf_eax = 4194304, tf_trapno = 12, tf_err = 0, tf_eip = -1066813148, tf_cs = 32, tf_eflags = 590406, tf_esp = -452424852, tf_ss = -1067113936}) at /usr/src/sys/i386/i386/trap.c:432 #6 0xc07f601a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc069b924 in strlen (str=0x400000
) at /usr/src/sys/libkern/strlen.c:41 #8 0xc0652230 in kvprintf (fmt=0xc0864a5b "\" has wrong version %s\n", func=0xc06519b4 , arg=0xe5088b88, radix=10, ap=0xe5088bac "\031J\206À") at /usr/src/sys/kern/subr_prf.c:679 #9 0xc065192f in printf ( fmt=0xc0864a41 "WARNING: Device driver \"%s\" has wrong version %s\n") at /usr/src/sys/kern/subr_prf.c:296 #10 0xc060f8e3 in prep_cdevsw (devsw=0xc2798de0) at /usr/src/sys/kern/kern_conf.c:451 #11 0xc060fb24 in make_dev_credv (devsw=0xc2798de0, minornr=0, cr=0x0, uid=4194304, gid=4194304, mode=4194304, fmt=0xc2797d54 "rtc", ap=0xe5088c18 "") at /usr/src/sys/kern/kern_conf.c:522 #12 0xc060fbec in make_dev (devsw=0xc2798de0, minornr=0, uid=0, gid=0, mode=420, fmt=0xc2797d54 "rtc") at /usr/src/sys/kern/kern_conf.c:568 #13 0xc2797b33 in ?? () #14 0xc2798de0 in ?? () #15 0x00000000 in ?? () #16 0x00000000 in ?? () #17 0x00000000 in ?? () #18 0x000001a4 in ?? () #19 0xc2797d54 in ?? () #20 0xc25d3500 in ?? () #21 0xe5088c24 in ?? () #22 0xc2797b7d in ?? () #23 0xe5088c50 in ?? () #24 0xc062e787 in module_register_init (arg=0xe5088c50) at /usr/src/sys/kern/kern_module.c:121 Previous frame inner to this frame (corrupt stack?) Hope this helps. Unfortunatly I am unable to get the dump of the other panic (the one which occured earlier in boot phase), since there is no dump device defined at this point. Tobias Mohrlüder