From owner-freebsd-questions Fri Oct 8 22:21:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from poseidon.hamsterville.ultranet.com (poseidon.hamsterville.ultranet.com [146.115.71.116]) by hub.freebsd.org (Postfix) with ESMTP id 7C809150BF for ; Fri, 8 Oct 1999 22:21:51 -0700 (PDT) (envelope-from ben@hamsterville.ultranet.com) Received: from ENERGIZER (energizer.hamsterville.ultranet.com [146.115.71.106]) by poseidon.hamsterville.ultranet.com (8.9.3/8.9.0/1.0-bcg) with SMTP id BAA05406; Sat, 9 Oct 1999 01:23:05 -0400 (EDT) Message-ID: <00b101bf1216$7144fbb0$6a477392@dsg.hamsterville.ultranet.com> From: "Ben Goodwin" To: "Sheldon Hearn" Cc: References: <56908.939376716@axl.noc.iafrica.com> Subject: Re: 3.3R box crashing; need help debugging the crash Date: Sat, 9 Oct 1999 01:23:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.5600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Cool, perhaps if you provide some interesting information, someone > _else_ will know how to interpret it. :-) Indeed that's what I'm looking to have done .. > First, we make some assumptions here: > > 1) When you configured your kernel, you did ``config -g'' for debugging > support. Yes. > 2) Hopefully, your crash isn't happening inside a kld. That's icky. For > this situation, try to limit the number of kld's you use. I don't think I'm using any.. I have a perty basic config going here .. > gdb -k /path/to/kernel.debug /var/crash/vmcore.0 > > Gdb should tell you about the panic. You can then issue the command > ``back'' at the GDB prompt to get a backtrace. Then cut'n'paste > everything that follows the gdb copyright notice. :-) Ok.. I've gotten to this point on my own .. so I'll cut-n-paste the results ... Thanks! ========= IdlePTD 2527232 initial pcb at 201e44 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0xbfca0a80 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01b825f stack pointer = 0x10:0xc65e1f08 frame pointer = 0x10:0xc65e1f18 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 = 9522 (pine) interrupt mask = net tty bio cam trap number = 12 panic: page fault syncing disks... 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 giv ing up dumping to dev 20003, offset 4096 dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 8 5 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 --- #0 boot (howto=256) at ../../kern/kern_shutdown.c:285 285 dumppcb.pcb_cr3 = rcr3(); (kgdb) back #0 boot (howto=256) at ../../kern/kern_shutdown.c:285 #1 0xc012da71 in panic (fmt=0xc01e4dc2 "page fault") at ../../kern/kern_shutdown.c:446 #2 0xc01b9c7e in trap_fatal (frame=0xc65e1ecc, eva=3217689216) at ../../i386/i386/trap.c:942 #3 0xc01b9937 in trap_pfault (frame=0xc65e1ecc, usermode=0, eva=3217689216) at ../../i386/i386/trap.c:835 #4 0xc01b9596 in trap (frame={tf_es = -966918128, tf_ds = -1071972336, tf_edi = 0, tf_esi = -1066399468, tf_ebp = -966910184, tf_isp = -966910220, tf_ebx = -1066399468, tf_edx = 0, tf_ecx = -1077278080, tf_eax = 658048, tf_trapno = 12, tf_err = 0, tf_eip = -1071938977, tf_cs = 8, tf_eflags = 66050, tf_esp = -968018496, tf_ss = 0}) at ../../i386/i386/trap.c:437 #5 0xc01b825f in pmap_remove_pages (pmap=0xc64d3624, sva=0, eva=3217022976) at ../../i386/i386/pmap.c:2913 #6 0xc0127ad2 in exit1 (p=0xc64ce760, rv=0) at ../../kern/kern_exit.c:216 #7 0xc01278e4 in exit1 (p=0xc64ce760, rv=-966910060) at ../../kern/kern_exit.c:104 #8 0xc01b9ec7 in syscall (frame={tf_es = 674234407, tf_ds = -1078001625, tf_edi = 0, tf_esi = -1, tf_ebp = -1077946784, tf_isp = -966909980, tf_ebx = 674186856, tf_edx = 0, tf_ecx = 136933376, tf_eax = 1, tf_trapno = 0, tf_err = 2, tf_eip = 673931908, tf_cs = 31, tf_eflags = 582, tf_esp = -1077946804, tf_ss = 39}) ---Type to continue, or q to quit--- at ../../i386/i386/trap.c:1100 #9 0xc01af84c in Xint0x80_syscall () Cannot access memory at address 0xbfbfd660. (kgdb) ===== kernel config: machine "i386" cpu "I686_CPU" ident POSEIDON maxusers 64 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) syscall trace support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores config kernel root on wd0 controller isa0 controller pnp0 # PnP support for ISA controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM device wfd0 #IDE Floppy (e.g. LS-120) controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts pseudo-device splash device sc0 at isa? tty device npx0 at isa? port IO_NPX irq 13 device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 device al0 # ADMtek AL981 (``Comet'') device rl0 # RealTek 8129/8139 pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device pty 64 # Pseudo-ttys (telnet etc) pseudo-device gzip # Exec gzipped a.out's pseudo-device bpfilter 1 #Berkeley packet filter options SC_HISTORY_SIZE=500 options DDB options DDB_UNATTENDED To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message