[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#367605: broken loop mount support

Bastian Blank wrote:
> Okay, two problems:
> - It fail to create the loop device. Please provide a strace output. As
>   I can't reproduce it on my system, if /dev/loop/0 exists, I don't have
>   any idea what happens.
> - The second error is missleading, as it never tries to mount it.

Running strace on the boot floppy, the relevant problem seems to be it
failing on an ioctl to the loop device. It tries all 7 devices and each
fails like this:

stat64("/dev/loop/0", {st_mode=S_IFBLK|0640, st_rdev=makedev(7,0), ...}) = 0
open("/dev/loop/0", O_RDWR|O_LARGEFILE) = 4
iotcl(4, 0x4c05, 0xbffffb9c)            = -1 EINVAL (Invalid argument)
close(4)                                = 0

After repeating through to loop/7, it returns to loop/0:

stat64("/dev/loop/0", 0xbffffc84)       = -1 ENOENT (No such file or directory)

All the loop devices still exist on exit. Weird huh?

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: