Device Mapper and -fallback.img - stock, ck and beyond

Hi!
I have similar findings to superstoned, see at the end of
http://bbs.archlinux.org/viewtopic.php?t=27696
device mapper module is not the part of the kernel26*-fallback.img. I understand the fallback images as the ones that contain all modules and if we get into trouble by generating our own cpio image we can point GRUB/LILO to them and be able to fix the problems.
Unfortunatelly the device mapper is not included in them (I checked the stock, ck and beyond kernels) which can cause problems if somebody installs the "/" on LVM managed disks.
Would it make sense to include them in the "fallback" image?
Besides of that I created a custom cpio image that includes the dm_mod.k by putting it into mkinitcpio.conf
MODULES="sata_nv sd_mod reiserfs dm_mod"
funny thing is it is working fine for the beyond and ck kernels but the stock one is not loading it although it is there - in the img file. Weird.
Any comments?
waldek

I checked again - custom img file works for all 3 kernels. My mistake - sorry.

Similar Messages

  • [Abandoned] device-mapper/dm-crypt/luks without initramfs

    Hi everyone,
    i attempted to compile a custom kernel to reduce the my EEE 1000H's boot time by compiling everything i need statically, which seems to work well, except one thing: Accessing my encrypted root partition. I created it by following the wiki and all is well if i boot "normally" (using an initramfs and the encrypt hook).
    So i tried to compile the modules necessary to boot encrypted partitions into the kernel. The options i changed to achieve this were
    CONFIG_BLK_DEV_DM=y
    CONFIG_DM_CRYPT=y
    CONFIG_CRYPTO_AES=y
    CONFIG_CRYPTO_AES_586=y
    in my kernel config (along with all the other stuff of course). All the
    The i tried to boot the new kernel via GRUB using just
    title Test
    root (hd0,0)
    kernel /vmlinuz-2.6.30-rc8-eee1000h-kms root=dev/sda3 i915.modeset=1 ro 3
    but it panics
    sd 0:0:0:0: [sda] Attached SCSI disk
    UDF-fs: No partition found (1)
    List of all partitions:
    0800 156290904 sda driver: sd
    0801 497983 sda1 #the unencrypted /boot
    0802 2000092 sda2 #swap
    0803 153790245 sda3 #root, ext3 fs
    No filesystem could mount root, tried: ext3 ext2 iso9660 udf
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)
    altough it does this in my monitor's native resolution . The kernel seems to try to access the encrypted partition directly and the device mapper doesn't seem to be active.
    I guess this is because the script in
    /lib/initcpio/hooks/encrypt
    seems to handle unlocking the volume and activating the device mapper and it's obviously missing now. I think i would have to rewrite it to not use modules - but this is far beyond my abilites.
    I haven't found any further information on this issue either, it just doesn't seem to be possible, or rather, advisable to encrypt your root partition while not using an initramfs. I guess i'll have to use one or just encrypt only my user's home directory, or does anyone have an idea on how to solve this problem?
    Update: I gave up on this.
    Last edited by Malstrond (2009-08-13 20:20:03)

    Hi everyone,
    i attempted to compile a custom kernel to reduce the my EEE 1000H's boot time by compiling everything i need statically, which seems to work well, except one thing: Accessing my encrypted root partition. I created it by following the wiki and all is well if i boot "normally" (using an initramfs and the encrypt hook).
    So i tried to compile the modules necessary to boot encrypted partitions into the kernel. The options i changed to achieve this were
    CONFIG_BLK_DEV_DM=y
    CONFIG_DM_CRYPT=y
    CONFIG_CRYPTO_AES=y
    CONFIG_CRYPTO_AES_586=y
    in my kernel config (along with all the other stuff of course). All the
    The i tried to boot the new kernel via GRUB using just
    title Test
    root (hd0,0)
    kernel /vmlinuz-2.6.30-rc8-eee1000h-kms root=dev/sda3 i915.modeset=1 ro 3
    but it panics
    sd 0:0:0:0: [sda] Attached SCSI disk
    UDF-fs: No partition found (1)
    List of all partitions:
    0800 156290904 sda driver: sd
    0801 497983 sda1 #the unencrypted /boot
    0802 2000092 sda2 #swap
    0803 153790245 sda3 #root, ext3 fs
    No filesystem could mount root, tried: ext3 ext2 iso9660 udf
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)
    altough it does this in my monitor's native resolution . The kernel seems to try to access the encrypted partition directly and the device mapper doesn't seem to be active.
    I guess this is because the script in
    /lib/initcpio/hooks/encrypt
    seems to handle unlocking the volume and activating the device mapper and it's obviously missing now. I think i would have to rewrite it to not use modules - but this is far beyond my abilites.
    I haven't found any further information on this issue either, it just doesn't seem to be possible, or rather, advisable to encrypt your root partition while not using an initramfs. I guess i'll have to use one or just encrypt only my user's home directory, or does anyone have an idea on how to solve this problem?
    Update: I gave up on this.
    Last edited by Malstrond (2009-08-13 20:20:03)

  • BtrFS and Device Mapper (DM)

    Hello,
    I learned from a previous thread here that BtrFS should not be put on a LVM volume as both provide similar technologies that compete with each other. What about Device Mapper (DM) and BtrFS under Oracle Linux 6.3? I guess both share similar technologies as well, like Snapshot. Albeit DM is probably less sophisticated. However, I was wondering whether BtrFS and Device Mapper should be used together.
    According to https://www.suse.com/documentation/sles11/singlehtml/stor_admin/stor_admin.html. +"You can create BtrFS on Multiple Devices (MD) and Device Mapper (DM) storage configurations by using the YaST2 Partitioner."+ So this tells me that DM and BtrFS can be used together. And I guess one example might be disk encryption using cryptsetup, which uses device mapper. Is this correct?
    If I'm not mistaken, then Device Mapper support is in the Linux 2.6 kernel, and /dev/mapper devices are typcially setup by LVM and cryptsetup, but I can also create them using dmsetup. Let's say I have e.g. /dev/sda2 and I want to map it to a DM virtual device named root, then initialize it using BtrFS:
    <pre>
    dmsetup create root table "0 $(blockdev getsz /dev/sda2) linear /dev/sda2 0"
    mkfs.btrfs /dev/mapper/root
    </pre>
    The command works, but I might doing something wrong, because /dev/mapper/root does not survive a system restart. Unfortunately I have not found anything useful about it in Google yet. Anyway, does this make any sense?
    Thanks!

    I was actually aware of Multipath, but wasn't aware until recently that DM-Crypt, DM-Multipath and LVM2 are all using the same type of Device Mapper function that is provided by the kernel. That's probably why it's called DM Multipath ;-)
    Apparently the system startup of any such physical to virtual mapped devices is a challenge for the boot process. The system BIOS or adapter firmware does not understand nor generate any of the special devices that Linux consruct and requires by software. Hence the business of initrd and initramfs, which are mini startup systems to provide the necessary drivers to find peripheral or to create the Linux devices and environment.
    I read that there are 2 ways for Linux to find the root device: Either by modifying the startup script inside the initrd or initramfs system, or to supply kernel boot parameters. The later will obviously need kernel builtin support.
    Why I started to wonder about Device Mapper? Please see the below kernel boot parameters:
    OL5: root=/dev/VolGroup00/LogVol00
    OL6: root=/dev/mapper/vg_vm004-lv_root
    So it seems that starting with OL6, the configuration uses a Device Mapper device name also for the LVM groups and volumes. Is this DM Multipath or just basic Device Mapper?
    I have not found any conclusive information yet but my guess is that there must be something scanning for LVM devices during startup and constructing the /dev/mapper device based on the info received.
    I also wonder what I would have to do to use /dev/mapper for BtrFS, not necessarily using Multipath. Apparently no one is doing it or I cannot find the information. Perhaps I would have to modify the startup script inside the initrd startup disk?
    I think the whole thing about the system startup and how to implement boot support for various devices under Linux is quite complex and not very transparent.
    Edited by: Dude on Oct 8, 2012 6:17 PM

  • Using a devices camera and adding the image to the display list

    Hi,
    My students and I have not been able to make an AIR app that can take a picture using the devices camera and then add the image to the display list. We are able to open the devices camera and of course take a picture, but that's it.
    We've been using these two tutorials/examples:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/CameraUI.ht ml
    and
    http://tv.adobe.com/watch/adc-presents/input-for-mobile-devices-camera/
    I've uploaded our project: http://www.dayvid.com/professor/camera.zip
    Can someone help us out?
    Thanks!
    Below is the main document class:
    package  {
    import flash.desktop.NativeApplication;
    import flash.display.Loader;
    import flash.display.MovieClip;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.ErrorEvent;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import flash.events.MediaEvent;
    import flash.media.CameraUI;
    import flash.media.MediaPromise;
    import flash.media.MediaType;
    import flash.events.MouseEvent;
         public class Main extends MovieClip{
              private var deviceCameraApp:CameraUI = new CameraUI();
              private var imageLoader:Loader;
              public function Main()
                   this.stage.align = StageAlign.TOP_LEFT;
                   this.stage.scaleMode = StageScaleMode.NO_SCALE;
                                     camera_btn.addEventListener(MouseEvent.CLICK, cameraBtnClicked);
                          private function cameraBtnClicked(event:MouseEvent):void
                                    if( CameraUI.isSupported )
                                                      result_txt.text = "Initializing camera...";
                                                      deviceCameraApp.addEventListener( MediaEvent.COMPLETE, imageCaptured );
                                                      deviceCameraApp.addEventListener( Event.CANCEL, captureCanceled );
                                                      deviceCameraApp.addEventListener( ErrorEvent.ERROR, cameraError );
                                                      deviceCameraApp.launch( MediaType.IMAGE );
                   else
                                                      result_txt.text = "Camera interface is not supported.";
              private function imageCaptured( event:MediaEvent ):void
                   result_txt.text = "Media captured...";
                   var imagePromise:MediaPromise = event.data;
                   if( imagePromise.isAsync )
                    result_txt.text = "Asynchronous media promise.";
                    imageLoader = new Loader();
                    imageLoader.contentLoaderInfo.addEventListener( Event.COMPLETE, asyncImageLoaded );
                    imageLoader.addEventListener( IOErrorEvent.IO_ERROR, cameraError );
                    imageLoader.loadFilePromise( imagePromise );
                   else
                    result_txt.text = "Synchronous media promise.";
                    imageLoader.loadFilePromise( imagePromise );
                    showMedia( imageLoader );
              private function captureCanceled( event:Event ):void
                   result_txt.text = "Media capture canceled.";
                   NativeApplication.nativeApplication.exit();
              private function asyncImageLoaded( event:Event ):void
                   result_txt.text = "Media loaded in memory.";
                   showMedia( imageLoader );   
              private function showMedia( loader:Loader ):void
                   this.addChild( loader );
              private function cameraError( error:ErrorEvent ):void
                   result_txt.text = "Error:" + error.text;
                   NativeApplication.nativeApplication.exit();

    Hi,
    Do I have to add the picture to the cameraroll in order to add it to the AIR apps display list?
    Both examples from Adobe claim that their examples work. Do they not?
    In the example, the event handler asyncImageLoaded is never called. The output text field shows -   result_txt.text = "Asynchronous media promise."; So the Event.COMPLETE is being added. But I don't think it's being dispatched.
    Any ideas?

  • I have two devices (Iphone and Ipad) on the same Apple ID. When I go to Icloud and click at the "find Iphone" I see only one of my devices. How can I do to see both of them?

    I have two devices (Iphone and Ipad) on the same Apple ID. When I go to Icloud and click at the "find Iphone" I see only one of my devices. How can I do to see both of them?

    Obvious question, but have you got 'Find My iPhone' set on both devices?  Settings>iCloud>Find My iPhone.

  • HT204053 Can I use the same Apple ID for iMessage and FaceTime services from two different devices - iPhone and iPad?

    Can I use the same Apple ID for iMessage and FaceTime services simultaneously on two different devices - iPhone and iPad? It seems those are competing to each other, and the services work on one of them only (iPhone).

    Many thanks, Sir! Both are mine and it's good to know that imessage can work on both with the same Apple ID. Will now have to find out why imessage stopped working on iPad when it started on iPhone (new). After exploring the forum I understand  that there may be plenty of reasons why imessage does not work, even though it worked previously on the same device with the same ID.

  • How to use Device Profiles and Viewing Conditions Profile in Photoshop Elements 11?

    In trying to get to grips with the Colour management aspects of PSE11, I have encountered the following problems:
    Having selected "Display" a sequence of clicks (Change display settings -> Advanced settings -> Colour Management -> Colour Management tab -> Colour Management)
    gives a screen which includes the headings:
    Device Profile  and Viewing Conditions Profile.
    1. Device Profile. Besides sRGB and ARGB, the profile list includes the profiles for all of the Epson papers. (I have an Epson Stylus Photo PX810FW).
    I changed the Profile to an Epson Grayscale, this was accepted within the menu, but there are no changes from normal when I viewed the image on the Windows screen or within
    PSE11. ("normal" is sRGB or ARGB).
    I thought it worth a try to test that, if I wanted the display image to closely represent what I would get on a particular Epson paper, this may be a way to do it.(I suspected this approach because I have never
    seen it in the literature!).
    So what is the purpose of all of the paper Profiles appearing in the Display listing?
    2. The Viewing Conditions Profile has also several options. I have tried to find the criteria for choosing one rather than the other, but failed to find any information. Can anyone help? I seek general guidance
    rather than the details of the Profiles.
    As a seperate question:
    Selecting Image on the PSE11 menu across the top of the displayed image, and then Convert Colour Profile, I tried this process on an image, converting tiff to sRGB. When saved there was an extra asterisk in the saved title but in this case,
    the file was still labelled tiff and there was no change in the number of Mbs. If a conversion has taken place, how is one to know?  Does saving a tiff file as jpeg change its colour profile? When is it useful to use this feature?
    Many thanks to all responders! 

    Addressing your second question, you are confusing two different things.
    tiff is an image file format, as is jpeg, as is psd, as is png, as are dozens (if not hundreds, http://en.wikipedia.org/wiki/Image_file_formats) of other formats.
    A colour profile represents the colour characteristics of devices so that, for example, displays know how to display the colours, printers know how to print them.
    Image files MAY, but do not have to, contain colour profiles.
    For details:
    http://help.adobe.com/en_US/creativesuite/cs/using/WS52323996-D045-437d-BD45-04955E987DFB. html
    http://en.wikipedia.org/wiki/Color_management#Color_profiles
    http://en.wikipedia.org/wiki/ICC_profile
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • I seem to have 2 Apple IDs, one on my MacBook Pro and another on my devices.  If I switch from MobileMe to iCloud on my Mac (under the apple logo) will my devices work and sync in iCloud.  I have no idea how I go 2 IDs

    Can I get rid of one  ID?  How do I do that?

    one on my MacBook Pro
    That's not an Apple ID. That is your admin account which you can view in System Preferencs > Accounts or Users & Groups.
    If I switch from MobileMe to iCloud on my Mac (under the apple logo) will my devices work and sync in iCloud.  I have no idea how I go 2 IDs
    Just use your current Apple ID when you setup your iCloud account that you use for your devices.
    Apple - iCloud - Learn how to set up iCloud on all your devices.

  • How can I get the apple configurator to retain a devices settings and apps?

    Hi there all!
    I have an iPhone that already has apps and email settings on it.  I want to use the configurator to stop the device being paired with anything else not allow it to connect to any other Macs.  I've connected it, backed it up, enabled supervision, then deployed the profile.  Through out all of this I never get the option to restore device settings and when I click on edit stored backups, it contains nothing.  With supervsion disabled I can restore the backup but, snag is to disallow pairing it needs to be supervised.
    Also, am I right in thinking that once it's supervised I can't install any apps directly from the device ?
    Sorry if these are really noddy questions :-)  I just want to stop the device from being able to connect to or pair with anything other than my mac.
    Thanks
    Will

    Jpegs can't have transparent areas. Most likely you had layers and were forced to save "as a copy", which means that the image which remains open in PSE is not the jpg. A file saved as a copy makes a copy in the save format, but it's not like save as where you now see the newly saved version instead of the original. The original remains open and unsaved onscreen.

  • HP LaserJet Pro 200 color MFP M276 - new - Device error and Cleaning cycle issues

    HP LaserJet Pro 200 color MFP M276 - this is a new printer a friend purchased at Staples. It connects WiFi okay and prints when prompted to but it then does a "Cleaning" cycle after every print job. It also displays "Device Error" at the same time. It has been powercycled as instructed and the error continues to reappear and the "Cleaning" cycle continues as well after each and every print job. My friend paid Staples to set up this printer to a new Acer Laptop and D-Link router he also purchased before he brought them home. He was told everything works fine .. they lied .. Laptop and router have no issues .. just the printer. The Laptop sees the printer okay and software is installed without issue. Any ideas why the "Device Error" and "Cleaning" cycle after every print job is happening? He is on the verge of taking the whole outfit back as Staples has not assisted him and instead directed him to download the manuals from HP. Any suggestions are appreciated

    Have you tried a hard reset on it? I know you said you power cycled it, but a hard reset is sometimes different than what some people consider a power cycle.
    Follow these steps to perform a hard reset on the printer.
    1. Press the Power button to turn on the product.
    2. With the product turned on, disconnect the power cord from the rear of the product.
    3. Unplug the power cord from the wall outlet.
    4. Wait at least 15 seconds.
    5. Plug the power cord back into the wall outlet.
    6. Reconnect the power cord to the rear of the product.
    7. If the product does not turn on by itself, press the power button to turn it on.
    Try that out and let me know if it helps.
    Best of luck,
    Kyle
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Why do i need to buy the same app for each device over and over again??

    why do i need to buy the same app for each device over and over again??
    and why cant i just pay for the app ones for all devices as long at it is with the same account??
    i hate that i have to oay for the same game or app three time one for ipad ones for iphone and ones for mac please do something about that apple..!!!

    First, you posted in the Mac App Store forum which are apps for the Mac OS X, not iOS devices.
    You do not need to re purchase your apps. Connect your iOS devices to your computer, launch iTunes. From the menu bar click Apps then click Sync
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • When I connect my iPod touch it tells me that I need a new version of Apple Mobile Device Support and to uninstall iTunes and then re-install it, I've done that twice with the newest version of iTunes and it still doesn't work?

    When I connect my iPod touch it tells me that I need a new version of Apple Mobile Device Support and to uninstall iTunes and then re-install it, I've done that twice with the newest version of iTunes and it still doesn't work?

    Try:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • Apple Mobile Device service and Ipod Service both necessary?

    Do I need both Apple Mobile Device service and Ipod Service running on my Windows XP machine in order to use an iPod Touch Gen4?  I have to restart both of these services to get iTunes 11.0.4.4 to recognize it.  I wonder if they conflict with one another.

    Both need to be running.
    Try:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • Hi,   My photo stream used to work fine.  But after removing all the photos to separate folders in my computer, my new photos are no longer streaming to my PC.  They appear in the photo stream on my other devices - iPhone5 and iPad Mini.  It's just my PC

    Hi,
    My photo stream used to work fine.  But after removing all the photos to separate folders in my computer, my new photos are no longer streaming to my PC.  They appear in the photo stream on my other devices - iPhone5 and iPad Mini.  It's just my PC that's missing the photos.
    When I open the iCloud control panel, I cannot turn on the photos.  That option is ghosted.  I'm running on Windows 7 with iCloud 3.0.  Any ideas on how I can fix this?  All help is appreciated!  Thanks!

    Hi Kevinmvb,
    Welcome to the Support Communities!
    The article below may be able to help you with this.  It sounds like you may have moved your photos out of the Uploads folder where they need to reside.
    iCloud: My Photo Stream troubleshooting
    http://support.apple.com/kb/TS3989
    Cheers,
    - Judy

  • I got a new laptop and installed iTunes and plugged in my iPod but it won't get recognized on iTunes or in my computer, the computer says unknown device found and that the software was not successfully installed.

    I got a new laptop and installed iTunes and plugged in my iPod but it won't get recognized on iTunes or in my computer, the computer says unknown device found and that the software was not successfully installed. What shall I do ? I tried reinstalling so many times and everything else I could find. Please help!

    Hello MArk.wijesinghe,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Best of luck,
    Mario

Maybe you are looking for

  • Can i use another iphone 4s just to back up my sim

    Hello, i recently updated my 4s to ios7 which caused a whole bunch of problems as you are probably aware of. I took my 4s to apple, got fobbed off and sent to Carphone Warehouse where i got it from. I managed to get it swapped for a 5c by doing an ea

  • Issue while creating a custom Catalog in HR Renewal.

    Hello Experts,   I have created a custom Catalog and assigned chips to it using the Suite Page Builder Admin Page. The catalog id  is also assigned to a new role in the backend. I can now see the catalog id status changed from the draft to released i

  • How to view all pages of a multi-page HTML email in Mac Mail 5+ (Lion to Mavericks)?

    In previous versions of Mac Mail (up to that included with Snow Leopard, Mail 4), it was possible to scroll through all pages of a multi-page HTML email, like that send from the Tivoli Storage Manager reporting system. Since Lion, that has not been p

  • Physical model disabled

    I'm trying to create a Partition using sql developer/modeler my physical model all the options or disabled(greyed out) when it is connected to live database how do I over come this

  • Issue in Transact Move order while updating serial number

    Hi All, We need to perform sales order issue of items present in particular subinventory. I am successful in creating sales order having one item . I did the pick release of the order using the api ,wsh_picking_batches_pub.create_batch and wsh_pickin