Date: Wed, 12 Nov 2003 14:04:07 +0800 From: "=?utf-8?B?WGluIExJL+adjumRqw==?=" <delphij@frontfree.net> To: <current@freebsd.org> Cc: jhb@FreeBSD.org Subject: Recent -CURRENT panic (New interrupt code related?); backtrace included Message-ID: <20031112060407.931085299@ftp.bjpu.edu.cn>
next in thread | raw e-mail | index | archive | help
Hello, On recently compiled kernels, I often get panics which seemed to be = interrupt related. Among other things, almost all of them claims that = "Kernel trap 30", which seemd to be strange.=20 The kernel I am currently running, namely, FreeBSD servers.frontfree.net 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Sat = Oct 25 22:27:05 CST 2003 = delphij@servers.frontfree.net:/usr/obj/usr/src/sys/SERVERS i386 seemed to be ok, however, when I am trying the new kernels (you see, 14 = compile and run attempts:), it exhibits incredible instablity. FreeBSD 5.1-CURRENT #19: Wed Nov 12 12:17:28 CST 2003 delphij@servers.frontfree.net:/usr/obj/usr/src/sys/SERVERS Here is one of the crashdumps I caught. The machine was configured with = a UP kernel, with DEVICE_POLLING enabled. There are two networking = adapters attached to it, a fxp and a dc, and the machine itself act as a = NAT gateway. The network load is not very heavy. If you think the = backtrace helpful, or need any more information, please write me and I = will try everything I can to help. servers# gdb -k /usr/obj/usr/src/sys/SERVERS/kernel.debug vmcore.0=20 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you = are welcome to change it and/or distribute copies of it under certain = conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for = details. This GDB was configured as "i386-undermydesk-freebsd"... panic: from debugger panic messages: --- panic: from debugger Fatal trap 3: breakpoint instruction fault while in kernel mode instruction pointer =3D 0x8:0xc0639654 stack pointer =3D 0x10:0xc6305a98 frame pointer =3D 0x10:0xc6305aa4 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D IOPL =3D 0 current process =3D 11 (idle) panic: from debugger Uptime: 23m22s Dumping 63 MB 16 32 48 --- #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc04e8b41 in boot (howto=3D260) at = /usr/src/sys/kern/kern_shutdown.c:372 #2 0xc04e8ed7 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 #3 0xc0464252 in db_panic () at /usr/src/sys/ddb/db_command.c:450 #4 0xc04641b2 in db_command (last_cmdp=3D0xc06cc440, cmd_table=3D0x0, = aux_cmd_tablep=3D0xc069d338,=20 aux_cmd_tablep_end=3D0xc069d33c) at = /usr/src/sys/ddb/db_command.c:346 #5 0xc04642f5 in db_command_loop () at = /usr/src/sys/ddb/db_command.c:472 #6 0xc04672e5 in db_trap (type=3D30, code=3D0) at = /usr/src/sys/ddb/db_trap.c:73 #7 0xc063939c in kdb_trap (type=3D30, code=3D0, regs=3D0xc6305ca0) at = /usr/src/sys/i386/i386/db_interface.c:171 #8 0xc064cda6 in trap_fatal (frame=3D0xc6305ca0, eva=3D0) at = /usr/src/sys/i386/i386/trap.c:816 #9 0xc064c822 in trap (frame=3D {tf_fs =3D 24, tf_es =3D 1075970064, tf_ds =3D -1636237296, tf_edi = =3D 0, tf_esi =3D -1059059840, tf_ebp =3D -969909024, tf_isp =3D = -969909044, tf_ebx =3D -1059063048, tf_edx =3D 0, tf_ecx =3D 2, tf_eax = =3D 0, tf_trapno =3D 30, tf_err =3D 0, tf_eip =3D -1067175531, tf_cs =3D = 8, tf_eflags =3D 582, tf_esp =3D -969909016, tf_ss =3D -1067175489}) at /usr/src/sys/i386/i386/trap.c:618 #10 0xc063ad58 in calltrap () at {standard input}:94 #11 0xc06431bf in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1071 #12 0xc04d449c in idle_proc (dummy=3D0x0) at = /usr/src/sys/kern/kern_idle.c:86 #13 0xc04d41d4 in fork_exit (callout=3D0xc04d4460 <idle_proc>, = arg=3D0x0, frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:793 (kgdb) bt full #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 No locals. #1 0xc04e8b41 in boot (howto=3D260) at = /usr/src/sys/kern/kern_shutdown.c:372 No locals. #2 0xc04e8ed7 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 td =3D (struct thread *) 0xc0e00780 bootopt =3D 260 newpanic =3D 0 ap =3D 0xc6305ae0 "\230[0=E6=92=87AF=E7=B9=BA2251d? buf =3D "from debugger", '\0' <repeats 242 times> #3 0xc0464252 in db_panic () at /usr/src/sys/ddb/db_command.c:450 No locals. #4 0xc04641b2 in db_command (last_cmdp=3D0xc06cc440, cmd_table=3D0x0, = aux_cmd_tablep=3D0xc069d338,=20 aux_cmd_tablep_end=3D0xc069d33c) at = /usr/src/sys/ddb/db_command.c:346 cmd =3D (struct command *) 0xc06658c0 t =3D 0 modif =3D = "\0=E8=9A=BB=E7=BA=87\231r?[0=E8=8A=A2r\0\0\0=E7=89=93q=E7=B9=BAr\0\0\0\0= 01\0\0\0H[0=E8=8A=95=E9=8F=B1=E7=B9=BA200\214q=E7=B9=BAaK\0 = $=EE=9B=97=E7=B1=BBrp=E7=BD=93=E8=9A=BB=E7=BA=97\0\0\0=E7=8A=95l=E7=BA=87= \231r=E7=BA=8B[0=E8=92=B2`F=E7=BA=9E\234h=E7=B9=BA200^F=E7=B9=BA0\0\0\0\0= 20\0\0\0h\231r=E7=BD=93=E8=9A=BB=E6=A2=A8WF=E7=BD=93=E8=9A=BB=E7=B9=BA200= =E8=94=BF=E7=BA=97\0\0\0\020\0\0" addr =3D -1067175531 count =3D -1 have_addr =3D 0 result =3D 0 #5 0xc04642f5 in db_command_loop () at = /usr/src/sys/ddb/db_command.c:472 No locals. #6 0xc04672e5 in db_trap (type=3D30, code=3D0) at = /usr/src/sys/ddb/db_trap.c:73 bkpt =3D 0 #7 0xc063939c in kdb_trap (type=3D30, code=3D0, regs=3D0xc6305ca0) at = /usr/src/sys/i386/i386/db_interface.c:171 ef =3D 582 ddb_mode =3D 1 #8 0xc064cda6 in trap_fatal (frame=3D0xc6305ca0, eva=3D0) at = /usr/src/sys/i386/i386/trap.c:816 code =3D 16 type =3D 30 ss =3D 16 esp =3D 0 softseg =3D {ssd_base =3D 0, ssd_limit =3D 1048575, ssd_type =3D = 27, ssd_dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 3,=20 ---Type <return> to continue, or q <return> to quit--- ssd_xx1 =3D 2, ssd_def32 =3D 1, ssd_gran =3D 1} #9 0xc064c822 in trap (frame=3D {tf_fs =3D 24, tf_es =3D 1075970064, tf_ds =3D -1636237296, tf_edi = =3D 0, tf_esi =3D -1059059840, tf_ebp =3D -969909024, tf_isp =3D = -969909044, tf_ebx =3D -1059063048, tf_edx =3D 0, tf_ecx =3D 2, tf_eax = =3D 0, tf_trapno =3D 30, tf_err =3D 0, tf_eip =3D -1067175531, tf_cs =3D = 8, tf_eflags =3D 582, tf_esp =3D -969909016, tf_ss =3D -1067175489}) at /usr/src/sys/i386/i386/trap.c:618 td =3D (struct thread *) 0xc0e00780 p =3D (struct proc *) 0xc0dffaf8 sticks =3D 3235907456 i =3D 0 ucode =3D 0 type =3D 30 code =3D 0 eva =3D 0 #10 0xc063ad58 in calltrap () at {standard input}:94 No locals. #11 0xc06431bf in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1071 No locals. #12 0xc04d449c in idle_proc (dummy=3D0x0) at = /usr/src/sys/kern/kern_idle.c:86 p =3D (struct proc *) 0xc0dffaf8 td =3D (struct thread *) 0xc0e00780 #13 0xc04d41d4 in fork_exit (callout=3D0xc04d4460 <idle_proc>, = arg=3D0x0, frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:793 p =3D (struct proc *) 0xc0dffaf8 td =3D (struct thread *) 0x0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031112060407.931085299>