https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082011-11-25T06:46:40ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #2167: shutdown/reboot fails after uptime msghttps://bugs.dragonflybsd.org/issues/2167?journal_id=103402011-11-25T06:46:40Zdragonflybsd1
<ul></ul><p>00:40 <@sephe> well, its the pci write in the ehci shutdown hook cause the freeze</p> DragonFlyBSD - Bug #2167: shutdown/reboot fails after uptime msghttps://bugs.dragonflybsd.org/issues/2167?journal_id=103452011-11-27T11:03:30Zsepherosa
<ul></ul><p>On Fri, Nov 25, 2011 at 2:46 PM, John Marino via Redmine<br /><<a class="email" href="mailto:bugtracker-admin@leaf.dragonflybsd.org">bugtracker-admin@leaf.dragonflybsd.org</a>> wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-1 status-1 priority-4 priority-default" title="Bug: shutdown/reboot fails after uptime msg (New)" href="https://bugs.dragonflybsd.org/issues/2167">#2167</a> has been updated by John Marino.</p>
<p>00:40 <@sephe> well, its the pci write in the ehci shutdown hook cause the freeze</p>
</blockquote>
<p>Well, there is a committed patch in freebsd for their old usb stack<br />concerning this shutdown freeze. However, I will have to note that I<br />tried this patch on one of my laptop w/ the shutdown problem; it<br />didn't work. But you could always try your luck :)</p>
<p>Best Regards,<br />sephe</p>
<blockquote>
<p>----------------------------------------<br />Bug <a class="issue tracker-1 status-1 priority-4 priority-default" title="Bug: shutdown/reboot fails after uptime msg (New)" href="https://bugs.dragonflybsd.org/issues/2167">#2167</a>: shutdown/reboot fails after uptime msg<br /><a class="external" href="http://bugs.dragonflybsd.org/issues/2167">http://bugs.dragonflybsd.org/issues/2167</a></p>
<p>Author: John Marino<br />Status: New<br />Priority: Normal<br />Assignee:<br />Category:<br />Target version:</p>
<p>I've mentioned this on IRC a few times, so I thought I'd make it official with<br />a bug report.</p>
<p>My DragonFly x86_64 machine (AMD Phenom II X4 955) has four partitions, and I<br />can boot into FreeBSD, NetBSD, and OpenBSD as well. Those three BSDs have no<br />problems with "reboot" and "shutdown" commands. They work as expected.</p>
<p>Typing shutdown -p or reboot will cause DragonFly to freeze after the uptime<br />message. Sephe had me tweak something and I believe concluded there was some<br />interference by the ehci module causing the lock up.</p>
<p>In any case, not having the ability to remotely reboot the server is a medium-<br />sized problem and it would be nice if DragonFly could support this machine as<br />the other BSDs do.</p>
<p>--<br />You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="http://bugs.dragonflybsd.org/my/account">http://bugs.dragonflybsd.org/my/account</a></p>
</blockquote>
<p>-- <br />Tomorrow Will Never Die</p> DragonFlyBSD - Bug #2167: shutdown/reboot fails after uptime msghttps://bugs.dragonflybsd.org/issues/2167?journal_id=103472011-11-28T11:01:36Zak
<ul></ul><p>I have this same problem on my desktop (reported in issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: acpi - system cannot reboot or power down - 2.13.0.336.gacd31-DEVELOPMENT (Closed)" href="https://bugs.dragonflybsd.org/issues/2232">#2232</a>).</p>
<p>I also tried the freebsd patch 1.36.2.4 but it didn't work - <a class="external" href="http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/Attic/ehci.c?only_with_tag=RELENG_6">http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/Attic/ehci.c?only_with_tag=RELENG_6</a></p>
<p>Now I just disable ehci by adding hint.ehci.0.disabled="1" to /boot/loader.conf</p>