shutdown -r / shutdown -h / reboot all hang and don't cleanly dismount

Richard Tector richardtector at thekeelecentre.com
Thu Jun 20 18:28:45 UTC 2013


On 19/06/2013 12:35, Adam Strohl wrote:
> Hello -STABLE@,
>
> So I've seen this situation seemingly randomly on a number of both
> physical 9.1 boxes as well as VMs for I would say 6-9 months at least.
>   I finally have a physical box here that reproduces it consistently
> that I can reboot easily (ie; not a production/client server).
>
> No matter what I do:
>
> reboot
> shutdown -p
> shutdown -r
>
> This specific server will stop at "All buffers synced" and not actually
> power down or reboot.  KB input seems to be ignored.  This server is a
> ZFS NAS (with GMIRROR for boot blocks) but the other boxes which show
> this are using GMIRRORs for root/swap/boot (no ZFS).
>
> Here is what happens on the console: http://i.imgur.com/1H8JMyB.jpg
>

Hi,

Just to add a 'me too'. I see this on two different boxes, both 
currently running recentish 9.1-STABLE, and it has definitely been an 
issue for me since at least 9.0-RELEASE.

One of the boxes is a Dell R210 II with a single WD HDD - dmesg: 
http://daniel.thekeelecentre.com/dmesg.txt
I've tried booting/rebooting without the USB KVM dongle attached too.
Notes - does not run moused and no OpenLDAP.

The second host I have the issue with is a home-build using a Tyan 
Toledo i3210W (S5211) and two Seagate HDDs - dmesg: 
http://daniel.thekeelecentre.com/dmesg-daffy.txt (yes, a disk has 
failed, but the reboot issue pre-dated this).
Note - does not run moused, but did run slapd. I saw the same DB 
corruption as the OP.

I can play with the latter box as it is no longer in use and will try 
the following suggestions from Jeremy later this evening:
     4. Does "sysctl hw.usb.no_shutdown_wait=1" help you?
     5. Does "sysctl hw.acpi.handle_reboot=1" help you?
     6. Does "sysctl hw.acpi.disable_on_reboot=1" help you?

Regards,

Richard


More information about the freebsd-stable mailing list