Date: Mon, 10 Aug 1998 19:27:52 +0200 From: Mats Lofkvist <mal@algonet.se> To: freebsd-smp@FreeBSD.ORG Subject: SMP + Wine => panic Message-ID: <199808101727.TAA20804@kairos>
next in thread | raw e-mail | index | archive | help
I got a kernel panic when trying to run wine on my SMP current system (cvsup'ped July 21, 2xPpro233 on Providence mb, smp+softupdates). Could it be the USER_LDT stuff not working with SMP? I have appended the stack trace, if someone wants more info just ask. _ Mats Lofkvist mal@algonet.se PS Is anyone working on replacing the clone() calls in wine with something that could work on FreeBSD? I could only find rather old messages about it via dejanews. PPS Which of the sysctl vars am I supposed to tweak to turn the second processor off? (Note: I had to type 'panic' twice at the debugger prompt to get the dump) bash# gdb -k GDB is free software and you are welcome to 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. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc. (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (kgdb) exec-file /var/crash/kernel.0 (kgdb) core-file /var/crash/vmcore.0 IdlePTD 2605056 initial pcb at 223524 panicstr: from debugger panic messages: --- Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xf447a018 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01e6884 stack pointer = 0x10:0xf4449f44 frame pointer = 0x10:0xf4449f64 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 225 (xclock) interrupt mask = <- SMP: XXX panic: from debugger mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 panic: from debugger mp_lock = 00000003; cpuid = 0; lapic.id = 00000000 boot() called on cpu#0 dumping to dev 30409, offset 278528 dump 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=260) at ../../kern/kern_shutdown.c:286 286 dumppcb.pcb_cr3 = rcr3(); (kgdb) where #0 boot (howto=260) at ../../kern/kern_shutdown.c:286 #1 0xf0118312 in panic (fmt=0xf0101548 "from debugger") at ../../kern/kern_shutdown.c:427 #2 0xf0101565 in db_panic (addr=-266442620, have_addr=0, count=-1, modif=0xf4449dc0 "") at ../../ddb/db_command.c:432 #3 0xf0101445 in db_command (last_cmdp=0xf020faf4, cmd_table=0xf020f954, aux_cmd_tablep=0xf0220920) at ../../ddb/db_command.c:332 #4 0xf01015d2 in db_command_loop () at ../../ddb/db_command.c:454 #5 0xf0103ce3 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #6 0xf01d57f4 in kdb_trap (type=12, code=0, regs=0xf4449f08) at ../../i386/i386/db_interface.c:157 #7 0xf01e7a9d in trap_fatal (frame=0xf4449f08) at ../../i386/i386/trap.c:874 #8 0xf01e74cc in trap_pfault (frame=0xf4449f08, usermode=0) at ../../i386/i386/trap.c:772 #9 0xf01e711f in trap (frame={tf_es = -197263344, tf_ds = 16, tf_edi = -1, tf_esi = -197253696, tf_ebp = -196829340, tf_isp = -196829392, tf_ebx = 0, tf_edx = -196837376, tf_ecx = -197253696, tf_eax = 24, tf_trapno = 12, tf_err = 0, tf_eip = -266442620, tf_cs = 8, tf_eflags = 65606, tf_esp = -267277899, tf_ss = -197253696}) at ../../i386/i386/trap.c:396 #10 0xf01e6884 in cpu_switch_load_fs () #11 0xf01e7e95 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 128, tf_esi = 215040, tf_ebp = -272641992, tf_isp = -196829212, tf_ebx = 538054752, tf_edx = 538060952, tf_ecx = 212992, tf_eax = 128, tf_trapno = 22, tf_err = 7, tf_eip = 538601793, tf_cs = 31, tf_eflags = 534, tf_esp = -272642012, tf_ss = 39}) at ../../i386/i386/trap.c:190 #12 0x201a6941 in ?? () #13 0x200cf321 in ?? () #14 0x200b5a43 in ?? () #15 0x200b5b16 in ?? () #16 0x200a5af8 in ?? () #17 0x2006daba in ?? () #18 0x200652f7 in ?? () #19 0x1993 in ?? () #20 0x1099 in ?? () (kgdb) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808101727.TAA20804>