From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4321E729.90007@altlinux.ru> Date: Fri, 09 Sep 2005 23:48:57 +0400 From: =?KOI8-R?Q?=E1=CE=D4=CF=CE_=E7=CF=D2=CC=CF=D7?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] =?KOI8-R?Q?=D3=D4=D2=C1=CE=CE=D9=C5_=C7=CC=C0=CB?= =?KOI8-R?Q?=C9_=D0=D2=C9_=CD=CF=CE=D4=C9=D2=CF=D7=C1=CE=C9=C9_=CF=C2?= =?KOI8-R?Q?=D2=C1=DA=CF=D7=2E_loop=2E?= References: <43212B39.2080308@altlinux.ru> In-Reply-To: <43212B39.2080308@altlinux.ru> Content-Type: multipart/mixed; boundary="------------070808070404020805020200" X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 21:08:10 -0000 Archived-At: List-Archive: This is a multi-part message in MIME format. --------------070808070404020805020200 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Антон Горлов пишет: > Далее -сделал слепок корневго раздела (так же в реськью и конечно же > отмонтирвал его). Попытался подмонтировать (результат одинаковый под > обоими ядрами-родное из мастера и wks) --не взлетло. Со словами -что > ошибка в вашем loop-девайсе или many filesystem is mounted. При всём > этом -образа дисков и образ /boot монтируется нармально. ритащил этот > образ н работу -чудо. Он подмонтировался без проблем (на работе -чстый > ALM24+апдейты). > Кто собсно виноват и как это так? Вот..для повышения информативности вывод strace на образ boot- раздела и на образ корневого: Почему-то он обижается на xfs: 4569 mount("/dev/loop1", "/mnt/iso", "xfs", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x805b6c0) = -1 EINVAL (Invalid argument) 4569 open("/dev/loop1", O_RDONLY|O_LARGEFILE) = 6 Вопрос -почему? на работе под чистым мастером не обиделся... -- np: silence) --------------070808070404020805020200 Content-Type: text/plain; name="root.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="root.log" 4569 execve("/bin/mount", ["mount", "/mnt/S/root.img", "/mnt/iso", "-o", "loop=/dev/loop1"], [/* 34 vars */]) = 0 4569 uname({sys="Linux", node="localhost.localdomain", ...}) = 0 4569 brk(0) = 0x805b000 4569 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) 4569 open("/etc/ld.so.cache", O_RDONLY) = 6 4569 fstat64(6, {st_mode=S_IFREG|0644, st_size=56879, ...}) = 0 4569 mmap2(NULL, 56879, PROT_READ, MAP_PRIVATE, 6, 0) = 0xa7ee5000 4569 close(6) = 0 4569 open("/lib/libc.so.6", O_RDONLY) = 6 4569 read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320Q\1"..., 512) = 512 4569 fstat64(6, {st_mode=S_IFREG|0755, st_size=1094832, ...}) = 0 4569 mmap2(NULL, 1101572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0xa7dd8000 4569 mmap2(0xa7edf000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x107) = 0xa7edf000 4569 mmap2(0xa7ee3000, 7940, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7ee3000 4569 close(6) = 0 4569 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7dd7000 4569 mprotect(0xa7edf000, 4096, PROT_READ) = 0 4569 munmap(0xa7ee5000, 56879) = 0 4569 brk(0) = 0x805b000 4569 brk(0x807c000) = 0x807c000 4569 brk(0) = 0x807c000 4569 umask(077) = 022 4569 open("/dev/null", O_RDWR|O_LARGEFILE) = 6 4569 close(6) = 0 4569 getuid32() = 0 4569 geteuid32() = 0 4569 lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=229, ...}) = 0 4569 open("/mnt/S/root.img", O_RDWR|O_LARGEFILE) = 6 4569 open("/dev/loop1", O_RDWR|O_LARGEFILE) = 8 4569 mlockall(MCL_CURRENT|MCL_FUTURE) = 0 4569 ioctl(8, 0x4c00, 0x6) = 0 4569 close(6) = 0 4569 ioctl(8, 0x4c04, 0xafd01780) = 0 4569 close(8) = 0 4569 rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV], NULL, 8) = 0 4569 stat64("/dev/loop1", {st_mode=S_IFBLK|0660, st_rdev=makedev(7, 1), ...}) = 0 4569 open("/dev/loop1", O_RDONLY|O_LARGEFILE) = 6 4569 _llseek(6, 0, [0], SEEK_SET) = 0 4569 read(6, "XFSB\0\0\20\0\0\0\0\0\0\220\300 \0\0\0\0\0\0\0\0\0\0\0"..., 576) = 576 4569 close(6) = 0 4569 mount("/dev/loop1", "/mnt/iso", "xfs", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x805b6c0) = -1 EINVAL (Invalid argument) 4569 open("/dev/loop1", O_RDONLY|O_LARGEFILE) = 6 4569 ioctl(6, 0x4c01, 0) = 0 4569 close(6) = 0 4569 rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV], NULL, 8) = 0 4569 write(2, "mount: wrong fs type, bad option"..., 104) = 104 4569 stat64("/dev/loop1", {st_mode=S_IFBLK|0660, st_rdev=makedev(7, 1), ...}) = 0 4569 open("/dev/loop1", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 6 4569 ioctl(6, BLKGETSIZE, 0xafd01920) = 0 4569 write(2, " (could this be the IDE de"..., 112) = 112 4569 close(6) = 0 4569 exit_group(32) = ? --------------070808070404020805020200 Content-Type: text/plain; name="boot.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="boot.log" 4563 execve("/bin/mount", ["mount", "/mnt/S/boot.img", "/mnt/iso", "-o", "loop=/dev/loop1"], [/* 34 vars */]) = 0 4563 uname({sys="Linux", node="localhost.localdomain", ...}) = 0 4563 brk(0) = 0x805b000 4563 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) 4563 open("/etc/ld.so.cache", O_RDONLY) = 6 4563 fstat64(6, {st_mode=S_IFREG|0644, st_size=56879, ...}) = 0 4563 mmap2(NULL, 56879, PROT_READ, MAP_PRIVATE, 6, 0) = 0xa7efe000 4563 close(6) = 0 4563 open("/lib/libc.so.6", O_RDONLY) = 6 4563 read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320Q\1"..., 512) = 512 4563 fstat64(6, {st_mode=S_IFREG|0755, st_size=1094832, ...}) = 0 4563 mmap2(NULL, 1101572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0xa7df1000 4563 mmap2(0xa7ef8000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x107) = 0xa7ef8000 4563 mmap2(0xa7efc000, 7940, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7efc000 4563 close(6) = 0 4563 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7df0000 4563 mprotect(0xa7ef8000, 4096, PROT_READ) = 0 4563 munmap(0xa7efe000, 56879) = 0 4563 brk(0) = 0x805b000 4563 brk(0x807c000) = 0x807c000 4563 brk(0) = 0x807c000 4563 umask(077) = 022 4563 open("/dev/null", O_RDWR|O_LARGEFILE) = 6 4563 close(6) = 0 4563 getuid32() = 0 4563 geteuid32() = 0 4563 lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=229, ...}) = 0 4563 open("/mnt/S/boot.img", O_RDWR|O_LARGEFILE) = 6 4563 open("/dev/loop1", O_RDWR|O_LARGEFILE) = 8 4563 mlockall(MCL_CURRENT|MCL_FUTURE) = 0 4563 ioctl(8, 0x4c00, 0x6) = 0 4563 close(6) = 0 4563 ioctl(8, 0x4c04, 0xaf81ba30) = 0 4563 close(8) = 0 4563 rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV], NULL, 8) = 0 4563 stat64("/dev/loop1", {st_mode=S_IFBLK|0660, st_rdev=makedev(7, 1), ...}) = 0 4563 open("/dev/loop1", O_RDONLY|O_LARGEFILE) = 6 4563 _llseek(6, 0, [0], SEEK_SET) = 0 4563 read(6, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 576) = 576 4563 _llseek(6, 512, [512], SEEK_SET) = 0 4563 read(6, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 4563 _llseek(6, 1024, [1024], SEEK_SET) = 0 4563 read(6, " ^\0\0dx\1\0\321\22\0\0?I\1\0\365]\0\0\1\0\0\0\0\0\0\0"..., 228) = 228 4563 close(6) = 0 4563 mount("/dev/loop1", "/mnt/iso", "ext3", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x805b6c0) = 0 4563 readlink("/mnt", 0xaf81ab00, 4096) = -1 EINVAL (Invalid argument) 4563 readlink("/mnt/S", 0xaf81ab00, 4096) = -1 EINVAL (Invalid argument) 4563 readlink("/mnt/S/boot.img", 0xaf81ab00, 4096) = -1 EINVAL (Invalid argument) 4563 readlink("/mnt", 0xaf81ab00, 4096) = -1 EINVAL (Invalid argument) 4563 readlink("/mnt/iso", 0xaf81ab00, 4096) = -1 EINVAL (Invalid argument) 4563 open("/etc/mtab", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 6 4563 close(6) = 0 4563 rt_sigaction(SIGHUP, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGINT, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGQUIT, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGILL, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGTRAP, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGABRT, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGBUS, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGFPE, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGKILL, {0x804e5d0, ~[], 0}, NULL, 8) = -1 EINVAL (Invalid argument) 4563 rt_sigaction(SIGUSR1, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGSEGV, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGUSR2, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGPIPE, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGALRM, {0x804e600, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGTERM, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 rt_sigaction(SIGSTKFLT, {0x804e5d0, ~[], 0}, NULL, 8) = 0 4563 getpid() = 4563 4563 open("/etc/mtab~4563", O_WRONLY|O_CREAT|O_LARGEFILE, 0) = 6 4563 close(6) = 0 4563 link("/etc/mtab~4563", "/etc/mtab~") = 0 4563 unlink("/etc/mtab~4563") = 0 4563 open("/etc/mtab~", O_WRONLY|O_LARGEFILE) = 6 4563 fcntl64(6, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}, 0xaf81ba80) = 0 4563 close(6) = 0 4563 umask(033) = 077 4563 open("/etc/mtab", O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 6 4563 umask(077) = 033 4563 fstat64(6, {st_mode=S_IFREG|0644, st_size=229, ...}) = 0 4563 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f0b000 4563 fstat64(6, {st_mode=S_IFREG|0644, st_size=229, ...}) = 0 4563 _llseek(6, 0, [0], SEEK_SET) = 0 4563 read(6, "/dev/hdb6 / xfs rw 0 0\nproc /pro"..., 229) = 229 4563 write(6, "/mnt/S/boot.img /mnt/iso ext3 rw"..., 53) = 53 4563 close(6) = 0 4563 munmap(0xa7f0b000, 4096) = 0 4563 unlink("/etc/mtab~") = 0 4563 rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV], NULL, 8) = 0 4563 exit_group(0) = ? --------------070808070404020805020200--