Kernel- Loop Device support


  1. mayonaka45

    mayonaka45 Active Member

    Hello, I searched this for quite sometime and haven't found anything. Are there kernels for the Nexus 7 that has Loop device playback? i have version 4.2, and i havent been able to find any threads listing names of kernels that support Loop Devices. Thanks in advance :)

    Advertisement
    :
  2. Rxpert83

    Rxpert83 Dr. Feelgood Moderator

    I'm not familiar with that feature, can you explain it?
  3. EarlyMon

    EarlyMon The PearlyMon Moderator

    Typical use of a loop device is to attach a virtual node in unix.

    If you caught my posts last year on running Ubuntu in parallel with Android on my phone, I did that by getting an image file of Ubuntu and assigning it to a loop device.
  4. CYNICALifornia

    CYNICALifornia Well-Known Member

    I am in awe of the things people know how to do. I didn't even know they existed, let alone how the work, or how to do them.

    Nice seeing you outside of the LTEvo forums. ;)
    mayonaka45 and EarlyMon like this.
  5. mayonaka45

    mayonaka45 Active Member

    I know how to use them because I was trying to put Linux on my N7 but I can't find a kernel that has loop devices. Do you know of any for the n7 that has that?
    EarlyMon likes this.
  6. Rxpert83

    Rxpert83 Dr. Feelgood Moderator

    I'm not aware of one.

    You can put ubuntu on the n7 though. Its kind of buggy but works

    https://wiki.ubuntu.com/Nexus7/Installation
    mayonaka45 likes this.
  7. EarlyMon

    EarlyMon The PearlyMon Moderator

  8. mayonaka45

    mayonaka45 Active Member

    How would I do that? Also I'm trying yo run BackTrack, would it be the same procedure?
    When I try to boot it I get these errors, and I'm not sure what I'm doing wrong. I know it says BackTrack ARM for Xoom but its modified to work on all,

    Attached Files:

  9. EarlyMon

    EarlyMon The PearlyMon Moderator

    The bootbt there is trying to do an losetup and failing.

    If you want, zip that file up and attach it here, I'll check it.
    mayonaka45 likes this.
  10. mayonaka45

    mayonaka45 Active Member

    Here's the bootbt file, thank you,

    Attached Files:

  11. EarlyMon

    EarlyMon The PearlyMon Moderator

    Bad news, they knew how to do it right.

    They check to see if the loop device target exists (in use) before proceeding and give an error message if that happens. So they don't assume a free slot, in other words.

    That passes and they use the shorter command sequence and handle it through a mount -o call. So while they don't do an explicit losetup, they don't need to, it's kernel limited as you thought.

    I guess maybe your next move would be to ask kernel devs working this device to add the feature for you.
    mayonaka45 likes this.
  12. mayonaka45

    mayonaka45 Active Member

    I have no words for that^^
    Ok, thank you for your help,
    EarlyMon likes this.
  13. EarlyMon

    EarlyMon The PearlyMon Moderator

    Yeah, probably one of my better ones. :p :D
Loading...

Share This Page