Notes |
(0000640)
smiley73
10-24-05 06:44
|
I did some further testing and it doesn't seem to be dependend on the Kernel release.
Modifying the mount command to use "-o loop=/dev/loop0" returns the error message, that it's not a valid block device.
Setting up the loopback device via losetup before the mount also doesn't solve the problem.
One test used glibc 2.3.2 (kernel 2.4) and the other glibc 2.3.5 (kernel 2.6).
Both times busybox was statically compiled and used in the InitRD. |
| |
(0000641)
smiley73
10-24-05 10:28
|
Some further testing showed, that busybox 1.00 seems to work fine.
So the error must have been introduced after that.
Heiko |
| |
(0000656)
landley
11-03-05 18:00
|
Does it work in 1.1.0-pre1? This code underwent a major rewrite. The old stuff was really brittle and tended to break a lot. |
| |
(0000668)
smiley73
11-06-05 09:12
|
OK I tested with 1.1.0-pre1, I didn't have any luck.
mount -o loop /mnt/bootcd.iso /cdrom
Returns 'could not set up loop device'
losetup /dev/loop0 /mnt/bootcd.iso
Works the first time, but hangs when it's being run a second time.
And yes, I ran "losetup -d /dev/loop0" bfore.
When running losetup the second time, it doesn't matter if you specify a different loop device, it always hangs.
It also seems that in most cases when this happens, the loop file (the ISO image in my case) actually gets damaged and I have to copy it again.
When first setup the loop device via losetup and then try to mount loop0, then I get the error message: bio too big device loop0 (0 > 2)
Heiko |
| |
(0000669)
landley
11-06-05 15:14
|
Ah sorry, I forgot:
Disable "devfs support". It breaks random stuff. (For example, it means that the loop devices mount is checking for are /dev/loop/# rather than /dev/loop#)
I recently fixed allyesconfig so it wouldn't accidentally enable devfs support and cause this kind of accidental breakage. In 1.2 I hope we can rip it out entirely.
Rob |
| |
(0000670)
smiley73
11-07-05 17:16
|
OK the 1.1.0-pre1 version seems to work a lot better without devfs support.
I have to do more testing, but it takes forever to go through one test cycle...
Heiko |
| |
(0000775)
landley
12-14-05 21:11
|
svn 11912 |
| |