Sun, 28 Mar 2004 00:17:17 +0300 (MSK) Mike Belopuhov Mike aka Mike Belopuhov
<mkb-mall@l*****.ru> писал:
> На самом деле, я к тому, что Вы ничего не сказали своим постом. И
> помощи напрасно ждете. Покажите хотя бы вывод от этого:
>
> strace swapon /dev/hda?
Сорри погорячился :) Вот вывод strace swapon /dev/hda5 :
execve("/sbin/swapon", ["swapon", "/dev/hda5"], [/* 54 vars */]) = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0) = 0x804b000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/qt/lib/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/local/qt/lib/i686/mmx", 0xbfffe7ec) = -1 ENOENT (No such file or
directory)
open("/usr/local/qt/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/local/qt/lib/i686", 0xbfffe7ec) = -1 ENOENT (No such file or directory)
open("/usr/local/qt/lib/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/qt/lib/mmx", 0xbfffe7ec) = -1 ENOENT (No such file or directory)
open("/usr/local/qt/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/qt/lib", 0xbfffe7ec) = -1 ENOENT (No such file or directory)
open("i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=96256, ...}) = 0
mmap2(NULL, 96256, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\207"..., 1024) =
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1145896, ...}) = 0
mmap2(NULL, 1158976, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002a000
mprotect(0x4013c000, 36672, PROT_NONE) = 0
mmap2(0x4013c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x112)
= 0x4013c000
mmap2(0x40141000, 16192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS,
-1, 0) = 0x40141000
close(3) = 0
munmap(0x40012000, 96256) = 0
brk(0) = 0x804b000
brk(0x804b028) = 0x804b028
brk(0x804c000) = 0x804c000
open("/usr/share/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/locale/ru_RU.CP1251/LC_IDENTIFICATION", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=336, ...}) = 0
mmap2(NULL, 336, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000
close(3) = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=20624, ...}) = 0
mmap2(NULL, 20624, PROT_READ, MAP_SHARED, 3, 0) = 0x40013000
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_MEASUREMENT", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=24, ...}) = 0
mmap2(NULL, 24, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40019000
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_TELEPHONE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=49, ...}) = 0
mmap2(NULL, 49, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001a000
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_ADDRESS", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
mmap2(NULL, 128, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001b000
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_NAME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=63, ...}) = 0
mmap2(NULL, 63, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
close(3) = 0
brk(0x804d000) = 0x804d000
open("/usr/lib/locale/ru_RU.CP1251/LC_PAPER", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=35, ...}) = 0
mmap2(NULL, 35, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) =
3
fstat64(3, {st_mode=S_IFREG|0644, st_size=57, ...}) = 0
mmap2(NULL, 57, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001e000
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_MONETARY", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=295, ...}) = 0
mmap2(NULL, 295, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001f000
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_COLLATE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=23923, ...}) = 0
mmap2(NULL, 23923, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40020000
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_TIME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2368, ...}) = 0
mmap2(NULL, 2368, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40026000
close(3) = 0
brk(0x804e000) = 0x804e000
open("/usr/lib/locale/ru_RU.CP1251/LC_NUMERIC", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
mmap2(NULL, 55, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40027000
close(3) = 0
open("/usr/lib/locale/ru_RU.CP1251/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=173836, ...}) = 0
mmap2(NULL, 173836, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40145000
close(3) = 0
stat64("/dev/hda5", {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 5), ...}) = 0
swapon("/dev/hda5") = -1 EINVAL (Invalid argument)
open("/usr/share/locale/ru_RU.CP1251/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/ru_RU.cp1251/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/ru_RU/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/ru.CP1251/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/ru.cp1251/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/ru/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such
file or directory)
write(2, "swapon: /dev/hda5: Invalid argum"..., 36swapon: /dev/hda5: Invalid
argument
) = 36
_exit(-1) = ?
THE END!
zOrg
-*Название листа "Linux: разрешение вопросов, перспективы и общение";
Написать в лист: mailto:comp.soft.linux.discuss-list@subscribe.ru
Адрес правил листа http://subscribe.ru/catalog/comp.soft.linux.discuss/rules
Номер письма: 5741; Возраст листа: 246; Участников: 1059
Адрес сайта рассылки: http://www.linuxrsp.ru
Адрес этого письма в архиве: http://subscribe.ru/archive/comp.soft.linux.discuss/msg/113808
-*Информационный канал Subscribe.Ru
Написать в лист: mailto:comp.soft.linux.discuss-list@subscribe.ru
Отписаться: mailto:comp.soft.linux.discuss--unsub@subscribe.ru
http://subscribe.ru/ mailto:ask@subscribe.ru