[Buildroot] losetup /dev/loop0: No such device or address

Mike Sander msander at cogeco.ca
Thu Apr 9 14:15:31 UTC 2009


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
>
>   




More information about the buildroot mailing list