ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Denis Klimov <zver@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] сборка модуля ядра. куда могут пропадать сырцы?
Date: Fri, 26 Sep 2008 16:19:15 +0600
Message-ID: <20080926161915.469b7bf3.zver@altlinux.org> (raw)
In-Reply-To: <48DC9072.4090702@altlinux.ru>

On Fri, 26 Sep 2008 11:34:10 +0400 Михаил Якушин wrote:

> Если что то просходит непонятное, стоит проверить dmesg и файловую 
> систему, вдруг это системный сбой. И при сборки включить отладку (V=1) и 
> вплоть до strace.

V=1 прояснил картину:
+ make -j2 V=1 KSRC=/usr/src/linux-2.6.18-ovz-smp KBUILD=/usr/src/linux-2.6.18-ovz-smp
make: Entering directory `/usr/src/RPM/BUILD/kernel-source-rtl8180-0.21'
make -C /usr/src/linux-2.6.18-ovz-smp SUBDIRS=/usr/src/RPM/BUILD/kernel-source-rtl8180-0.21 MODVERDIR=/usr/src/RPM/BUILD/kernel-source-rtl8180-0.21 modules
make[1]: Entering directory `/usr/src/linux-2.6.18-ovz-smp-alt24'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            \
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
        echo;                                                           \
        /bin/false)
mkdir -p /usr/src/RPM/BUILD/kernel-source-rtl8180-0.21
rm -f /usr/src/RPM/BUILD/kernel-source-rtl8180-0.21/*
make -f scripts/Makefile.build obj=/usr/src/RPM/BUILD/kernel-source-rtl8180-0.21
scripts/Makefile.build:17: /usr/src/RPM/BUILD/kernel-source-rtl8180-0.21/Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/RPM/BUILD/kernel-source-rtl8180-0.21/Makefile'.  Stop.

1. откуда брать auto.conf которого нет?
2. почему Makefile конфига ядра удаляет все из MODVERDIR? Для чего используется MODVERDIR? что то не нагуглил.

--
Denis Klimov 
zver



  reply	other threads:[~2008-09-26 10:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-25 11:59 Denis Klimov
2008-09-25 15:37 ` Михаил Якушин
2008-09-26  6:58   ` Denis Klimov
2008-09-26  7:34     ` Михаил Якушин
2008-09-26 10:19       ` Denis Klimov [this message]
2008-09-26 10:27         ` Михаил Якушин
2008-09-26 11:20           ` Denis Klimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080926161915.469b7bf3.zver@altlinux.org \
    --to=zver@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git