https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082009-05-22T08:27:50ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66652009-05-22T08:27:50Zsepherosa
<ul></ul><p>On Fri, May 22, 2009 at 2:48 AM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>Hi,</p>
<p>This one is 100% reproductible.</p>
<p>System is a Core 2 Duo machine, 3GB RAM running today's 2.3.1.</p>
<p>Pushing the ATX power button to shut down the machine results in the following<br />panic:<br />[I have skipped the function arguments in the panic message.]</p>
<p>panic: assertion: _tcp->tt_msg->tt_cpuid == mycpuid in tcp_callout_stop<br />mp_lock: 00000001; cpuid = 1<br />Trace beginning at frame 0xdceb6cbc</p>
<p>panic<br />panic<br />tcp_close<br />tcp_disconnect<br />tcp_user_detach<br />netmsg_pru_detach<br />netmsg_service<br />tcpmsg_service<br />lwkt_exit()<br />Debugger("panic")</p>
</blockquote>
<p>Could you generate a coredump?</p>
<p>BTW, did you set extra network MPSAFE tunables?</p>
<p>Best Regards,<br />sephe</p> DragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66662009-05-22T14:06:00Zftigeot
<ul></ul><p>On Fri, May 22, 2009 at 09:23:15AM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:48 AM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>Pushing the ATX power button to shut down the machine results in the following<br />panic:</p>
<p>panic: assertion: _tcp->tt_msg->tt_cpuid == mycpuid in tcp_callout_stop</p>
</blockquote>
<p>Could you generate a coredump?</p>
</blockquote>
<p>I'm trying.<br />I called dumpsys at the ddb prompt and the kernel seemed to dump but during<br />the following boot I got nothing in /var/crash.</p>
<blockquote>
<p>BTW, did you set extra network MPSAFE tunables?</p>
</blockquote>
<p>I didn't. Here's the sysctl list:</p>
<ol>
<li>sysctl -a | grep mpsafe<br />net.inet.tcp.mpsafe_thread: 1<br />net.inet.udp.mpsafe_thread: 1<br />net.netisr.mpsafe_thread: 1</li>
</ol>
<p>The only difference with an out of the box 2.3.1 is the kernel: <br />I started from GENERIC, enabled SMP (without APIC), disabled I486_CPU and<br />I586_CPU, and disabled most unneeded drivers.</p> DragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66682009-05-22T15:19:52Zsepherosa
<ul></ul><p>On Fri, May 22, 2009 at 2:56 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 09:23:15AM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:48 AM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>Pushing the ATX power button to shut down the machine results in the following<br />panic:</p>
<p>panic: assertion: _tcp->tt_msg->tt_cpuid == mycpuid in tcp_callout_stop</p>
</blockquote>
<p>Could you generate a coredump?</p>
</blockquote>
<p>I'm trying.<br />I called dumpsys at the ddb prompt and the kernel seemed to dump but during<br />the following boot I got nothing in /var/crash.</p>
</blockquote>
<p>will "shutdown now" trigger the panic?</p>
<blockquote>
<blockquote>
<p>BTW, did you set extra network MPSAFE tunables?</p>
</blockquote>
<p>I didn't. Here's the sysctl list:</p>
<ol>
<li>sysctl -a | grep mpsafe<br />net.inet.tcp.mpsafe_thread: 1<br />net.inet.udp.mpsafe_thread: 1<br />net.netisr.mpsafe_thread: 1</li>
</ol>
<p>The only difference with an out of the box 2.3.1 is the kernel:<br />I started from GENERIC, enabled SMP (without APIC), disabled I486_CPU and<br />I586_CPU, and disabled most unneeded drivers.</p>
<p>--<br />Francois Tigeot</p>
</blockquote> DragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66702009-05-22T18:45:20Zsepherosa
<ul></ul><p>On Fri, May 22, 2009 at 4:14 PM, Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:56 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 09:23:15AM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:48 AM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>Pushing the ATX power button to shut down the machine results in the following<br />panic:</p>
<p>panic: assertion: _tcp->tt_msg->tt_cpuid == mycpuid in tcp_callout_stop</p>
</blockquote>
<p>Could you generate a coredump?</p>
</blockquote>
<p>I'm trying.<br />I called dumpsys at the ddb prompt and the kernel seemed to dump but during<br />the following boot I got nothing in /var/crash.</p>
</blockquote>
<p>will "shutdown now" trigger the panic?</p>
</blockquote>
<p>BTW, do you have:<br />kern.sync_on_panic=0<br />in /etc/sysctl.conf<br />and<br />dumpdev="your_swap_device" <br />in /etc/rc.conf</p>
<p>Best Regards,<br />sephe</p> DragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66712009-05-23T15:09:13Zftigeot
<ul></ul><p>On Fri, May 22, 2009 at 07:39:50PM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 4:14 PM, Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:56 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 09:23:15AM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:48 AM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>Pushing the ATX power button to shut down the machine results in the following<br />panic:</p>
<p>panic: assertion: _tcp->tt_msg->tt_cpuid == mycpuid in tcp_callout_stop</p>
</blockquote></blockquote></blockquote>
<p>will "shutdown now" trigger the panic?</p>
</blockquote></blockquote>
<p>Yes, as well as all forms of shutdown:<br /> shutdown -p now<br /> shutdown -h now<br /> pressing ctrl-alt-del</p>
<blockquote>
<p>BTW, do you have:<br />kern.sync_on_panic=0<br />in /etc/sysctl.conf<br />and<br />dumpdev="your_swap_device" <br />in /etc/rc.conf</p>
</blockquote>
<p>I didn't have the sync_on_panic line; it works much better now.</p>
<p>I have put the vmcore here:<br /><a class="external" href="http://www.wolfpond.org/crash.dfly/">http://www.wolfpond.org/crash.dfly/</a></p> DragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66722009-05-23T15:44:11Zsepherosa
<ul></ul><p>On Sat, May 23, 2009 at 4:05 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 07:39:50PM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 4:14 PM, Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:56 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 09:23:15AM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:48 AM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>Pushing the ATX power button to shut down the machine results in the following<br />panic:</p>
<p>panic: assertion: _tcp->tt_msg->tt_cpuid == mycpuid in tcp_callout_stop</p>
</blockquote></blockquote></blockquote>
<p>will "shutdown now" trigger the panic?</p>
</blockquote></blockquote>
<p>Yes, as well as all forms of shutdown:<br /> shutdown -p now<br /> shutdown -h now<br /> pressing ctrl-alt-del</p>
<blockquote>
<p>BTW, do you have:<br />kern.sync_on_panic=0<br />in /etc/sysctl.conf<br />and<br />dumpdev="your_swap_device" <br />in /etc/rc.conf</p>
</blockquote>
<p>I didn't have the sync_on_panic line; it works much better now.</p>
<p>I have put the vmcore here:<br /><a class="external" href="http://www.wolfpond.org/crash.dfly/">http://www.wolfpond.org/crash.dfly/</a></p>
</blockquote>
<p>I got the kernel. However, the vmcore's permisssion is not correctly<br />setup, so I could not download it.</p>
<p>Best Regards,<br />sephe</p> DragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66732009-05-23T15:55:10Zftigeot
<ul></ul><p>On Sat, May 23, 2009 at 08:44:14AM +0000, Sepherosa Ziehau (via DragonFly issue tracker) wrote:</p>
<blockquote>
<p>Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> added the comment:</p>
<p>On Sat, May 23, 2009 at 4:05 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 07:39:50PM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 4:14 PM, Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:56 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 09:23:15AM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:48 AM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>Pushing the ATX power button to shut down the machine results in the following<br />panic:</p>
<p>panic: assertion: _tcp->tt_msg->tt_cpuid == mycpuid in tcp_callout_stop</p>
</blockquote></blockquote></blockquote>
<p>will "shutdown now" trigger the panic?</p>
</blockquote></blockquote>
<p>Yes, as well as all forms of shutdown:<br /> shutdown -p now<br /> shutdown -h now<br /> pressing ctrl-alt-del</p>
<blockquote>
<p>BTW, do you have:<br />kern.sync_on_panic=0<br />in /etc/sysctl.conf<br />and<br />dumpdev="your_swap_device" <br />in /etc/rc.conf</p>
</blockquote>
<p>I have put the vmcore here:<br /><a class="external" href="http://www.wolfpond.org/crash.dfly/">http://www.wolfpond.org/crash.dfly/</a></p>
</blockquote>
<p>I got the kernel. However, the vmcore's permisssion is not correctly<br />setup, so I could not download it.</p>
</blockquote>
<p>Sorry about that.<br />I just modified the permissions, please try again.</p> DragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66742009-05-23T18:40:22Zsepherosa
<ul></ul><p>On Sat, May 23, 2009 at 4:52 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Sat, May 23, 2009 at 08:44:14AM +0000, Sepherosa Ziehau (via DragonFly issue tracker) wrote:</p>
<blockquote>
<p>Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> added the comment:</p>
<p>On Sat, May 23, 2009 at 4:05 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 07:39:50PM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 4:14 PM, Sepherosa Ziehau <<a class="email" href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:56 PM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 09:23:15AM +0800, Sepherosa Ziehau wrote:</p>
<blockquote>
<p>On Fri, May 22, 2009 at 2:48 AM, Francois Tigeot <<a class="email" href="mailto:ftigeot@wolfpond.org">ftigeot@wolfpond.org</a>> wrote:</p>
<blockquote>
<p>Pushing the ATX power button to shut down the machine results in the following<br />panic:</p>
<p>panic: assertion: _tcp->tt_msg->tt_cpuid == mycpuid in tcp_callout_stop</p>
</blockquote></blockquote></blockquote>
<p>will "shutdown now" trigger the panic?</p>
</blockquote></blockquote>
<p>Yes, as well as all forms of shutdown:<br /> shutdown -p now<br /> shutdown -h now<br /> pressing ctrl-alt-del</p>
<blockquote>
<p>BTW, do you have:<br />kern.sync_on_panic=0<br />in /etc/sysctl.conf<br />and<br />dumpdev="your_swap_device" <br />in /etc/rc.conf</p>
</blockquote>
<p>I have put the vmcore here:<br /><a class="external" href="http://www.wolfpond.org/crash.dfly/">http://www.wolfpond.org/crash.dfly/</a></p>
</blockquote>
<p>I got the kernel. However, the vmcore's permisssion is not correctly<br />setup, so I could not download it.</p>
</blockquote>
<p>Sorry about that.<br />I just modified the permissions, please try again.</p>
</blockquote>
<p>Thank you very much for the coredump. Please test HEAD, I believe I<br />have fixed it.</p>
<p>Best Regards,<br />sephe</p> DragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66752009-05-23T20:04:23Zftigeot
<ul></ul><p>On Sat, May 23, 2009 at 11:40:26AM +0000, Sepherosa Ziehau (via DragonFly issue tracker) wrote:</p>
<blockquote>
<p>Thank you very much for the coredump. Please test HEAD, I believe I<br />have fixed it.</p>
</blockquote>
<p>Well, thank <strong>you</strong> for fixing the bug.</p>
<p>I have just tested the new HEAD. It doesn't crash anymore.</p> DragonFlyBSD - Bug #1380: panic: assertion _tp->tt_msg->tt_cpuid == mycpuidhttps://bugs.dragonflybsd.org/issues/1380?journal_id=66962009-05-29T14:28:03Zluxh
<ul></ul><p>fixed with 697aadcd03f60a7715f28694a62840c6148eacf3</p>