ZFS write hangs / DMA reset? Can it be fixed?

My Solaris 10 (5/08) box with 3 Seagate 1TB drives hooked to a PCI-X SiI3124
randomly stops responding to ZFS IO for up to a minute, during alternate long
(100+MB) file reads and writes.
Disabling NCQ may eliminate the problem during reads, but not during writes:
/etc/system added line: "set sata:sata_func_enable = 0x4"
I don't get any kern.info messages telling me what is going on when this event occurs.
# zpool status
(blocks right before the config: line until ZFS is responsive again)
Here is the output of lockstat when ZFS is hung over ssh, with a pending Samba / network write process:
(NFS gives similar results)
# lockstat -kgIW -D 60 sleep 10
Profiling interrupt: 978 events in 10.074 seconds (97 events/sec)
Count genr cuml rcnt nsec Hottest CPU+PIL Caller
960 98% ---- 0.00 1514 cpu[0] thread_start
939 96% ---- 0.00 1486 cpu[0] idle
939 96% ---- 0.00 1486 cpu[0] cpu_halt
16 2% ---- 0.00 1383 cpu[0] scan_memory
11 1% ---- 0.00 3087 cpu[0]+2 dosoftint
5 1% ---- 0.00 7012 cpu[0] taskq_thread
4 0% ---- 0.00 8499 cpu[0] as_fault
4 0% ---- 0.00 8499 cpu[0] segvn_fault
4 0% ---- 0.00 8499 cpu[0] segvn_faultpage
4 0% ---- 0.00 8499 cpu[0] pagefault
4 0% ---- 0.00 8499 cpu[0] trap
4 0% ---- 0.00 8499 cpu[0] cmntrap
3 0% ---- 0.00 8906 cpu[0] anon_private
3 0% ---- 0.00 9393 cpu[0] vmem_free
3 0% ---- 0.00 9393 cpu[0] vmem_xfree
3 0% ---- 0.00 9393 cpu[0] kmem_depot_ws_reap
3 0% ---- 0.00 9393 cpu[0] kmem_magazine_destroy
3 0% ---- 0.00 9393 cpu[0] kmem_slab_free
3 0% ---- 0.00 9393 cpu[0] kmem_slab_destroy
3 0% ---- 0.00 9393 cpu[0] segkmem_free
3 0% ---- 0.00 9393 cpu[0] segkmem_free_vn
3 0% ---- 0.00 8828 cpu[0] hat_unload
3 0% ---- 0.00 8828 cpu[0] hat_pte_unmap
2 0% ---- 0.00 8630 cpu[0] seg_free
2 0% ---- 0.00 8630 cpu[0] segvn_unmap
2 0% ---- 0.00 8630 cpu[0] segvn_free
2 0% ---- 0.00 3442 cpu[0] kmem_cache_reap
2 0% ---- 0.00 8699 cpu[0] page_numtopp_nolock
2 0% ---- 0.00 8755 cpu[0] hwblkpagecopy
2 0% ---- 0.00 7333 cpu[0] mutex_enter
2 0% ---- 0.00 8637 cpu[0] hat_kmap_unload
2 0% ---- 0.00 8630 cpu[0] sys_sysenter
1 0% ---- 0.00 11412 cpu[0] elfexec
1 0% ---- 0.00 7278 cpu[0] fop_getpage
1 0% ---- 0.00 5848 cpu[0] as_unmap
1 0% ---- 0.00 7278 cpu[0] anon_zero
1 0% ---- 0.00 11412 cpu[0] as_free
1 0% ---- 0.00 11412 cpu[0] anon_decref
1 0% ---- 0.00 11412 cpu[0] anon_free
1 0% ---- 0.00 7278 cpu[0] swap_getapage
1 0% ---- 0.00 7278 cpu[0] swap_getpage
1 0% ---- 0.00 11412 cpu[0] exec_args
1 0% ---- 0.00 11412 cpu[0] gexec
1 0% ---- 0.00 11412 cpu[0] exece
1 0% ---- 0.00 11412 cpu[0] exec_common
1 0% ---- 0.00 10905 cpu[0] page_destroy
1 0% ---- 0.00 1631 cpu[0]+2 av_dispatch_softvect
1 0% ---- 0.00 1631 cpu[0]+2 cyclic_softint
1 0% ---- 0.00 11412 cpu[0] relvm
1 0% ---- 0.00 5848 cpu[0] munmap
1 0% ---- 0.00 5848 cpu[0] kmem_cache_free
1 0% ---- 0.00 9085 cpu[0] x86pte_invalidate_pfn
1 0% ---- 0.00 9085 cpu[0] x86pte_inval_func
1 0% ---- 0.00 9209 cpu[0] hat_unload_callback
1 0% ---- 0.00 3762 cpu[0] htable_reap
1 0% ---- 0.00 1631 cpu[0]+2 cbe_low_level
1 0% ---- 0.00 1631 cpu[0]+2 dtrace_state_clean
1 0% ---- 0.00 1631 cpu[0]+2 dtrace_speculation_clean
1 0% ---- 0.00 2738 cpu[0] (usermode)
1 0% ---- 0.00 3122 cpu[0] nfs4_reclaim
Edited by: mdurller on Jun 5, 2008 8:36 AM

If you are using a si3124, the driver WILL hang (zfs or otherwise) because sun is glacially slow in bring out the fix that I gave them almost a year ago (CR 6566207 - more info here http://bugs.opensolaris.org/view_bug.do?bug_id=6566207 ). So, if you want a working driver for 05/08, you have the following choices:
1) Find a version of sxce where the driver was fixed but still compatible with s10 (the putback was in Aug, says it's in snv71)
2) Bug sun for the IDR that has this fix
3) Ask someone nicely who has the fix already to send the patched si3124 drivers to you (like me :-) )
Note that the patched driver won't work in failsafe mode do to symbol conflicts even if you copy them into the failsafe image.
-r

Similar Messages

  • My iPad hang and i can't restart it. how to solve it?

    my iPad hang and i can't restart it. how to solve it?

    Have you tried resetting your iPad?
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).
    No data will be lost.

  • HT204407 I updated to the latest IOS (5.1.1) today and since then Find my friends hang at "signing in" hangs during signing in. I can't back up & start over, every time I open the app, it's hanging there. Can I clear this without losing everything?

    I updated to the latest IOS (5.1.1) today and since then Find my friends hang at "signing in" hangs during signing in. I can't back up & start over, every time I open the app, it's hanging there. Can I clear this without losing everything, including the friends that have already accepted me?

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • [NF2] K7N2 Delta2 DVD-R/W won't write in DMA mode

    Experienced builder, just built a new system, and my DVD-R/W will not write with DMA turned on.  It does with DMA turned off, but that takes 50 minutes for a single-layer DVD!  Have exhausted myself searching here and googling for an answer.  Here's the whole story, and thanks for reading:
    I had two Socket-A systems with Gigabyte GA-7VTXE mainboards (VIA chipset), both running Windows 98SE, both with Sony DVD-R/W drives (one a DRU-530A SL, the other a DRU-800A DL) working perfectly using Nero 6 Ultra Edition.  The mainboard died (bad capacitors) in the system with the DRU-800 DL drive, so I bought a new MSI K7N2 Delta2 mainboard, and a new Antec Silent Case with Antec SmartPower 350W supply to put it in.  I moved the rest of the components over from the old system, including the DRU-800 drive, the AMD 2200+ CPU, the OCZ 512MB single stick, and the MSI GeForce 2.  The CPU and RAM are near-new, having been recently installed, and thoroughly burned-in.
    With the same Windows 98 SE and Nero 6 Ultra, everything is recongnized, and will burn with DMA off (and it took far too long troubleshooting just to discover that).  But with DMA on, Nero begins the write process, does the lead-in, and then immediatly gives a "drive not ready" error.
    Steps I've tried so far:  tried a new, 80-conductor cable.  Tried DVD-R/W drive as master and as slave, with and without the DVD-ROM drive, with proper jumper setting and cable positioning.  Updated Nero to the final Ultra 6 revision.  Updated the DVD-R/W drive firmware to latest.  Did a fresh install of Windows 98 SE, twice, once applying the MSI mainboard drivers and once not, afterward installing only Nero.  Went and bought a new DVD-R/W drive (LG 4167).  In every case, the results were exactly the same:  no go with DMA on, works (but unacceptably slow) with DMA off.  The two hard drives and the DVD-ROM drive appear to work properly with DMA on.  I downloaded the latest drivers from MSI, and they appear to be exactly the same as the ones on the CD which came with the mainboard.  [Though I bought the board new retail, it is after all an older model, but the CD must be fairly recent.]  It appears, though, that the mainboard drivers for Windows 98 SE do not include any IDE drivers (relying on MS IDE drivers?), only the XP MSI drivers include an IDE driver.
    With two DVD-R/W drives displaying exactly the same problem, I don't think it is the drives.  The system appears stable in all other regards, the temperatures are very good, and it just doesn't appear to be a CPU, RAM, or power-supply issue.  I suspect either a mainboard/chipset/driver issue, but haven't been able to get any nearer a solution.
    Any help would be greatly appreciated.  If any further information is needed, please ask.  For example, I can't say the exact revision of the mainboard, because it isn't shown on the MSI site!  MSI shows only two K7N2 Delta2 boards:  the Platinum, and the FSR.  My board is neither of those, though it is almost identical to the Platinum, the only differences being that the board itself is red in colour (like the FSR), rather than the Platinum's blue, and that it does not have firewire.  The board layout itself is exactly like the Platinum, including the chipset fan, connector placement, etc.
    EDIT:  Sorry for slight mis-information--the Delta2 board I have is not red in colour, I was thinking of my MSI 939 board (K8N Neo4 Platinum) which is red.  The K7N2 board is actually the colour of the Platinum, and in fact appears to be identical in every way except the missing firewire connectors and has only one Gb ethernet connector (if I've read the Platinum specs right, it has two).

    Quote from: Fredrik Åsenius on 14-January-06, 23:44:25
    Good work you got things going!   I was going to suggest a start disk, but wasn't sure of your intentions for XP.
    Thanks, Fredrik .
    Quote
    Did you ever manage to do a repair install of 98, as I asked in one of the first posts ever? I can't quite remember for 98, but for ME you find a folder C://Windows/Options/Install that contains the necessary files. But you would still need the 98-disk I believe to get the reg. code.
    No, sorry.  I did fresh installs of Windows 98 SE more than once, both with and without drivers, updates, IE, DirectX, etc.  With 98SE, I couldn't find an actual 'repair install' option.  I think one would just do a fresh install over top of the existing install, and am not sure how that would be any different than the installs I've already done, but I can try it if you like?
    Microsoft used to have an updated 98 Driver Library, but I can't find anywhere anymore to download it, so can't try that.
    Intentions?  Well, I just read in a MS Forum thread that MSI (or any?) nForce3/4 chipset boards, such as the K8N Neo4 Platinum I'll be building next, don't support Win9x, so I suppose I'll need to use XP for now.  But, my real intention is to move to Linux !
    EDIT:  You know, I was just reading, again in MS forums, that 9x does not support drives over 128GB.  You may have noticed that I have put a 160GB (decimal) drive on primary slave.  In the former system (again, 98SE on socket A board), that 160GB drive was on a Promise PCI IDE controller card with it's own BIOS, and with the Promise driver installed in 98SE.  This allows both 98SE, and even DOS 7.1, to see and use the full capacity of the drive, as a single partition, without problem; but, Windows Scandisk and Defrag don't work on it, of course.  But, I've got two PATA 160GB drives, going into two different systems, and only one controller card.  To make use of both large drives, I could A) buy another controller card, B) buy an available commercial 9x patch which does the same thing for 9x as the controller's driver, or C) just use XP for now, until getting moved over to Linux.  So I'm thinking that more or less settles it.  It's a real disappointment that the cause of the 98SE/nForce2 problem wasn't found, but I want to thank everyone for all the help you've given!   

  • Hello, I can not use my text field in PS cc. I can drag a text box, but when I write something in, I can't see the letters!

    Hello, I can not use my text field in PS cc. I can drag a text box, but when I write something in, I can't see the letters!

    Opacity at 100?
    Does the cursor move as you type?
    Reset the tool by right clicking here to see if that is the remedy.

  • VISA Write hangs after running OK for a while

    VISA Write function (VISA abc W) in my VI runs OK, with a Return Count of 4, for a while (100's to 1000's of times)  then it hangs.  The Return Count from this function is then 0.  The Error In and Error Out show no errors.  Clicking HIGHLIGHT EXECUTION shows the output wires from the VISA Write as colored grey, while everything else has normal color. 
    Clicking the VI red ABORT button, or any of the sub VIs red ABORT buttons, fails to abort or reset the VI even after 20 minutes.  Task Manager will stop LabVIEW, but then LabVIEW will not start up again without shutting down and restarting the computer.  Changing to a different Windows XP computer and a different PCI-GPIB, NI-488.2  board, as well as reinstalling LabVIEW 7.0, or using a different LabVIEW 7.0 serial number, has not solved the problem. 
    Thank you for your help.

    Thanks for your reply.  Attached is a PowerPoint file that shows info on our computer and LabView, and a For Loop
    (Slide 3) that runs the VIs addressing one of our instruments (Hart 1590 Super Thermometer).  Slide 4 shows the
    block diagram that is pretty much as downloaded from National Instruments.  The block diagrams for each of the
    colored sub VIs contains a sub VI having a VISA abc W function as shown in Slide 5.  The only places this VISA
    function hangs is in inside the While Loop, inside the yellow Meas. Status. VI or the blue Read Meas. VI.  The
    Meas. Status. VI sends "new", and  the Read Meas. VI sends "tem" to the Hart instrument. 
    Also attaced are the VIs for the Measurement Status and the Read Measurement.  In the course of trying to fix this
    problem I've added various time delays of 50, 100 msec, up to 1 sec, thinking that the Hart needed more time to
    respond before receiving another command; none of this improved the situation.  I added indicators and arrays to
    capture the last several strings that were input to the VISA function, but I saw nothing unusual.  All I've been
    able to determine is that the VISA abc W function hangs as described in my posted message. 
    Attachments:
    VISA Write Hang 9-15-05.zip ‏282 KB

  • I have an iPhone 4 and my lock button is jammed and I also can not touch anything on the left side of my screen well as any pop ups from the phone itself, so i can not get past the set up stage in reset process...how can i fix it/can it be fixed?

    I have an iPhone 4 and my lock button is jammed and I also can not touch anything on the left side of my screen well as any pop ups from the phone itself, so i can not get past the set up stage in reset process...how can i fix it/can it be fixed?

    Make an appointment at the genius bar and get the phone replaced.

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • TS1436 I received this message twice on 2 new & separate attempts to burn a playlist to a NEW cd:  "The attempt to burn a disc failed.  The burn failed because of a medium write error."  What is a "medium write error" and how can I deal with this?

    I received this message twice on 2 new & separate attempts to burn a playlist to a NEW cd:  "The attempt to burn a disc failed.  The burn failed because of a medium write error."  What is a "medium write error" and how can I deal with this?

    Hello Pat,
    The following article provides troublehsooting steps and information that can help get iTunes burning discs again.
    Can't burn a CD in iTunes for Windows
    http://support.apple.com/kb/TS1436
    Cheers,
    Allen

  • Apple support asked me to reset my settings to fix my iMessage issue, now the issue is that I can't get past the sync to iTunes message on my phone.  My phone is stuck in reset and I can't even use it!

    Apple support asked me to reset my settings to fix my iMessage issue and not my iPhone is stuck in reset mode.  It won't sync with my iTunes and it won't allow me to move past that reset screen to even use my phone.

    Anyone out there have this issue, I'd really love some help/guidance.
    Everytime I restart, force quit mail, restart in safe mode, and regular mode, when I reopen the Mail application, it goes right to the Upgrade Mail database screen and goes right back to the same spot it has been since I downloaded Mountain Lion and initislly opened the Mail app. It only goes to the Upgrade option, or can quit and Upgrade later. It is stuck in the middle of the Upgrade of my mail database...this blows!!!

  • Why cant i download from itunes to my mac  error message keeps telling is i dont ave write access? how can i can this?

    why cant i download from itunes to my mac  eror message keeps telling is i dont ave write access? how can i can this?

    Apparently cookies was turned off in Safari. I rarely use it so I have no idea how that happened. Anyway, turning them on seems to have cured the problem.

  • TS3274 My Ipad has a black background now and everything is color faded after the latest software update?  I restored and reset the Ipad.  How can this be fixed?

    My Ipad has a black background now and everything is color faded after the latest software update?  I restored and reset the Ipad.  How can this be fixed?

    How much data is being backed-up from each Mac?  (see what's shown for Estimated size of full backup under the exclusions box in Time Machine Prefs > Options).
    Is there any other data on your Time Capsule, besides the backups?
    Most likely, there just isn't room.  Time Machine may be trying to do a very large (or full) backup of one or both Macs, and can't.  Since it won't ever delete the most recent backup, there has to be enough room for one full backup plus whatever it's trying to back up now, plus 20% (for workspace).
    Also see #C4 in Time Machine - Troubleshooting for more details.

  • My Macbook Pro has become slow and sometimes it hangs. How can I make it work fast and normal.

    My Macbook Pro has become very slow and it sometimes hangs. How can I make it work faster and normal? I  used Etrecheck and got the report below;
    EtreCheck version: 1.9.12 (48)
    Report generated June 16, 2014 at 18:05:25 GMT+1
    Hardware Information:
        MacBook Pro (13-inch, Mid 2012) (Verified)
        MacBook Pro - model: MacBookPro9,2
        1 2.5 GHz Intel Core i5 CPU: 2 cores
        4 GB RAM
    Video Information:
        Intel HD Graphics 4000 - VRAM: (null)
            Color LCD 1280 x 800
    System Software:
        OS X 10.9.3 (13D65) - Uptime: 0 days 1:50:52
    Disk Information:
        APPLE HDD TOSHIBA MK5065GSXF disk0 : (500.11 GB)
            EFI (disk0s1) <not mounted>: 209.7 MB
            Machintosh HD (disk0s2) / [Startup]: 499.25 GB (465.33 GB free)
            Recovery HD (disk0s3) <not mounted>: 650 MB
        MATSHITADVD-R   UJ-8A8 
    USB Information:
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information:
        Apple Inc. thunderbolt_bus
    Gatekeeper:
        Mac App Store and identified developers
    Launch Daemons:
        [loaded]    com.adobe.fpsaud.plist Support
        [loaded]    com.microsoft.office.licensing.helper.plist Support
    User Login Items:
        iTunesHelper
        Dr.Web Light
        Dropbox
    Internet Plug-ins:
        SharePointBrowserPlugin: Version: 14.0.0 Support
        FlashPlayer-10.6: Version: 14.0.0.125 - SDK 10.6 Support
        Flash Player: Version: 14.0.0.125 - SDK 10.6 Support
        QuickTime Plugin: Version: 7.7.3
        Default Browser: Version: 537 - SDK 10.9
    Safari Extensions:
        iGetter Extension: Version: 2.9.2
    Audio Plug-ins:
        BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
        AirPlay: Version: 2.0 - SDK 10.9
        AppleAVBAudio: Version: 203.2 - SDK 10.9
        iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
        Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
        iGetter Plugin: Version: 2.9.2 Support
        iGetterScriptablePlugin: Version: 2.9.2 Support
    3rd Party Preference Panes:
        Flash Player  Support
    Time Machine:
        Time Machine not configured!
    Top Processes by CPU:
             4%    Dropbox
             3%    WindowServer
             0%    fontd
             0%    Microsoft Word
             0%    Microsoft Excel
    Top Processes by Memory:
        242 MB    drwebd
        176 MB    Dropbox
        147 MB    Dr.Web Light
        86 MB    WindowServer
        82 MB    App Store
    Virtual Memory Information:
        43 MB    Free RAM
        1.68 GB    Active RAM
        1.65 GB    Inactive RAM
        641 MB    Wired RAM
        421 MB    Page-ins
        0 B    Page-outs

    Meli070,
    uninstall Dr.Web Light.

  • Hi, how to load mac without running windows (bootcamp)? The problem is this: the last time i ran the windows, but he hangs and died (can not run further  the logo). now i can not load not windows, not maс! how to be, what to do???

    The problem is this: the last time i ran the windows, but he hangs and died (can not run further  the logo). now i can not load not windows, not maс! how to be, what to do???

    can any body help me, plz!!

  • Hi, I can not delete files Film / video from the desktop it wants my password I write but Ando I can not float to Trash

    Hi, I can not delete files Film / video from the desktop it wants my password I write but Ando I can not float to Trash

    This topic has a fix for that problem: Desktop to Trash Problem: "Finder wants...: Apple Support Communities
    OT

Maybe you are looking for

  • Sorting albums in Itunes

    How do I sort my albums of the same artist in years and not on the names. I'm using the Artist lookup as you can see below. It's dutch by the way.

  • Media start problem

    hi. have been capturing some tapes and half way thru FCP started losing timecode on finished clips - media start defaulted to 00:00:00:000. solved the problem now and is capturing fine (think it was because we were trying to capture over a network or

  • Error when downloading purchased music - help? :S

    Hi there! I've purchased music (read: I've been charged), but am having issues downloading it from the store into iTunes (on my computer) The error reads: There was a problem downloading (x song). Then below in lighter type - "The file seems to be co

  • Where is the little "F" box on the left before the address bar that allowed me to make quick posts to Facebook?

    Before this update I had a little box on the left in front of the address bar that allowed me to click it and get a quick post box pop up to Facebook from whatever page I was on, now it is gone and I cannot find it. I had to do a reset of Firefox bec

  • Two Data Controls, One UI

    JDev 11.1.1.6.0 BPM andrejusb.blogspot.com/2012_08_01_archive.html In the above link, andrejus has explained how to use a single UI for two human tasks. I have a similar use case with slightly different. I have to use the same UI with either of the t