| Summary: | mounting iso-image fails | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Tero Knuutila <tkn> |
| Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Tero Knuutila
2004-01-02 00:56:08 UTC
Forgot to tell: my mount is from util-linux-2.11z-r8 package. I used to have util-linux-2.something and it had the same bug. I have also tested 2.4 kernel, it does no thelp. Now I run 2.6.0-test11 kernel. umm, arent you supposed to do loop=/dev/loop0 or something ? the temp/ directory does exist right? (it probably does, but it doesn't hurt to ask) Nah, his mount command is fine - I do though think the temp/ might not exist as Seemant commented, or some weirdness there abouts. Can you please do (if temp/ really do exist): # strace -ff -e open mount -vv -o loop -t iso9660 fdbootcd.iso temp/ and attach the log. Remember to emerge strace if you do not have it already merged ... Hi!
temp exists: Here's cut'n paste from ls and strace:
root /home/tkn# ls -la temp/
total 6
drwxr-xr-t 2 tkn users 48 Jan 8 20:09 .
drwx------ 90 tkn users 5272 Jan 8 20:12 ..
root /home/tkn# strace -ff -e open mount -vv -o loop -t iso9660 fdbootcd.iso temp/
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/dev/null", O_RDWR|O_LARGEFILE) = 3
open("/dev/loop0", O_RDONLY|O_LARGEFILE) = 3
mount: going to use the loop device /dev/loop0
open("fdbootcd.iso", O_RDWR|O_LARGEFILE) = 3
open("/dev/loop0", O_RDWR|O_LARGEFILE) = 4
open("/proc/crypto/cipher/(null)-cbc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
set_loop(/dev/loop0,fdbootcd.iso,0): success
mount: setup loop device successfully
open("/dev/loop0", O_RDONLY|O_LARGEFILE) = 3
del_loop(/dev/loop0): success
mount: Not a directory
------------
Hi! I just downloaded another .iso image AND mounted it succesfully. So this bug only shows itself with some iso files. Example of iso img which reveals bug: www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/beta9rc1/fdbootcd.iso Just try to mount that on loop dev and you will (propably) see same error as I do. try util-linux-2.12b if that fails, please post an URL to an iso which fails with 2.12b (the one you posted is gone now :/) |