All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Sander <msander@cogeco.ca>
To: buildroot@busybox.net
Subject: [Buildroot] losetup /dev/loop0: No such device or address
Date: Thu, 09 Apr 2009 10:15:31 -0400	[thread overview]
Message-ID: <49DE0303.3070103@cogeco.ca> (raw)
In-Reply-To: <1239285149472382500@schweigstill.de>

Andreas Schweigstill wrote:
> Hello!
>
> Mike Sander  wrote:
>   
>> When I execute "losetup /dev/loop0 /mnt/flash/backing_file.vfat" i get 
>> the error "losetup /dev/loop0: No such device or address". 
>>     
>
>   
>> [...]
>>     
>
>   
>> /dev/loop0 definitely exists and appears to be correctly defined (I think).
>>     
>
> It just means that the device file exists which is independend of the kernel
> handler for block device (7,x).
>
> So you should check your Linux kernel configuration. Loopback device
> support has to be enabled in .config:
>
> CONFIG_BLK_DEV_LOOP=y
>   
Andreas, that was what I was missing. 
thanks.
> And in /sys/block also some entries have to be present, normally
> /sys/block/loop0 to /sys/block/loop7.
>
> Regards
> Andreas Schweigstill
>
>   

      reply	other threads:[~2009-04-09 14:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 13:37 [Buildroot] losetup /dev/loop0: No such device or address Mike Sander
2009-04-09 13:52 ` Andreas Schweigstill
2009-04-09 14:15   ` Mike Sander [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49DE0303.3070103@cogeco.ca \
    --to=msander@cogeco.ca \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.