6.0-RC1: Boot panic - Update

From: Tobias Mohrlüder <tobias.m81_at_web.de>
Date: Wed, 12 Oct 2005 17:29:29 +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 <Address 0x400000 out of bounds>)
     at /usr/src/sys/libkern/strlen.c:41
#8  0xc0652230 in kvprintf (fmt=0xc0864a5b "\" has wrong version %s\n",
     func=0xc06519b4 <putchar>, 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
Received on Wed Oct 12 2005 - 13:28:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC