[SOLVED] error with mkinitcpio during installation

Hi there
I am looking to install Arch after I broke a previous installation
I put this basic set of commands after reading the Installation Guide and I run it from in the live /root. 
#!/bin/bash
loadkeys uk
mkfs -t ext4 /dev/sda7
mkfs -t ext4 /dev/sda8
mkswap -f /dev/sda6
mkdir /mnt/root
mkdir /mnt/home
mount /dev/sda7 /mnt/root
mount /dev/sda8 /mnt/home
pacstrap /mnt/root base base-devel
genfstab -p /mnt >> /mnt/root/etc/fstab
arch-chroot /mnt
ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
nano /etc/locale.conf
locale-gen
mkinitcpio -p linux
passwd root
If I run this script, there's some kind of problem with mkinitcpio and /boot is empty. It worked a month or so ago - maybe it's content in the new .iso? A misplaced /mnt or /mnt/root?
Any ideas? I've never failed to install distro properly and am a bit confused!
Thanks in advance
EDIT
I changed the script to this
loadkeys uk
cfdisk
mkfs -t ext4 /dev/sda7
mkfs -t ext4 /dev/sda8
mkswap -f /dev/sda6
mkdir /mnt/root
mkdir /mnt/home
mkdir /mnt/storage
mount /dev/sda7 /mnt/root
mount /dev/sda8 /mnt/home
mount /dev/sdb1 /mnt/storage
pacstrap /mnt/root base base-devel
genfstab -p /mnt/root >> /mnt/root/etc/fstab
arch-chroot /mnt/root
ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
nano /etc/locale.conf
locale-gen
mkinitcpio -p linux
passwd root
exit
will see if that helps
Last edited by Bazzaah (2013-03-18 19:26:29)

Bazzaah wrote:
Great, thanks for your help, much appreciated.
I do indeed have a functional system (basic of course) but what concerns me is that I get a not found error after mkinitcpio - the system boots so the kernel and initrd must be there...still that error message worries me a bit.
About that error, you need to post it, if you want help!
Edit: If you are running those commands in a file, make it look like this:
loadkeys uk
cfdisk
mkfs.ext4 /dev/sda7
mkfs.ext4 /dev/sda8
mkswap -f /dev/sda6
mkdir /mnt/root
mkdir /mnt/root/home
mkdir /mnt/root/storage
mount /dev/sda7 /mnt/root
mount /dev/sda8 /mnt/root/home
mount /dev/sdb1 /mnt/root/storage
pacstrap /mnt/root base base-devel
genfstab -U -p /mnt/root > /mnt/root/etc/fstab
arch-chroot /mnt/root /bin/bash -c "ln -s /usr/share/zoneinfo/Europe/London /etc/localtime"
arch-chroot /mnt/root /bin/bash -c "nano /etc/locale.conf"
arch-chroot /mnt/root /bin/bash -c "locale-gen"
arch-chroot /mnt/root /bin/bash -c "mkinitcpio -p linux"
arch-chroot /mnt/root /bin/bash -c "passwd root"
The lines with "arch-chroot /mnt/root /bin/bash -c" are needed to run those inside the chroot environment, or else they will run in your live system, instead of making changes to your created system.
Last edited by s1ln7m4s7r (2013-03-18 17:46:26)

Similar Messages

  • What do I do with error code 1935 during installation?

    What do I do with error code 1935 during installation?

    Error 1935 : Acrobat Help / Error 1935 | Install | Acrobat, Reader | Windows: http://helpx.adobe.com/acrobat/kb/error-1935-install-acrobat-reader.html
    Assembly component Microsoft.VC80.CRT | Install | CS4, CS5, CS5.5 products | Windows  : http://helpx.adobe.com/creative-suite/kb/error-1935-assembly-component-microsoft.html

  • Error in ECC6 During installation

    Dear all
    Error in ECC6 During installation , the following contents is get from sapnst_dev.log
    148556:  if ( componentToBeCalled == 'NW_Usage_Types_Configuration_BI_ind_ind_ind_ind') 
    148557: 
    148560:  if ( componentToBeCalled == 'NW_Call_Offline_CTC_ind_ind_ind_ind') 
    148561: 
    148564: }
    ERROR      2008-06-27 07:43:37 [iaxxejsbas.cpp:178]
               EJS_ErrorReporter
    FJS-00003  TypeError: spStringRE.exec(labelString) has no properties (in script NW_Onehost|ind|ind|ind|ind, line 63483: ???)
    ERROR      2008-06-27 07:43:37
    FCO-00011  The step validateContent with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|4|0|SAP_Software_Features_GetContent|ind|ind|ind|ind|0|0|validateContent was executed with status ERROR .
    TRACE     
    <html><head></head><body><p>An error occurred while processing service <b>SAP ERP 2005 Support Release 2 > SAP Systems > Oracle > Central System > Central System Installation</b>. You may now</p><ul> <li>press <I>Retry</I> to repeat the current step.</li> <li>press the <I>View Log</I> button to get more information about the error.</li> <li>stop the task and continue with it later.</li></ul><p>Log files are written to <b>C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS</b>.</p></body></html>
    TRACE      [iaxxgenimp.cpp:1155]
               showDialog()
    waiting for an answer from gui
    INFO       2008-06-27 07:45:05 [iaxxgenimp.cpp:782]
               showDialog()
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|4|0|SAP_Software_Features_GetContent|ind|ind|ind|ind|0|0|validateContent".

    Up !?

  • Error with itunes 7 installation

    When I try and install the newest itunes an error comes up during installation. It reads, "Error 1921. Service Ipod. Service could not be stopped. Verify that you have sufficient privileges to stop system services."
    I am trying to sync my new ipod with itunes. When I open itunes it says my ipod is not properly synched. That is why I am trying to download the newest itunes in the first place. Please help.

    Just found a work around. Disabling the Windows Firewall lets me install itunes 7.1.
    cfelix

  • How To solve the error FJS 0012 during installation IDES4.7

    Hi,
    I got an error FJS00012 during installation of  IDES4.7. How to solve the problem? is there any way to solve the problem..... please suggest me.... and send a mail to [email protected]..
    regards
    Sankar

    Please post the relevant parts of the logfile, I don'T think, someone here knows all the error messages out of his head..
    Markus

  • Error with DB instance installation on SQL Cluster environment

    Dear Experts,
    We have an issue with UAT installation of ECC 6.0 on  the following environment
    MSSQL :
    Microsoft SQL Server Management Studio                              10.0.4064.0
    Microsoft Analysis Services Client Tools                              10.0.4064.0
    Microsoft Data Access Components (MDAC)                              6.1.7601.17514
    Microsoft MSXML                              3.0 6.0
    Microsoft Internet Explorer                              8.0.7601.17514
    Microsoft .NET Framework                              2.0.50727.5446
    Operating System                              6.1.7601
    OS :
    Microsoft Windows 2008  SR2
    While running the DB instance installation with Distributed setup, we are facing the following issue during the step "Grant database access for account usm" . SAPINST is run from the central instance to install the DB instance on a separate server. (Both the servers are on the same domain). The IDs SIDADM, SAPServiceSID exists in the DB with sysadmin permissions.
    SAPINST logs is as follows
    INFO 2011-11-28 20:24:52.263
    Creating file C:Program Filessapinst_instdirx.
    INFO 2011-11-28 20:24:52.263
    Removing file C:Program Filessapinst_instdirx.
    INFO 2011-11-28 20:25:08.169
    Creating file C:Program Filessapinst_instdirERPEhP4AS-ABAPMSSDISTRIBUTEDDBx.
    INFO 2011-11-28 20:25:08.169
    Removing file C:Program Filessapinst_instdirERPEhP4AS-ABAPMSSDISTRIBUTEDDBx.
    INFO 2011-11-28 20:25:11.326
    Creating file C:Program Filessapinst_instdirx.
    INFO 2011-11-28 20:25:11.326
    Removing file C:Program Filessapinst_instdirx.
    INFO 2011-11-28 20:25:12.201
    Copied file 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/statistic.xml' to 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/statistic.45.xml'.
    INFO 2011-11-28 20:25:12.576
    Copied file 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/statistic.xml' to 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/statistic.46.xml'.
    WARNING 2011-11-28 20:25:14.138
    Unable to get information about path
    LABEL.ASC using GetVolumeInformation. Operating system error message: The specified path is invalid.
    WARNING 2011-11-28 20:25:14.935
    Host name has been overridden. Using host name 'eccuatad1' which might not be the real host name.
    INFO 2011-11-28 20:25:14.935
    Copied file 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/inifile.15.xml'.
    INFO 2011-11-28 20:25:15.44
    Execute step
    Component  W2K_ServicePack_Check|ind|ind|ind|ind
    Preprocess  of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0
    INFO 2011-11-28 20:25:20.513
    Copied file 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/keydb.xml' to 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/keydb.15.xml'.
    INFO 2011-11-28 20:25:20.607
    Copied file 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/statistic.xml' to 'C:/Program Files/sapinst_instdir/ERPEhP4/AS-ABAP/MSS/DISTRIBUTED/DB/statistic.47.xml'.
    INFO 2011-11-28 20:25:20.638
    Execute step doGrantServiceRights of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssOsUser|ind|ind|ind|ind|11|0
    ERROR 2011-11-28 20:25:20.857
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'SyWinGetSecurityDescriptor' function, line (1296), with parameter (Error in getting security descriptor for 'MSSQL$U001' NT service).
    ERROR 2011-11-28 20:25:20.873
    MUT-03025  Caught ESyException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2011-11-28 20:25:20.873
    FCO-00011  The step doGrantServiceRights with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssOsUser|ind|ind|ind|ind|11|0|doGrantServiceRights was executed with status ERROR ( Last error reported by the step :Caught ESyException in Modulecall: ESAPinstException: error text undefined.).
    Could you please let us know any resolution for this. Thank You

    Vincent,
    Thanks for the reply. Still I am not clear on how to use the STM tools in my scenario. I had issues with the domain installation with distributed in a cluster. Working with SAP and got a reply today saying that SAPINST will be modified.
    Krishna

  • Error code 50 during installation

    I keep getting error code 50 during my CC desktop update installation. What do I need to do?

    Error 50 https://forums.adobe.com/thread/1432237 may help
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Error with jd11. Installer to old.

    I can’t install the newest version of jd11 the installer has an error informing me the installer is old and I need an up-to-date version. I don’t know where to download a newer vision of oracle installer.
    I thought it down loaded the newest version of the installer when the software was downloaded is this not the case?
    Thanks
    Neil

    Hi,
    To configure NetWeaver Process Integration versus a central SLD, manual configuration steps are required. Please press again 'install' to execute the remaining configuration steps 9-21 and perform the required steps manually. Please see the referenced note 939592 how to do this
    Reward points for useful answers.
    Regards,
    Phani

  • Error (MUT-02041) during Installation of Enterprise Portal 6.0

    Hi,
    I have got a serious problem during the installation of SAP EP 6.0.
    <b>Background Information:</b>
    I succesfully installed Netweaver '04 Web AS Java 6.40 system. Operating System is Red Hat Enterprise Linux 3. SAP Database is MaxDB 7.50.
    <b>Problem Description:</b>
    During step 2 (Deploy JDBC Libraries) of the portal installation process the installation routine stops with error code MUT - 02041.
    <b>Complete Error Message:</b>
    MUT-02041 SDM call of deploySdaList ends with returncode 4. See output of logfile /tmp/sapinst_instdir/NW04SR1/EP/EP/callSdmViaSapist.log.
    <b>Output of Logfile:</b>
    Error: Aborted: development component 'com.sapportal.datadirect'/'sap.com'/'SAP AG'/'609.20041012102246.0000':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: Error: Cannot connect to HOST: [CG-DEV-SERVER] with user name: [Administrator]
    Check your login information.
    Exception is: com.sap.engine.services.jndi.persistent.exception.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: User not authorized.]
    Error: -
    At least one of the Deployments failed -
    <b>What I tried do solve the problem:</b>
    I used the Visual Administrator tool to check the user "Administrator". (I used the user "Administrator" to connect to the J2EE Engine - localhost, port 50004).
    Administrator is not locked, is member of group Administrators, member of group Authenticed Users, member of group Everyone, is valid until year 2500 and has 80 succesful logon counts.
    The user looks fine to me. I do not know what else I could check to solve the problem. Anything I forgot to check? I am grateful for any kind of help (pointer to docs, advise, step by step solution).
    Cheers Martin
    Message was edited by: Martin Kellermann

    Hi,
    here an uodate of the progress I am making to solve the problem described above.
    Due to the output of the logfile (User not authorized), I think the "Administration" user does not have enough rights to perform the required actions needed for the installation.
    Well, I looked it up (Visual Administrator --> Cluster --> Server 0 ... --> Services --> Security Provider -->Runtime --> Policy Configurations --> "service.naming" in "Components" List --> Security Roles).
    According to http://help.sap.com/saphelp_webas630/helpdata/en/de/83343ecc7f892ee10000000a114084/frameset.htm, all users and groups that are granted permission "jndi_all_operations"  can perform all operations available in the naming system.
    I checked and found out that jndi_all_operations is merely a role reference to security role "administrators". Group "Administrators" is assigend to security role "administrator". As I mention before, user "Administrator" is member of group "Administrators". I think user "Administrator" has been granted all required permissions.
    Am I wrong, what else could cause such an error message! Need some guideance.
    Martin

  • Problem with Oracle during installation of NW

    Hi all,
    I have to install SAP NW on one host(for example IP 192.168.2.2) with the Oracle being installed on different host(for example 192.168.2.3) but the installation od database instance fails. Installator can not connect to Oracle on different host. Could you pls help me with configuration of Oracle to be accessible by SAP NW installator. I think that it is the problem, because setting up SAP NW installator is clear and easy. Both hosts are running on Windows.
    Thanks Gary

    Hi Pascal,
    finally forum is up
    part of the log is
    ERROR 2005-07-11 17:54:55
    FKD-00034  Query returned more than one result.
    ERROR 2005-07-11 17:54:55
    FKD-00035  Query did not return a result. Select attribute WHERE WapsSystemName  =  getContextParameter ('WapsSystemName'  )  AND WapsInstanceType  =  'DB' , statement: <#1>
    ERROR 2005-07-11 17:54:55
    FKD-00029  Subselect for table t_SAPComponent_Waps_Instance_SHARED, column WapsInstanceOSFAName with WHERE clause WHERE WapsSystemName  =  getContextParameter ('WapsSystemName'  )  AND WapsInstanceType  =  'DB'  failed.
    ERROR 2005-07-11 17:54:55
    MUT-02010  Internal error: Access to key db failed. Original message: Subselect to table >t_SAPComponent_Waps_Instance_SHARED< column name >WapsInstanceOSFAName< using where clause >WHERE WapsSystemName  =  getContextParameter ('WapsSystemName'  )  AND WapsInstanceType  =  'DB' < ends with an exception. ExceptionText :single select returns more than on row .
    WARNING 2005-07-11 17:54:55
    The step dialogGetCommonParams with step key SAPSYSTEM_DB|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseSystem|ind|ind|ora|ind|ind|0|DatabaseCommonParameters|ind|ind|ora|ind|ind|0|dialogGetCommonParams was executed with status ERROR.
    I am not experienced in oracle configuration, so it is possible that the problem is with the litener.
    If you have any idea, please let me know. Thanks
    Gary

  • [SOLVED]Error with xf86-video-ati 6.12.99.git20091221-1 + mesa-7.6.1-1

    Upgrade mesa (7.6-2 -> 7.6.1-1), libgl (7.6-2 -> 7.6.1-1), libgl (7.6-2 -> 7.6.1-1) and ati-dri (7.6-2 -> 7.6.1-1) from testing broke my resolution in KDE - X start only with vesa driver.
    I don't use xorg.conf, kernel is kernel26 2.6.32.2-1 from testing, KMS disabled (don't work with this kernel)
    /var/log/Xorg.0.log:
    (II) LoadModule: "radeon"
    (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
    dlopen: libdrm_radeon.so.1: cannot open shared object file: No such file or directory
    (EE) Failed to load /usr/lib/xorg/modules/drivers/radeon_drv.so
    (II) UnloadModule: "radeon"
    (EE) Failed to load module "radeon" (loader failed, 7)
    (II) LoadModule: "vesa"
    Compiling xf86-video-ati-git (20091223-1) solve this problem
    Last edited by Tapan (2009-12-23 14:19:23)

    I have kernel 2.6.31-ARCH, nothing testing repository but in my
    grep EE /var/log/Xorg.0.log
    Current Operating System: Linux skynet 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:01:40 CET 2009 x86_64
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (II) Loading extension MIT-SCREEN-SAVER
    (EE) Failed to load module "fbdev" (module does not exist, 0)
    (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
    (EE) Microsoft Comfort Curve Keyboard 2000: failed to initialize for relative axes.
    and, for example, switch for different desktop is very slow. Also maximized windows is very slow (I'm using xfce with compositing)

  • Windows 7 error code 0x80070570 during installation.

    Hi there. I currently tried to reinstall my OS, so I did. I finish the expanding files part, but then I get the error message. I've looked at other posts, but I can't understand a word you guys say. Im not smart in computer so yea. I see a soultion that
    helps many, but it requires me to enter the BIOS. I know what that is, but I dont even know the password! Please respond to this A.S.A.P. Thanks

    I have a Dell Vostro 230. I had to reformat the machine. My main issue is that the I receive this exact error when trying to install Windows 7 64 bit. The machine has 4 GB of RAM and a 250 GB hard drive. Whenever I try to install I am able to create the
    partitions that I need and then clikc on the Install button. Only problem is that I keep getting the 0x80070570 error after about 3 minutes of the installer trying to install. I can never get beyond this point. I highly doubt that the issue is with the media
    because I have tried installing over the network, installing from a burned DVD, a bootable USB, and I even downloaded and burned the ISO on a new DVD. I have found some stuff out there that points the finger at Dell. Does anyone out there know about this issue
    and if so do you know how to resolve it. At the very minimum I ma looking for at least direction on how to find a solution for this problem.

  • [SOLVED] errors with fdisk and cryptsetup; is my drive going bad?

    I'm having issues with re-formatting an external hard drive using dm-crypt. It was previously formatted with TrueCrypt/NTFS, which I used as a shared backup drive between Windows and Arch. At some point, it stopped being able to mount, which I attributed to allowing Windows to "fix" it after improper dismount (e.g. a hard kill).
    I decided to re-format with ext4 and only use it from Arch, but now I'm wondering if I may have a hardware issue with the drive. I've tried a lot more (like going through the full zero write after mounting the drive as a temporary dm-crypt device), but here's the condensed version to illustrate the problem.
    system info
    This is on a fresh boot. Just adding that as I've had issues with kernel modules after updating if a new kernel comes through. A fresh boot removes that potential issue.
    $ uname -a
    Linux arch_840 4.0.3-1-ARCH #1 SMP PREEMPT Wed May 13 15:38:47 CEST 2015 x86_64 GNU/Linux
    $ lsmod | grep dm_
    dm_crypt 28672 2
    dm_mod 98304 5 dm_crypt
    $ lsmod |grep xts
    xts 16384 2 serpent_sse2_x86_64,twofish_x86_64_3way
    gf128mul 16384 2 lrw,xts
    smartctl status
    Figured I should check the drive. There's a lot of old age and pre-fail warnings, but this post would seem to suggest I'm okay?
    # smartctl -A /dev/sdb
    smartctl 6.3 2014-07-26 r3976 [x86_64-linux-4.0.3-1-ARCH] (local build)
    Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF READ SMART DATA SECTION ===
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 0
    2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
    3 Spin_Up_Time 0x0023 090 089 025 Pre-fail Always - 3330
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 703
    5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
    7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
    8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
    9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 3707
    10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
    11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 734
    191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 17
    192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
    194 Temperature_Celsius 0x0002 064 053 000 Old_age Always - 24 (Min/Max 16/47)
    195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
    196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
    200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
    223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    225 Load_Cycle_Count 0x0032 079 079 000 Old_age Always - 214068
    Disk info, delete existing partition, new MBR, create new partition
    # fdisk /dev/sdb
    Welcome to fdisk (util-linux 2.26.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.
    Command (m for help): p
    Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x76d37b6d
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 63 976768064 976768002 465.8G 83 Linux
    Command (m for help): d
    Selected partition 1
    Partition 1 has been deleted.
    Command (m for help): o
    Created a new DOS disklabel with disk identifier 0x2cd60f13.
    Command (m for help): n
    Partition type
    p primary (0 primary, 0 extended, 4 free)
    e extended (container for logical partitions)
    Select (default p): p
    Partition number (1-4, default 1):
    First sector (2048-976773167, default 2048):
    Last sector, +sectors or +size{K,M,G,T,P} (2048-976773167, default 976773167):
    Created a new partition 1 of type 'Linux' and of size 465.8 GiB.
    Command (m for help): w
    The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Syncing disks.
    trying to format with cryptsetup
    I had a bunch of custom options, but other Arch posts suggested just trying the default, which is what I've done here. It fails with the same error as when I try to pass a cipher, key size, etc. ("Command failed with code 5: IO error while encrypting keyslot.").
    # truecrypt -v --debug luksFormat /dev/sdb1
    bash: truecrypt: command not found
    [root@arch_840 jwhendy]# cryptsetup -v --debug luksFormat /dev/sdb1
    # cryptsetup 1.6.6 processing "cryptsetup -v --debug luksFormat /dev/sdb1"
    # Running command luksFormat.
    # Locking memory.
    # Installing SIGINT/SIGTERM handler.
    # Unblocking interruption on signal.
    WARNING!
    ========
    This will overwrite data on /dev/sdb1 irrevocably.
    Are you sure? (Type uppercase yes): YES
    # Allocating crypt device /dev/sdb1 context.
    # Trying to open and read device /dev/sdb1.
    # Initialising device-mapper backend library.
    # Timeout set to 0 miliseconds.
    # Iteration time set to 1000 miliseconds.
    # Interactive passphrase entry requested.
    Enter passphrase:
    Verify passphrase:
    # Formatting device /dev/sdb1 as type LUKS1.
    # Crypto backend (gcrypt 1.6.3) initialized.
    # Detected kernel Linux 4.0.3-1-ARCH x86_64.
    # Topology: IO (512/0), offset = 0; Required alignment is 1048576 bytes.
    # Checking if cipher aes-xts-plain64 is usable.
    # Using userspace crypto wrapper to access keyslot area.
    # Generating LUKS header version 1 using hash sha1, aes, xts-plain64, MK 32 bytes
    # KDF pbkdf2, hash sha1: 996745 iterations per second.
    # Data offset 4096, UUID 181fed4d-42f2-4f0f-8b70-cb7ba459e25f, digest iterations 121625
    # Updating LUKS header of size 1024 on device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Reading LUKS header of size 1024 from device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Adding new keyslot -1 using volume key.
    # Calculating data for key slot 0
    # KDF pbkdf2, hash sha1: 1008246 iterations per second.
    # Key slot 0 use 492307 password iterations.
    # Using hash sha1 for AF in key slot 0, 4000 stripes
    # Updating key slot 0 [0x1000] area.
    # Using userspace crypto wrapper to access keyslot area.
    IO error while encrypting keyslot.
    # Releasing crypt device /dev/sdb1 context.
    # Releasing device-mapper backend.
    # Unlocking memory.
    Command failed with code 5: IO error while encrypting keyslot.
    Things also tend to hang with respect to the drive at this point. For example, fdisk -l spits out /dev/sda partitions immediately and then just hangs instead of printing out /dev/sdb info, then eventually quits (without ever writing it).
    Any suggestions on where to look/how to troubleshoot? I found some possibly related posts, but nothing that looks promising:
    - Impossible to crypt the drive using cryptsetup (fixed by rebooting)
    - cryptsetup fails to open Udev cookie 0xd4d94f5 (semid 0) waiting for z (no responses; the hang after seems similar)
    There's a couple odds and ends references to cryptsetup 1.6.6 having issues. I downloaded 1.6.4-1 and 1.6.5-1 and -2 from ARM to try, but wanted to post this in the meantime in case something stuck out.
    Last edited by jwhendy (2015-05-29 16:01:40)

    @qinohe I thought of that and the other day started formatting with mkfs.ext4; unfortunately, it was at work and I had to leave before I could let it finish. It had been chugging along a good few hours, and I was surprised it would take that long. I was able to format it with ext4 using Windows 7 (I dual boot) with the MiniTool Partition Wizard but I didn't use it like that before trying to solve the cryptsetup issue again.
    This last time around, I was getting unresponsive behavior. I think I need to reboot each time I try something with cryptsetup, as any commands related to that drive seem to hang afterwards (fdisk, umount, eject, mkfs, or trying crypsetup again). Perhaps I'll just let it cook overnight with mkfs and see if I can at least have an unencrypted, but functional drive.
    One interesting tidbit is that even though cryptsetup fails, when I've tried to issue mkfs afterward, it asks me to confirm that I want to format the disk since it has a LUKS header... so something appears to have been written. Is it possible the header is causing some issues? I don't know much about the structure of a disk (like what range the MBR resides in, what constitutes a header, etc.) but have been wondering if there's some way to start really, really clean with the disk. Like I'd just bought it -- something appears to be lingering around from previous efforts?
    @frostschutz I'll check tomorrow. That's a good question. Just checked journalctl and here are some of the errors that appear; unfortunately, I wasn't watching so I can't tell you what matches up with what command:
    May 23 09:32:22 arch_840 systemd-udevd[7784]: inotify_add_watch(7, /dev/sdb1, 10) failed: No such file or directory
    May 23 09:32:22 arch_840 kernel: usb 3-4: stat urb: status -108
    ### there's lots like this; like 10 in a row with various sector values listed
    May 23 09:32:19 arch_840 kernel: Buffer I/O error on dev sdb1, logical block 61341696, lost async page write
    May 23 09:32:19 arch_840 kernel: blk_update_request: I/O error, dev sdb, sector 490735616
    ### there's also a bunch like this, from tab #0 -> #29 (not colored red, so not sure they're errors?)
    May 23 09:32:19 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 CDB: opcode=0x2a 2a 00 1d 07 bc 10 00 04 00 00
    May 23 09:32:18 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
    I paged down quite a ways and those seem like the unique messages when I search the journal for "sdb". Anything stand out? I will say that the same sector numbers appeared in multiple blocks of the third error type listed, so that makes me wonder if something is genuinely wrong with the disk. I'll post the output of the full smartctl scan when I hopefully run it tomorrow.
    Thanks for chiming in!

  • Error in Phase during installation Solution Manager 7.1

    Dear all,
    when I want to install the Solution Manager 7.1 it comes an error during a installation phase.
    The log of the error (JAVA) is:
    ConfigMainExt state200
    TYPE=A<BR>STATE=<BR>INFO_SHORT=com.sap.security.core.server.destinations.api.DestinationException: com.sap.security.core.server.destinations.api.DestinationException: [destination_0000] No such destination of type WebService exists.
         at com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestinationNames(DestinationServiceImpl.java:278)
         at com.sap.ctc.util.DestinationConfig.maintainDestination(DestinationConfig.java:122)
         at com.sap.ctc.util.DestinationConfig.maintainWebServiceDestination(DestinationConfig.java:93)
         at com.sap.ctc.util.DestinationConfig.performFunction(DestinationConfig.java:50)
         at com.sap.ctc.util.ConfigServlet.doGet(ConfigServlet.java:74)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    //   => Maintaining Destination Service: sap.com/tcwdpdfobject/com.sap.tc.webdynpro.adsproxy.AdsProxy/ConfigPort_Document
    ERROR: Destination Service not available! // No such destination of type WebService exists.
    <BR>CONFIGURATION=
    Can anyone tell me what it is?

    Hello,
    What phase of the installation does this error occur?
    Is it failing to start the Java Engine?
    The reason I ask is the JVM will fail until you have set the java parameters, and you can't do that until the j2ee/configtools directory is created and you can run configtools, and that doesn't happen untilt eh start of the JVM phase, and then it always fails because the MAXHEAP is set too low by default and other parameters need setting. Then when the Install is re-started it can start the JVM and continue.
    This is not mentioned in the install guide. However if you are failing in another step, you would need to mention what step.
    You need to name the log you are showing the error, because it may or may not be the right log to look at, or it may be an error, but is not the cause. So if my guess is not right, please specify the phase name it fails and the log you reference, because there may be other logs that have better information as to why it failed. One you should check is dev_server0, in work.
    Regards,
    Paul

  • [Partially Solved] Error with bsdtar and symbolic links

    I'm trying to install a package (asymptote) from AUR but am running into an odd error.  During the extract phase I get errors like
    asymptote-1.70/base/asy-keywords.el: Can't update time for asymptote-1.70/base/asy-keywords.el: Function not implemented
    bsdtar: Error exit delayed from previous errors.
    I found a post that may help: http://bbs.archlinux.org/viewtopic.php?id=50750.  Do I really have to do this?
    By the way, I too am running on a Linode (Xen virtualization).
    Thanks,
    Luis
    Last edited by banbh (2009-05-24 00:22:13)

    I have not got to the bottom of my problems with bsdtar and symlinks.  I suspect it must have something to do with either my configuration (derived from the Arch image provided by Linode) or running under virtualisation.
    However, others might find my work-around useful, so I document it below.
    I downloaded asymptote from AUR using wget ("wget http://aur.archlinux.org/packages/asymptote/asymptote.tar.gz"), unpacked it, then patched the PKGBUILD
    $ diff -u PKGBUILD.orig PKGBUILD
    --- PKGBUILD.orig 2009-05-23 17:58:47.000000000 -0400
    +++ PKGBUILD 2009-05-23 18:00:49.000000000 -0400
    @@ -11,9 +11,12 @@
    'used if present at compile time: freeglut, gsl, fftw')
    source=(http://downloads.sourceforge.net/sourceforge/asymptote/$pkgname-$pkgver.src.tgz)
    md5sums=('1ded335bc63b662a6eb920a4c065706c')
    +noextract=($pkgname-$pkgver.src.tgz)
    build() {
    - cd $srcdir/$pkgname-$pkgver
    + cd $srcdir
    + tar xzf $pkgname-$pkgver.src.tgz
    + cd $pkgname-$pkgver
    ./configure --enable-gc=/usr --prefix=/usr \
    --with-latex=/usr/share/texmf/tex/latex || return 1
    make asy || return 1
    After that I simply did a "makepkg" followed by "sudo pacman -U asymptote-1.73-1-i686.pkg.tar.gz"

Maybe you are looking for

  • How to improve performance when there are many TextBlocks in ItemsControl items?

       Hi,    I'm trying to find a way to improve performance for a situation when there is an ItemsControl using UI and Data virtualization and each item on that control has 36 TextBlocks. Basically the item is a single string. There are so many TextBlo

  • Low Broadband speed = line fault?

    Hi, We have had a very slow download speed since the high winds started last week (live in a rural area about 1 mile from exchange). I have run through the BT Broadband speed wizard & not improved the speed. ADSL Speedtest results are: Download speed

  • Cannot log into OBIEE answers and Dashboard

    Hi All, When we try to loginto OBIEE dashboard as an administrator we get an error as given below Error Codes: WH4KCFW6:OPR4ONWY:U9IM8TAC Odbc driver returned an error (SQLDriverConnectW). State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSEr

  • Program downloaded but not working

    My new downloaded version of Photoshop SC5 refuses to work.  I get a message saying that the program is incomplete or damaged. How do I solve this problem? JPP

  • Enforce best practices, rules on SSAS OLAP

    Hello, I am coming up a list of rules for creation of OLAP cubes.. like naming convention of cubes, measures, dimensions, sorting of certain columns, etc. I am trying to find a tool that would enforce these rules. I mean, when a developer is creating