f3dd "All buffers synced" hang on FreeBSD9 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old May 9th, 2012, 07:21
chrcol chrcol is offline
Member
 
Join Date: Nov 2008
Posts: 325
Thanks: 23
Thanked 9 Times in 8 Posts
Default "All buffers synced" hang on FreeBSD9

I updated a server to 9 and perhaps shouldn't have done the installworld as now I can't roll back.

On a 9.x kernel it hangs for ages on
Code:
All buffers synced
when it does eventually reboot it then gets
Code:
improper unmount on /
On 8.x no such issue.

It uses a 3ware device for hardware RAID1.

If I hit ctrl-alt-del during the hang it seems to rerun the shutdown script generating various errors as everything is already unmounted. Errors include going into single user mode due to
Code:
/bin/sh on /etc/rcv.shutdown terminated abnormally
and
Code:
some processes would not die ps axl advised
Then very long waits after for system processes to stop vnlru, bufdaemon, syncer etc. It doesn't actually drop into single user mode so can't run the ps command.

Last edited by DutchDaemon; May 9th, 2012 at 22:38. Reason: Formatting & Style: http://forums.freebsd.org/showthread.php?t=8816 / http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #2  
Old May 14th, 2012, 04:35
Terry_Kennedy's Avatar
Terry_Kennedy Terry_Kennedy is offline
Member
 
Join Date: Apr 2010
Location: New York City
Posts: 397
Thanks: 5
Thanked 67 Times in 59 Posts
Default

Quote:
Originally Posted by chrcol View Post
It uses a 3ware device for hardware RAID1.
This could be a twa(4), twe(4), or tws(4) device, depending on the controller model. You might want to check the LSI site to see if there's a firmware update available for your controller. Also, I believe tws is new in FreeBSD 9.0 (on 8.2-RELEASE a driver from LSI needed to be downloaded and installed). A quick look doesn't show any critical post-9.0 changes to tws, though.
Reply With Quote
  #3  
Old June 13th, 2012, 17:29
Ben Ben is online now
Member
 
Join Date: Nov 2008
Posts: 193
Thanks: 13
Thanked 1 Time in 1 Post
Default

I have the same problem but no special controller. But it seems it hangs randomly. Any ideas?

Last edited by DutchDaemon; June 13th, 2012 at 22:32.
Reply With Quote
  #4  
Old June 13th, 2012, 19:08
kpa kpa is offline
Senior Member
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 1,996
Thanks: 44
Thanked 463 Times in 393 Posts
Default

I've seen this too on recent versions of 9-STABLE. My first suspect was that I was using USB memory sticks as root filesystem but I then switched to Root on ZFS without any USB mass storage devices and it still kept happening. I just today rebooted my system to install latest updates to OS and it mysteriously rebooted just fine. Usually there's a pattern, if you quickly reboot again after bringing the system up it reboots without a hang, with longer uptimes it usually hangs.
Reply With Quote
  #5  
Old June 13th, 2012, 21:25
Ben Ben is online now
Member
 
Join Date: Nov 2008
Posts: 193
Thanks: 13
Thanked 1 Time in 1 Post
Default

I have 9-RELEASE on ZFS. As you describe, immediate reboot works, after long uptime it won't.

Have you tried working on ACPI settings? I want to try

Code:
hw.acpi.disable_on_reboot
Reply With Quote
  #6  
Old August 10th, 2012, 13:10
Remilia Remilia is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Bumping this one. Just updated from 8-stable to 9-stable, and my server doesn't reboot normally any more (it only reboots normally if the uptime was negligible — less than 15 or even 10 minutes). Half of the time it doesn't even react to Ctrl-Alt-Del or Ctrl-C and never gets to the watchdog timer finishing, requiring a hardware reset.

This is extremely inconvenient as every reboot (OS update, kernel rebuild, etc) now requires contacting the data-centre staff so they actually press the reset button.

Hardware is a Q9400 on a Q33 motherboard by Gigabyte with AHCI enabled (using /dev/ada* for SATA drives).

Software is FreeBSD 9-stable r239151 (9.1-PRERELEASE), ZFS-enabled, but everything except /usr/src and jails is on UFS.

The system was built clean from a fresh svn checkout with make buildworld / make kernel / make installworld, mergemaster done, jails recreated from scratch (I thought it was my jail setup ruining the shutdown process, so I took the time to remake and rebuild all of them).

I didn't merge the new hast user, though, but I doubt it should affect the shutdown process.
__________________
Is this the real life? Is this just phantasm? Caught in a spellcard, no escape from danmaku. Open your eyes, look up to the shrine maiden, and see...
Reply With Quote
  #7  
Old August 11th, 2012, 13:02
xtaz xtaz is offline
Junior Member
 
Join Date: Aug 2012
Posts: 77
Thanks: 3
Thanked 15 Times in 13 Posts
Default

I recently build a server from scratch, updated it to the very latest RELENG_9_1 code which currently says 9.1-PRERELEASE. And I see something slightly different. When mine tries to unmount / it fails and comes up with some error text which mentions "dirty" in it and it then hangs the system on a "press a key to reboot" message or something like that. If I then power cycle it it says root wasn't dismounted properly, and recovers from journal etc.

I'm using 9.1 amd64 with softupdates journalling enabled. I was going to copy down the error text from it and post it into the mailing lists but I haven't had time to do it yet.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
/libexec/ld-elf.so.1: Shared object "libgdbm.so.3" not found, required by "svnserve" LocalEtc Installation and Maintenance of FreeBSD Ports or Packages 3 April 11th, 2012 02:41
"Operating System not found" on "Thinkpad Edge E120" sys_dev Mobile Computing 4 December 18th, 2011 07:57
/libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "pg_config" LocalEtc Installation and Maintenance of FreeBSD Ports or Packages 7 February 9th, 2011 18:30
openntpd server never displays "clock now synced" krompo Web & Network Services 5 May 5th, 2010 14:38
[Solved] 7-2 hald_enable="YES" dbus_enable="YES" samba_enable="YES" not found ter2007 Installation and Maintenance of FreeBSD Ports or Packages 2 December 1st, 2009 15:58


All times are GMT +1. The time now is 11:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0