Date: Sun, 11 Feb 2001 22:23:33 -0500 (EST) From: "Alexander N. Kabaev" <kabaev@mail.ru> To: John Baldwin <jhb@FreeBSD.ORG> Cc: cvs-all@FreeBSD.ORG Subject: RE: cvs commit: src/sys/i386/isa ithread.c Message-ID: <XFMail.20010211222333.kabaev@mail.ru> In-Reply-To: <200102100241.f1A2fpr63028@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ithread_loop>,
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20010211222333.kabaev>
