|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Ilia Klimentiev 2:5002/74.39 11 Apr 2005 18:47:08 To : Andrew V. Scherbacov Subject : Re: что за напасть ? --------------------------------------------------------------------------------
AS>>> с некоторых пор в логах стали появляться сообщения вида:
AS>>> modprobe: modprobe: Can't locate module binfmt-xxxx
IK>> "...just 'alias binfmt-e0ff off' in /etc/modutils/aliases and run
IK>> update-modules"
AS> угу. что бы не болела голова - отрубите ее. то, что отключить эти
AS> сообщения таким способом можно - это коню ясно, не понятно - откуда они
AS> взялись и чем это может грозить ?
_URL тот же_
"...When you try to execute something and the kernel can't find anything to
handle it, it makes a last-ditch attempt to find a handler by taking the
first two bytes of the file, converting them to hexadecimal, prepending
"binfmt-", and trying to load that module.You can safely ignore it, or find out
what's trying to execute those files and stop it from doing so."
_Цитата из "Linux kerneld mini-HOWTO"_
"Binary formats
Binary formats are handled in a similar way. Whenever you try to run a program
that the kernel does not know how to load, kerneld gets a request for binfmt-
xxx
, where xxx
is a number determined from the first few bytes of the executable. So, the
kerneld configuration to support loading the binfmt_aout module for ZMAGIC
(a.out) executables is
alias binfmt-267 binfmt_aout
Since the magic number for ZMAGIC files is 267, if you check /etc/magic
, you will see the number 0413; keep in mind that /etc/magic
uses octal numbers where kerneld uses decimal, and octal 413 = decimal 267.
There are actually three slightly different variants of a.out executables
(NMAGIC, QMAGIC and ZMAGIC), so for full support of the binfmt_aout module we
need
alias binfmt-264 binfmt_aout # pure executable (NMAGIC)
alias binfmt-267 binfmt_aout # demand-paged executable (ZMAGIC)
alias binfmt-204 binfmt_aout # demand-paged executable (QMAGIC)
a.out, Java and iBCS binary formats are recognized automatically by kerneld,
without any configuration."
С уважением, ICQ: 194419265
Климентьев Илья klimentiev[at]nightmail.ru
... alug.altnet.ru - Алтайская Группа Пользователей Linux ...
--- Ответственный за BUG'и и MSG'и - Golded 1.1.4.7
* Origin: ...За честь короны мы умрем... (2:5002/74.39)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/3384425a71d6.html, оценка из 5, голосов 10
|