[SOLVED] raid1 and luks/dm-crypt not working after upgrade

hello folks,
i just made a pacman -Syu, which also updated mdadm and cryptsetup (not the kernel). but after a reboot, the system didn't boot any more. after #'ing the cryptsetup-relevant lines in /etc/crypttab and /etc/fstab, the system booted again. after a check, i get those messages:
~ $ cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdd1[0] sde1[1]
390707641 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sdb1[0] sdc1[1]
1465134841 blocks super 1.2 [2/2] [UU]
unused devices: <none>
~ $ sudo cryptsetup luksOpen /dev/md0 data
Passwort:
Geben Sie den Passsatz für /dev/md0 ein:
semid 65537: semop failed for cookie 0xd4d2ffb: incorrect semaphore state
Failed to set a proper state for notification semaphore identified by cookie value 223162363 (0xd4d2ffb) to initialize waiting for incoming notifications.
what happened and how to fix it?
i didn't change anything. so it shouldn't be anything about modules or whatever.
EDIT: okay, it's not aboud the raid, but about the cryptsetup version. see below.
Last edited by _abraxas (2011-01-28 11:18:34)

SOLVED!
It works again with the new version of the device-mapper: 2.02.81 (no unknown semaphore state anymore).
But also the crypttab syntax has changed. After removing the options in crypttab, cryptsetup 1.2.0-1 works again.
Old crypttab file:
# NAME     SOURCE DEVICE     PASSWORD     OPTIONS
#home     /dev/sda4     ASK     -c aes-xts-plain -s 512
#data     /dev/md0     ASK     -c aes-xts-plain -s 512
New crypttab file:
# NAME     SOURCE DEVICE     PASSWORD     OPTIONS
home     /dev/sda4     ASK
data     /dev/md0     ASK
Have a look at https://bugs.archlinux.org/task/22351

Similar Messages

  • Mute button, low volume button and high volume button not working after upgrade to Win7 Pro

    Hi all, Im using X301. Previously it was shipped with the Vista Business. I was entitled for free upgrade to Win7 since the thinkpad was bought after 25th of June 09. The problem started after I successfully upgraded my Vista to Win7 Pro. My Mute/Unmute button was consistently in amber colour (signal for disabled). the volume button also is not working anymore. On the system side, everything was fine. the drivers is working properly.. the windows also is showing the volume is in a good shape. Unfortunately the button on the thinkpad is always on the disabled mode. Ive been searching for a related drivers that i could download and solve the issue. but till now all the softwares and drivers downloaded from lenovo could not solve my problem. any suggestion or comment is highly appreciated. thanks a million

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    When iOS 6.1 comes out I would update.

  • Wecam and USB mic input not working after upgrade to Lion

    The audio inputs (micraphones) all show up in Syetem Preferences but if I talk into the microfones (on USB soundcard/Trust Webcam) no levels are  being shown, I have tried clicking on eatch input it turh but n luck.
    I am getting the impresion Lion broke lots of audio atuff so dont hold up mutch hope for a solution (Except upgrading to Snow Leperd).
    Any ideas,
    Ben

    Beginning with Leopard, Mac OS X supports the so-called UVC web-cameras, you do not need any driver for them. I have just bought a small, pretty and cheap one, Logitech C110.
    My older Genius 1321 is unfortunately unusable from SL onwards, but works with Tiger and Leopard. It is not UVC, and drivers are not available any more.
    conclusion: if your camera is not UVC will not work via ‘plug-and-use’, you need an updated driver, check with the manufacturer. If they do not offer any, buy a UVC one, they are very cheap, but you do not need anything. The one I have just bought works fine, and also has internal mic.

  • TS1702 My app store, Apple ID, safari, and most other apps do not work after upgrading to iSO 6, How do i solve this problem?

    My app store, Apple ID, safari, and most other apps do not work after upgrading to iSO 6, How do i solve this problem? Can somebody help me please?

    The App store is a problem for many and I have not seen a solution.
    What is "wrong" with your Apple ID?
    Try the following:
    - A reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory settings/new iPod.

  • Security and privacy system preferences not working after Lion install.  What to do?

    Security and privacy system preference not working after Lion install.  Not sure if it happen with Lion installer or after updating. What to do?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” (without the quotes) and press return. You should then get a new line ending in a dollar sign.
    Step 1
    Copy or drag — do not type — the line below into the Terminal window, then press return:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.) You can omit the final line ending in “$”.
    Step 2
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'
    This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null
    Important: If you synchronize with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output.
    You can then quit Terminal.

  • HT4623 Anyone having trouble with App Store install and cloud store buttons not working after 6.1 update?

    Anyone having trouble with App Store install and cloud store buttons not working after 6.1 update? I go to install an app. I hit install and nothing happens. About a minute later it asks me for my password and then it does nothing. The install button goes back to saying install. However the app shows up in my installed list and in cloud but no app installed.

    OK - I found a helpful post - closed app store app and under Settings/General/Date and Time I reset the date and time by switching off "Set Automatically" and then switching it on again. Went back to App Store, launched it and Updatesseems to be working again.
    Go figure? Logical, No!

  • Myi iphone4  microphone not working and the home button not work after IOS6 updat

    Myi iphone4  microphone not working and the home button not work after IOS6 updat

    Did you try another restore and this time not to restore from a backup and see if that makes a difference? This is what Apple would tell you to do next based on my iphone 5 fiasco.
    Make sure all your data is available on your computer for manual syncing later.
    Since you did the hard reset I assume that means your home button isn't broken only that it got frozen before. Were you able to get the Apple logo after the reset? Did it boot?
    And you are using iTunes 10.7?
    I'm just trying to help get you going.

  • Internal speakers not working after upgrading to Maverics

    internal speakers not working after upgrading to Maverics

    There are many possible causes for this issue. Take each of the following steps that you haven't already tried.
    1. Start with the steps recommended in this support article. Don't skip any of the steps. It's the starting point for further efforts to solve the problem.
    2. Run Software Update and make sure you have a fully up-to-date installation of OS X.
    3. If you've installed an application called "Memory Clean" or any other third-party software that is supposed to "clean" or "purge" memory automatically, remove it according to the developer's instructions and restart. You should do that even if the software is not causing the problem, because it's useless.
    4. If you've installed a software equalizer called "Boom" or anything similar, update or delete it and restart.
    5. If an AirPlay device is selected for sound output from iTunes (or from other applications via third-party software such as "Airfoil"), deselect it.
    6. Launch the application "Audio MIDI Setup" by entering the first few letters of its name in a Spotlight search and selecting it in the results (it should be at the top.) Select the Output tab. If the Mute boxes are checked, uncheck them. Move the Volume sliders all the way to the right.
    7. If a red light is coming from the audio-out port, the internal switch is stuck in the position for digital output. You may be able to free it by inserting and removing a mini-stereo jack of the proper size. Inserting any kind of tool in the port may cause damage that won't be covered by your warranty.
    If there's no red light, the switch may still be stuck in the headphone position. Try to free it the same way.
    8. Disconnect all wired peripherals except keyboard and mouse, if applicable. If more than one display is connected, disconnect all extra ones. Restart and test.
    9. If you have a MacBook Air, turn off Bluetooth and restart.
    10. Start up in safe mode. Don't log in; just restart as usual when the login screen appears. When you do, make sure the words "Safe Boot" do not appear in the login screen. If they do, the system is still in safe mode and sound won't work.
    11. Reset the NVRAM.
    12. Reset the SMC.
    13. Reinstall OS X after backing up all data.
    14. Make a "Genius" appointment at an Apple Store.

  • Iphone 4 Home button not working after upgrade to OS 4.3.5

    Iphone 4 Home button not working after upgrade to OS 4.3.5.Please help!!!!!!!!

    It seems that settings of mail accounts have something to do with it. I've delete my gmail account and am now using Microsoft Exchange. It seems better, yet not perfect. The issue is definitely due to OS 4.3.1
    Apple answer is - no answer. It is a shame that the quality of their products, in terms of design and concept, is not match by a care for customers. It is not normal that I, as a customer, have to spend hours reading Apple Discussions forum to try to understand what the problem is. A little more respect for a customer that spend big $$$ buying their products wouldn't hurt.

  • File- Export not working after upgrade from 11i to R12

    Hi,
    File -> Export not working after upgrade from 11i to R12.1.3 in few systems. Can you please let me know what could be the issue.
    If export record count more than 200 it is working fine in all the systems and if change the profile option "Export MIME type” value to ‘text/tab-separated-values’ from application/excel also it is wokring.
    Thanks and Regards,
    Jagadeesha

    Enabled the FRD. Below are few last lines. Can you please let me know what i can in this log file contents.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing GET_ITEM_PROPERTY/FIELD_CHARACTERISTIC Built-in:
    In Argument 0 - Type: Integer Value: 196613
    In Argument 1 - Type: Number Value: 54
    Out Argument 0 - Type: String Value: 12
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Entering app_menu.set_prop.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing FIND_MENU_ITEM Built-in:
    In Argument 0 - Type: String Value: FILE.EXPORT
    Out Argument 0 - Type: Integer Value: 19
    Executing GET_MENU_ITEM_PROPERTY Built-in:
    In Argument 0 - Type: Integer Value: 19
    In Argument 1 - Type: Number Value: 79
    Out Argument 0 - Type: String Value: TRUE
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_menu.set_prop.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_synch.menu_toolbar_sync. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.APP_CUSTOM_MODE
    Out Argument 0 - Type: String Value: NORMAL
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.APP_CUSTOM_MODE
    Out Argument 0 - Type: String Value: NORMAL
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: NULL
    In Argument 1 - Type: String Value: GLOBAL.OUT
    Executing USER_EXIT Built-in:
    In Argument 0 - Type: String Value: FND GETPROFILE NAME="UPK_RECORDING_ENABLED" FIELD="GLOBAL.OUT" N
    FNDCPVCM, 11, Built-In, Entry, 316509814, USER_EXIT
    FNDCPVCM, 11, Built-In, Exit, 316509814, USER_EXIT
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.OUT
    Out Argument 0 - Type: String Value: N
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_form
    Out Argument 0 - Type: String Value: FNDCPVCM
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_block
    Out Argument 0 - Type: String Value: MASTER
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_form
    Out Argument 0 - Type: String Value: FNDCPVCM
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_block
    Out Argument 0 - Type: String Value: MASTER
    Executing GET_APPLICATION_PROPERTY Built-in:
    In Argument 0 - Type: Number Value: 75
    Out Argument 0 - Type: String Value: IHR40P
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed call_all_libraries. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_standard.event. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    FNDCPVCM, 10, Prog Unit, Exit, 316509814, /FNDCPVCM-3/P45_30_DEC_201223_28_33
    FNDCPVCM, 9, Trigger, Exit, 316509814, WHEN-NEW-ITEM-INSTANCE
    FNDCPVCM, 8, Prog Unit, Exit, 316509814, /DMU-4/P8_30_DEC_201223_23_12
    # 15 - FNDCPVCM:MASTER.USER_CONCURRENT_QUEUE_NAME.1359399301498413820
    WINDOW FNDCPVCM PROGRESS_INDICATOR RESIZE 4198 1500 3
    # 16 - FNDCPVCM:MASTER.USER_CONCURRENT_QUEUE_NAME.1359399301512613925
    WINDOW FNDCPVCM PROGRESS_INDICATOR RESIZE 4198 1500 3

  • Ipohone 4 hotspot not working after upgrading to ios7.1 ?

    my ipohone 4 hotspot not working after upgrading to ios7.1 but my some friends having iphone 4s its works fine and those having iphone 4 it's not working although we all have same operator and same operating system (i.e ios 7.1).I think this is problem only  with iphone 4 users with ios 7.1 , so apple plz fix it in ur next update.

    You don't like the answer?
    Again it's not a bug, use a supported carrier if you want Personal Hotspot.
    Read the list one more time, if carrier is not on the list, IOS7.1 patch the loophole.
    Message was edited by: ckuan

  • Web Service is not working after Upgrade SAP EHP6

    Hi ,
    Recently we upgraded SAP ECC 6.0 to EHP 6.
    We have a custom web service which is consumed in  .NET Application to get the Sold To from Sales Order.
    the service is working perfectly before upgrade and it is not working after upgrade to EHP6.
    When I tested the Service in WS Navigator in SAP, it is working fine.
    We raised a message to SAP and SAP analyze the Traces and confirm that the HTTP Request Header coming from .NET application is not having User ID and Password , so it is throwing exception from SAP as unauthorized.
    But in service it is configuration as basic authentication and log on using user id and password and .NET application is calling service by passing user ID & Password.
    Customer is not happy as it is working before Upgrade and SAP confirmed every thing fine in SAP, but the service is not working.
    we did the below steps.
    Regenerated the configuration
    Re imported the Certificates
    Activated the service in SICF.
    Please let me know if anybody have same problem or if any steps we are  missing.
    thanks.
    Uma

    after changing the .NET Application , Service is working fine.

  • IPhone 4's WIFI has been not working after upgraded to 6.1.3(10B329)

         My IPhone 4 was working fine with its WIFI when it is running in default IOS version, I believe it was 5.x.x version, however after I upgraded to 6.1.3(10B329) then WIFI got very aweired issues again and again.starting from then I never get my WIFI working again:
    1. Sometimes I can connect to my home's network and keep alive for 1-2 minutes then WIFI will not work on IPone, my home's router is not working either, I need to restart my home's router manually;
    2. I can connect to my office's network and keep alive 5-10 minutes then WIFI is not working, however my office router is not affected; however the following days then I can't connect WIFI to office's network any more.
    3. I tried to connect to other public area's free network via WIFI, however never joined in.
         I called Apple's service centre couple of times they have no clues, they said they never met this problem before for WIFI not working after upgraded to IOS 6.1.3 and no suggestions from them at all, every time I called them they gave me the same suggestion, such as restore-re-install, check your own router etc, nothing help, however my friend bought a brand new IPhone 4 with default IOS version 6.1.3 which is working perfectly without any issues on its WIFI then I believe this is a completely software issue.
         I know this is a general issue for Apple users and I refuse to upgrade to higher version as I am not sure the higher version can fix this issue however I am pretty sure the newer version of IOS did bring a lot of new bugs, anyone can provide me any suggestions guys ? THANKS A LOTTTTTTTT!!!!!!!!!!!!!!!!
    Terrence

    I have fixed this issue after upgraded my router's firmware finally, this is a completely compatibility issue between Apple and other third party manufactures, hopefully we can get compabitlity list for each future IOS version ahead of time which can potentially avoid such kind of embarrassing situations moving forward, thanks !

  • IMessage does not work after upgrade to iOS 8.1.3 to my iPad 4

    iMessage does not work after upgrade to iOS 8.1.3 on my iPad 4

    I Fixed it by trying to sign in with a different ID and canceling when it asked For a password and then signed in with my ID and it works! No more error message. I got this idea from another discussion. Thank you for replying though.

  • ZTE Mf190s Internet USB Modem not working after upgrading to Yosemite.

    ZTE Mf190s Internet USB Modem not working after upgrading to Yosemite. any salutation!!

    Follow these steps:
    go to system preferences.. Open Network..
    CONFIGURATION: DEFAULT
    TELEPHONE NUMBER : #99*
    leave account name and password columns blank
    Now go to ADVANCED
    IN MODEM MENU
    VENDOR : GENERIC
    MODEL : GPRS / 3G
    Press ok
    Then CONNECT.. Enjoy.

Maybe you are looking for