From owner-cvs-all Sun Feb 11 19:23:53 2001 Delivered-To: cvs-all@freebsd.org Received: from smtp1.port.ru (mx1.port.ru [194.67.23.32]) by hub.freebsd.org (Postfix) with ESMTP id 7F91037B401; Sun, 11 Feb 2001 19:23:49 -0800 (PST) Received: from adsl-141-154-117-162.bostma.adsl.bellatlantic.net ([141.154.117.162] helo=kan.dnsalias.net) by smtp1.port.ru with esmtp (Exim 3.14 #87) id 14S9aY-000Pm5-00; Mon, 12 Feb 2001 06:23:47 +0300 Received: (from kan@localhost) by kan.dnsalias.net (8.11.2/8.11.2) id f1C3NY700756; Sun, 11 Feb 2001 22:23:34 -0500 (EST) (envelope-from kan) Message-ID: X-Mailer: XFMail 1.4.6 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200102100241.f1A2fpr63028@freefall.freebsd.org> Date: Sun, 11 Feb 2001 22:23:33 -0500 (EST) From: "Alexander N. Kabaev" To: John Baldwin Subject: RE: cvs commit: src/sys/i386/isa ithread.c Cc: cvs-all@FreeBSD.ORG Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This commit caused my panics to reappear again :( kernel trap 9 with interrupts disabled Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x08:0xc02c6b42 stack pointer = 0x10:0xd4e1af50 frame pointer = 0x10:0xd4e1af68 code segment = base 0x0, limit 0xffff, type ox1b = DPL 0, pres 1, def32 1 gran 1 processor eflags = resume, IOPL = 0 current process = 27 (irq7: lpt0) Stopped at sw1b+0x6d: ltr %si Last several lines of the show ktr command output in dbb look like: 637: ithread_loop: pid 27: done 636: ithread_loop: pid 27: ih=0xc16a1f00 : 0xc019632c (0xc16cc200) flg=0 635: ithread_llop: pid 27: (irg7:lpt0) need=1 634: ithread_loop: pid 27: resumed 633: mi_switch: new proc 0xcc3bf640 (pid 27, irq7: lpt0), schedlock 0xcc3bf640 632: chooseproc: proc 0xcc3bf640 (pid 27, irq7: lpt0) schedlock 0xcc3c1620 631: mi_switch: old proc 0xcc3c1620 (pid 12, swi6: tty:sio+), schedlock: 0xcc3c1620 If needed, I could get the full KTR buffer contents. The post-mortem backtrace from gdb: (kgdb) bt #0 dumpsys () at ../../kern/kern_shutdown.c:476 #1 0xc01f06a3 in boot (howto=260) at ../../kern/kern_shutdown.c:319 #2 0xc01f0a6d in panic (fmt=0xc02fbd14 "from debugger") at ../../kern/kern_shutdown.c:569 #3 0xc0163a25 in db_panic (addr=-1070830782, have_addr=0, count=-1, modif=0xd4e1ade8 "") at ../../ddb/db_command.c:433 #4 0xc01639c5 in db_command (last_cmdp=0xc033d130, cmd_table=0xc033cf90, aux_cmd_tablep=0xc0385afc) at ../../ddb/db_command.c:333 #5 0xc0163a8a in db_command_loop () at ../../ddb/db_command.c:455 #6 0xc0165c57 in db_trap (type=9, code=0) at ../../ddb/db_trap.c:71 #7 0xc02baefe in kdb_trap (type=9, code=0, regs=0xd4e1af10) at ../../i386/i386/db_interface.c:164 #8 0xc02c8b50 in trap_fatal (frame=0xd4e1af10, eva=0) at ../../i386/i386/trap.c:991 #9 0xc02c831f in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1070408185, tf_esi = 32, tf_ebp = -723407000, tf_isp = -723407044, tf_ebx = -1069796576, tf_edx = -857944064, tf_ecx = -868477408, tf_eax = 1953460034, tf_trapno = 9, tf_err = 32, tf_eip = -1070830782, tf_cs = 8, tf_eflags = 65666, tf_esp = -1071684374, tf_ss = 0}) at ../../i386/i386/trap.c:656 #10 0xc02c6b42 in sw1b () #11 0xc01e5376 in ithread_loop (arg=0xc16d2e00) at ../../kern/kern_intr.c:449 #12 0xc01e42d8 in fork_exit (callout=0xc01e508c , arg=0xc16d2e00, frame=0xd4e1afa8) at ../../kern/kern_fork.c:669 On 10-Feb-2001 John Baldwin wrote: > jhb 2001/02/09 18:41:51 PST > > Modified files: > sys/i386/isa ithread.c > Log: > Re-enable preemption on interrupts. My last commit accidentally reverted > it as I was playing with some other ways of doing kernel preemption. > > Revision Changes Path > 1.14 +9 -2 src/sys/i386/isa/ithread.c > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe cvs-all" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message