Jump to content

kkm

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by kkm

  1. Found 'bug' in s3sleep plugin - all my  systems won't shutdown with this plugin.

     

    change s3_sleep script

     

    from:

    system_down() {
      log "Shutdown system now"
    # Perform a 'clean' powerdown
    [b]powerdown[/b]
    }[/size]

     

    to:

    [b]  /usr/local/sbin/powerdown[/b]
    exit 0
    }

     

     

    And auto-shutdown is worked :)

     

     

     

  2. tested owncloud install 7 times in my 2 Unrsiad 6.1.7 servers today. All plugin settings by default. No luck - owncloud unreachable on port 8000.

     

    Only two files in  /mnt/user/appdata/owncloud

     

    server.key

    server.pem

     

    No configs, etc.

     

    logfile:

    No pre-existing certificate found, generating a new one with subject:

    /C=US/ST=CA/L=City/O=Organization/OU=Organization Unit/CN=yourhome.com

    ca-bundle.crt

    fix_config.php

    server.key

    server.pem

    Creating DH Parameters File

     

  3. Ok, here is long-awaited, short HOW-TO... reflash  IBM m1015, LSI 9240-8i, Intel RS2WC080 (SAS2008 SATAIII) controllers to IT-mode!!!

     

    First off, create a standard bootable DOS USB Flash Drive.

     

    Download and unpack tools from http://www.mediafire.com/?x1t5z0qyohnhopf  to USB flash root directory.

     

    System req: ONLY ONE LSI card in your system at reflash time!!!

     

     

    Boot from USB Flash Drive :)

     

     

    1. Save original sbr (serial boot rom) - i have only original IBM 1015 sbr file, another (intel/LSI) controller users, pls, upload and share

    your sbr files in this forum!

     

     

    Megarec -readsbr 0 backup.sbr

     

     

    2. Write clean sbr file to controller:

     

     

    megarec -writesbr 0 empty.bin

     

     

    3. Erase controller Flash (Yes, this is safe procedure)

     

    megarec -cleanflash 0

     

     

    4. Power cycle your system (yes, no boot-time bios screen appear, this is normal)

     

     

    5. Reflash controller to IT-mode.

     

    sas2flsh -o -f 2108it.bin -b mptsas2.rom

     

    6. Program SAS address in IT-mode:

     

    sas2flsh -o -sasadd 500605bxxxxxxxxx

     

    where "500605bxxxxxxxxx" SAS address from small green sticker on yor card, without "-"

     

    All done :)

     

     

    Pros: You have low-cost(65$ on ebay), fast, high-quality LSI 9210-8i Unraid 5.6a+ compatible controller. IT-mode ;)

     

    http://lsi.com/storage_home/products_home/host_bus_adapters/sas_hbas/internal/sas9210-8i/index.html

     

     

     

    Cons:

     

     

    1. No hdd spindown.

     

    Workaround:  

     

    add "hdparm -S242 /dev/sdX" in boot script and poweroff.sh (program spindown after wake-on)

     

     

    2. Hdd Temp/Smart att. do not show in Unmenu/Mymain

     

    Workaround: find and delete all strings

     

    "-d ata" from "smartctl -a -d ata" in unmain scripts

     

     

    ==============================================================

     

     

    It is possibly to re-flash controller back?

    Yes.

     

     

    Megarec -writesbr 0 m1015.bin

     

    Download LSI 9240-8i firmware from lsi site: http://lsi.com/storage_home/products_home/internal_raid/megaraid_sas/entry_line/megaraid_sas_9240-8i/index.html

    Extract imr_fw.rom file.

     

    MegaRec -m0flash 0 imr_fw.rom

     

    Power cycle your system

     

    Megacli -adpfacdefset -a0

     

    Rreboot

     

    Waaaaiiiittt (about ~3 min frosen boot-screen)

     

    All done!

     

    Edit, FAQ, etc. are welcome....

     

×
×
  • Create New...