[SOLVED] Long time with excessive disk access before system reboot.

I feel I would be grateful for some help here. It's my first go at Arch Linux having used Xubuntu for several years. It may be I'm missing something obvious but then I would be happy if someone could point me in the right direction.
Problem: When I do a system restart by issuing
$ systemctl reboot
I get the following output
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
Unmounting file systems.
Unmounted /sys/kernel/debug.
Unmounted /dev/hugepages.
Unmounted /dev/mqueue.
Not all file systems unmounted, 1 left.
Disabling swaps.
Detaching loop devices.
Detaching DM devices.
Unmounting file systems.
Not all file systems unmounted, 1 left.
Cannot finalize remaining filesystems and devices, giving up.
Successfully changed into root pivot.
Unmounting all devices.
Detaching loop devices.
Diassembling stacked devices.
mdadm: stopped /dev/md126
[ 1654.867177] Restarting system.
However, after the last line is printed, the system does not reboot immediately but hangs for about 2 minutes with heavy disk activity. I can't say if it is read or write or both, but the led of my HDD is lit constantly. When this activity stops, the machine reboots.
$ systemctl poweroff
works as expected, i.e. shuts down immediately without excessive disk access.
I see this behaviour both with the installed Arch system and when I run the live installation/recovery CD. It is also the same if I boot into the busybox rescue shell and then restarts the machine from there. It also does not seem to matter if any partition on the disk is is mounted or not, the behaviour is always the same with 2 min. heavy activity before reboot.
System setup:
Sony Vaio VPZ13. Intel Core i5 M460, 4GB ram, 2x64GB SSD in RAID0 configuration via bios setting (a.k.a. fake raid), partitioned like:
windows boot
windows system
linux swap
linux "/"
linux "/home"
So it's a dual boot setup with Windows 7.
The raid array is assembled by mdadm, and I have mdadm_udev among my mkinitcpio.conf hooks (after blocks but before filesystems).
Snip from journalctl log showing actions when reboot has been issued:
jan 18 12:24:23 wione systemd[1]: Stopping Sound Card.
jan 18 12:24:23 wione systemd[1]: Stopped target Sound Card.
jan 18 12:24:23 wione systemd[1]: Stopping Bluetooth.
jan 18 12:24:23 wione systemd[1]: Stopped target Bluetooth.
jan 18 12:24:23 wione systemd[1]: Stopping Graphical Interface.
jan 18 12:24:23 wione systemd[1]: Stopped target Graphical Interface.
jan 18 12:24:23 wione systemd[1]: Stopping Multi-User.
jan 18 12:24:23 wione systemd[1]: Stopped target Multi-User.
jan 18 12:24:23 wione systemd[1]: Stopping Login Prompts.
jan 18 12:24:23 wione systemd[1]: Stopped target Login Prompts.
jan 18 12:24:23 wione systemd[1]: Stopping Getty on tty1...
jan 18 12:24:23 wione systemd[1]: Stopping Login Service...
jan 18 12:24:23 wione login[333]: pam_unix(login:session): session closed for user root
jan 18 12:24:23 wione login[333]: pam_systemd(login:session): Failed to connect to system bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
jan 18 12:24:23 wione systemd[1]: Stopped D-Bus System Message Bus.
jan 18 12:24:23 wione systemd[1]: Stopped Getty on tty1.
jan 18 12:24:23 wione systemd[1]: Stopping Permit User Sessions...
jan 18 12:24:23 wione systemd[1]: Stopped Permit User Sessions.
jan 18 12:24:23 wione systemd[1]: Stopped Login Service.
jan 18 12:24:23 wione systemd[1]: Stopping Basic System.
jan 18 12:24:23 wione systemd[1]: Stopped target Basic System.
jan 18 12:24:23 wione systemd[1]: Stopping Dispatch Password Requests to Console Directory Watch.
jan 18 12:24:23 wione systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
jan 18 12:24:23 wione systemd[1]: Stopping Daily Cleanup of Temporary Directories.
jan 18 12:24:23 wione systemd[1]: Stopped Daily Cleanup of Temporary Directories.
jan 18 12:24:23 wione systemd[1]: Stopping Sockets.
jan 18 12:24:23 wione systemd[1]: Stopped target Sockets.
jan 18 12:24:23 wione systemd[1]: Stopping D-Bus System Message Bus Socket.
jan 18 12:24:23 wione systemd[1]: Closed D-Bus System Message Bus Socket.
jan 18 12:24:23 wione systemd[1]: Stopping System Initialization.
jan 18 12:24:23 wione systemd[1]: Stopped Setup Virtual Console.
jan 18 12:24:23 wione systemd[1]: Unmounting Temporary Directory...
jan 18 12:24:23 wione systemd[1]: Unmounted Temporary Directory.
jan 18 12:24:23 wione systemd[1]: Unmounted /home.
jan 18 12:24:23 wione systemd[1]: Starting Unmount All Filesystems.
jan 18 12:24:23 wione systemd[1]: Reached target Unmount All Filesystems.
jan 18 12:24:23 wione systemd[1]: Stopping Local File Systems (Pre).
jan 18 12:24:23 wione systemd[1]: Stopped target Local File Systems (Pre).
jan 18 12:24:23 wione systemd[1]: Stopping Remount Root and Kernel File Systems...
jan 18 12:24:23 wione systemd[1]: Stopped Remount Root and Kernel File Systems.
jan 18 12:24:23 wione systemd[1]: Starting Shutdown.
jan 18 12:24:23 wione systemd[1]: Reached target Shutdown.
jan 18 12:24:23 wione systemd[1]: Starting Save Random Seed...
jan 18 12:24:23 wione systemd[1]: Starting Update UTMP about System Shutdown...
jan 18 12:24:23 wione systemd[1]: Started Save Random Seed.
jan 18 12:24:23 wione systemd[1]: Started Update UTMP about System Shutdown.
jan 18 12:24:23 wione systemd[1]: Starting Final Step.
jan 18 12:24:23 wione systemd[1]: Reached target Final Step.
jan 18 12:24:23 wione systemd[1]: Starting Reboot...
jan 18 12:24:23 wione systemd[1]: Shutting down.
jan 18 12:24:23 wione systemd-journal[189]: Journal stopped
-- Reboot --
Since I have used Xubuntu without hassle for several years, I first thought the problem may be related to systemd reboot and something in my system setup. But I have tried the Fedora 17 live CD and rebooting there works as expected. So, since it works in one systemd distro, it should work with Arch as well.
Then I thought that it maybe had something to do with the raid-array, something along the lines of
https://bugzilla.redhat.com/show_bug.cgi?id=752593
https://bugzilla.redhat.com/show_bug.cgi?id=879327
But then I found the shutdown hook for mkinitcpio and now I see that the array is stopped and dissassembled. So thats not the problem either. (Or thats what I guess at least.)
Unfortunately I'm out of ideas. Any help would be grateful.
Last edited by wingbrant (2013-02-02 22:20:20)

It turned out that the magic word for me was "reboot=pci" on the kernel command line. With that option set it works lika a charm The machine reboots nice and clean.

Similar Messages

  • Capture Problems long time to allocate disk space

    I have FCPHD and OSX 10.3.9. FCP has always worked well on my computer but is now taking a long time to allocate disk space(if that is even what it is doing) when I go to batch capture or capture now the capture window hangs and sometimes I am left with a large file in the capture scratch folder. Any Ideas?

    You need to make sure you have set a time limit in Capture Now. Without that limit, FCP can (and sometimes does) allocate your entire Capture Disk as a potential capture file.
    Here's an explanation of what is going on ...
    When you use Capture Now, the disk system is being asked by FCP to essentially "keep capturing until we tell you to stop ... and no, we don't know HOW much that will be either." It is stressful on the system to be continually wandering around looking for space to stuff those ones and zeros with out any sense of how many they have to accommodate. One solution available to the system is to allocate the ENTIRE empty space on the disk as the potential capture file. This essentially locks the machine as there is no headroom for basic disk operations.
    However if you set a limit on capture now, say 60 minutes, the disk system can allocate the space and may seem to be less confused by the process. It still does not know EXACTLY how much you want, but it knows you will not want MORE THAN the limit and therefor can reduce some of the uncertainty.
    Better yet is to capture using timecode. This allows you to log the tape, then use batch capture. When you do this, the system knows EXACTLY how much space to allocate for each file and is very efficient.
    Good luck.
    x

  • During last weeks, when I connect my macbook it stays long time with the color wheel turning around. Finally I have to hard-reset. Any clue?

    during last weeks, from time to time, when I connect my macbook it stays long time with the color wheel turning around. Finally I have to hard-reset. Any clue?
    It's Mac OS X 10.7.3

    It's Mac OS X 10.7.3
    The startup disk may need repairing.
    Use Lion Recovery for that.

  • HT201263 my ipod touch 4th gen isnt work after a long time with 0 percent battery power.Then its not working. computer doesnt respond to my ipod .only black screen is appearing it even not wake up after reset it what can i do please help me

    my ipod touch 4th gen isnt work after a long time with 0 percent battery power.Then its not working. computer doesnt respond to my ipod .only black screen is appearing it even not wake up after reset it what can i do please help me

    After being connected to a charging source overnight try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • IPhone 5s contacts are no longer synching with Mercedes E class command system. It did 3 days ago but no longer synchs my contacts?

    My iPhone 5s contacts are no longer synching with Mercedes E class command system. It did 3 days ago but now it longer synchs my contacts - how do I get my contacts downloaded to the command system of my car?

    status update -- I tried a lot of other things but finally solved the problem after I removed all the groups from mac address book. (thank-you to my son Ben)
    FYI -- along the way I tried doing the reset sync history, which deleted all contacts from the iphone. I initially thought that was a good thing, until I discovered that nothing I tried after that would put the contacts back on the iphone. Next I restored factory settings on the iphone and set up as a new user, but that didn't work either. Or maybe it did; maybe deleting the groups wouldn't have solved the problem if I hadn't deleted all contacts and reset the iphone first.

  • What is autocorrelation time with respect to Data Acquisation System

    what is autocorrelation time with respect to Data Acquisation System. thew hardware i am using is PCi -6034E CARD AND SCXI_1102 and TC-2095 terminal block

    Suresh;
    Unfortunately,NI doesn't spec that.
    For a complete list of specs for that particular DAQ board and SCXI module, refer to their Users Manual.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • W520 lock-ups with 100% disk access

    Seemingly at random, my W520 will lock-up and the HDD access light is solid. I can move the mouse, but the computer won't respond to mouse clicks or keyboard presses. My only way out is a hard power-down (hold in the power button) and restart. This has happened twice in the past week or so. I'm not doing anything particularly disk-intensive when this happens. I'm using the included 500GB Hitachi drive.

    ColonelONeill wrote:
    >Reallocated Sectors Count: 5
    There's your problem. CHKDSK /F /R /B might be able to do something. Alternatively, something like SpinRite or HDD Regenerator might fix it. (All three of these methods take a LONG time, so do it overnight.)
    If none of those fix it, then you're probably going to have to replace te drive.
    I don't believe that is the problem unless the reallocated sector count keeps growing. The worst that will happen is a bit of slowness accessing the relocated sector. There's something else amiss here.
    W520, i7-2820QM, BIOS 1.42, 1920x1080 FHD, 32 GB RAM, 2000M NVIDIA GPU, Samsung 850 Pro 1TB SSD, Crucial M550 mSata 512GB, WD 2TB USB 3.0, eSata Plextor PX-LB950UE BluRay
    W520, i7-2760QM, BIOS 1.42 1920x1080 FHD, 32 GB RAM, 1000M NVIDIA GPU, Crucial M500 480GB mSata SSD, Hitachi 500GB HDD, WD 2TB USB 3.0

  • Long Time For Internet Network Access After Sleep (Interesting Twist)

    I have a Macbook Pro and an Airport Extreme. Recently, I have noticed that when my Macbook Pro comes out of sleep mode, it takes a long time to connect to my network. Here is the interesting twist on the problems that I have seen reported on here: I immediately connect to the Airport Extreme. I know this because I see the signal strength indicator on the Pro (upper toolbar) showing that I am connected with strong signal strength. However, when I attempt to access the Internet I get page errors that show I am not connected to the Net. After about a minute or two, everything is fine.
    This started happening recently and other than whatever upgrades Apple has sent my way, I have not changed nor added anything to the system.
    Any thoughts?

    Given your connection will eventually come good you'll probably find that your problem lies with your DHCP server and your MBP's inability to quickly get a new address. Check the DHCP's server admin that it has a decently large enough address pool as having too small a pool can often cause these issues. I normally recommend having a pool around 50% more than the number of computers that it serves else a minimum of 5.

  • IPhone no longer syncs with computer--"Cannot access the iTunes store"

    My iPhone 2G has decided to no longer sync with my iTunes. I do not have internet on my computer (I'm doing this on a friend's), so when I connect my iPhone to my computer, an error message pops up that says "Cannot access the iTunes store". Since my iPhone is normally synced manually, I can still drag new files onto it; however, any movies/podcasts on the iPhone keep reappearing even after I've deleted them (from the iPhone itself). Any help would be appreciated. Thank you!

    Delete then re-install iTunes & Delete the following files:
    The iTunes application (located in /Applications)
    com.apple.iTunes.plist (from ~/Library/Preferences)
    iTunes.pkg (from /Library/Receipts)
    iTunesX.pkg (from /Library/Receipts)
    then re-download the latest version of iTunes.

  • Transport takes a long time with 'file already in use' message in tp log

    Hello,
    We are implementing SAP ECC 6.0 on IBM iSeries, i5/OS V5R4.
    I am encountering the following problem when conducting an import on TQA system from a transport request done from DEV :
    The import takes a very long time without being implemented, with the following message in the tp system log :
    'WARNING: /usr/sap/trans/tmp/TQA.LOB is already in use (10), I'm waiting 1 sec (20080515222358). My name: pid 621 on MASAPTQA (tqa00)
    The message keeps repeating continuously, with the pid changed each time, and the waiting time (in seconds) also changed each time.
    In general, the pid does not even exist.
    What could be the cause of this problem ?
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

    Hello Sally,
    Thank you for your interest.
    I've gone through SAP note 12746.
    I deleted the log file /usr/sap/trans/tmp/TQA.LOB after making sure that pid 640 which appeared in the old message in the tp system log did not exist.  But this resulted in the message :
    'WARNING: Cannot remove /usr/sap/trans/tmp/TQA.LOB : No such file or directory' to appear once in the tp system log and for a very long time.
    I re-generated the transport profile file, and released a new transport from DEV to TQA, and tried to import this new request, and now the message in the tp system log is :
    WARNING: /usr/sap/trans/tmp/DEVKK917158.TQA is already in use (20), I'm waiting 4 sec (20080516225456). My name: pid 663 on MASAPTQA', where DEVKK917158 is the transport request number generated from the DEV system.
    pid 663 now corresponds to an active job (I used command WRKPID)
    Any clues ?
    Thank you for your cooperation.
    Best regards.
    Reda Khalifa

  • Have been using FaceTime for long time with same person, for the last two weeks when trying to connect, we get connection failed message, something change in settings that we should look at?

    Now getting FaceTime failed message when trying to connect with a person that were connecting successfully with up unto two weeks ago, has something changed?

    Take a look around you here in this forum. Many people are talking about having problems using FaceTime. A few users claim to have contacted Apple and Apple says that they are aware of an issue with FaceTime and that they are working on it.
    Some users claim that upgrading to iOS 7 solved there problem with FaceTime. Take a look around the forum and read some of the other discussions.

  • I've been a long time with my I pod close...now I can't use or charge it!

    Many months ago, I've lost my apple shuffle charger. Recently, my brother command me a new one from China. I didn't use I tunes for a long time and I uninstalled it. Now that I can recharge my I pod shuffle, I plugged it to my computer but the status indicator doesn't light anymore. I can't torn my Ipod on...and Itunes doesn't recognize my Ipod.

    It's a forth generation by the way...

  • After a long time with firefox running (days) it takes too long to terminate

    If Firefox has been running for a long time and now consumes a lot of memory (over 1GB of RAM normally) then it takes several minutes to clean and terminate.
    This process is not always CPU intensive and sometimes the amount of memory attributed to firefox even increases.
    Taking 10 minutes for a computer program to terminate is appaling.

    Did you opt out of the Ask Toolbar installation when you installed Foxit Reader? If not, you have it on your system now. There are compatibility problems between that app and Firefox.
    Remove it by clicking the Firefox button, go to Add-ons, then Extensions and remove it in there.
    If the problem persists, try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.

  • Long time to import SCA into DEV System

    Hi Experts,
    I have done a system upgrade from NWDI 7.1 to NWDI 7.4.
    Now i am having a problem when import SCA in DEV system. This process run forever...
    The log is:
    20140729101501 Info :Starting Step CBS-make at 2014-07-29 10:15:01.0294 -3:00
    20140729101501 Info :wait until CBS queue of buildspace DN1_TRAF2P_D is completely processed, before starting the import
    20140729101501 Info :waiting for CBS queue activity
    20140729101533 Info :build process already running: waiting for another period of 30000 ms
    20140729101603 Info :build process already running: waiting for another period of 30000 ms
    20140729101633 Info :build process already running: waiting for another period of 30000 ms
    20140729101704 Info :build process already running: waiting for another period of 30000 ms
    20140729101734 Info :build process already running: waiting for another period of 30000 ms
    20140729101804 Info :build process already running: waiting for another period of 30000 ms
    20140729101834 Info :build process already running: waiting for another period of 30000 ms
    20140729101904 Info :build process already running: waiting for another period of 30000 ms
    20140729101934 Info :build process already running: waiting for another period of 30000 ms
    20140729113122 Info :build process already running: waiting for another period of 30000 ms
    20140729113152 Info :build process already running: waiting for another period of 30000 ms
    20140729113152 Fatal :build processing for buildspace: DN1_TRAF2P_D is not enabled, cannot continue without NWDI administrator action
    20140729113152 Info :Step CBS-make ended with result 'fatal error' ,stopping execution at 2014-07-29 11:31:52.0295 -3:00
    I have found a lot of threads here, but no one help me.
    The parameter idleStart is configured to false.
    I try to keep BUILD_TOOL_JDK_HOME and JDK_HOME_PATHS as default, and try to set to java 6.
    The build variant in CMS was configured too.
    After the changes i restated the CBS service and try to import again in DEV system. But nothing happens.
    If i import just one or all the components, it get a long time and catch the error showed above.
    I have restarted the server a lot of time too.
    Can someone have any idea how to fiz it?
    Best Regards
    Marcos Brandão

    Hi Marcos,
    changing the domain user might have consequences, please take a look at the note:
    #896427 - NWDI Admin User/Password update
    What I suggest in short is this:
    1. restart the server
    2. once the server is up and running, re-save the track in question in cms webui
    3. restore system state on dev and cons tabs of cms webui
    4. trigger first re-import of SCs on dev tab (import SCs one by one, and do not care of broken DCs until everything is imported).
    When I mean one by one I mean that you select an SC on developent tab of the cms webui, press Import, wait what happens to it, and if it failed, let me know. If not, then select the next SC for import.
    5. wait until it finishes (depending on the size of your development it can be hours, even up to 4 hours).
    If you still got long import and broken DCs, then let me know, this case also take a look at the
    1. Import logs which is usually at /usr/sap/JTrans/CMS/log/*
    Notice, this can be different in your case, check the location of the transport folder under the CMS WebUI (/devinf – Landscape Configurator – Domain Data Tab)
    2. the latest defaultTrace you find at
    -...\j2ee\cluster\server<n>\log\defaultTrace.<n>.trc
    I also send you another guide for Broken DCs, here you go:
    (NWDI)(CBS) the CBS-make log and-or CBS Web UI report broken DCs - Technology Troubleshooting Guide - SCN Wiki
    Regards,
    Ervin
    Message was edited by: Ervin Szolke

  • 0CRM_SALES_ACT_1 takes a long time to extract data from CRM system

    Hi gurus,
    I am using the datasource 0CRM_SALES_ACT_1 to extract activities data from CRM side. However, it is taking too long time to get any information there.
    I applied the SAP NOTE 829397 (Activity extraction takes a long time: 0crm_sales_act_1) but it did not solve my problem.
    Does anybody knows something about that?
    Thanks in advance,
    Silvio Messias.

    Hi Silvio,
    I've experienced a similar problem with this extractor.  I attempted to Initialize Delta with Data Transfer to no avail.  The job ran for 12+ hours and stayed in "yellow" status (0 records extracted).  The following steps worked for me:
    1.  Initialize Delta without Data Transfer
    2.  Run Delta Update
    3.  Run Full Update and Indicate Request as Repair Request
    Worked like a champ, data load finished in less than 2 minutes.
    Hopefully this will help.
    Regards.
    Jason

Maybe you are looking for

  • Firefox freezes when using "Save link as" or doing anything that needs to browse local file directory?

    System: Windows XP, Firefox 17.0.1. Firefox freezes when doing anything that needs to browse local directory such as saving file, uploading, etc....For example, can't save any image using "save link as". When attaching a file in email, whenever the b

  • [Fixed] Validation issue - Sax

    G-day I use an instance of XMLReader. its config is : parseur = XMLReaderFactory.createXMLReader();                    // g�re les pr�fixes "xmlns:*"                 parseur.setFeature("http://xml.org/sax/features/namespace-prefixes", true);      par

  • Publish results back to webservice?

    Hi I have created a little scenario now that I need some help with. We have a Biztalk solution that is triggering Orchestrator Webservice through WCF (Http-Request) adapter to do some work. When the runbook is finished I would like to return data bac

  • Camera Raw 8.4 problems

    I'm unable to append metadata to files in Bridge CS6 since updating to Camera Raw 8.4. Existing metadata is also being stripped from previously worked on .CR2 files. Also preview images from .RAF files no longer load when they used to before. Is ther

  • Long Passwords not kept in Wifi profile and no ability to paste

    Our wifi network at work has a 64 character password of diverse characters/letters/numbers but the playbook won't keep it in the saved profile and to make it harder to enter you cannot "paste" it into the password field.  What is up with that?